by xamuel · 7y ago · 0 comments
In case anyone just wants actual answers without reading pages and pages of prose, here is one set of constructions (there are other competitors too).
The natural 0 is the emptyset. The natural 1 is the singleton {0}. The natural 2 is {0,1}. In general, the natural n+1 is {0,...,n}. Exercise to the reader: define appropriate arithmetical functions on the naturals.
Define a relation ~ on pairs (a,b) of naturals by saying (a,b)~(c,d) if and only if b+c=a+d. Exercise to the reader: ~ is an equivalence relation. Its equivalence classes are called "integers". The equivalence class containing (a,b) represents the integer b-a. For example, the integer -1 is the equivalence class {(1,0),(2,1),(3,2),...}. Exercise: define appropriate arithmetical functions on the integers.
Define a relation ~ on pairs (m,n) (n nonzero) of integers by saying (m,n)~(p,q) if and only if mq=pn. Exercise: Show ~ is an equivalence relation. Its equivalence classes are called "rationals". The equivalence class containing (m,n) represents the rational m/n. For example, 1/2 is the equivalence class {(1,2),(-1,-2),(2,4),(-2,-4),...}={(k,2k) for all nonzero integers k}. Exercise: define arithmetic operations on the rationals.
To get from the rationals to the reals, see https://en.wikipedia.org/wiki/Dedekind_cut
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.
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.
For anyone who wants to learn more about this: what the parent comment is describing is the construction of natural numbers as cardinalities of sets. This is the (modified) Frege definition which avoids Russell's paradox - you can use that as a jumping off point for further dives into set theory and number systems.
To define Peano arithmetic you start with a successor function, then an addition function, then multiplication, etc.
Auto-correct at work, I guess. For those not familiar with the term: if Google says did you mean equivalence relation, Google is right.
Other axioms of set theory are used to formalize other steps in my post. https://en.wikipedia.org/wiki/Zermelo%E2%80%93Fraenkel_set_t... For example, the Axiom of Infinity is used to formalize the handwavy part where I said "In general, the natural n+1 is {0,...,n}".
At the end of the day, all of our Mathematics rests on foundations that are made up.
It's difficult to say what the empty set is. Because it isn't really anything at all.
Did you have some further point?
If you were hoping that mathematics would have - or thinking that it _should_ have - some ontological foundation that is not in this sense "made up", I'm afraid it simply doesn't.
Are you trying to argue coming up with new definitions isn't worthwhile if the axioms don't have a foundation in reality? If so, why? If not, what are you saying?
Either there is an empty set, or there isn't. If there is one, I win. If not, then let S be the set of all empty sets. There are none, so S is the empty set and I win again.
Replies that consist solely of throwing a quote at someone are kind of rude even if you're in the right.
Responding to someone's definition that natural 0 = {} that mathematics is a "castle built on sand" isn't exactly a cogent criticism of set theory.