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.Contradiction.Main |
| 2 | import PoincareLib.Geometry.RicciFlow.Extinction.Global.WidthInputs |
| 3 | |
| 4 | /-! |
| 5 | # An empty slice from the negative comparison profile |
| 6 | |
| 7 | At a fixed time, a surviving point selects a continuation package. M69's |
| 8 | profile bound and M70's contradiction rule exclude that package when its |
| 9 | profile is negative. This is Morgan--Tian Theorem 18.1, printed p. 432. |
| 10 | The time and negativity proofs are explicit premises, supplied from the |
| 11 | single initial width by the M71 entry. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | namespace PoincareMT |
| 19 | |
| 20 | variable {g₀ : StandardInitialMetric} {D : RepairedSurgeryFlowData.{u} g₀} |
| 21 | {W : RepairedEventChildWitness D.flow} |
| 22 | {ancestry : RepairedFiniteAncestryData D.flow W} |
| 23 | |
| 24 | /-- No point survives at a time when every continuation package has a |
| 25 | negative profile, by the comparison in Morgan--Tian Theorem 18.1, p. 432. -/ |
| 26 | theorem m71EmptySlice |
| 27 | (Q : M71FiniteContinuationService D W ancestry) |
| 28 | (hM67 : M67SurgeryWidthTheory.{u}) |
| 29 | (hM68 : M68ScalarClockStatement.{u}) |
| 30 | (hM69 : M69FinitePieceStatement.{u}) |
| 31 | (T : ℝ) (hT : T ∈ D.flow.time_domain) (hT_nonneg : 0 ≤ T) |
| 32 | (hprofile_negative : |
| 33 | ∀ J : M71ComponentContinuationData D W ancestry Q.basepoint_service T hT, |
| 34 | m68Profile (M69FinitePieceInput.profile (m71ClassLedger Q J hM67) |
| 35 | (m71ComparisonInterval Q J hM67) (m71WidthChoice Q J hM67).2.estimate) |
| 36 | T < 0) : |
| 37 | IsEmpty (D.flow.slice T).carrier := by |
| 38 | refine ⟨fun x => ?_⟩ |
| 39 | obtain ⟨n, packages, hcover⟩ := Q.target_cover T hT |
| 40 | obtain ⟨i, _hi⟩ := hcover x |
| 41 | let J := packages i |
| 42 | obtain ⟨C69⟩ := m71FinitePieceApplication Q J hM67 hM68 hM69 |
| 43 | let negative : M70NegativeProfileInput D W J.P (m71ClassLedger Q J hM67) |
| 44 | (m71ComparisonInterval Q J hM67) (m71WidthChoice Q J hM67).2.estimate C69 := |
| 45 | { B := ⟨T, hT_nonneg, le_rfl⟩ |
| 46 | profile_negative := hprofile_negative J |
| 47 | path_nonempty := ⟨x⟩ } |
| 48 | exact (Classical.choice (m70FiniteExtinctionContradiction D W J.P |
| 49 | (m71ClassLedger Q J hM67) (m71ComparisonInterval Q J hM67) |
| 50 | (m71WidthChoice Q J hM67).2.estimate C69 negative)).contradiction |
| 51 | |
| 52 | end PoincareMT |