Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Closed orientable prime 3-manifolds, embedded tori and Klein bottles, locally homogeneous metrics of finite volume

Definition
Geometrization_Basic

by korbonits · Nov 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

3-manifoldsgeometrizationlow-dimensional-topology

Vocabulary for the Geometrization Conjecture in the smooth category, with charts in R3\mathbb{R}^3R3.

  • Orientable: MMM has an atlas of smooth charts whose transition maps have positive Jacobian determinant.
  • Prime: M≇S3M \not\cong S^3M≅S3, and MMM is not a connected sum M1#M2M_1 \# M_2M1​#M2​ with neither Mi≅S3M_i \cong S^3Mi​≅S3. This is stated in the standard equivalent form: every smoothly embedded 2-sphere that separates MMM has a complementary component diffeomorphic to R3\mathbb{R}^3R3, i.e. it bounds a ball.
  • Torus/Klein-bottle system: finitely many smooth immersions fi:T2=S1×S1→Mf_i : T^2 = S^1\times S^1 \to Mfi​:T2=S1×S1→M with pairwise disjoint images. Each fif_ifi​ is either injective (an embedded torus) or identifies exactly the pairs {p,τp}\{p, \tau p\}{p,τp} for the free involution τ(z,w)=(−z,wˉ)\tau(z,w) = (-z,\bar w)τ(z,w)=(−z,wˉ) (an embedded Klein bottle T2/τT^2/\tauT2/τ).
  • Riemannian 3-manifold: a smooth 3-manifold with a smooth Riemannian metric whose extended distance is the Riemannian path-length distance.
  • Homogeneous: connected, with an isometry group that acts transitively.
  • Locally homogeneous: N=Γ\XN = \Gamma\backslash XN=Γ\X with XXX homogeneous and Γ\GammaΓ a discrete group of isometries acting freely. This is encoded as the existence of a smooth surjective covering map X→NX \to NX→N that is a local isometry.
  • Finite volume: H3(N)<∞\mathcal{H}^3(N) < \inftyH3(N)<∞ for the 3-dimensional Hausdorff measure of the Riemannian distance, which is comparable to the Riemannian volume.
Definition code
import Mathlib

/-!
# Closed orientable prime 3-manifolds, embedded tori and Klein bottles, locally homogeneous metrics

Source: J. Morgan and G. Tian, *The Geometrization Conjecture*, Clay Mathematics Monographs 5
(AMS, 2014); statement as in the introduction of its arXiv precursor
*Completion of the proof of the Geometrization Conjecture*, arXiv:0809.4040, p. 1.
-/

open scoped Manifold ContDiff
open Set Metric Bundle

namespace Geometrization

/-- Euclidean 3-space, the model space of a 3-manifold. -/
abbrev E3 := EuclideanSpace ℝ (Fin 3)

/-- The unit 2-sphere in `ℝ³`. -/
abbrev S2 := ↥(sphere (0 : E3) 1)

/-- The unit 3-sphere in `ℝ⁴`. -/
abbrev S3 := ↥(sphere (0 : EuclideanSpace ℝ (Fin 4)) 1)

instance : Fact (Module.finrank ℝ E3 = 2 + 1) := ⟨by simp⟩
instance : Fact (Module.finrank ℝ (EuclideanSpace ℝ (Fin 4)) = 3 + 1) := ⟨by simp⟩

/-- The 2-torus `S¹ × S¹`, with its product smooth structure. -/
abbrev T2 := Circle × Circle

/-- The model with corners of `T2`. -/
noncomputable abbrev 𝓘T2 := (𝓡 1).prod (𝓡 1)

/-- The fixed-point-free involution `(z, w) ↦ (-z, w̄)` of the torus; the quotient `T2 / τ`
is the Klein bottle. -/
noncomputable def kleinInvolution (p : T2) : T2 :=
  (Circle.exp Real.pi * p.1, p.2⁻¹)

variable (M : Type) [TopologicalSpace M] [ChartedSpace E3 M]

