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.Uniqueness.Imports |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.UnitTimeScalarEstimates |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.TerminalBlowup.Pointwise |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.ScalarLowerBound.ScalarFloor |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.ScalarLowerBound.Rate |
| 6 | |
| 7 | /-! |
| 8 | # The independent scalar lower rate on the selected flow |
| 9 | |
| 10 | Morgan-Tian Proposition 12.31, pp. 325-326. The high-curvature |
| 11 | unit-time canonical theorem gives guarded analytic controls; radial |
| 12 | angular collapse and the gradient estimate give pointwise blowup. |
| 13 | The reciprocal argument then gives the uniform lower rate before the |
| 14 | final extra-time canonical alternative is used. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | |
| 19 | open Set Filter |
| 20 | open scoped Manifold ContDiff Bundle Topology |
| 21 | |
| 22 | namespace PoincareMT.RepairedStandardCapExistenceData |
| 23 | |
| 24 | /-- Proposition 12.31: pointwise terminal blowup follows independently |
| 25 | from the checked unit-time geometric alternatives and angular collapse. -/ |
| 26 | theorem scalar_tendsto_from_unit_time (P : M35StandardCapPredecessors) |
| 27 | {g₀ : StandardInitialMetric} (E : RepairedStandardCapExistenceData g₀) |
| 28 | (x : StandardCapSpace) : |
| 29 | Tendsto (fun t => (E.flow.connection t).scalarCurvature x) (𝓝[<] 1) atTop := by |
| 30 | obtain ⟨A, _H, hA, _hH, hbounds⟩ := |
| 31 | M35.OrdinaryRealization.exists_unit_time_scalar_estimates P E |
| 32 | exact E.scalar_tendsto_of_guarded_gradient P.curvature hA |
| 33 | (fun t ht y hy => (hbounds t ht y hy).1) x |
| 34 | |
| 35 | /-- Proposition 12.31: one positive scalar-rate constant precedes all |
| 36 | points and times, independently of the final extra-time alternative. -/ |
| 37 | theorem scalar_lower_rate_from_unit_time (P : M35StandardCapPredecessors) |
| 38 | {g₀ : StandardInitialMetric} (E : RepairedStandardCapExistenceData g₀) : |
| 39 | ∃ c : ℝ, 0 < c ∧ ∀ t ∈ Ico 0 E.flow.base.lifetime, ∀ x : StandardCapSpace, |
| 40 | c / (1 - t) ≤ (E.flow.connection t).scalarCurvature x := by |
| 41 | obtain ⟨A, H, hA, hH, hbounds⟩ := |
| 42 | M35.OrdinaryRealization.exists_unit_time_scalar_estimates P E |
| 43 | obtain ⟨B, hB, hglobal⟩ := E.exists_scalar_floor P.curvature |
| 44 | apply E.scalar_lower_rate_of_blowup_and_guarded_bound P.curvature |
| 45 | · intro T hT |
| 46 | exact ⟨B, hB, fun t ht x => hglobal t ⟨ht.1, ht.2.trans_lt hT.2⟩ x⟩ |
| 47 | · exact E.scalar_tendsto_of_guarded_gradient P.curvature hA |
| 48 | (fun t ht x hx => (hbounds t ht x hx).1) |
| 49 | · exact ⟨A, H, hA, hH, fun t ht x hx => |
| 50 | (le_abs_self _).trans (hbounds t ht x hx).2⟩ |
| 51 | |
| 52 | end PoincareMT.RepairedStandardCapExistenceData |