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.LongTime.BackwardLimit.BackwardGeneralizedConvergence |
| 2 | import PoincareLib.Geometry.RicciFlow.Curvature.Estimates.Universe |
| 3 | import PoincareLib.Geometry.RicciFlow.Blowup.Controlled.Predecessors |
| 4 | |
| 5 | local macro "P.m04.local_derivative_estimates_small" : term => |
| 6 | `(PoincareMT.RicciFlowCurvatureTheory.local_derivative_estimates_small |
| 7 | (PoincareMT.RicciFlowCurvatureTheory.toCalculus $(Lean.mkIdent `P.m04))) |
| 8 | |
| 9 | /-! |
| 10 | # Geometric controls to full-horizon convergence |
| 11 | |
| 12 | The geometric branch has the same controlled cylinders and terminal-volume |
| 13 | input as the expanding-time assembly. Once the three explicit lower analytic |
| 14 | services are available, the existing Type-0 assembly supplies the generalized |
| 15 | convergence on the whole backward horizon. |
| 16 | |
| 17 | The services are kept as arguments because their reviewed M28 suppliers are |
| 18 | not part of the frozen M30 predecessor record. This adapter is therefore |
| 19 | ready for the lower-library promotion without asserting an unprovided |
| 20 | analytic theorem. |
| 21 | -/ |
| 22 | |
| 23 | set_option autoImplicit false |
| 24 | |
| 25 | open Set Filter |
| 26 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 27 | |
| 28 | universe u |
| 29 | |
| 30 | namespace PoincareMT.M30 |
| 31 | |
| 32 | /-- Geometric long controls feed the checked expanding-time assembly once the |
| 33 | within-flow, bilinear-flow, and spatial-slice services are supplied. -/ |
| 34 | theorem exists_geometric_long_generalizedBlowupConvergence |
| 35 | (P : M30ControlledBlowupPredecessors.{u}) |
| 36 | (hMixed : WithinFlowJetBoundsService.{0, 0}) |
| 37 | (hFlow : WithinBilinearFlowService.{0}) |
| 38 | (hSlice : SpatialSliceJetConvergenceService.{0, 0, 0, 0, 0}) |
| 39 | (S : GeneralizedBlowupSequence.{u}) {T₀ : ℝ≥0∞} |
| 40 | (H : M30GeometricLongControls S T₀) : |
| 41 | Nonempty (GeneralizedBlowupConvergence S (blowupBackwardInterval T₀)) := by |
| 42 | rcases H.terminal_volume with ⟨rho, v, hrho, hv, hvolume⟩ |
| 43 | exact exists_backward_generalizedBlowupConvergence |
| 44 | P.m04.local_derivative_estimates_small hMixed hFlow hSlice S |
| 45 | H.horizon_pos hrho hv H.balls_compact (fun T hT hTT => H.cylinders T hT hTT) |
| 46 | hvolume |
| 47 | |
| 48 | end PoincareMT.M30 |