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.Pinching.Assembly |
| 2 | import PoincareLib.Geometry.RicciFlow.Pinching.Conclusion |
| 3 | import PoincareLib.Geometry.RicciFlow.Pinching.GeometricPreservation.Preservation |
| 4 | |
| 5 | /-! |
| 6 | # Hamilton--Ivey pinching persistence |
| 7 | |
| 8 | The reviewed M05 statement follows from compact geometric barrier preservation, |
| 9 | the scalar maximum principle, and the geometric three-spectrum. |
| 10 | |
| 11 | Reference: Morgan--Tian, Claims 4.28--4.31, pp. 77--79; |
| 12 | Theorem 4.32, pp. 79--80, and Corollary 4.33, p. 80. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open scoped Manifold ContDiff Bundle |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace PoincareMT |
| 22 | |
| 23 | variable {M : Type u} [TopologicalSpace M] |
| 24 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 25 | [IsManifold (𝓡 3) ∞ M] |
| 26 | |
| 27 | theorem hamiltonIveyPinching |
| 28 | [T2Space M] [SecondCountableTopology M] [CompactSpace M] |
| 29 | {a b : ℝ} (ha : 0 ≤ a) (hab : a < b) |
| 30 | (F : RicciFlow 3 M (Set.Ico a b)) |
| 31 | (hM04 : RicciFlowCurvatureTheory.{u}) |
| 32 | (hinit : HamiltonIveyPinchedAt (F.connection a) a) : |
| 33 | HamiltonIveyPinchingConclusion a b F := by |
| 34 | have hlog : ∀ t ∈ Set.Ico a b, ∀ x : M, |
| 35 | 0 < (F.connection t).negativeCurvaturePart x → |
| 36 | 2 * (F.connection t).negativeCurvaturePart x * |
| 37 | (Real.log ((F.connection t).negativeCurvaturePart x) + |
| 38 | Real.log (1 + t) - 3) ≤ |
| 39 | (F.connection t).scalarCurvature x := by |
| 40 | exact (RicciFlow.Frame.hamiltonIvey_pinching_persists ha hab F hM04 |
| 41 | hinit.2.1 hinit.2.2).2 |
| 42 | have hbounds := pinching_persistence_and_bounds_of_log ha hab F hM04 hinit.2.1 hlog |
| 43 | exact |
| 44 | { persistence := fun t ht => ⟨ha.trans ht.1, hbounds.1 t ht, hlog t ht⟩ |
| 45 | spectral_bridge := hbounds.2.1 |
| 46 | full_norm_bound := hbounds.2.2 |
| 47 | full_norm_bound_continuous := continuous_const.mul (continuous_id.max continuous_const) } |
| 48 | |
| 49 | end PoincareMT |