Expand description
Ordinals below ε₀ in Cantor normal form — the stage counter of transfinite execution.
Every ordinal α < ε₀ is uniquely ω^{β₁}·c₁ + ω^{β₂}·c₂ + … + ω^{βₖ}·cₖ with exponents
β₁ > β₂ > … > βₖ (themselves ordinals below ε₀, in the same form) and positive natural
coefficients. An Ordinal stores exactly that list, so equality is structural and the order
is lexicographic on (exponent, coefficient) pairs, a longer list winning a common prefix.
The arithmetic is the ordinal arithmetic, not the arithmetic of naturals, and its asymmetries are the point:
- addition absorbs every term of the left summand below the right summand’s leading
exponent:
1 + ω = ω, yetω + 1 > ω; - multiplication distributes on the left only:
α·(β + γ) = α·β + α·γ, while(1 + 1)·ω = ω ≠ ω + ω; a termω^β·cof the right factor contributesω^{α₁ + β}·cwhenβ > 0andα·c(the leading coefficient scaled, the rest kept) whenβ = 0; - exponentiation
α^β = ∏ (α^{ω^{βᵢ}})^{cᵢ}, where forβ ≥ 1a finite basen ≥ 2givesn^{ω^β} = ω^{ω^{β'}}(β = 1 + β') and an infinite base givesα^{ω^β} = ω^{α₁·ω^β}— so2^ω = ωand(ω + 1)^ω = ω^ω.
Structs§
- Ordinal
- An ordinal below ε₀. See the module documentation.