Motivation
The continuum hypothesis (CH) asks how large the set of real numbers is. Cantor proved that ∣Z∣=∣Q∣<∣R∣, and in 1878 he conjectured that no set has cardinality strictly between that of the integers and that of the reals. Settling CH was the first of Hilbert's problems at the 1900 International Congress of Mathematicians. The question was answered by showing that it cannot be answered from the standard axioms: CH is independent of Zermelo–Fraenkel set theory with choice (ZFC).
Timeline (as recorded in the source):
- 1878 — Cantor formulates the (weak) continuum hypothesis; in 1882 he states CH in its modern form.
- 1900 — Hilbert lists CH as the first of his problems.
- 1906 — Kőnig proves a theorem that, combined with Hausdorff's notion of cofinality (1908), shows 2ℵ0=ℵα whenever α has cofinality ω.
- 1930 — Patai: if 2κ is the γ-th successor of κ for every infinite κ, then γ is finite.
- 1938/1940 — Gödel proves that AC and GCH hold in the constructible universe L, so Con(ZF)⇒Con(ZFC+GCH).
- 1947 — Sierpiński proves that ZF + GCH implies AC.
- 1963 — Cohen invents forcing and proves Con(ZFC)⇒Con(ZFC+¬CH).
- 1986 — Freiling shows that ¬CH is equivalent to his axiom of symmetry.
Setting
A cardinal measures the size of a set; ∣A∣≤∣B∣ means there is an injection A→B, and ∣A∣=∣B∣ a bijection. ℵ0=∣N∣, 2κ=∣P(X)∣ for ∣X∣=κ, so ∣R∣=2ℵ0. ℵα is the α-th infinite cardinal, ℶα is defined by ℶ0=ℵ0, ℶα+1=2ℶα and suprema at limits, and cf denotes cofinality.
- CH: there is no S⊆R with ℵ0<∣S∣<2ℵ0 (
CH).
- GCH: for every infinite cardinal κ there is no cardinal strictly between κ and 2κ (
GCH).
Independence is a statement about a first-order theory. The language of set theory has one binary relation symbol ∈ (setLang). ZF (ZF) consists of extensionality, foundation, pairing, union, power set, infinity, and all instances of the separation and replacement schemas; ZFC (ZFC) adds the axiom of choice (acSentence). CH and GCH are also written as first-order sentences (chSentence, gchSentence): CH says that every subset of P(ω) injects into ω or receives an injection from P(ω). A theory is consistent if it has a model, and T⊨σ means σ holds in every model of T; by Gödel's completeness theorem these coincide with the proof-theoretic notions.
Formalization targets
Goal: independence of CH from ZFC
Con(ZFC) ⟹ ZFC⊨CH and ZFC⊨¬CH.
Milestones
- ∣Z∣=∣Q∣<∣R∣.
- CH⟺2ℵ0=ℵ1.
- (Gödel) Con(ZF)⇒Con(ZFC+GCH).
- ZFC+GCH⊨CH.
- (Cohen) Con(ZFC)⇒Con(ZFC+¬CH).
- (Kőnig) 2ℵ0=ℵα when cf(α)=ω; and cf(2ℵ0)>ℵ0.
- (Sierpiński) ZF+GCH⊨AC.
- GCH⟺∀α, 2ℵα=ℵα+1⟺∀α, ℵα=ℶα.
- Under GCH: A<B⇒2A<2B for infinite A, and the three-case formula for ℵαℵβ.
- (Patai) ∀α, 2ℵα=ℵα+γ implies γ<ω.
- (Freiling) the axiom of symmetry is equivalent to ¬CH.
Significance
The independence theorem shows that the ZFC axioms do not determine the size of the continuum, and it was among the first independence results for a mathematical statement. Its two halves introduced the two main tools of modern set theory: inner models (Gödel's L) and forcing (Cohen). Many statements in analysis, topology and measure theory were subsequently shown to be independent by the same methods.
For formalization, the goal requires a model theory of ZF inside Lean: interpreting the first-order theory, building L inside an arbitrary model of ZF, and building forcing extensions of an arbitrary model of ZFC. The independence of CH was formalized in Lean 3 by the Flypitch project (Han and van Doorn, 2019–2020); no Lean 4 / Mathlib formalization is known to this mission. The cardinal-arithmetic milestones (2, 6, 8–11) are theorems of ZFC that can be proved directly in Lean's cardinal library.
Difficulty
Neither half follows from cardinal arithmetic in Lean: Lean's foundations prove that models of ZFC exist, but (assuming they are consistent) they prove neither CH nor its negation about Lean's own Cardinal, so an argument inside Lean's cardinal arithmetic alone cannot produce the required models. Gödel's half needs relativization of formulas to a definable inner class and absoluteness of the construction of L; Cohen's half needs a generic extension in which a new family of ℵ2 reals is added while cardinals are preserved (the countable chain condition). Both require a theory of definability inside arbitrary, possibly non-well-founded, models of a first-order theory.
Formalization scope
- Syntax and semantics are Mathlib's first-order logic (
FirstOrder.Language, Theory.IsSatisfiable, Theory.ModelsBoundedFormula written ⊨ᵇ). Formulas name their variables by natural numbers; close φ is the universal closure. Equality is the built-in equality of first-order logic.
- Consistency is satisfiability and provability is semantic consequence over models with universe in
Type. By the completeness theorem these agree with the syntactic notions.
- The first-order CH uses P(ω) in place of R (they are equinumerous in ZF). The first-order GCH is the choice-free form "∣S∣≤∣T∣≤∣P(S)∣⇒∣T∣=∣S∣ or ∣T∣=∣P(S)∣, for S infinite".
- The consistency results carry their hypotheses Con(ZF) or Con(ZFC) explicitly, even though these are provable in Lean. A solution may not replace a model of ZF by Lean's own universe in a way that assumes CH or its negation.
- Results that need large-cardinal hypotheses or class forcing (Easton, Solovay, Foreman–Woodin, Merimovich) are not part of this mission.
Reusable infrastructure: the language of set theory with standard abbreviations (pairs, functions, ω, power set), satisfaction lemmas for the abbreviations, relativization, absoluteness, the constructible hierarchy, and forcing over models of ZFC.
Selected references
- G. Cantor, Ein Beitrag zur Mannigfaltigkeitslehre, J. Reine Angew. Math. 84 (1878) 242–258. https://doi.org/10.1515/crll.1878.84.242
- K. Gödel, The Consistency of the Axiom of Choice and of the Generalized Continuum-Hypothesis, PNAS 24 (1938) 556–557. https://doi.org/10.1073/pnas.24.12.556
- K. Gödel, The Consistency of the Axiom of Choice and of the Generalized Continuum-Hypothesis with the Axioms of Set Theory, Annals of Math. Studies 3, Princeton, 1940.
- P. J. Cohen, The independence of the Continuum Hypothesis I, II, PNAS 50 (1963) 1143–1148; 51 (1964) 105–110. https://doi.org/10.1073/pnas.50.6.1143, https://doi.org/10.1073/pnas.51.1.105
- C. Freiling, Axioms of symmetry: throwing darts at the real number line, J. Symbolic Logic 51 (1986) 190–200. https://doi.org/10.2307/2273955
- L. Gillman, Two classical surprises concerning the Axiom of Choice and the Continuum Hypothesis, Amer. Math. Monthly 109 (2002) 544–553. https://doi.org/10.2307/2695444
- K. Kunen, Set Theory: An Introduction to Independence Proofs, North-Holland, 1980.
- Wikipedia, Continuum hypothesis (revision 1376315189). https://en.wikipedia.org/w/index.php?title=Continuum_hypothesis&oldid=1376315189