/-- A smooth 3-manifold is orientable if it has an atlas of charts from its maximal smooth atlas
whose transition maps all have positive Jacobian determinant. -/
def IsOrientable : Prop :=
  ∃ A : Set (OpenPartialHomeomorph M E3),
    A ⊆ IsManifold.maximalAtlas (𝓡 3) ∞ M ∧
    (∀ x : M, ∃ e ∈ A, x ∈ e.source) ∧
    ∀ e ∈ A, ∀ e' ∈ A, ∀ y ∈ (e.symm.trans e').source,
      0 < (fderiv ℝ (e.symm.trans e') y).det

/-- A smooth embedding of the 2-sphere: a smooth injective immersion `S² → M`
(an embedding, since `S²` is compact). -/
structure SphereEmbedding where
  toFun : S2 → M
  smooth : ContMDiff (𝓡 2) (𝓡 3) ∞ toFun
  immersion : ∀ p, Function.Injective (mfderiv (𝓡 2) (𝓡 3) toFun p)
  injective : Function.Injective toFun

variable [IsManifold (𝓡 3) ∞ M]

/-- `M` is prime: it is not diffeomorphic to `S³`, and it is not a connected sum `M₁ # M₂` with
neither summand diffeomorphic to `S³`. The second clause is stated in its standard equivalent
form: every smoothly embedded 2-sphere that separates `M` bounds a ball, i.e. some component of
its complement is diffeomorphic to `ℝ³`. -/
def IsPrime : Prop :=
  IsEmpty (M ≃ₘ^∞⟮𝓡 3, 𝓡 3⟯ S3) ∧
  ∀ φ : SphereEmbedding M, ¬ IsConnected (range φ.toFun)ᶜ →
    ∃ U : TopologicalSpace.Opens M, ∃ x ∉ range φ.toFun,
      (U : Set M) = connectedComponentIn (range φ.toFun)ᶜ x ∧
      Nonempty (U ≃ₘ^∞⟮𝓡 3, 𝓡 3⟯ E3)

/-- A finite disjoint union of smoothly embedded 2-tori and Klein bottles in `M`. Component `i` is
parametrized by a smooth immersion `map i : T² → M` that is injective (a torus), or, when
`klein i`, identifies exactly the pairs `p, τ p` (so it embeds the Klein bottle `T² / τ`). -/
structure TorusKleinSystem where
  n : ℕ
  map : Fin n → T2 → M
  klein : Fin n → Bool
  smooth : ∀ i, ContMDiff 𝓘T2 (𝓡 3) ∞ (map i)
  immersion : ∀ i p, Function.Injective (mfderiv 𝓘T2 (𝓡 3) (map i) p)
  fibres : ∀ i p q, map i p = map i q ↔ (q = p ∨ (klein i = true ∧ q = kleinInvolution p))
  disjoint : ∀ i j, i ≠ j → Disjoint (range (map i)) (range (map j))

/-- The union of the surfaces of a `TorusKleinSystem`. -/
def TorusKleinSystem.carrier {M : Type} [TopologicalSpace M] [ChartedSpace E3 M]
    (S : TorusKleinSystem M) : Set M :=
  ⋃ i, range (S.map i)

end Geometrization

namespace Geometrization

/-- A smooth Riemannian 3-manifold: a smooth 3-manifold with a smooth Riemannian metric on its
tangent bundle, whose (extended) distance is the Riemannian distance. It carries its Borel
σ-algebra so that its 3-dimensional Hausdorff measure (= Riemannian volume) is available. -/
structure RiemannianThreeManifold where
  carrier : Type
  [emetric : EMetricSpace carrier]
  [charted : ChartedSpace E3 carrier]
  [manifold : IsManifold (𝓡 3) ∞ carrier]
  [bundle : Bundle.RiemannianBundle (fun x : carrier ↦ TangentSpace (𝓡 3) x)]
  [smoothMetric : IsContMDiffRiemannianBundle (𝓡 3) ∞ E3 (fun x : carrier ↦ TangentSpace (𝓡 3) x)]
  [riemannian : IsRiemannianManifold (𝓡 3) carrier]
  [measurable : MeasurableSpace carrier]
  [borel : BorelSpace carrier]

attribute [instance] RiemannianThreeManifold.emetric RiemannianThreeManifold.charted
  RiemannianThreeManifold.manifold RiemannianThreeManifold.bundle
  RiemannianThreeManifold.smoothMetric RiemannianThreeManifold.riemannian
  RiemannianThreeManifold.measurable RiemannianThreeManifold.borel

instance : CoeSort RiemannianThreeManifold Type := ⟨RiemannianThreeManifold.carrier⟩

/-- Homogeneous: connected, and the isometry group acts transitively. -/
def RiemannianThreeManifold.IsHomogeneous (X : RiemannianThreeManifold) : Prop :=
  ConnectedSpace X ∧ ∀ x y : X, ∃ f : X ≃ᵢ X, f x = y

/-- Locally homogeneous in the source's sense: `N` is the quotient of a homogeneous Riemannian
manifold `X` by a discrete group of isometries acting freely, encoded as: there is a smooth
surjective covering map `X → N` that is a local isometry. (Such an `N` is complete and locally
homogeneous, hence the quotient of its homogeneous universal cover by `π₁(N)`; conversely
`X → Γ \ X` is such a covering.) -/
def RiemannianThreeManifold.IsLocallyHomogeneous (N : RiemannianThreeManifold) : Prop :=
  ∃ X : RiemannianThreeManifold, X.IsHomogeneous ∧
    ∃ p : X → N, IsCoveringMap p ∧ Function.Surjective p ∧ ContMDiff (𝓡 3) (𝓡 3) ∞ p ∧
      ∀ x : X, ∃ U ∈ nhds x, ∀ y ∈ U, ∀ z ∈ U, edist (p y) (p z) = edist y z

/-- Finite Riemannian volume, measured by the 3-dimensional Hausdorff measure of the Riemannian
distance; on a Riemannian 3-manifold this is a constant multiple of the Riemannian volume, so
the two have the same finiteness. -/
def RiemannianThreeManifold.HasFiniteVolume (N : RiemannianThreeManifold) : Prop :=
  MeasureTheory.Measure.hausdorffMeasure 3 (univ : Set N) < ⊤

/-- An open subset `U` of a smooth 3-manifold admits a locally homogeneous Riemannian metric of
finite volume: `U` is diffeomorphic to a locally homogeneous Riemannian 3-manifold of finite
volume. -/
def AdmitsFiniteVolumeLocallyHomogeneousMetric {M : Type} [TopologicalSpace M]
    [ChartedSpace E3 M] [IsManifold (𝓡 3) ∞ M] (U : TopologicalSpace.Opens M) : Prop :=
  ∃ N : RiemannianThreeManifold, N.IsLocallyHomogeneous ∧ N.HasFiniteVolume ∧
    Nonempty (U ≃ₘ^∞⟮𝓡 3, 𝓡 3⟯ N)

end Geometrization
Source
J. Morgan, G. Tian, The Geometrization Conjecture, Clay Mathematics Monographs 5, AMS 2014 (https://www.claymath.org/library/monographs/cmim05c.pdf); statement transcribed from its arXiv precursor, Morgan–Tian, Completion of the proof of the Geometrization Conjecture, https://arxiv.org/abs/0809.4040, p. 1 (statement of the Geometrization Conjecture, the definitions of locally homogeneous metric and of prime 3-manifold).
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Read-back: Def_Geometrization_Basic.lean

Ambient conventions. E3E^3E3 is Euclidean space R3\mathbb{R}^3R3. S2⊂R3S^2 \subset \mathbb{R}^3S2⊂R3 and S3⊂R4S^3 \subset \mathbb{R}^4S3⊂R4 are the unit spheres with their standard smooth structures. T2=S1×S1T^2 = S^1 \times S^1T2=S1×S1, where S1={z∈C:∣z∣=1}S^1 = \{z \in \mathbb{C} : |z| = 1\}S1={z∈C:∣z∣=1}, has the product smooth structure. Throughout, MMM is a topological space with an atlas of charts into R3\mathbb{R}^3R3. From "prime" onward, MMM is also assumed to be a C∞C^\inftyC∞ manifold modelled on R3\mathbb{R}^3R3, without boundary. Nothing in the file assumes MMM is Hausdorff, second countable, compact, connected, nonempty or orientable unless a definition says so explicitly.


Klein involution. The map τ:T2→T2\tau : T^2 \to T^2τ:T2→T2 is

τ(z,w)=(eiπz, w−1)=(−z, wˉ).\tau(z, w) = (e^{i\pi} z,\ w^{-1}) = (-z,\ \bar w).τ(z,w)=(eiπz, w−1)=(−z, wˉ).

It has no fixed points and satisfies τ∘τ=id\tau \circ \tau = \mathrm{id}τ∘τ=id.


Orientable. MMM is orientable if there is a set AAA of charts e:M⊇dom(e)→R3e : M \supseteq \mathrm{dom}(e) \to \mathbb{R}^3e:M⊇dom(e)→R3 with three properties:

  1. Every chart in AAA belongs to the maximal C∞C^\inftyC∞ atlas determined by MMM's given atlas.
  2. The domains of the charts in AAA cover MMM.
  3. For every pair e,e′∈Ae, e' \in Ae,e′∈A (including e=e′e = e'e=e′) and every y∈e(dom e∩dom e′)y \in e(\mathrm{dom}\, e \cap \mathrm{dom}\, e')y∈e(dome∩dome′):
det⁡D(e′∘e−1)(y)>0.\det D(e' \circ e^{-1})(y) > 0.detD(e′∘e−1)(y)>0.

Here DDD is the ordinary Fréchet derivative on R3\mathbb{R}^3R3, which by convention is 000 at points where the map is not differentiable. This definition does not itself assume that MMM's atlas is smooth. If MMM is empty, A=∅A = \emptysetA=∅ works, so the empty space is orientable.


Sphere embedding. A sphere embedding into MMM is a map φ:S2→M\varphi : S^2 \to Mφ:S2→M with three properties:

  • φ\varphiφ is C∞C^\inftyC∞.
  • At every point ppp, the differential dφpd\varphi_pdφp​ is injective.
  • φ\varphiφ is injective.

No other conditions are imposed.


Prime. MMM is prime if both of the following hold.

  1. There is no C∞C^\inftyC∞ diffeomorphism M≅S3M \cong S^3M≅S3.
  2. For every sphere embedding φ\varphiφ whose complement M∖φ(S2)M \setminus \varphi(S^2)M∖φ(S2) is not connected, there is a point x∉φ(S2)x \notin \varphi(S^2)x∈/φ(S2) such that the connected component of M∖φ(S2)M \setminus \varphi(S^2)M∖φ(S2) containing xxx is an open subset of MMM and, with its induced smooth structure, is C∞C^\inftyC∞-diffeomorphic to R3\mathbb{R}^3R3.

"Not connected" includes the case of an empty complement. Spheres with connected complement are not constrained at all.

The definition does not require that the complement has exactly two components, and it says nothing about the other components or about closures (closed balls).

Degenerate cases:

  • If M=∅M = \emptysetM=∅, there are no sphere embeddings and ∅≇S3\emptyset \not\cong S^3∅≅S3, so the empty manifold is prime.
  • Neither compactness nor connectedness of MMM is required. For a disconnected MMM, every embedded sphere has disconnected complement, so clause 2 applies to all spheres. Clause 1 alone does not exclude, for example, a disjoint union of copies of S3S^3S3.

Torus/Klein-bottle system. A torus/Klein-bottle system in MMM consists of:

  • a natural number nnn, which may be 000;
  • maps fi:T2→Mf_i : T^2 \to Mfi​:T2→M for i∈{0,…,n−1}i \in \{0, \dots, n-1\}i∈{0,…,n−1};
  • a Boolean flag kik_iki​ for each iii.

These satisfy four conditions:

  1. Each fif_ifi​ is C∞C^\inftyC∞.
  2. Each fif_ifi​ is an immersion: d(fi)pd(f_i)_pd(fi​)p​ is injective for every ppp.
  3. For all i,p,qi, p, qi,p,q:
fi(p)=fi(q)  ⟺  q=p  or  (ki=true and q=τ(p)).f_i(p) = f_i(q) \iff q = p \ \text{ or } \ \bigl(k_i = \text{true and } q = \tau(p)\bigr).fi​(p)=fi​(q)⟺q=p  or  (ki​=true and q=τ(p)).

So if kik_iki​ is false, fif_ifi​ is injective. If kik_iki​ is true, fif_ifi​ is exactly 2-to-1 and identifies exactly the pairs {p,τp}\{p, \tau p\}{p,τp}. 4. For i≠ji \neq ji=j, the images fi(T2)f_i(T^2)fi​(T2) and fj(T2)f_j(T^2)fj​(T2) are disjoint.

The carrier of the system is ⋃ifi(T2)\bigcup_i f_i(T^2)⋃i​fi​(T2).

No further conditions are imposed: none on incompressibility, two-sidedness, or how the surfaces sit in MMM. The empty system (n=0n = 0n=0, carrier ∅\emptyset∅) is allowed.


Riemannian 3-manifold. A Riemannian 3-manifold NNN consists of:

  • a set NNN (in the lowest universe) with an extended metric dNd_NdN​, where distances may be +∞+\infty+∞; the topology of NNN is the metric topology;
  • an atlas into R3\mathbb{R}^3R3 making NNN a C∞C^\inftyC∞ manifold;
  • an inner product on each tangent space, varying C∞C^\inftyC∞ with the point;
  • the requirement that, for all x,yx, yx,y, dN(x,y)d_N(x, y)dN​(x,y) is the infimum, over all continuous paths γ:[0,1]→N\gamma : [0, 1] \to Nγ:[0,1]→N from xxx to yyy that are C1C^1C1, of ∫01∥γ′(t)∥ dt\int_0^1 \|\gamma'(t)\|\,dt∫01​∥γ′(t)∥dt (and +∞+\infty+∞ if there is no such path);
  • the Borel σ\sigmaσ-algebra.

No completeness, connectedness, nonemptiness, compactness or orientability is required. The empty space qualifies.


Homogeneous. XXX is homogeneous if two conditions hold:

  • XXX is connected. In particular this forces XXX to be nonempty.
  • For all x,y∈Xx, y \in Xx,y∈X there is a bijection f:X→Xf : X \to Xf:X→X preserving dXd_XdX​ with f(x)=yf(x) = yf(x)=y.

These isometries are metric isometries. Smoothness is not required of them.


Locally homogeneous. NNN is locally homogeneous if there exist a homogeneous Riemannian 3-manifold XXX and a map p:X→Np : X \to Np:X→N with four properties:

  1. ppp is a covering map. Every y∈Ny \in Ny∈N has an open neighbourhood VVV such that p−1(V)p^{-1}(V)p−1(V) is open and homeomorphic, over VVV, to V×p−1(y)V \times p^{-1}(y)V×p−1(y), with p−1(y)p^{-1}(y)p−1(y) discrete.
  2. ppp is surjective.
  3. ppp is C∞C^\inftyC∞.
  4. ppp preserves distances locally. Every x∈Xx \in Xx∈X has a neighbourhood UUU such that
dN(p(y),p(z))=dX(y,z)for all y,z∈U.d_N(p(y), p(z)) = d_X(y, z) \quad \text{for all } y, z \in U.dN​(p(y),p(z))=dX​(y,z)for all y,z∈U.

Both sides are the global distances of NNN and XXX.

Because XXX is connected and nonempty and ppp is surjective, any such NNN is nonempty and connected.

The definition mentions no group of deck transformations, no freeness of an action and no normality of the covering. Only the existence of such a covering ppp is asserted. Completeness of NNN is not stated. The docstring says NNN is complete, but the code does not assert this.


Finite volume. NNN has finite volume if H3(N)<∞\mathcal{H}^3(N) < \inftyH3(N)<∞. Here H3\mathcal{H}^3H3 is the 3-dimensional Hausdorff measure of dNd_NdN​, without normalising constant:

H3(A)=lim⁡r→0 inf⁡{∑k(diam Ck)3:A⊆⋃kCk, diam Ck≤r}.\mathcal{H}^3(A) = \lim_{r \to 0}\ \inf\Bigl\{\sum_k (\mathrm{diam}\, C_k)^3 : A \subseteq \bigcup_k C_k,\ \mathrm{diam}\, C_k \le r\Bigr\}.H3(A)=r→0lim​ inf{k∑​(diamCk​)3:A⊆k⋃​Ck​, diamCk​≤r}.

The code asserts nothing about how H3\mathcal{H}^3H3 relates to the Riemannian volume. The docstring's claim that it is a constant multiple of the Riemannian volume is not part of the definition.


Admits a finite-volume locally homogeneous metric. For an open subset U⊆MU \subseteq MU⊆M with its induced smooth structure, UUU admits a finite-volume locally homogeneous metric if there exists a Riemannian 3-manifold NNN such that:

  • NNN is locally homogeneous (as above);
  • H3(N)<∞\mathcal{H}^3(N) < \inftyH3(N)<∞;
  • there is a C∞C^\inftyC∞ diffeomorphism U≅NU \cong NU≅N.

Since every locally homogeneous NNN is nonempty and connected, any UUU satisfying this is nonempty and connected. In particular U=∅U = \emptysetU=∅ and disconnected UUU never satisfy it.

Human review
  • Endorsed by Shuze Chen · Nov 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by korbonits · Nov 20, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me