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: #49 P-9 (M21): rename m21 theorems to names that say what they state
5 commits
+12 −3 PoincareLib/Geometry/RicciFlow/Surgery/StandardCap/Existence/Predecessors/AsymptoticVolume.lean View file
| @@ -12,13 +12,22 @@ universe u | ||
| 12 | 12 | |
| 13 | 13 | namespace PoincareMT |
| 14 | 14 | |
| 15 | -theorem m21Predecessors_from_M04 (n : ℕ) : | |
| 15 | +/-- M04's static tensor calculus on the actual metric and connection is the | |
| 16 | +asymptotic-volume-ratio predecessor service; it is the only earlier theorem service | |
| 17 | +used by the M21 slice argument. (Old name: `m21Predecessors_from_M04`.) -/ | |
| 18 | +theorem asymptoticVolumeRatioPredecessors (n : ℕ) : | |
| 16 | 19 | AsymptoticVolumeRatioPredecessors.{u} n := by |
| 17 | 20 | intro M _ _ _ g D |
| 18 | 21 | exact D.curvatureTensorCalculus |
| 19 | 22 | |
| 20 | -theorem m21AsymptoticVolumeRatioFromMilestones (n : ℕ) : | |
| 23 | +/-- On every time slice of an ancient κ-solution, the calibrated ball-volume ratio is | |
| 24 | +antitone in the radius (Morgan--Tian, Clay Mathematics Monographs 3, 2007, Theorem 1.34), | |
| 25 | +has a limit at infinity, and that limit is independent of the basepoint (ibid., §9.6, | |
| 26 | +"Asymptotic volume"); the M04 predecessor service is wired in here. This records where | |
| 27 | +the book states these facts, not that the Lean statement is the book's. (Old name: | |
| 28 | +`m21AsymptoticVolumeRatioFromMilestones`.) -/ | |
| 29 | +theorem asymptoticVolumeRatioTheory_from_predecessors (n : ℕ) : | |
| 21 | 30 | AsymptoticVolumeRatioTheory.{u} n := |
| 22 | - asymptoticVolumeRatioBishopGromov n (m21Predecessors_from_M04 n) | |
| 31 | + asymptoticVolumeRatioBishopGromov n (asymptoticVolumeRatioPredecessors n) | |
| 23 | 32 | |
| 24 | 33 | end PoincareMT |
+1 −1 PoincareLib/Geometry/RicciFlow/Surgery/StandardCap/Existence/Predecessors/KappaCompactness.lean View file
| @@ -64,7 +64,7 @@ theorem m23PredecessorsFromMilestones : M23NormalizedKappaCompactnessPredecessor | ||
| 64 | 64 | exact (twoDimensionalAncientAndShrinkingSolitonClassification |
| 65 | 65 | (m20TwoDimensionalPredecessors (N := M))).ancient_classification K |
| 66 | 66 | · intro M _ _ _ _ _ _ _ _ _ K t ht |
| 67 | - obtain ⟨V⟩ := (m21AsymptoticVolumeRatioFromMilestones 3).slice K t ht | |
| 67 | + obtain ⟨V⟩ := (asymptoticVolumeRatioTheory_from_predecessors 3).slice K t ht | |
| 68 | 68 | exact V.ratio_antitone |
| 69 | 69 | · intro M _ _ _ _ _ _ _ _ _ K |
| 70 | 70 | exact C22.asymptotic_volume_ratio_zero K |
+1 −1 PoincareLib/Geometry/RicciFlow/Surgery/StandardCap/Existence/Predecessors/UniversalNoncollapse.lean View file
| @@ -70,7 +70,7 @@ theorem m22PredecessorsFromMilestones (n : ℕ) : | ||
| 70 | 70 | blowup_setup := h17 |
| 71 | 71 | two_dimensional_compact := ?_ |
| 72 | 72 | classified_limit := ?_ |
| 73 | - volume_ratio := m21AsymptoticVolumeRatioFromMilestones | |
| 73 | + volume_ratio := asymptoticVolumeRatioTheory_from_predecessors | |
| 74 | 74 | } |
| 75 | 75 | · intro d T' T _ _ H |
| 76 | 76 | exact pointedRicciFlowCompactness_from_M04 H |
+79 −0 routes/p9-m21-asymptotic-volume/README.md added View file
| @@ -0,0 +1,79 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# p9-m21-asymptotic-volume | |
| 6 | + | |
| 7 | +P-9 unit for the M21 milestone. I renamed the two M21-named declarations in | |
| 8 | +`PoincareLib/Geometry/RicciFlow/Surgery/StandardCap/Existence/Predecessors/AsymptoticVolume.lean` | |
| 9 | +to names that say what they state, in Mathlib's style: | |
| 10 | + | |
| 11 | +- `m21Predecessors_from_M04` -> `asymptoticVolumeRatioPredecessors` (M04's static | |
| 12 | + tensor calculus as the asymptotic-volume-ratio predecessor service). | |
| 13 | +- `m21AsymptoticVolumeRatioFromMilestones` -> `asymptoticVolumeRatioTheory_from_predecessors` | |
| 14 | + (the M21 slice-by-slice asymptotic volume ratio theory, M04 predecessor wired in). | |
| 15 | + | |
| 16 | +Every use moved in the same change: the two theorems, `KappaCompactness.lean` and | |
| 17 | +`UniversalNoncollapse.lean`. Each new docstring states what the theorem says and | |
| 18 | +mentions its old name once, so the milestone label is still findable. Proofs are | |
| 19 | +unchanged. The name `asymptoticVolumeRatioTheory` was already taken in | |
| 20 | +`BishopGromov.lean`, so the theory theorem is `asymptoticVolumeRatioTheory_from_predecessors`. | |
| 21 | + | |
| 22 | +PR #49, `Part of #10`, base `main`, head `p9-m21-asymptotic-volume`. | |
| 23 | + | |
| 24 | +## Old names: searched across the whole tree | |
| 25 | + | |
| 26 | +`grep -rn` over the clone, `.git` excluded, finds the two old names in exactly four | |
| 27 | +places: the two `Old name:` docstring mentions in `AsymptoticVolume.lean` (lines 17 | |
| 28 | +and 27) and the two rename lines in this note. No `.lean` file calls either old name; | |
| 29 | +`AsymptoticVolumeRatioPredecessors` and `AsymptoticVolumeRatioTheory` still resolve in | |
| 30 | +`Volume/Theory.lean`, `Volume/BishopGromov.lean` and `Noncollapse/Universal/Theory.lean`, | |
| 31 | +so nothing dangles. | |
| 32 | + | |
| 33 | +## The Morgan--Tian reference | |
| 34 | + | |
| 35 | +The maintainer's review (job 2612) asked that the added reference carry its edition and | |
| 36 | +number, and asked me to decide whether the attribution belongs in this pull request at | |
| 37 | +all, since whether the Lean statement is the book's is V-4's work. | |
| 38 | + | |
| 39 | +It stays, and it now carries both. The docstring reads | |
| 40 | + | |
| 41 | +`(Morgan--Tian, Clay Mathematics Monographs 3, 2007, Theorem 1.34)` for the antitone | |
| 42 | +part and `(ibid., §9.6, "Asymptotic volume")` for the limit and its independence of the | |
| 43 | +basepoint, and it says in the same sentence that this records where the book states | |
| 44 | +these facts, not that the Lean statement is the book's. That last clause is what keeps | |
| 45 | +P-9 out of V-4: the claim made is a pointer, not an identification of statements. | |
| 46 | + | |
| 47 | +I opened the source: arXiv:math/0607607v2 (21 Mar 2007), the version the book was set | |
| 48 | +from. Theorem 1.34 "Relative Volume Comparison, Bishop-Gromov 1964-1980" is stated in | |
| 49 | +Chapter 1 §5; §9.6 "Asymptotic volume" opens by deriving `Vol B(p,r)/r^n` non-increasing | |
| 50 | +from Theorem 1.34 and then says "Clearly, this limit is independent of p ∈ M". So the two | |
| 51 | +halves of the docstring point at the two places that carry them, and Theorem 9.59 (the | |
| 52 | +vanishing result) is not what the Lean states, so it is not cited. | |
| 53 | + | |
| 54 | +The review suggested "Theorem 1.34, pp. 19--20" as the single reference. I did not use | |
| 55 | +those page numbers: in the copy I read, Theorem 1.34 sits in Chapter 1 §5 and the | |
| 56 | +preprint's printed pages do not match pp. 19--20, so I give the theorem and section | |
| 57 | +numbers instead of page numbers I cannot confirm in the published setting. If the | |
| 58 | +maintainer wants page numbers, the edition is already named and the page follows from | |
| 59 | +the number. | |
| 60 | + | |
| 61 | +## What this does not show | |
| 62 | + | |
| 63 | +That the Lean statement is Morgan--Tian's statement. That is V-4, as #10 says. | |
| 64 | + | |
| 65 | +## Checks | |
| 66 | + | |
| 67 | +`challenge` passes on this head (`ok: 3 challenge files and the build configuration as | |
| 68 | +approved; 23570 Lean files, 3062347 lines, toolchain leanprover/lean4:v4.33.1`). | |
| 69 | + | |
| 70 | +`build` is running on this head (job 2676, started 07:48 UTC): it does judge the Lean | |
| 71 | +files this route changes, so it is a real run on this head and not the base commit's | |
| 72 | +verdict carried over. No verdict yet. Lean is not installed on my machine, so I did not | |
| 73 | +build locally and did not install it for this. | |
| 74 | + | |
| 75 | +## Next | |
| 76 | + | |
| 77 | +The maintainer's rerun of `build` on the head of this branch, and then a second reader | |
| 78 | +for the docstring wording; the two names, their uses and the reference are as far as | |
| 79 | +this route goes. | |