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.Extinction.Width.Contradiction.Main |
| 2 | import PoincareLib.Geometry.RicciFlow.Extinction.Global.TerminalEvent |
| 3 | import PoincareLib.Geometry.RicciFlow.Extinction.Global.WidthInputs |
| 4 | import PoincareLib.Geometry.RicciFlow.Extinction.Global.ContinuationInputs |
| 5 | import PoincareLib.Geometry.RicciFlow.Extinction.Global.NegativeProfile |
| 6 | import PoincareLib.Geometry.RicciFlow.Extinction.Global.EmptySlice |
| 7 | import PoincareLib.Geometry.RicciFlow.Extinction.Global.Statement |
| 8 | |
| 9 | /-! |
| 10 | # M71 global finite extinction proof entry |
| 11 | |
| 12 | The fixed initial width determines a time at which every continuation |
| 13 | package has a negative comparison profile. The resulting empty slice and |
| 14 | the checked first-empty helper give finite extinction with permanence in |
| 15 | the zero-time Poincare branch of Morgan--Tian Theorem 18.1, pp. 431-432. |
| 16 | M67, M68 and M69 remain the explicit predecessor hypotheses of the statement. |
| 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 | /-- On the same M52 flow, assume actual ancestry/comparison data and target |
| 28 | covers with one fixed initial component, metric, and nonzero class of trivial |
| 29 | pi2, together with the same flow's strict delta/height comparison bounds, |
| 30 | absolute scalar bound, and indexed M58/M61/M65/M66 width services. |
| 31 | Apply M67--M69 with that fixed class over [0,T], choose a time at which |
| 32 | the explicit profile is negative, and use M70 and the first-empty helper to |
| 33 | export finite extinction with permanence. Source: the zero-time specialization |
| 34 | of Morgan--Tian Proposition 18.18 and Theorem 18.1, pp. 431--432. -/ |
| 35 | theorem m71GlobalFiniteExtinction |
| 36 | : M71GlobalFiniteExtinctionStatement.{u} := by |
| 37 | intro M _ _ _ _ _ _ _ _ _ N G input hM67 hM68 hM69 |
| 38 | have hT := m71ExtinctionTime_mem input |
| 39 | have hempty := m71EmptySlice input.continuation hM67 hM68 hM69 |
| 40 | (m71ExtinctionTime input.continuation) hT |
| 41 | (m71ExtinctionTime_nonneg input.continuation) |
| 42 | (m71Profile_neg_at_extinctionTime input.continuation hM67) |
| 43 | rw [input.flow_eq] at hT hempty |
| 44 | obtain ⟨E, _hET, _hfirst⟩ := m71FirstEmptySurgery G.certificate |
| 45 | (m71ExtinctionTime input.continuation) hT hempty |
| 46 | exact ⟨E⟩ |
| 47 | |
| 48 | end PoincareMT |