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