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.Generalized.BoundedDistance.GeometryImports |
| 2 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.Dense |
| 3 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.Analysis.Geometry.LogPinching |
| 4 | |
| 5 | /-! |
| 6 | # Pinching toward positive curvature |
| 7 | |
| 8 | Morgan--Tian Definition 10.1, printed p. 245, implies the weak pinching |
| 9 | inequalities (10.1), printed p. 247. Their quantitative consequence is the |
| 10 | normalized negative-curvature bound used in Claim 10.11, printed p. 255. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | namespace PoincareMT |
| 18 | |
| 19 | open Filter |
| 20 | open scoped Topology |
| 21 | |
| 22 | /-- A uniform scalar bound on a rescaled region forces its negative |
| 23 | curvature part below `eta` times the rescaling factor. This is the |
| 24 | quantitative input to Morgan--Tian Claim 10.11, printed p. 255. -/ |
| 25 | theorem generalizedWeakHamiltonIveyPinched.negative_part_lt |
| 26 | {F : GeneralizedRicciFlowData.{u}} |
| 27 | (h : generalizedWeakHamiltonIveyPinched F) |
| 28 | {eta B Q t : ℝ} (heta : 0 < eta) (hB : 0 ≤ B) |
| 29 | (hQ : Real.exp (3 + (B + 1) / (2 * eta)) / eta ≤ Q) |
| 30 | (ht : t ∈ F.interval) (x : (F.slice t).carrier) |
| 31 | (hscalar : F.scalar ⟨t, x⟩ ≤ B * Q) : |
| 32 | (F.connection t).negativeCurvaturePart x < eta * Q := by |
| 33 | exact Real.lt_mul_of_log_pinching heta hB hQ hscalar (h t ht x).2 |
| 34 | |
| 35 | /-- Along any points with uniformly bounded normalized scalar curvature, |
| 36 | the normalized negative part of a pinched blowup sequence tends to zero. |
| 37 | The points may vary in space and time, as required by Morgan--Tian |
| 38 | Claim 10.11, printed p. 255. -/ |
| 39 | theorem GeneralizedBlowupSequence.negative_part_tendsto_zero |
| 40 | (S : GeneralizedBlowupSequence.{u}) |
| 41 | (hpinch : ∀ k, generalizedWeakHamiltonIveyPinched (S.flow k)) |
| 42 | (p : ∀ k, (S.flow k).point) {B : ℝ} (hB : 0 ≤ B) |
| 43 | (hscalar : ∀ᶠ k in atTop, (S.flow k).scalar (p k) ≤ B * S.scale k) : |
| 44 | Tendsto (fun k ↦ ((S.flow k).connection (p k).1).negativeCurvaturePart (p k).2 / |
| 45 | S.scale k) atTop (𝓝 0) := by |
| 46 | apply Real.tendsto_zero_of_log_pinching hB S.scalar_diverges |
| 47 | · exact Filter.Eventually.of_forall fun k ↦ le_max_right _ _ |
| 48 | · exact hscalar |
| 49 | · apply Filter.Eventually.of_forall |
| 50 | intro k |
| 51 | have ht : (p k).1 ∈ (S.flow k).interval := |
| 52 | ((S.flow k).slice_nonempty_iff _).mp ⟨(p k).2⟩ |
| 53 | exact (hpinch k _ ht (p k).2).2 |
| 54 | |
| 55 | end PoincareMT |