Skip to content

Menu

WorksMathematics

A Lean Formalization of the Hamilton–Perelman Proof of Thurston's Geometrization Conjecture

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_6tz4vss6. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

We formalize the Hamilton–Perelman Ricci-flow proof of Thurston's geometrization conjecture. The public Lean declaration is reproduced in this paper. Its geometric interpretation follows, and verification is recorded in 4.

Main theorems

The endpoint is GC.Endpoint.geometrization. Its declaration type is reproduced here with the proof omitted:

theorem GC.Endpoint.geometrization (M : ConnectedClosedOrientedManifold.{u} 3) :
  ∃ factors : List (ConnectedClosedOrientedManifold.{u} 3),
    factors ≠ [] ∧
    (∀ P ∈ factors, IsPrime P) ∧
    Nonempty (ClosedOrientedManifold.OrientedDiffeomorph
      (finiteConnectedSum factors).toClosedOrientedManifold M.toClosedOrientedManifold) ∧
    ∀ P ∈ factors, ∃ D : GC.Topology.TorusDecomposition P,
      let T := D.reconstructionAtlas.torusInPrime D.reconstruction
      (∀ i, ContMDiff torusModel (ℝ 3) ∞ (T i) ∧ _root_.Topology.IsEmbedding (T i)) ∧
      Pairwise (fun i j => Disjoint (Set.range (T i)) (Set.range (T j))) ∧
      (∀ i x, Function.Injective (FundamentalGroup.map (T i) x)) ∧
      ∀ j : Fin D.components.count,
        let _ := Manifold.interiorChartedSpace D.carrier.model ∞
          (M := D.carrier.pieceInterior (D.components.piece j))
        let _ := Manifold.interiorIsManifold D.carrier.model ∞
          (M := D.carrier.pieceInterior (D.components.piece j))
        ∃ (k : GC.Geometry.ThurstonModel)
          (g : SmoothRiemannianMetric (ℝ 3)
            (D.carrier.pieceInterior (D.components.piece j))),
          RiemannianMetricComplete g ∧ GC.Geometry.HasThurstonAtlas g k ∧
          (k = .hyperbolic → Integral.Measure.riemannianVolumeMeasure (ℝ 3)
            (D.carrier.pieceInterior (D.components.piece j)) g Set.univ < ⊤)

The geometric content of this declaration is the following.

Theorem 1 (Geometrization; Hamilton–Perelman). Let MM be a connected, closed, oriented smooth three-manifold. There is an orientation-preserving diffeomorphism

M≅M1#⋯#Mk,k≥1,M \cong M_1 \mathbin{\#} \cdots\mathbin{\#} M_k,\qquad k \ge1,

where each MiM_i is a connected, closed, oriented smooth prime three-manifold. In each MiM_i there is a finite, possibly empty family of pairwise disjoint, smoothly embedded, two-sided incompressible tori. For every piece NN obtained by cutting along these tori, its interior N∘N^\circ, with the inherited smooth structure, admits a smooth Riemannian metric gg and a model XX among the eight Thurston geometries

S3,E3,H3,S2×R,H2×R,SL2(R)~,Nil,Sol,\mathbb{S}^3,\quad\mathbb{E}^3,\quad\mathbb{H}^3,\quad\mathbb{S}^2 \times\mathbb{R},\quad\mathbb{H}^2 \times\mathbb{R},\quad\widetilde{\mathrm{SL}_2(\mathbb{R})},\quad\mathrm{Nil},\quad\mathrm{Sol},

such that gg is complete and has an atlas of local isometries to XX. If X=H3X = \mathbb{H}^3, then Vol⁡g(N∘)<∞\operatorname{Vol}_g(N^\circ) < \infty.

The underlying topological framework has two stages: Kneser’s existence theorem [13] and Milnor’s uniqueness theorem [17] describe the decomposition into prime connected summands, while the Jaco–Shalen–Johannson theory [9, 10] decomposes the irreducible summands along incompressible tori into Seifert-fibered and atoroidal pieces. Theorem 1 asserts the existence of a prime connected-sum decomposition and, in each factor, a decomposition along incompressible tori such that the interior of every resulting piece admits a complete Thurston geometry; it does not require the cutting tori to form the canonical JSJ family.

