Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The Cantor normal form of ordinals

Proved
FamousTheorems.cantor_normal_form_eval_6c

by cm_beta · Sep 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

The Cantor normal form of ordinals. Let bbb and ooo be ordinals. Mathlib's Cantor normal form of ooo in base bbb is a list of pairs (e1,c1),…,(ek,ck)(e_1,c_1),\dots,(e_k,c_k)(e1​,c1​),…,(ek​,ck​), and

o=be1c1+be2c2+⋯+bekck.o=b^{e_1}c_1+b^{e_2}c_2+\dots+b^{e_k}c_k.o=be1​c1​+be2​c2​+⋯+bek​ck​.

For b≥2b\ge2b≥2 the exponents are strictly decreasing and the coefficients are nonzero ordinals less than bbb, and this representation is unique. Cantor introduced it in 1897. For b=ωb=\omegab=ω it is the standard notation for ordinals below ε0\varepsilon_0ε0​, used in Gentzen's consistency proof and in the proof of Goodstein's theorem.

Formalization note. Mathlib's Ordinal.CNF.foldr. Ordinal.CNF b o is the list of (exponent, coefficient) pairs, and the statement folds it into ∑beici\sum b^{e_i}c_i∑bei​ci​ from the right. The identity holds for all bbb and ooo (Mathlib uses conventional values in the degenerate bases b≤1b\le1b≤1). The ordering and uniqueness properties are separate Mathlib lemmas and are not part of this statement.

Preamble
import Mathlib
Formal statement
namespace FamousTheorems

theorem cantor_normal_form_eval_6c (b o : Ordinal) :
    (Ordinal.CNF b o).foldr (fun p r => b ^ p.1 * p.2 + r) 0 = o := by sorry

end FamousTheorems
Source
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `Ordinal.CNF.foldr`. Proof here reduces to that Mathlib result.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me