by andrewla · 7y ago · 0 comments
Type theory and category theory give us a much better way of constructing these sorts of objects without having to resort to creating constructions with all sorts of side effects. Not to mention that this is one possible construction of the natural numbers in set theory; in other formulations the theorem "is 2 a member of 4" would not be true, making things even more confusing. For example, we have the other standard approach of 0 = {}, 1 = {{}, 0}, n={{}, n-1}. The untyped lambda calculus and things like Church numerals have the same defect.
If we can start assigning types, then we can reason about these things in a much more concrete manner without these nasty side effects of theorems that only make sense because of definitional shortcuts. We can even derive isometries between different derivations of the same objects to show that two different definitions (like the Peano numerals and binary numbers) of a "natural number" can be used exactly interchangeably, because theorems like "is 2 a member of 4" are simply not expressible given the derivation.
Why? Any set of 4 things also contains 2 things. Where's the nonsense? Within this definition, that's consistent.
> Type theory and category theory give us a much better way of constructing these sorts of objects without having to resort to creating constructions with all sorts of side effects.
Out of curiosity, what is the category theoretic construction that avoids Russell's paradox? I don't know that there isn't one, but I can't think of it off the top of my head. I know there are category theoretic constructions in general (I responded to one someone else posted in this thread).
That's the problem -- it's only within this definition. In other definitions, notable the nesting example that I gave, that theorem is false. And the theorem makes no sense in and of itself, because we're talking about numbers, so it is unexpected that the membership operator would apply at all.
Whereas I can take two definitions of the natural numbers
PN =
Peano_One: PN
Peano_Succ: PN -> PN
BN =
Binary_One: BN
Binary_2x: BN -> BN
Binary_2xp1: BN -> BN
and I can define a Plus: PN x PN -> PN and a Plus: BN x BN -> BN, and so on, and once I can define Binary_Succ: BN -> BN and Peano_2x and Peano_2xp1 I can prove that these are isometric types, so all theorems derivable from PN apply to BN and vice versa, not just the convenient theorems that don't use any syntax from the meta-language (e.g. set theory).Stated another way, consistency is only a coherent mathematical concept from the perspective of a specific set of definitions. There's no problem here.
If you give me a statement saying "For two sets, A and B, is 'A union intersection B empty", the statement would not be well-formed, so you could just say that it is not a valid proposition without asserting anything about its truthiness. Similarly, a good foundation of mathematics should be able to reject a statement like "2 is a member of 4" as poorly formed, and make no statement about its truthiness.
I guess what I'm saying is that set theory is a bad basis for mathematics and should just be regarded as an interesting relic from previous attempts to formalize mathematics so that we can move on to more powerful systems.
Talking about concepts like "the category of categories that don't contain themselves" is kind of navel-gazey; and ends up falling apart in most constructive variants just because you can't give a comprehensive construction of elements of this category.
Admittedly I'm throwing some concepts from intuitionalism and type theory in the mix here; if I took the time I could make these statements more precise.
Alternatively, what are you selecting as the objects for your category if not sets of a given cardinality?
To be clear, I consider a lot of discussion about the foundations of set theory (and paradoxes thereof) to be pretty navel-gazey.