Here closed means compact without boundary. Incompressibility means that inclusion of each torus induces an injection on fundamental groups. Our prime convention allows S3\mathbb{S}^3 as a factor, so that the nonempty connected sum also includes the sphere itself. We do not require the torus family to be minimal and make no uniqueness assertion. We cut only along tori and impose finite volume only in the hyperbolic case; nonhyperbolic interiors may have infinite volume. For the torus-only convention and the role of the twisted real-line bundle over the Klein bottle, see [14 Section 2 and Remark 2.2].

The public Lean endpoint is GC.Endpoint.geometrization. Its input type bundles a compact Hausdorff smooth three-manifold, connectedness, and an orientation. No metric, surgery history, irreducibility assumption, or geometric classification is required from the caller. The metric used to begin the proof is obtained from compactness.

The conclusion returns a finite nonempty list of prime factors and an oriented diffeomorphism from their connected sum to the original manifold. For each factor it returns a torus decomposition, including the cut carrier, its connected pieces, the paired boundary tori, and a smooth reconstruction of that same factor. The returned tori are explicitly smooth, embedded, pairwise disjoint, and injective on fundamental groups; the reconstruction also supplies their smooth two-sided collars. For each actual piece interior, the conclusion then exposes one model and one smooth metric, together with completeness, a local isometric atlas, and the hyperbolic finite-volume implication for that same metric. The model is uniform on the piece.

The declaration geometrization_certificate retains the construction data. The unbundled statement smooth_geometrization_conjecture expresses the same certificate conclusion for an ordinary smooth three-manifold equipped with an orientation. These are formulations of the same result, rather than additional classification hypotheses.

Mathematical route

In this section we summarize the mathematical route followed by our Lean formalization. The proof of Thurston’s geometrization conjecture [29] follows Hamilton’s Ricci-flow program [4, 5, 6, 7, 8] and Perelman’s completion of it [22, 23]. Morgan–Tian [18, 19] and Kleiner–Lott [11] both provide global organizations and detailed accounts of Perelman’s arguments. The Perelman collapse step [23 §7.4] (generalizing Cheeger–Gromov collapsing theory [1]) uses the local-collapse reworking of Kleiner–Lott [12] (cf. Perelman [21] and Shioya–Yamaguchi [28]), including its boundary version and application to geometrization in Sections 16–17. The passage from graph manifolds to geometric pieces uses Seifert-fibered geometry [9] and the eight model geometries [27, 30].

Start with a smooth Riemannian metric g0g_0 on MM. Between surgery times the metric satisfies

∂tg=−2Ric⁡g.\partial_t g=-2\operatorname{Ric}_g.

The short-time existence, curvature estimates, noncollapsing, canonical neighborhoods, and surgery constructions are shared with the Poincaré conjecture development [2, 25] (cf. [32]). For geometrization, the flow must supply information at arbitrarily late times whenever components survive. The long-time surgery existence theorem produces a surgery flow whose accuracy function δ(t)\delta(t) decreases to zero, together with the analytic estimates used in the long-time argument. The construction keeps finite surgery histories on finite observation intervals, with identifications of the initial manifold and the surviving and discarded components.

At a regular time t>0t>0, one studies the rescaled metrics t−1g(t)t^{-1}g(t); the normalization (4t)−1g(t)(4t)^{-1}g(t) is used for hyperbolic curvature −1-1. The thick-region analysis gives compact cores of complete finite-volume hyperbolic manifolds, with cusp tori separating them from the remaining region. The relevant cuts and their smooth reconstruction are carried along with the estimates. They are used both by the subsequent collapse argument and by the proof that the cutting tori are incompressible.

On the remaining region, local volume collapse at the curvature scale is combined with curvature-derivative control. For pieces with boundary, the hypotheses include nearly cuspidal boundary collars. The collapse theorem yields graph-manifold pieces, with closed geometric alternatives handled separately. In particular, the formal late-piece classification also includes a closed nonnegative-curvature case; it is not necessary to recognize every such component as a graph manifold. Refining the graph-manifold presentation into geometric pieces, while retaining its boundary identifications, supplies the required local Thurston geometries. The resulting geometric metrics are complete on the interiors of the refined pieces.

The analytic inputs are organized as tests on arbitrarily late sequences of regular slices. For every sequence of nonempty regular slices with times tending to infinity, the tests eventually provide torus cuts and an exterior-area obstruction to compressibility. Each piece satisfies the hyperbolic, collapsed, or closed nonnegative-curvature alternative. The derivative control determines a collapse threshold. If non-geometrizable components occurred at arbitrarily late times, one could choose a sequence of such slices; the threshold and the eventual tests would geometrize a member of this sequence, a contradiction. This is formalized by the late-sequence geometrization theorem.

