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.GlobalSchedule.EventMaximality |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.GlobalSchedule.Zero.ZeroCapComponents |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.GlobalSchedule.Event.EventIntervals |
| 4 | |
| 5 | /-! |
| 6 | # The zero-cap component alternative on the actual flow |
| 7 | |
| 8 | Morgan--Tian Lemma 17.12, printed pp. 410-411: a surgery with no inserted |
| 9 | caps removes whole components. Raw event maximality gives properness of |
| 10 | the retained pre-region; its empty boundary then gives a discarded component |
| 11 | of positive pre-event volume. This is not a uniform terminal volume loss. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | namespace PoincareMT.SurgeryFlowData |
| 19 | |
| 20 | /-- The actual event data supply M49's zero-cap component predicate, using |
| 21 | the existing M13 metric-homothety service for the pre-flow identification. -/ |
| 22 | theorem zeroCapDiscard (F : SurgeryFlowData.{u}) |
| 23 | (H13 : GeneralizedParabolicRescalingTheory.{u} 3) : RepairedZeroCapDiscard F := by |
| 24 | intro T hT _ hzero |
| 25 | exact (F.event T hT).discardedComponent_of_zero_caps hzero |
| 26 | (F.event_retainedPre_ne_univ H13 hT) |
| 27 | |
| 28 | end PoincareMT.SurgeryFlowData |