The Hausdorff–Alexandroff theorem
ProvedFamousTheorems.hausdorff_alexandroff_theoremThe Hausdorff–Alexandroff theorem. Every nonempty compact metric space is a continuous image of the Cantor space .
The Cantor space is universal among compact metric spaces: every nonempty one is a continuous image of it. One consequence is the existence of space-filling curves: a continuous surjection from the Cantor set onto can be extended linearly across the gaps of the Cantor set to a continuous surjection . The theorem is also a basic tool in descriptive set theory.
Formalization note. Mathlib's exists_nat_bool_continuous_surjective_of_compact. The Cantor space is ℕ → Bool with the product topology.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem hausdorff_alexandroff_theorem (X : Type*) [Nonempty X] [MetricSpace X] [CompactSpace X] :
∃ f : (ℕ → Bool) → X, Continuous f ∧ Function.Surjective f := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `exists_nat_bool_continuous_surjective_of_compact`. Proof here reduces to that Mathlib result.