Foundations of mathematics
Ordinal and cardinal numbers
Numbers that extend counting and size comparison beyond the finite, into the transfinite.
IntuitionCounting past infinity
We normally count "1st, 2nd, 3rd, ...". If we could finish counting through every natural number, the next position would be called ("omega") — the first transfinite position number. Ordinal numbers , , ... are exactly these generalized position labels: . Separately, cardinal numbers answer a different question — not "which position?" but "how many?" — and the smallest infinite cardinal ("aleph-naught") is the size of the natural numbers themselves.
UndergraduateWell-ordered sets and von Neumann ordinals
Definition: Well-ordered set
A linearly ordered set is well-ordered if every nonempty subset has a least element. Finite sets and are well-ordered; and are not (e.g. itself has no least element).
John von Neumann's trick: define each ordinal to literally be the set of all smaller ordinals. So , , , and in general the successor is . After all finite ordinals comes the first limit ordinal — the set of all natural numbers, now itself viewed as an ordinal.
| Operation | Cardinal arithmetic (size) | Ordinal arithmetic (order) |
|---|---|---|
| Addition commutative? | Yes: | No: |
| Multiplication commutative? | Yes: | No: |
| What it measures | Bijection class ("how many") | Order-isomorphism class ("which shape") |
Let be a class of ordinals such that for every ordinal : if for all , then . Then contains every ordinal.
Why is it true?
This lets us prove a statement for every ordinal — finite, , and beyond — by only ever handling "assume it holds for everything smaller", with no separate base case and no separate limit case needed in the statement of the principle itself.
Proof
Suppose, for contradiction, that does not contain every ordinal. Then the class of ordinals not in is nonempty. The ordinals themselves form a well-order (any nonempty class of ordinals has a least element — this is essentially the defining property of the ordinals), so has a least element; call it .
By minimality of , every ordinal is not in , i.e. every satisfies .
But this is exactly the hypothesis of the theorem applied to : " for all " implies . So .
This contradicts (i.e. ). The contradiction shows no such least counterexample can exist, so : contains every ordinal.
AdvancedCardinals, Hartogs, and König
A cardinal is an ordinal that is not in bijection with any smaller ordinal (its "size" is not reached earlier). The infinite cardinals are written , indexed by ordinals themselves: . Hartogs' theorem guarantees these always exist, with no need for the Axiom of Choice: for any set , there is a least ordinal that does not inject into — call it — because the class of ordinals that DO inject into would otherwise correspond to "too many" distinct well-orderings of subsets of , more than the set of all subsets of can hold. So every set has a well-ordered cardinal strictly bigger than it, and in particular is the least uncountable cardinal.
— the continuum cannot be written as a union of countably many strictly smaller sets. Equivalently, and more generally is never a cardinal of countable cofinality.
Why is it true?
Even though we cannot know the exact value of from ZFC alone (Cohen's independence result), this theorem is one of the few things we CAN prove unconditionally about it: whatever it equals, you cannot approach it from below along an -sequence of strictly smaller cardinals.
Proof
We first prove the general König inequality: if for every in an index set , then . Fix sets with and subsets with . The inequality is routine (send each to the tuple that is in coordinate and some fixed default value elsewhere), so the content is showing they are not equal.
Suppose, for contradiction, some function is surjective. For each , let send (the -th coordinate of ). Since , the map cannot be surjective onto (if it were, picking a preimage for each element of would inject into , forcing — contradiction). So choose for every , and let be the tuple with .
Since is surjective, for some , say . Then . But by construction — a direct contradiction. So no surjection exists, giving . (Setting , , recovers Cantor's classical diagonal argument as a special case.)
Now suppose, for contradiction, . Then is the sum of a strictly increasing -sequence of smaller cardinals , i.e. with every . Apply König's inequality with held constant for every (valid since for every ):
This says , absurd. So ; since cofinality is never smaller than that (it is at least for any infinite cardinal, and it cannot be finite), we conclude .
UndergraduateReal-World Applications and Worked Examples
Ordinals give a rigorous way to prove that a recursive process always finishes: assign to each state of the process an ordinal (its "rank"), show every step strictly decreases this ordinal, and invoke the fact that ordinals have no infinite strictly decreasing sequence (they are well-ordered) — so the process cannot run forever. This ordinal ranking function technique is used to prove termination of recursive algorithms and term-rewriting systems in compilers, and — in proof theory — to measure the logical strength of formal theories via their "proof-theoretic ordinal" (Gentzen used the ordinal to prove consistency of Peano Arithmetic in 1936). Cardinals, meanwhile, stratify infinite structures in descriptive set theory (the Borel hierarchy is indexed by countable ordinals) and model theory (the Löwenheim–Skolem theorem talks about models of every infinite cardinality).
Example: Why
Show directly, from the definition of ordinal sum as concatenation of order types, that but , hence .
Solution
is the order type of "one point, then a copy of " — concretely, take a single point followed by . Define by and for . This is an order-isomorphism: is the least element on both sides, and it preserves order everywhere else. So as ordinals.
Now consider : a copy of (elements ) followed by one more point placed above every one of them. This set has a greatest element, namely .
But has no greatest element — for any , is strictly bigger. An order-isomorphism must send greatest elements to greatest elements (and preserve "has no maximum"), so a set with a maximum can never be order-isomorphic to one without a maximum.
Since ordinals are defined precisely as order-isomorphism classes of well-orders, (which has a maximum) and (which does not) are different ordinals: .
Example: A Goodstein sequence that crashes to zero
Compute the Goodstein sequence starting at : write in "hereditary base ", bump the base to and subtract ; then bump the base to and subtract ; and so on. Show it reaches , and explain how an ordinal ranking function guarantees every Goodstein sequence eventually terminates — even though the raw numbers can explode to incomprehensible size first.
Solution
Step-by-step: (base 2). Rewrite base : ; subtract : .
in base is just (i.e. ""). Rewrite base : ; subtract : .
in base is the plain digit (below the base, no exponents to bump). Rewrite base : still ; subtract : .
in base is ; rewrite base : still ; subtract : .
in base is ; rewrite base : still ; subtract : .
So the sequence is — it reaches after steps. In general, to prove EVERY Goodstein sequence terminates (even ones that first grow to numbers with more digits than atoms in the observable universe), assign to each term the ordinal obtained by taking its hereditary base- representation and literally replacing the base by (e.g. ). Increasing the base never increases this ordinal (an ordinal expression doesn't grow when you relabel its "base" as ), while subtracting strictly decreases it. So is a strictly decreasing sequence of ordinals — and by the well-ordering of the ordinals (no infinite strictly decreasing sequence exists), it must reach after finitely many steps, forcing eventually. This is exactly the "ranking function" technique used to prove program termination, with -sized ordinals replacing a simple decreasing integer counter.
ResearchResearch today
Which of these ordinal identities is correct?
Ordinal ranking functions are used in computer science mainly to...
By König's theorem, what do we know about ?
What does it mean for a set to be well-ordered?
References
- Wikipedia contributors (2024). Ordinal number
- Wikipedia contributors (2024). König's theorem (set theory)
- Wikipedia contributors (2024). Goodstein's theorem