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.Global.Definitions |
| 2 | |
| 3 | /-! |
| 4 | # The fixed initial width in Theorem 18.1 |
| 5 | |
| 6 | The width is fixed before selecting a target time or component path. Its |
| 7 | nonnegativity is the M61 width property used in Morgan--Tian's proof of |
| 8 | Theorem 18.1, printed p. 432, with Definition 18.17 on p. 430. |
| 9 | -/ |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | namespace PoincareMT |
| 16 | |
| 17 | variable {g₀ : StandardInitialMetric} {D : RepairedSurgeryFlowData.{u} g₀} |
| 18 | {W : RepairedEventChildWitness D.flow} |
| 19 | {ancestry : RepairedFiniteAncestryData D.flow W} |
| 20 | |
| 21 | /-- The single initial width used for every target in the zero-time branch |
| 22 | of Morgan--Tian Theorem 18.1, p. 432. -/ |
| 23 | noncomputable def m71InitialWidth (Q : M71FiniteContinuationService D W ancestry) : ℝ := |
| 24 | m61BasedClassWidth Q.identification_system.quotient Q.initial.metric |
| 25 | ancestry.initial_component.basepoint Q.initial.alpha |
| 26 | |
| 27 | /-- M61 supplies nonnegativity of the fixed initial width, as used in |
| 28 | Morgan--Tian Theorem 18.1, p. 432. -/ |
| 29 | theorem m71InitialWidth_nonneg (Q : M71FiniteContinuationService D W ancestry) : |
| 30 | 0 ≤ m71InitialWidth Q := |
| 31 | (Q.hM61.based_class Q.initial.metric ancestry.initial_component.compact |
| 32 | ancestry.initial_component.connected ancestry.initial_component.basepoint |
| 33 | Q.initial.pi_two_trivial Q.initial.alpha).nonnegative |
| 34 | |
| 35 | end PoincareMT |