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.NegativeTime |
| 2 | import PoincareLib.Geometry.RicciFlow.Extinction.Global.WidthInputs |
| 3 | |
| 4 | /-! |
| 5 | # The same negative profile for every terminal package |
| 6 | |
| 7 | The initial-width identity removes the package dependence from the explicit |
| 8 | M68 profile. This is the uniform comparison in Morgan--Tian's proof of |
| 9 | Theorem 18.1, printed p. 432, specialized to initial time zero. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | namespace PoincareMT |
| 17 | |
| 18 | variable {g₀ : StandardInitialMetric} {D : RepairedSurgeryFlowData.{u} g₀} |
| 19 | {W : RepairedEventChildWitness D.flow} |
| 20 | {ancestry : RepairedFiniteAncestryData D.flow W} |
| 21 | |
| 22 | /-- Every package reaching the fixed observation time has a negative M68 |
| 23 | profile there, as in Morgan--Tian Theorem 18.1, p. 432. -/ |
| 24 | theorem m71Profile_neg_at_extinctionTime |
| 25 | (Q : M71FiniteContinuationService D W ancestry) |
| 26 | (hM67 : M67SurgeryWidthTheory.{u}) |
| 27 | {hT : m71ExtinctionTime Q ∈ D.flow.time_domain} |
| 28 | (J : M71ComponentContinuationData D W ancestry Q.basepoint_service |
| 29 | (m71ExtinctionTime Q) hT) : |
| 30 | m68Profile (M69FinitePieceInput.profile (m71ClassLedger Q J hM67) |
| 31 | (m71ComparisonInterval Q J hM67) (m71WidthChoice Q J hM67).2.estimate) |
| 32 | (m71ExtinctionTime Q) < 0 := by |
| 33 | change (m71WidthChoice Q J hM67).1.width (m67InitialTime J.P) * |
| 34 | Real.rpow ((1 + 4 * m71ExtinctionTime Q) / (1 + 4 * (0 : ℝ))) ((3 : ℝ) / 4) + |
| 35 | 2 * Real.pi * Real.rpow (1 + 4 * (0 : ℝ)) ((1 : ℝ) / 4) * |
| 36 | Real.rpow (1 + 4 * m71ExtinctionTime Q) ((3 : ℝ) / 4) - |
| 37 | 2 * Real.pi * (1 + 4 * m71ExtinctionTime Q) < 0 |
| 38 | rw [m71WidthChoice_initial_width] |
| 39 | exact (m71ProfileAlgebra_neg (m71InitialWidth Q) (m71InitialWidth_nonneg Q)).2 |
| 40 | |
| 41 | end PoincareMT |