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.Annulus |
| 2 | |
| 3 | /-! |
| 4 | # Guards for the raw disk infimum |
| 5 | |
| 6 | The raw filling infimum is only used after a raw disk witness is available. |
| 7 | This file packages the corresponding range nonemptiness, lower bound, and |
| 8 | nonnegative infimum facts. |
| 9 | |
| 10 | Morgan--Tian context: Section 19.4, Definition 19.18 and Claims 19.19-19.22, printed pp. |
| 11 | 450-453. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | open Set |
| 17 | open scoped Manifold ContDiff Bundle |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace PoincareMT |
| 22 | |
| 23 | variable {M : Type u} [TopologicalSpace M] |
| 24 | [ChartedSpace LoopAmbient M] [IsManifold (𝓡 3) ∞ M] |
| 25 | {g : RiemannianMetric 3 M} {gamma : ContinuousMap LoopCircle M} |
| 26 | |
| 27 | /-- An actual raw spanning disk makes its area range nonempty. Source: Auxiliary step for MT |
| 28 | Definition 19.18 and Claims 19.19/19.22, pp. 450-453; project construction in |
| 29 | `proof-work/tasks/M64/reports/2026-09-23-static-polygon.md`. -/ |
| 30 | theorem m64RawDiskAreaRange_nonempty |
| 31 | (D : M64RawSpanningDisk g gamma) : |
| 32 | (m64RawDiskAreaRange g gamma).Nonempty := |
| 33 | ⟨D.area, ⟨D, rfl⟩⟩ |
| 34 | |
| 35 | /-- Nonnegative areas bound the raw disk area range below. Source: Auxiliary step for MT |
| 36 | Definition 19.18 and Claims 19.19/19.22, pp. 450-453; project construction in |
| 37 | `proof-work/tasks/M64/reports/2026-09-23-static-polygon.md`. -/ |
| 38 | theorem m64RawDiskAreaRange_bddBelow |
| 39 | (_D : M64RawSpanningDisk g gamma) : |
| 40 | BddBelow (m64RawDiskAreaRange g gamma) := by |
| 41 | refine ⟨0, ?_⟩ |
| 42 | rintro _ ⟨E, rfl⟩ |
| 43 | exact E.area_nonnegative |
| 44 | |
| 45 | /-- A supplied raw disk guards nonnegativity of the filling-area infimum. Source: Auxiliary |
| 46 | step for MT Definition 19.18 and Claims 19.19/19.22, pp. 450-453; project construction in |
| 47 | `proof-work/tasks/M64/reports/2026-09-23-static-polygon.md`. -/ |
| 48 | theorem m64RawFillingArea_nonnegative |
| 49 | (_D : M64RawSpanningDisk g gamma) : |
| 50 | 0 ≤ m64RawFillingArea g gamma := by |
| 51 | unfold m64RawFillingArea |
| 52 | apply Real.sInf_nonneg |
| 53 | rintro _ ⟨E, rfl⟩ |
| 54 | exact E.area_nonnegative |
| 55 | |
| 56 | /-- Retain nonemptiness, boundedness below, and nonnegativity for the actual raw filling |
| 57 | class. Source: Auxiliary step for MT Definition 19.18 and Claims 19.19/19.22, pp. 450-453; |
| 58 | project construction in `proof-work/tasks/M64/reports/2026-09-23-static-polygon.md`. -/ |
| 59 | theorem m64RawDiskArea_guards |
| 60 | (D : M64RawSpanningDisk g gamma) : |
| 61 | (m64RawDiskAreaRange g gamma).Nonempty ∧ |
| 62 | BddBelow (m64RawDiskAreaRange g gamma) ∧ |
| 63 | 0 ≤ m64RawFillingArea g gamma := |
| 64 | ⟨m64RawDiskAreaRange_nonempty D, |
| 65 | m64RawDiskAreaRange_bddBelow D, |
| 66 | m64RawFillingArea_nonnegative D⟩ |
| 67 | |
| 68 | end PoincareMT |