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.Riemannian.LoopSpace.Area.Boundary.Regularization |
| 2 | import PoincareLib.Geometry.CurveShortening.Comparison.AreaComparison.Disk.Conclusion |
| 3 | |
| 4 | /-! |
| 5 | # Exact boundary parameters for disk-gluing consumers |
| 6 | |
| 7 | M60 replaces each supplied disk by an exactly parametrized disk of the |
| 8 | same area. Consequently the two M64 gluing producers only need to handle |
| 9 | the exact boundary trace; no regularity of the original circle |
| 10 | homeomorphism is needed. |
| 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 Bundle |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace PoincareMT |
| 22 | |
| 23 | /-- Regularize a supplied spanning disk to the literal boundary parameterization without |
| 24 | changing its area. Source: Auxiliary step for MT Lemma 19.30, p. 462; the actual half-disk |
| 25 | collar in `proof-work/tasks/M64/reports/2026-09-24-sharp-polar-collar.md`. -/ |
| 26 | theorem m64ExactBoundaryDisk_of_disk |
| 27 | {M : Type u} [TopologicalSpace M] [T2Space M] |
| 28 | [ChartedSpace LoopAmbient M] [IsManifold (𝓡 3) ∞ M] |
| 29 | {g : RiemannianMetric 3 M} |
| 30 | {gamma : C1FreeLoopSpace (M := M)} |
| 31 | (D : LipschitzSpanningDisk g gamma) : |
| 32 | ∃ D' : LipschitzSpanningDisk g gamma, |
| 33 | (∀ z : LoopCircle, D'.map z = gamma z) ∧ D'.area = D.area := by |
| 34 | exact m60Disk_regularize_boundary g D |
| 35 | |
| 36 | /-- Exact-boundary regularization lets parametrized gluing estimates apply to every supplied |
| 37 | spanning disk. Source: Auxiliary step for MT Lemma 19.30, p. 462; the actual half-disk |
| 38 | collar in `proof-work/tasks/M64/reports/2026-09-24-sharp-polar-collar.md`. -/ |
| 39 | theorem m64DiskGluingConclusion_of_parametrized_estimates |
| 40 | {M : Type u} [TopologicalSpace M] [T2Space M] |
| 41 | [ChartedSpace LoopAmbient M] [IsManifold (𝓡 3) ∞ M] |
| 42 | {a b : ℝ} {F : RicciFlow 3 M (Set.Icc a b)} |
| 43 | {circumference : ℝ} (P : M62.CircleProductData F circumference) (t : ℝ) |
| 44 | {c0 c1 : ℝ → P.charts.Point} |
| 45 | (A : M64Annulus (P.flow.metric t) c0 c1) |
| 46 | (gamma0 gamma1 : C1FreeLoopSpace (M := M)) |
| 47 | (hforward : ∀ eta : ℝ, 0 < eta → |
| 48 | ∀ D0 : LipschitzSpanningDisk (F.metric t) gamma0, |
| 49 | (∀ z : LoopCircle, D0.map z = gamma0 z) → |
| 50 | ∃ D1 : LipschitzSpanningDisk (F.metric t) gamma1, |
| 51 | D1.area ≤ D0.area + m64ProjectedAnnulusArea P t A + eta) |
| 52 | (hreverse : ∀ eta : ℝ, 0 < eta → |
| 53 | ∀ D1 : LipschitzSpanningDisk (F.metric t) gamma1, |
| 54 | (∀ z : LoopCircle, D1.map z = gamma1 z) → |
| 55 | ∃ D0 : LipschitzSpanningDisk (F.metric t) gamma0, |
| 56 | D0.area ≤ D1.area + m64ProjectedAnnulusArea P t A + eta) : |
| 57 | M64DiskGluingConclusion P t A gamma0 gamma1 := by |
| 58 | apply m64DiskGluingConclusion_of_estimates P t A gamma0 gamma1 |
| 59 | · intro eta heta D0 |
| 60 | obtain ⟨E0, hE0, harea⟩ := m64ExactBoundaryDisk_of_disk D0 |
| 61 | obtain ⟨D1, hD1⟩ := hforward eta heta E0 hE0 |
| 62 | exact ⟨D1, by simpa only [harea] using hD1⟩ |
| 63 | · intro eta heta D1 |
| 64 | obtain ⟨E1, hE1, harea⟩ := m64ExactBoundaryDisk_of_disk D1 |
| 65 | obtain ⟨D0, hD0⟩ := hreverse eta heta E1 hE1 |
| 66 | exact ⟨D0, by simpa only [harea] using hD0⟩ |
| 67 | |
| 68 | /-- Assemble the disk comparison from actual projection and both parametrized disk-gluing |
| 69 | suppliers. Source: Auxiliary step for MT Lemma 19.30, p. 462; the actual half-disk collar in |
| 70 | `proof-work/tasks/M64/reports/2026-09-24-sharp-polar-collar.md`. -/ |
| 71 | theorem m64DiskAreaComparison_of_parametrized_suppliers |
| 72 | {M : Type u} [TopologicalSpace M] [T2Space M] |
| 73 | [ChartedSpace LoopAmbient M] [IsManifold (𝓡 3) ∞ M] |
| 74 | {a b : ℝ} {F : RicciFlow 3 M (Set.Icc a b)} |
| 75 | {circumference : ℝ} (P : M62.CircleProductData F circumference) (t : ℝ) |
| 76 | (hforward : ∀ (c0 c1 : ℝ → P.charts.Point) |
| 77 | (A : M64Annulus (P.flow.metric t) c0 c1) |
| 78 | (gamma0 gamma1 : C1FreeLoopSpace (M := M)), |
| 79 | (∀ x, periodicFreeLoop gamma0 x = (c0 x).1) → |
| 80 | (∀ x, periodicFreeLoop gamma1 x = (c1 x).1) → |
| 81 | ∀ eta : ℝ, 0 < eta → |
| 82 | ∀ D0 : LipschitzSpanningDisk (F.metric t) gamma0, |
| 83 | (∀ z : LoopCircle, D0.map z = gamma0 z) → |
| 84 | ∃ D1 : LipschitzSpanningDisk (F.metric t) gamma1, |
| 85 | D1.area ≤ D0.area + m64ProjectedAnnulusArea P t A + eta) |
| 86 | (hreverse : ∀ (c0 c1 : ℝ → P.charts.Point) |
| 87 | (A : M64Annulus (P.flow.metric t) c0 c1) |
| 88 | (gamma0 gamma1 : C1FreeLoopSpace (M := M)), |
| 89 | (∀ x, periodicFreeLoop gamma0 x = (c0 x).1) → |
| 90 | (∀ x, periodicFreeLoop gamma1 x = (c1 x).1) → |
| 91 | ∀ eta : ℝ, 0 < eta → |
| 92 | ∀ D1 : LipschitzSpanningDisk (F.metric t) gamma1, |
| 93 | (∀ z : LoopCircle, D1.map z = gamma1 z) → |
| 94 | ∃ D0 : LipschitzSpanningDisk (F.metric t) gamma0, |
| 95 | D0.area ≤ D1.area + m64ProjectedAnnulusArea P t A + eta) : |
| 96 | M64DiskAreaComparison P t := by |
| 97 | intro c0 c1 A gamma0 gamma1 h0 h1 |
| 98 | exact m64DiskGluingConclusion_of_parametrized_estimates P t A gamma0 gamma1 |
| 99 | (hforward c0 c1 A gamma0 gamma1 h0 h1) |
| 100 | (hreverse c0 c1 A gamma0 gamma1 h0 h1) |
| 101 | |
| 102 | end PoincareMT |