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.Local.ExistenceUniquenessContinuation |
| 2 | import PoincareLib.Geometry.RicciFlow.Pinching.Imported.Main |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.Continuation.Construction |
| 4 | |
| 5 | open PoincareMT.PinchingImport |
| 6 | /-! |
| 7 | # Applied compact restart and pinching services for M33 |
| 8 | |
| 9 | These checked applications supply M03 on every constructed compact carrier |
| 10 | and M05 from the actual nonnegative restart time. The concrete singular limit, |
| 11 | calibrated horn geometry, local metric surgery and primitive history bridge |
| 12 | remain inputs of M33's continuation field. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace PoincareMT |
| 20 | |
| 21 | /-- Supply the compact local-flow and absolute-time pinching services by their |
| 22 | actual M03 and M05 theorems. M05 retains its existing M04 dependency. -/ |
| 23 | theorem m33BranchContinuationPredecessors : M33Predecessors.{u} := by |
| 24 | refine { |
| 25 | local_flow := ricciFlowLocalTheory |
| 26 | pinching := ?_ |
| 27 | } |
| 28 | intro M _ _ _ _ _ _ a b ha hab F hinit |
| 29 | exact hamiltonIveyPinching_from_M04 ha hab F hinit |
| 30 | |
| 31 | /-- M33's conditional Lemma 15.11 construction with its compact restart and |
| 32 | pinching services supplied. The singular-limit, calibrated-horn, local-surgery |
| 33 | and primitive history-bridge hypotheses remain explicit in the conclusion. -/ |
| 34 | theorem m33BranchContinuationFromMilestones : |
| 35 | RepairedBranchContinuationTheory.{u} := |
| 36 | repairedBranchContinuation m33BranchContinuationPredecessors |
| 37 | |
| 38 | end PoincareMT |