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.UnifiedData |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.Continuation.NonemptyTheory |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.Continuation.VanishingTheory |
| 4 | |
| 5 | /-! |
| 6 | Adapted from Mapher `PoincareMT/Statements/M43UnifiedContinuation.lean` at |
| 7 | `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. Declaration bodies are retained; |
| 8 | see `references/ricci-flow/mapher/surgery-adapters-port.json`. |
| 9 | -/ |
| 10 | |
| 11 | /-! |
| 12 | # M43 repaired unified continuation statement |
| 13 | |
| 14 | The M41 and M42 providers select the appropriate constructor on one fixed |
| 15 | M33 continuation by inspecting its supplied controlled-core status. This is |
| 16 | a logical branch assembly; continuation existence remains an M33 obligation. |
| 17 | -/ |
| 18 | |
| 19 | set_option autoImplicit false |
| 20 | |
| 21 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | namespace PoincareMT |
| 26 | |
| 27 | structure RepairedUnifiedContinuationTheory : Prop where |
| 28 | continuation : RepairedNonemptyContinuationTheory.{u} → |
| 29 | RepairedVanishingContinuationTheory.{u} → |
| 30 | ∀ {F : SurgeryFlowData.{u}} {T : ℝ}, |
| 31 | ∀ (I : RepairedContinuationInput F T) (branch : RepairedBranchContinuationData I), |
| 32 | Nonempty (RepairedUnifiedContinuationData I branch) |
| 33 | |
| 34 | end PoincareMT |