For incompressibility, suppose that one of the relevant torus inclusions fails to induce an injection on fundamental groups. Hamilton’s incompressibility argument [8], drawing on the minimal-surface methods of Meeks–Yau [16] and Schoen–Yau [26] and Mostow–Prasad rigidity [20, 24], is implemented through a continuous nonnegative area function A ⁣:[T,∞)→RA\colon[T,\infty)\to\mathbb{R}, for some T≥0T\geq0, and a constant c>0c>0, satisfying the upper-barrier inequality

A′(t)≤34(t+c)A(t)−π.A'(t)\leq\frac{3}{4(t+c)}A(t)-\pi.

This notation is understood in the local smooth upper-barrier sense; ordinary differentiability of AA is not assumed. The moving boundary and surgery comparisons are part of the construction of this barrier. Using A≥0A \ge0, the formal comparison shows that

F(t):=A(t)t+c+πlog⁡(t+c)F(t) := \frac{A(t)}{t+c} + \pi\log(t+c)

is nonincreasing. Consequently, for t≥Tt \ge T,

0≤A(t)t+c≤A(T)T+c−πlog⁡(t+cT+c).0 \le\frac{A(t)}{t+c} \le\frac{A(T)}{T+c} - \pi\log\left(\frac{t+c}{T+c}\right).

The right-hand side becomes negative for large tt. The contradiction is formalized in the upper-barrier area lemma; applying it to the exterior areas proves incompressibility. Thus the tori used in the geometric decomposition are incompressible in the reconstructed manifold, rather than merely in an auxiliary model.

Once the sufficiently late nonempty components geometrize, the finite surgery histories reconstruct the original manifold. The reconstruction includes the standard factors discarded during surgery and the connected sums created when cuts are reversed. It also covers an empty terminal flow, through the empty-terminal reconstruction theorem. Consequently the argument does not assume that every initial manifold becomes extinct in finite time. The late-slice reconstruction theorem combines the late-component supply with this reconstruction. Prime decomposition and geometric reconstruction produce a certificate for the original MM; the public endpoint then exposes the factors, actual torus cuts, and complete metrics stated in Theorem 1. A fuller account of the analytic and topological constructions will appear elsewhere.

Agent-assisted formalization with Humanize

