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.FinitePiece.Statement |
| 2 | |
| 3 | /-! |
| 4 | # M70 component finite-extinction contradiction |
| 5 | |
| 6 | M70 isolates the numerical contradiction in the finite-extinction argument. |
| 7 | The width and profile are the concrete M69 outputs on one repaired component |
| 8 | path. The only extra datum is a time in the M68 interval where the displayed |
| 9 | profile is negative and the ambient slice is still nonempty. M71 supplies the |
| 10 | separate adapter from the global M52 flow to this local path. |
| 11 | |
| 12 | Source: Morgan--Tian Claims 18.19--18.20 and Proposition 18.18 in the proof |
| 13 | of Theorem 18.1, `references/derived/MT2007.txt:21104-21114` and |
| 14 | `21124-21162`. The local conclusion is only the inequality contradiction; |
| 15 | finite extinction and the terminal vanishing event belong to M71. |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | |
| 20 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | namespace PoincareMT |
| 25 | |
| 26 | structure M70NegativeProfileInput |
| 27 | {g₀ : StandardInitialMetric} |
| 28 | (D : RepairedSurgeryFlowData.{u} g₀) |
| 29 | (W : RepairedEventChildWitness D.flow) |
| 30 | {T : ℝ} (P : RepairedComponentPath D.flow T W) |
| 31 | {K : RepairedComparisonMapData D} |
| 32 | {C : RepairedComparisonHomotopyData D K} |
| 33 | {H : RepairedAncestryTransportInput D W P K C} |
| 34 | {B : M59HigherBasepointTransportService} |
| 35 | {A : RepairedAncestryTransportData D W P K C H B} |
| 36 | {q : M59SphereQuotient} |
| 37 | {hM61 : M61RawWidthCore.{u}} |
| 38 | {hM64 : M64ComparisonTheory.{u}} |
| 39 | {hM65 : M65DeformationTheory hM61 hM64} |
| 40 | {X : M67ChangingWidthPath D W P K C H B A q hM61 hM65} |
| 41 | (L : M69ClassLedger P B X) |
| 42 | (I : M69FinitePieceInput X L) |
| 43 | (HX : M67Conclusion X) |
| 44 | (C69 : M69FinitePieceConclusion L I HX) where |
| 45 | /-- The time is chosen from the interval on which M68's profile is defined. -/ |
| 46 | B : Set.Icc I.T₁ I.T₂ |
| 47 | profile_negative : |
| 48 | m68Profile (M69FinitePieceInput.profile L I HX) B.1 < 0 |
| 49 | /-- The component path still represents a nonempty ambient slice at B. -/ |
| 50 | path_nonempty : Nonempty (D.flow.slice B.1).carrier |
| 51 | |
| 52 | structure M70NegativeProfileConclusion |
| 53 | {g₀ : StandardInitialMetric} |
| 54 | {D : RepairedSurgeryFlowData.{u} g₀} |
| 55 | {W : RepairedEventChildWitness D.flow} |
| 56 | {T : ℝ} {P : RepairedComponentPath D.flow T W} |
| 57 | {K : RepairedComparisonMapData D} |
| 58 | {C : RepairedComparisonHomotopyData D K} |
| 59 | {H : RepairedAncestryTransportInput D W P K C} |
| 60 | {B : M59HigherBasepointTransportService} |
| 61 | {A : RepairedAncestryTransportData D W P K C H B} |
| 62 | {q : M59SphereQuotient} |
| 63 | {hM61 : M61RawWidthCore.{u}} |
| 64 | {hM64 : M64ComparisonTheory.{u}} |
| 65 | {hM65 : M65DeformationTheory hM61 hM64} |
| 66 | {X : M67ChangingWidthPath D W P K C H B A q hM61 hM65} |
| 67 | {L : M69ClassLedger P B X} |
| 68 | {I : M69FinitePieceInput X L} |
| 69 | {HX : M67Conclusion X} |
| 70 | {C69 : M69FinitePieceConclusion L I HX} |
| 71 | (J : M70NegativeProfileInput D W P L I HX C69) where |
| 72 | /-- The width is simultaneously nonnegative and bounded above by a |
| 73 | negative M68 profile value. -/ |
| 74 | contradiction : False |
| 75 | |
| 76 | end PoincareMT |