by epgui · 1y ago · 0 comments
> "Well congratulations this works! We can represent numbers using singleton sets (sets with one element). However, it would be nice if our sets had some more structure. Specifically we would like the set corresponding to the number n to have n elements."
Why? What's the motivation here?
It seems to me like `next(x) = {x}` is simpler than `next(x) = x ∪ {x}`, and I'm not totally clear on what the extra complexity buys us.
I am of course familiar with the structure `next(x) = x ∪ {x}`, having seen it in textbooks and in a set theory / mathematical foundations class, but I feel like I've never really understood what insight this structure captured. It seems like it's always presented matter-of-factly.
Anyone?
The primary answer to your question is that in the von Neumann definition the ordinals are transitive and well ordered by the epsilon (membership) relation, which is a pair of stipulations that can then be used as a definition of the ordinals if you like. This in turn is nice for many other reasons!
Also, you can make convenient definitions like defining the supremum of a set of ordinals to be the union of that set. The union of two of your ordinals usually won’t be an ordinal.
In general, it’s nice to have an ordinal simply be the set of its predecessors, which is something that this definition implies.
For example, set union becomes the max function.
a + (b + 1) := (a + b) + 1 = succ(a + b)
(it’s only slightly more complicated for infinite ordinals)
You can do a similar thing for multiplication, and exponents, and so on.
Technically, you have to use induction to prove that this definition indeed works to define the operations for all ordinals.
next(x)={x} would give
1={0}
2={{0}}
3={{{0}}}
Kuratowski's encoding gives :
0=Ø=()
1={Ø}=(0)
2={Ø,{Ø}}=(0,1)
3={Ø,{Ø},{Ø,{Ø}}}=(0,1,2)
The cardinal of N is n and
every element in N are the predecessors of n.
Von Neuman's encoding gives :
0=Ø
1=0U{0}={Ø,{Ø}}
2=1U{1}={Ø,{Ø},{Ø,{Ø}}}
Now the cardinal of N is n+1, and n is the maximum
of the set N defining n.
Both Von Neuman's and Kuratowski's encoding allows us to define ordered tuples, but I cannot understand how to write the tuples for Von Neuman's in the context of natural numbers.
2 is {Ø,{Ø},{Ø,{Ø}}} with Von Neuman's
we can recognize 0 and 1 as the first and second element of the tuple : what is the third one ?- What do the operations of addition and multiplication look like with this structure? Doesn't this seem a bit complex?
The fundamental operation, the successor function, does not look much different, S(n) = n ∪ {n} vs S(n) = {n}. Mathematics usually defines addition in terms of this function, so that n + m = 1 + (n-1) + m and 0 + m = m. This can be done via induction and works equally well, regardless of which "implementation" we choose. Similarly, multiplication is repeated addition. Seen in this way, both "implementations" of natural numbers leads to horribly inefficient, but ultimately very similar, addition and multiplication operations.
However, the representation S(n) = n ∪ {n} leads to a very simple definition of "a finite set of size n". It is simply a set, which has a bijection between it and n. This, in turn, leads to a much easier arithmetic. Instead of manipulating a specific set representing a given number, we can say that any set of size n can represent the number n. Then addition simply becomes disjoint union, and multiplication becomes Cartesian product, from which things like associativity and commutativity can be proven much easier than in the inductive definition.