We use the Humanize RLAR (Ralph Loop with Agentic Review; see https://humanfia.ai/flows/rlar) workflow [31] to automate Lean formalization while retaining human control. Humanize separates implementation from review. A builder agent develops the code in successive rounds, while an independent reviewer checks progress against the plan and inspects the changes for errors. This structure supports long-running formalization by recording evidence of progress and unresolved proof obligations, alongside compiler diagnostics and reviewer feedback.

The formal-proof workflow combines kernel checking, statement-preservation checks, and independent proof verification. These checks complement, rather than replace, mathematical review of the definitions and hypotheses. Human authors remain responsible for the intended theorem statements, the mathematical interpretation of the formalization, and the final verification claims.

We use GPT-6-Astra as the reviewer. For the builder, we choose among GPT-6-Luna, GPT-6-Sol, GPT-6-Astra, Claude-Opus-5.5, and DeepSeek-V4.1-Flash based on their observed generation speed in tokens per second (TPS).

Formal artifact and verification

The formalization uses Lean 4 [3] and Mathlib [15]. We fix the source revision below, also released as v0.1.5 (preview). The paper branch records this revision; all source links use its complete commit SHA.

Repositoryhttps://github.com/qinz1yang/differential-geometry
Paper branchpaper/geometrization-v0.1.5
Tagv0.1.5 (preview)
Commitbafefb7ce5ce7e40417641d67e6e95727b7bba1f
Lean / Mathlibv4.35.0-rc3 / v4.35.0-rc3

Table 1.

The toolchain and package revisions are pinned in lean-toolchain and lake-manifest.json. Vendored source and adaptation records are fixed by the same commit. The project retains the source attribution and licenses of the Poincaré conjecture development, including selected contributions from Armstrong and Kempe’s DeGiorgi library for De Giorgi–Nash–Moser theory, Jordan–Schönflies, Classification of Compact Surfaces, Tau Ceti, and the canonical-topology development; the preserved notices and source headers identify the respective adaptations. These uses concern selected developments, not the complete theorem collections of those projects. The root NOTICE and the External/ directory provide the corresponding attribution and modification records.

From the repository root at the pinned revision, build the endpoint and the complete library with:

lake build DifferentialGeometry.Geometry.Flow.RicciFlow.LongTime.Geometrization
lake build DifferentialGeometry

The recorded verification includes successful endpoint and complete-library builds, a separate consumer of the expanded public statement, and transitive axiom checks. Declaration-linter checks were applied to the four public geometrization declarations listed below. The source and dependency contents used for those checks are preserved through the history cleanup and release integration; this transfers the recorded evidence by source identity.

To inspect the public statement and print its transitive axiom closure, put the following in a separate file, for example /tmp/GeometrizationAxioms.lean:

import DifferentialGeometry.Geometry.Flow.RicciFlow.LongTime.Geometrization

#check GC.Endpoint.geometrization
#print axioms GC.Endpoint.geometrization
#print axioms GC.Endpoint.geometrization_certificate
#print axioms GC.Endpoint.geometrization_conjecture
#print axioms GC.Endpoint.smooth_geometrization_conjecture

Run it from the repository root with:

lake env lean --root=/tmp /tmp/GeometrizationAxioms.lean

The four axiom queries yield the same set:

[propext, Classical.choice, Quot.sound].

These proof closures contain neither sorryAx nor a project-specific axiom. These checks concern the named declarations and their dependencies; their mathematical interpretation also requires review of the definitions and hypotheses.

Acknowledgements

A.K. acknowledges funding from the DARPA expMath Program, as well as the AMS-Simons Travel Grant. B.C. thanks Jingwei Xia for her constant support and OpenAI for providing access to OpenAI models through the ChatGPT for Academic Researchers program.

References

  1. [1]J. Cheeger and M. Gromov, Collapsing Riemannian manifolds while keeping their curvature bounded. I, J. Differential Geom. 23 (1986), no. 3, 309–346, doi:10.4310/jdg/1214440117.DOI
  2. [2]B. Chow, Y. Liao, and Z. Qin, A Lean Formalization of Hamilton’s Three-Manifold Theorem, arXiv:2608.21502v1 (2026).arxiv.org/abs/2608.21502
  3. [3]L. de Moura and S. Ullrich, The Lean 4 Theorem Prover and Programming Language, in Automated Deduction—CADE 28, Lecture Notes in Computer Science, vol. 12699, Springer, Cham, 2021, pp. 625–635.DOI
  4. [4]R. S. Hamilton, Three-manifolds with positive Ricci curvature, J. Differential Geom. 17 (1982), no. 2, 255–306.DOI
  5. [5]R. S. Hamilton, The Harnack estimate for the Ricci flow, J. Differential Geom. 37 (1993), no. 1, 225–243, doi:10.4310/jdg/1214453430.DOI
  6. [6]R. S. Hamilton, The formation of singularities in the Ricci flow, in Surveys in Differential Geometry, Vol. II (Cambridge, MA, 1993), International Press, Cambridge, MA, 1995, pp. 7–136.
  7. [7]R. S. Hamilton, Four-manifolds with positive isotropic curvature, Comm. Anal. Geom. 5 (1997), no. 1, 1–92.DOI
  8. [8]R. S. Hamilton, Non-singular solutions of the Ricci flow on three-manifolds, Comm. Anal. Geom. 7 (1999), no. 4, 695–729.DOI
  9. [9]W. H. Jaco and P. B. Shalen, Seifert fibered spaces in 3-manifolds, Mem. Amer. Math. Soc. 21 (1979), no. 220, viii+192 pp.
  10. [10]K. Johannson, Homotopy Equivalences of 3-Manifolds with Boundaries, Lecture Notes in Mathematics, vol. 761, Springer-Verlag, Berlin, 1979, doi:10.1007/BF b0085406.
  11. [11]B. Kleiner and J. Lott, Notes on Perelman’s papers, Geom. Topol. 12 (2008), no. 5, 2587–2855.
  12. [12]B. Kleiner and J. Lott, Locally collapsed 3-manifolds, in Local Collapsing, Orbifolds, and Geometrization, Astérisque, no. 365 (2014), 7–99.
  13. [13]H. Kneser, Geschlossene Flächen in dreidimensionalen Mannigfaltigkeiten, Jahresber. Deutsch. Math.-Verein. 38 (1929), 248–260.
  14. [14]J. Lott, Dimensional reduction and the long-time behavior of Ricci flow, Comment. Math. Helv. 85 (2010), no. 3, 485–534.arxiv.org/abs/0711.4063
  15. [15]The mathlib Community, The Lean Mathematical Library, in Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020), Association for Computing Machinery, New York, 2020, pp. 367–381.DOI
  16. [16]W. H. Meeks III and S.-T. Yau, The classical Plateau problem and the topology of three-dimensional manifolds: The embedding of the solution given by Douglas–Morrey and an analytic proof of Dehn’s lemma, Topology 21 (1982), no. 4, 409–442, doi:10.1016/0040-9383(82)90021-0.DOI
  17. [17]J. Milnor, A unique decomposition theorem for 3-manifolds, Amer. J. Math. 84 (1962), no. 1, 1–7, doi:10.2307/2372800.DOI
  18. [18]J. Morgan and G. Tian, Ricci Flow and the Poincaré Conjecture, Clay Mathematics Monographs, vol. 3, American Mathematical Society, Providence, RI, and Clay Mathematics Institute, Cambridge, MA, 2007.arxiv.org/abs/math/0607607
  19. [19]J. Morgan and G. Tian, The Geometrization Conjecture, Clay Mathematics Monographs, vol. 5, American Mathematical Society, Providence, RI, and Clay Mathematics Institute, Cambridge, MA, 2014.
  20. [20]G. D. Mostow, Quasi-conformal mappings in n-space and the rigidity of hyperbolic space forms, Inst. Hautes Études Sci. Publ. Math. 34 (1968), 53–104, doi:10.1007/BF02684590.DOI
  21. [21]G. Perelman, Alexandrov’s spaces with curvatures bounded from below II, unpublished preprint, 1991, available online.
  22. [22]G. Perelman, The entropy formula for the Ricci flow and its geometric applications, arXiv:math/0211159 (2002).
  23. [23]G. Perelman, Ricci flow with surgery on three-manifolds, arXiv:math/0303109 (2003).DOI
  24. [24]G. Prasad, Strong rigidity of Q-rank 1 lattices, Invent. Math. 21 (1973), no. 4, 255–286, doi:10.1007/BF01418789.DOI
  25. [25]Z. Qin, Y. Liao, A. Khaitan, and B. Chow, A Lean Formalization of the Hamilton–Perelman Proof of the Three-Dimensional Poincaré Conjecture, arXiv:2609.33842v1 (2026).arxiv.org/abs/2609.33842
  26. [26]R. Schoen and S.-T. Yau, Existence of incompressible minimal surfaces and the topology of three-dimensional manifolds with non-negative scalar curvature, Ann. of Math. (2) 110 (1979), no. 1, 127–142, doi:10.2307/1971247.DOI
  27. [27]P. Scott, The geometries of 3-manifolds, Bull. London Math. Soc. 15 (1983), no. 5, 401–487.DOI
  28. [28]T. Shioya and T. Yamaguchi, Volume collapsed three-manifolds with a lower curvature bound, Math. Ann. 333 (2005), no. 1, 131–155, doi:10.1007/s00208-005-0667-x.DOI
  29. [29]W. P. Thurston, Three-dimensional manifolds, Kleinian groups and hyperbolic geometry, Bull. Amer. Math. Soc. (N.S.) 6 (1982), no. 3, 357–381, doi:10.1090/S0273-0979-1982-15003-0.DOI
  30. [30]W. P. Thurston, Three-Dimensional Geometry and Topology, Vol. 1, edited by S. Levy, Princeton Mathematical Series, vol. 35, Princeton University Press, Princeton, NJ, 1997.
  31. [31]Sihao Liu, Ligeng Zhu, Zijian Zhang, Dongyun Zou, Zhengyang Zhang, Changye Li, Song Bian, Song Han, Tony Nowatzki. Humanize: Judgement Engineering for Agentic Coding. arXiv preprint arXiv:2610.08900, 2026. https://arxiv.org/abs/2610.08900
  32. [32]Z. Zhang, A. Delaval, L. Chen, J. Chen, J. Xu, Y. Liao, J. Jiang, C. Liu, and B. Dong, An AI-Assisted Formalization of the Poincaré Conjecture, arXiv:2610.08329v1 (2026).arxiv.org/abs/2610.08329

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

Pick where to look, or just type