We use it because it is the most effective tool for formal reasoning that human beings have ever come up with. The fact that it has limitations, especially in the new world of computation, does not take away its utility.
To me, sets seem like the much more foundational idea, since types were only suggested as a fix for Russell’s paradox. Almost all math can be done without ever running into the limitations of Russel’s paradox, so I look at type theory as more of an evolution of the understanding of sets than anything else.
than types. However, the lack of abstraction turned out to be
a fatal flaw in attempts to make sets the foundations of
mathematics because:
* sets cannot be rigorously defined using 1st-order ZFC
* sets cannot be used to define higher-level abstractions of mathematicsYou are on the right track!
[Dedekind 1888] started out on the correct path by defining
natural numbers up to a unique isomorphism.
Unfortunately, there was long detour through 1st-order logic :-(
Powerful foundations are now urgently required to prevent
successful cyberattacks.
See the following: