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

| 1 | import PoincareLib.Geometry.CurveShortening.Comparison.AreaComparison.Annulus.Reflection |
| 2 | import PoincareLib.Geometry.CurveShortening.Comparison.AreaComparison.Disk.GluingFromAnnulus |
| 3 | import PoincareLib.Geometry.CurveShortening.Comparison.AreaComparison.Projection.Complete |
| 4 | |
| 5 | /-! |
| 6 | # Disk comparison from the actual projected annulus |
| 7 | |
| 8 | The projected annulus supplies a Lipschitz collar in each direction. |
| 9 | Both estimates begin with an arbitrary supplied disk, and the guarded |
| 10 | filling-area infima follow from the two estimates. |
| 11 | |
| 12 | Morgan--Tian context: Section 19.6, Lemmas 19.30-19.31, printed pp. 461-466. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open scoped Manifold ContDiff |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace PoincareMT |
| 22 | |
| 23 | /-- Project the supplied product annulus and construct both disk comparisons without an |
| 24 | additional geometric certificate. Source: Auxiliary step for MT Lemma 19.30, p. 462; the |
| 25 | actual half-disk collar in `proof-work/tasks/M64/reports/2026-09-24-sharp-polar-collar.md`. -/ |
| 26 | theorem m64DiskAreaComparison_of_product |
| 27 | {M : Type u} [TopologicalSpace M] [T2Space M] |
| 28 | [ChartedSpace LoopAmbient M] [IsManifold (𝓡 3) ∞ M] |
| 29 | {a b : ℝ} {F : RicciFlow 3 M (Set.Icc a b)} |
| 30 | {circumference : ℝ} (P : M62.CircleProductData F circumference) (t : ℝ) : |
| 31 | M64DiskAreaComparison P t := by |
| 32 | intro c0 c1 A gamma0 gamma1 h0 h1 |
| 33 | obtain ⟨_, B, _, harea, _, _⟩ := m64ProjectedAnnulus_of_annulus P t c0 c1 A |
| 34 | apply m64DiskGluingConclusion_of_estimates P t A gamma0 gamma1 |
| 35 | · intro eta heta D0 |
| 36 | obtain ⟨D1, hD1⟩ := m64DiskGluing_of_annulus B gamma0 gamma1 h0 h1 D0 |
| 37 | rw [harea] at hD1 |
| 38 | exact ⟨D1, by linarith⟩ |
| 39 | · intro eta heta D1 |
| 40 | obtain ⟨D0, hD0⟩ := m64DiskGluing_of_annulus |
| 41 | (m64Annulus_reverse B) gamma1 gamma0 h1 h0 D1 |
| 42 | rw [m64Annulus_reverse_area, harea] at hD0 |
| 43 | exact ⟨D0, by linarith⟩ |
| 44 | |
| 45 | end PoincareMT |