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.Volume.FinitePrefixData |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.Volume.LossTheory |
| 3 | |
| 4 | /-! |
| 5 | Adapted from Mapher `PoincareMT/Statements/M50FinitePrefix.lean` at |
| 6 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. Declaration bodies are retained; |
| 7 | see `references/ricci-flow/mapher/surgery-adapters-port.json`. |
| 8 | -/ |
| 9 | |
| 10 | /-! |
| 11 | # M50 repaired finite-prefix flow statement |
| 12 | |
| 13 | Selected positive losses at cap events, together with the separate component |
| 14 | count, rule out finite accumulation on the same changing-carrier flow. |
| 15 | Finite epoch extension is the separate M48 step. |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | |
| 20 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | namespace PoincareMT |
| 25 | |
| 26 | /-! |
| 27 | Natural-language theorem: for a raw changing-carrier flow `F` with primitive |
| 28 | M49 controls `C` and exact event-loss certificate `V`, weighted volume loss |
| 29 | and the separate component count yield compact-set finiteness and no finite |
| 30 | accumulation. No extension service, |
| 31 | infinite-time endpoint or global schedule is asserted here. |
| 32 | |
| 33 | Source: Morgan--Tian Theorem 15.9, pp. 363--366 and the finite-prefix argument |
| 34 | around Lemma 17.12, MT2007ArxivV2.txt lines 18856--18957 (pp. 395--397 in the |
| 35 | arXiv pagination; the book pagination is pp. 408--411, with Lemma 17.12 on |
| 36 | p. 410). The volume-loss input is the corrected M49 certificate; the printed |
| 37 | `h^2 / delta` term is corrected to `h^3 / delta` by |
| 38 | `reviews/errata/2026-09-10-surgery-extinction-audit.md`. |
| 39 | -/ |
| 40 | structure RepairedFinitePrefixTheory : Prop where |
| 41 | finite_prefix : ∀ F : SurgeryFlowData.{u}, |
| 42 | ∀ C : RepairedVolumeLossControls F, |
| 43 | ∀ V : RepairedVolumeLossData F C, |
| 44 | Nonempty (RepairedFinitePrefixData F C V) |
| 45 | |
| 46 | end PoincareMT |