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.Blowup.Construction.ShortTime.StaticLimit.StaticTerminalBound |
| 2 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.ShortTime.Terminal.TerminalStaticLimit |
| 3 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.ShortTime.ShortLimitStatementAssembly |
| 4 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.PartialLimits.AnalyticSuppliers |
| 5 | |
| 6 | /-! |
| 7 | # Actual short controls and the short limit statement |
| 8 | |
| 9 | Morgan--Tian Theorem 11.1, pp. 267-271. The bounded complete terminal |
| 10 | limit and its retained all-radius source coverage produce one common |
| 11 | short lifetime on the selected sequence. The checked finite convergence |
| 12 | assembly then gives the frozen short conclusion for the original sequence. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open Set Filter |
| 19 | open scoped Manifold ContDiff Topology |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT.M30 |
| 24 | |
| 25 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.chartedSpace |
| 26 | FlowCarrier.isManifold |
| 27 | |
| 28 | /-- The actual bounded terminal limit supplies short controls on its |
| 29 | retained subsequence below a universal accuracy threshold |
| 30 | (Theorem 11.1 after Claim 11.7, p. 271). -/ |
| 31 | theorem shortControlService (hC : RicciFlowCurvatureTheory.{u}) : |
| 32 | M30ShortControlService.{u} := by |
| 33 | classical |
| 34 | obtain ⟨epsilon0, hpositive, _hsmall, hterminalBound⟩ := |
| 35 | exists_static_limit_terminal_curvature_bound_threshold.{u} |
| 36 | refine ⟨epsilon0, hpositive, ?_⟩ |
| 37 | intro S epsilon C kappa r0 mu hepsilon H hbound |
| 38 | obtain ⟨G, hcomplete, hcoverage⟩ := |
| 39 | exists_complete_terminal_static_limit hC H hbound |
| 40 | let D : LeviCivitaData G.limitMetric := G.limitMetric.leviCivitaData |
| 41 | obtain ⟨B, _hB, hscalar, _hcurvature⟩ := |
| 42 | hterminalBound hC H hepsilon hbound G hcomplete D |
| 43 | exact ⟨G.subsequence, G.subsequence_strictMono, |
| 44 | shortControls_of_static_terminal_limit_bound hC H G D hcoverage (B := B) hscalar⟩ |
| 45 | |
| 46 | /-- The actual short-control and included-time analytic suppliers give |
| 47 | the frozen short-limit statement (Theorem 11.1, pp. 267-271). -/ |
| 48 | theorem exists_shortLimitStatement |
| 49 | (P : M30ControlledBlowupPredecessors.{u}) : |
| 50 | ∃ epsilon0 : ℝ, 0 < epsilon0 ∧ epsilon0 ≤ 1 / 400 ∧ |
| 51 | M30ShortLimitStatement.{u} epsilon0 := |
| 52 | exists_shortLimitStatement_of_controlService P |
| 53 | withinFlowJetBoundsService.{0, 0} withinBilinearFlowService.{0} |
| 54 | spatialSliceJetConvergenceService.{0, 0, 0, 0, 0} (shortControlService P.m04) |
| 55 | |
| 56 | end PoincareMT.M30 |