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.Continuation.NonemptyData |
| 2 | |
| 3 | /-! |
| 4 | Adapted from Mapher `PoincareMT/Statements/M41NonemptyContinuation.lean` at |
| 5 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. Declaration bodies are retained; |
| 6 | see `references/ricci-flow/mapher/surgery-adapters-port.json`. |
| 7 | -/ |
| 8 | |
| 9 | /-! |
| 10 | # M41 repaired nonempty-terminal continuation statement |
| 11 | |
| 12 | For a fixed M33 continuation and a nonempty controlled core, select the |
| 13 | nonempty operation on that exact extension with its constructor equality, |
| 14 | post-terminal interval, admissibility and pinching. This is a logical |
| 15 | projection from the supplied M33 data, not a new continuation-existence claim. |
| 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 | structure RepairedNonemptyContinuationTheory : Prop where |
| 27 | continuation : ∀ {F : SurgeryFlowData.{u}} {T : ℝ} |
| 28 | (I : RepairedContinuationInput F T) (branch : RepairedBranchContinuationData I), |
| 29 | I.controlled_core.Nonempty → Nonempty (RepairedNonemptyContinuationData I branch) |
| 30 | |
| 31 | end PoincareMT |