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.Basic |
| 2 | import Mathlib.Analysis.SpecialFunctions.Pow.Real |
| 3 | |
| 4 | /-! |
| 5 | # Generalized blowup sequences and normalized balls |
| 6 | |
| 7 | Adapted from Mapher, `PoincareMT/Definitions/Ch11/BlowupLimits.lean`, commit |
| 8 | `4a6b36794e04c3fac86663910a73a924fed43f23`. |
| 9 | Declaration bodies are retained; only the required definition closure is imported. |
| 10 | See `references/ricci-flow/mapher/reviewed-bounded-distance.md`. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | |
| 15 | open scoped Manifold ContDiff Bundle ENNReal Topology BigOperators |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace PoincareMT |
| 20 | |
| 21 | structure GeneralizedBlowupSequence where |
| 22 | flow : ℕ → GeneralizedRicciFlowData.{u} |
| 23 | base : ∀ k, (flow k).point |
| 24 | base_scalar_pos : ∀ k, 0 < (flow k).scalar (base k) |
| 25 | scalar_diverges : Filter.Tendsto (fun k ↦ (flow k).scalar (base k)) |
| 26 | Filter.atTop Filter.atTop |
| 27 | |
| 28 | noncomputable def GeneralizedBlowupSequence.scale (S : GeneralizedBlowupSequence) |
| 29 | (k : ℕ) : ℝ := (S.flow k).scalar (S.base k) |
| 30 | |
| 31 | def GeneralizedBlowupSequence.baseBall (S : GeneralizedBlowupSequence) |
| 32 | (k : ℕ) (A : ℝ) : Set ((S.flow k).slice (S.base k).1).carrier := |
| 33 | ((S.flow k).metric (S.base k).1).ball (S.base k).2 (A / Real.sqrt (S.scale k)) |
| 34 | |
| 35 | def GeneralizedBlowupBoundedDistance (S : GeneralizedBlowupSequence) : Prop := |
| 36 | ∀ A : ℝ, 0 < A → ∃ D : ℝ, 0 < D ∧ ∀ᶠ k : ℕ in Filter.atTop, |
| 37 | ∀ x ∈ S.baseBall k A, |
| 38 | (S.flow k).scalar ⟨(S.base k).1, x⟩ ≤ D * S.scale k |
| 39 | |
| 40 | end PoincareMT |
| 41 |