Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

CH, GCH and Freiling's axiom in cardinal arithmetic

Definition
CH_CardinalArithmetic

by Lucas · Oct 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

cardinal-arithmeticset-theory

Statements about cardinals, formulated inside Lean's own set theory (Mathlib's Cardinal).

  1. Continuum hypothesis (CH): there is no S⊆RS\subseteq\mathbb RS⊆R with
ℵ0<∣S∣<2ℵ0.\aleph_0<|S|<2^{\aleph_0}.ℵ0​<∣S∣<2ℵ0​.
  1. Generalized continuum hypothesis (GCH): for every infinite cardinal κ\kappaκ there is no cardinal μ\muμ with κ<μ<2κ\kappa<\mu<2^\kappaκ<μ<2κ.
  2. Freiling's axiom of symmetry (FreilingAxiom): for every function fff assigning to each real number xxx a countable set f(x)⊆Rf(x)\subseteq\mathbb Rf(x)⊆R, there are reals x,yx,yx,y with x∉f(y)x\notin f(y)x∈/f(y) and y∉f(x)y\notin f(x)y∈/f(x).

These are the hypotheses of the cardinal-arithmetic milestones of the mission.

Formalization Note GCH is universe-polymorphic: GCH.{u} quantifies over cardinals of universe u.

Definition code
import Mathlib

/-!
# The continuum hypothesis inside Lean's cardinal arithmetic

`ContinuumHypothesis.CH` says that no set of real numbers has cardinality strictly between
`ℵ₀` and `2 ^ ℵ₀`; `ContinuumHypothesis.GCH` says that for no infinite cardinal `κ` is there a
cardinal strictly between `κ` and `2 ^ κ`; `ContinuumHypothesis.FreilingAxiom` is Freiling's
axiom of symmetry.
-/

namespace ContinuumHypothesis

open Cardinal

universe u

/-- The continuum hypothesis: there is no set `S ⊆ ℝ` with `ℵ₀ < |S| < 2 ^ ℵ₀`. -/
def CH : Prop := ∀ S : Set ℝ, ¬ (ℵ₀ < #S ∧ #S < 2 ^ ℵ₀)

/-- The generalized continuum hypothesis (for cardinals in universe `u`): for every infinite
cardinal `κ` there is no cardinal `μ` with `κ < μ < 2 ^ κ`. -/
def GCH : Prop := ∀ κ : Cardinal.{u}, ℵ₀ ≤ κ → ¬ ∃ μ : Cardinal.{u}, κ < μ ∧ μ < 2 ^ κ

/-- Freiling's axiom of symmetry: for every function `f` assigning to each real number a
countable set of real numbers, there are reals `x, y` with `x ∉ f y` and `y ∉ f x`. -/
def FreilingAxiom : Prop :=
  ∀ f : ℝ → Set ℝ, (∀ x, (f x).Countable) → ∃ x y : ℝ, x ∉ f y ∧ y ∉ f x

end ContinuumHypothesis
Source
Wikipedia, "Continuum hypothesis" (revision oldid=1376315189), https://en.wikipedia.org/w/index.php?title=Continuum_hypothesis&oldid=1376315189; 'Cardinality of infinite sets' (boxed statement 'Continuum Hypothesis — ∄S: ℵ₀ < |S| < 2^ℵ₀'), 'Generalized continuum hypothesis' (first paragraph), 'Arguments for and against' (Freiling's axiom of symmetry); Freiling, J. Symbolic Logic 51 (1986).
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 13, 2026

    Confirmed by the mission captain (proposal self-audit).

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me