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.LGeometry.Existence |
| 2 | import PoincareLib.Geometry.RicciFlow.Curvature.Construction |
| 3 | |
| 4 | /-! Source predecessor applications; existing geometric proofs are reused. -/ |
| 5 | |
| 6 | set_option autoImplicit false |
| 7 | |
| 8 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 9 | |
| 10 | universe u |
| 11 | |
| 12 | namespace PoincareMT |
| 13 | |
| 14 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 15 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 16 | [IsManifold (𝓡 n) ∞ M] |
| 17 | |
| 18 | theorem lGeodesicExistenceAndVariation_from_M04 |
| 19 | {J : Set ℝ} [ConnectedSpace M] [T3Space M] [SecondCountableTopology M] |
| 20 | (F : RicciFlow n M J) (T τmax : ℝ) (hT : T ∈ J) (hτmax : 0 < τmax) |
| 21 | (hwindow : Set.Icc (T - τmax) T ⊆ J) |
| 22 | (hcurvature : CompleteBoundedCurvatureOn F (Set.Icc (T - τmax) T)) : |
| 23 | Nonempty (LGeodesicTheory F T τmax) := by |
| 24 | exact lGeodesicExistenceAndVariation F T τmax hT hτmax hwindow hcurvature |
| 25 | ricciFlowCurvatureTheory |
| 26 | |
| 27 | end PoincareMT |