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.Surgery.StandardCap.Existence.Lifetime.CanonicalGeometry.CanonicalPersistence |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Lifetime.Basic.GoodPointAssembly |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Lifetime.Flow.UnitLifetimeOfGoodPoints |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Noncollapsing.NoncollapsingCertificate |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.InitialEstimates.ScalarPositivity |
| 6 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Construction.Flow.PartialFlowCompleteness |
| 7 | |
| 8 | /-! |
| 9 | # Every maximal standard cap flow has lifetime at least one |
| 10 | |
| 11 | Actual canonical persistence discharges the high-good-point threshold. |
| 12 | The second blow-up volume contradiction then excludes every subunit |
| 13 | lifetime. Source: Morgan-Tian Theorems 12.28-12.29 and Claim 12.30, |
| 14 | pp. 323-325; canonical-lifetime-assembly.md in the M34 task records. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | |
| 19 | open Set |
| 20 | open scoped Manifold ContDiff Topology |
| 21 | |
| 22 | namespace PoincareMT.M34 |
| 23 | |
| 24 | /-- The actual neck and cap persistence theorems, high-good-point |
| 25 | contradiction and zero-AVR volume contradiction give the unit lifetime |
| 26 | lower bound for every supplied maximal standard flow |
| 27 | (Theorems 12.28-12.29, pp. 323-325). -/ |
| 28 | theorem standardFlow_lifetime_ge_one (P : M34StandardCapPredecessors) |
| 29 | {g0 : StandardInitialMetric} (F : MaximalStandardCapFlow g0) : |
| 30 | 1 ≤ F.base.lifetime := by |
| 31 | obtain ⟨epsilon, hepsilon, hsmall, long⟩ := P.long_limits |
| 32 | obtain ⟨c, hc, hpersistence⟩ := exists_ordinary_canonical_persistence |
| 33 | P.kappa_alternatives hepsilon (hsmall.trans (by norm_num)) |
| 34 | obtain ⟨A, hA, hthreshold⟩ := standardFlow_chapter11_goodPoint_threshold_of_persistence P |
| 35 | obtain ⟨R, _⟩ := P.ordinary_product (EuclideanSpace ℝ (Fin 3)) |
| 36 | (partialFlowSpacetimeInterval F.base) F.base.flow |
| 37 | obtain ⟨E0⟩ := standardCapEstimate_exists g0 |
| 38 | obtain ⟨H⟩ := standardFlow_noncollapsingCertificate F P |
| 39 | have hcomplete : ∀ t ∈ (partialFlowSpacetimeInterval F.base).domain, |
| 40 | MetricComplete (F.base.flow.metric t) := |
| 41 | fun _ ht => partialFlow_complete F.base P.curvature ht |
| 42 | have hpersist := hpersistence (I := partialFlowSpacetimeInterval F.base) |
| 43 | F.base.flow R hcomplete |
| 44 | obtain ⟨Q, _hQ, hgood⟩ := hthreshold F R E0 H |
| 45 | (epsilon0 := epsilon) (epsilon := epsilon) (c := c) long hepsilon le_rfl hc |
| 46 | (fun p hp hd Conv K => hpersist p hp hd Conv K) |
| 47 | exact standardFlow_lifetime_ge_one_of_good_points F P R E0 H |
| 48 | long hepsilon le_rfl hc hA (Rstar := Q) hgood |
| 49 | |
| 50 | end PoincareMT.M34 |