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.RicciFlow.ReducedGeometry.ReducedVolume.Regularity.AlmostEverywhere.RegularImage |
| 2 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Regularity.Lipschitz.SpacetimeLipschitz |
| 3 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Regularity.Continuity.ContactBounds |
| 4 | |
| 5 | /-! |
| 6 | # The complete reduced-length measure-regularity output |
| 7 | |
| 8 | Morgan-Tian Corollary 6.67, Claims 6.68-6.69, Proposition 7.5 and |
| 9 | Corollary 7.6 give the one open regular spacetime image, every-slice nullity, |
| 10 | full-window continuity and local Lipschitz regularity, and derivative bounds. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | |
| 15 | open Set |
| 16 | open scoped Manifold ContDiff Bundle Topology |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace PoincareMT.ReducedVolume |
| 21 | |
| 22 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 23 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 24 | [ConnectedSpace M] [T3Space M] [MeasurableSpace M] [BorelSpace M] |
| 25 | {J : Set ℝ} {F : RicciFlow n M J} {T τmax : ℝ} |
| 26 | |
| 27 | /-- The L-geodesic and differential theories produce all eight measure-regularity fields. -/ |
| 28 | theorem reducedLength_measure_regularity |
| 29 | (hL : LGeodesicTheory F T τmax) |
| 30 | (hDifferential : ReducedLengthDifferentialTheory F T τmax) |
| 31 | (hwindow : Icc (T - τmax) T ⊆ J) (p : M) : |
| 32 | Nonempty (ReducedLengthMeasureData F T τmax p) := by |
| 33 | obtain ⟨G⟩ := hDifferential.exponential_geometry p |
| 34 | exact ⟨{ |
| 35 | regularDomain := G.regularImage |
| 36 | regularDomain_open := G.regular_chart.open_target |
| 37 | regularDomain_time := G.regular_target_times |
| 38 | regular_points := fun z hz ↦ ⟨G.regular_point z hz⟩ |
| 39 | slice_complement_null := fun _ hτ hmax ↦ |
| 40 | regularImage_slice_complement_eq_zero hL hDifferential hwindow G hτ hmax |
| 41 | continuous := reducedLength_continuousOn hL hDifferential p |
| 42 | locally_lipschitz := reducedLength_locallyLipschitz hL hDifferential hwindow p |
| 43 | local_derivative_bounds := reducedLength_local_derivative_bounds hDifferential G }⟩ |
| 44 | |
| 45 | end PoincareMT.ReducedVolume |