Poincaré conjecture: the Lean proof, cleaned up together
The 2026 Lean proof of the Poincaré conjecture after Morgan and Tian, 3 million lines, cleaned up together: smaller, faster to build, more readable, the theorems unchanged

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #45 docs: table the M21–M30 milestones
5 commits
+48 −0 docs/milestones.md added View file
| @@ -0,0 +1,48 @@ | ||
| 1 | +# Milestones | |
| 2 | + | |
| 3 | +The `M` numbers are the milestones of the upstream proof tree that the Lean | |
| 4 | +names still carry (`m64AnnulusComparison_from_predecessors`, | |
| 5 | +`m75SmoothPoincare`, …). They are not chapter or result numbers of | |
| 6 | +Morgan–Tian. This file is filled in ten milestones at a time; each unit adds | |
| 7 | +its own section, and a row gives the milestone's main declaration and file, | |
| 8 | +what it states, the book or other source it follows, and the earlier | |
| 9 | +milestones it uses. | |
| 10 | + | |
| 11 | +Source edition: J. W. Morgan and G. Tian, *Ricci Flow and the Poincaré | |
| 12 | +Conjecture*, Clay Mathematics Monographs 3, American Mathematical Society, | |
| 13 | +2007. Page numbers are the printed book's. The 2015 correction | |
| 14 | +(arXiv:1512.00699) replaces §19.2 and does not touch the results below. | |
| 15 | + | |
| 16 | +The `Uses` column lists the earlier milestones that the main declaration's | |
| 17 | +provider theorem applies. It is not the full import graph: a file can import | |
| 18 | +more than the milestone services it consumes, and a supplied object (a model, | |
| 19 | +a cover) is not counted as a milestone use. | |
| 20 | + | |
| 21 | +## M21–M30 | |
| 22 | + | |
| 23 | +| Milestone | Main declaration and file | What it states | Source | Uses | | |
| 24 | +|---|---|---|---|---| | |
| 25 | +| M21 | `m21AsymptoticVolumeRatioFromMilestones`<br>`PoincareLib/Geometry/RicciFlow/Surgery/StandardCap/Existence/Predecessors/AsymptoticVolume.lean` | On every time slice of an ancient κ-solution, the calibrated ball-volume ratio is antitone in the radius, has a limit at infinity, and that limit is independent of the basepoint. | Morgan–Tian, Theorem 1.34, pp. 19–20; Definition 9.1, pp. 180–181; Chapter 9 §6, pp. 221–222. | M04 | | |
| 26 | +| M22 | `m22UniversalNoncollapsingFromMilestones`<br>`PoincareLib/Geometry/RicciFlow/Surgery/StandardCap/Existence/Predecessors/UniversalNoncollapse.lean` | One universal κ, chosen before the solution, makes every non-round three-dimensional ancient κ-solution κ-noncollapsed, and every ancient κ-solution has zero asymptotic volume ratio. | Morgan–Tian, Corollary 9.44, pp. 208–209; Proposition 9.58, pp. 220–221; Theorem 9.59, pp. 222–225. | M03, M04, M11, M12, M15, M20, M21 | | |
| 27 | +| M23 | `m23NormalizedKappaCompactnessFromMilestones`<br>`PoincareLib/Geometry/RicciFlow/Surgery/StandardCap/Existence/Predecessors/KappaCompactness.lean` | A normalized sequence of based, complete, nonflat, nonnegatively curved three-dimensional κ-solutions with R(p_k,0) = 1 has a subsequence converging smoothly, including at time zero, to a based ancient κ-solution with the same κ and uniform local curvature bounds. | Morgan–Tian, Theorem 9.64, pp. 225–229; Lemma 9.65 and Claim 9.66, pp. 225–227; Proposition 9.60 and Corollaries 9.62–9.63, pp. 222–225; Kleiner–Lott, Theorem 46.1. | M04, M07, M12, M13, M16, M19, M20, M21, M22 | | |
| 28 | +| M24 | `m24ModelCertificates`<br>`PoincareLib/Geometry/RicciFlow/Soliton/Models/Certificates.lean` | Each supplied compact-round, sphere-line or quotient-sphere-line shrinking-soliton model is refined to a certificate on the same flow, preserving the model's flow and quotient. | Morgan–Tian, Theorems 1.11 and 9.42, pp. 8–9 and 206–208; Proposition 9.58, pp. 220–221. | — (takes a supplied model; M20 supplies the model in the M26 assembly) | | |
| 29 | +| M25 | `m25NeckCapTopology`<br>`PoincareLib/Topology/Manifold/NeckCap.lean` | One universal ε₀ ≤ 1/200 gives the corrected Appendix A neck/cap conclusions: A.19's tube, A.20's tube or S²-bundle, A.21's six local regions, and A.25's four global alternatives. | Morgan–Tian, Definitions 9.72, 9.77 and 9.81, pp. 230–235; Appendix A.12–A.25, pp. 504–514. | — (takes the topological Appendix A inputs) | | |
| 30 | +| M26 | `m26CanonicalNeighborhoodsFromMilestones`<br>`PoincareLib/Geometry/RicciFlow/Surgery/StandardCap/Existence/Predecessors/CanonicalGeometry.lean` | A noncompact ancient κ-solution satisfies the Corollary 9.88 alternatives, and a compact one satisfies the Theorem 9.89 canonical-neighborhood certificate, with the thresholds chosen before the solution. | Morgan–Tian, Corollary 9.88 and Theorem 9.89, pp. 239–241. | M04, M12, M16, M17, M20, M22, M23, M24, M25 | | |
| 31 | +| M27 | `m27KappaAlternativesFromMilestones`<br>`PoincareLib/Geometry/RicciFlow/Surgery/StandardCap/Existence/Predecessors/Kappa.lean` | Theorem 9.93's seven alternatives and scalar-derivative bounds hold for every ancient κ-solution, and Corollary 9.94 gives a strong canonical neighborhood at every point outside the projective-plane-line exception. | Morgan–Tian, Theorem 9.93 and Corollary 9.94, pp. 242–243. | M04, M12, M16, M20, M22, M23, M24, M25, M26 | | |
| 32 | +| M28 | `m28BoundedDistance`<br>`PoincareLib/Geometry/RicciFlow/Generalized/BoundedDistance/Main.lean` | Above a scalar threshold and with canonical control, a generalized Ricci flow satisfying the weak Hamilton–Ivey inequalities has scalar curvature at most D times the value at x on the ball of radius A R(x)^(-1/2), with D chosen before the flow. | Morgan–Tian, Theorem 10.2 (statement and proof), pp. 245–265. | M04, M25 | | |
| 33 | +| M29 | `m29GeneralizedBoundedDistance`<br>`PoincareLib/Geometry/RicciFlow/Blowup/BoundedDistance.lean` | The same bounded-distance estimate holds on generalized blowup sequences, with the earlier-time corollary and no time normalization on the nonnegative branch. | Morgan–Tian, Theorem 10.2 (statement, applied to blowup sequences), pp. 245–246; opening of the proof of Theorem 11.1, p. 269. | M28 | | |
| 34 | +| M30 | `m30ControlledGeneralizedBlowupLimitsFromMilestones`<br>`PoincareLib/Geometry/RicciFlow/Surgery/StandardCap/Existence/Predecessors/Blowup.lean` | Under the common blowup controls, a generalized blowup sequence has short- and long-time controlled limits, including terminal-time convergence and the ancient κ-solution alternative. | Morgan–Tian, Theorems 11.1 and 11.8, pp. 267–279. | M04, M06, M07, M25, M28, M29 | | |
| 35 | + | |
| 36 | +## Checking a row | |
| 37 | + | |
| 38 | +Every declaration in the table is checked with `git grep`, for example: | |
| 39 | + | |
| 40 | +```bash | |
| 41 | +git grep -n 'theorem m21AsymptoticVolumeRatioFromMilestones' -- '*.lean' | |
| 42 | +git grep -n 'theorem m30ControlledGeneralizedBlowupLimitsFromMilestones' -- '*.lean' | |
| 43 | +``` | |
| 44 | + | |
| 45 | +The declarations are the numbered entries that assemble earlier services; | |
| 46 | +the files also contain their supporting lemmas, which are not listed here. | |
| 47 | +A row says where the milestone's main statement is, not that the Lean | |
| 48 | +statement and the book statement agree; comparing them is V-4. | |
+20 −0 routes/p5-m21-m30/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 6 | |
| 3 | +status: done | |
| 4 | +--- | |
| 5 | +# p5-m21-m30 | |
| 6 | + | |
| 7 | +P-5, unit: milestones M21–M30. Adds ten rows to `docs/milestones.md`, each | |
| 8 | +with the main declaration and file, a one-sentence statement, the Morgan–Tian | |
| 9 | +(or other) source, and the milestones it uses. | |
| 10 | + | |
| 11 | +The ten main declarations are `m21AsymptoticVolumeRatioFromMilestones` through | |
| 12 | +`m30ControlledGeneralizedBlowupLimitsFromMilestones`; the rows name the | |
| 13 | +provider theorem that supplies their earlier services. M24 and M25 take | |
| 14 | +supplied models or topological inputs rather than an earlier milestone service. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +PR #45 is open against `main` with `Part of #6`. The maintainer's `replay` | |
| 19 | +has passed (issue #46); what remains is the independent reproduction in #46 | |
| 20 | +and the maintainer's merge. Issue #6 stays open for the other eight units. | |