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.Controlled.Geometry |
| 2 | |
| 3 | /-! |
| 4 | # Blow-up sequences in one actual generalized flow |
| 5 | |
| 6 | The flow and selected points are retained literally. Positivity and |
| 7 | divergence are the scalar statements for those same points. |
| 8 | Source: Morgan-Tian Theorem 12.28, pp. 323-324; bad-point selection |
| 9 | derivation, section 4. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | open Filter |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | namespace PoincareMT.M34 |
| 19 | |
| 20 | /-- The frozen blow-up sequence associated to diverging positive scalar |
| 21 | values in one fixed actual generalized flow (Theorem 12.28). -/ |
| 22 | def fixedFlowBlowupSequence (G : GeneralizedRicciFlowData.{u}) (p : ℕ → G.point) |
| 23 | (hpositive : ∀ k, 0 < G.scalar (p k)) |
| 24 | (hdiverges : Tendsto (fun k => G.scalar (p k)) atTop atTop) : |
| 25 | GeneralizedBlowupSequence.{u} where |
| 26 | flow := fun _ => G |
| 27 | base := p |
| 28 | base_scalar_pos := hpositive |
| 29 | scalar_diverges := hdiverges |
| 30 | |
| 31 | end PoincareMT.M34 |