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.Blowup.Controlled.Theory |
| 2 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.ShortTime.BoundedDistance |
| 3 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.ShortTime.ShortControlsAssembly |
| 4 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.Generalized.BlowupSubsequence |
| 5 | import PoincareLib.Geometry.RicciFlow.Blowup.Controlled.Predecessors |
| 6 | |
| 7 | /-! |
| 8 | # The short statement's quantifier assembly |
| 9 | |
| 10 | The analytic supplier for a common short lifetime is kept separate from the |
| 11 | contract theorem. Once supplied, this adapter selects the M29-compatible |
| 12 | epsilon threshold and discharges the universal quantifiers in |
| 13 | `M30ShortLimitStatement`. |
| 14 | Source: Morgan--Tian Theorem 11.1, pp. 267--271. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | |
| 19 | open Set Filter |
| 20 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | namespace PoincareMT.M30 |
| 25 | |
| 26 | /-- Below a universal geometric threshold, the selected sequence admits a |
| 27 | common short controlled slab (Theorem 11.1, pp. 269--271). The terminal |
| 28 | compactness selection precedes the bound supplied by Claim 11.7. -/ |
| 29 | def M30ShortControlService : Prop := |
| 30 | ∃ epsilonShort : ℝ, 0 < epsilonShort ∧ |
| 31 | ∀ (S : GeneralizedBlowupSequence.{u}) (epsilon C kappa r₀ mu : ℝ), |
| 32 | epsilon ≤ epsilonShort → |
| 33 | M30CommonBlowupControls S epsilon C kappa r₀ mu → |
| 34 | GeneralizedBlowupBoundedDistance S → |
| 35 | ∃ phi : ℕ → ℕ, ∃ hphi : StrictMono phi, |
| 36 | Nonempty (ShortControlledBlowupHypotheses |
| 37 | (reindexedBlowupSequence S phi hphi) kappa r₀) |
| 38 | |
| 39 | /-- A common-lifetime short-control service yields the contract's short limit |
| 40 | statement with the threshold selected before the sequence and its controls |
| 41 | (Theorem 11.1, pp. 267--271). -/ |
| 42 | theorem exists_shortLimitStatement_of_controlService |
| 43 | (P : M30ControlledBlowupPredecessors.{u}) |
| 44 | (hMixed : WithinFlowJetBoundsService.{0, 0}) |
| 45 | (hFlow : WithinBilinearFlowService.{0}) |
| 46 | (hSlice : SpatialSliceJetConvergenceService.{0, 0, 0, 0, 0}) |
| 47 | (hshort : M30ShortControlService.{u}) : |
| 48 | ∃ epsilon₀ : ℝ, 0 < epsilon₀ ∧ epsilon₀ ≤ 1 / 400 ∧ |
| 49 | M30ShortLimitStatement.{u} epsilon₀ := by |
| 50 | obtain ⟨epsilon29, hepsilon29, hepsilon29_le, hbound⟩ := |
| 51 | exists_boundedDistance_threshold P |
| 52 | obtain ⟨epsilonShort, hepsilonShort, hshort⟩ := hshort |
| 53 | refine ⟨min epsilon29 epsilonShort, lt_min hepsilon29 hepsilonShort, |
| 54 | (min_le_left _ _).trans hepsilon29_le, ?_⟩ |
| 55 | intro S epsilon C kappa r₀ mu hepsilon H |
| 56 | have hboundS := hbound S epsilon C kappa r₀ mu |
| 57 | (hepsilon.trans (min_le_left _ _)) H |
| 58 | obtain ⟨phi, hphi, Hshort⟩ := hshort S epsilon C kappa r₀ mu |
| 59 | (hepsilon.trans (min_le_right _ _)) H hboundS |
| 60 | obtain ⟨Hshort⟩ := Hshort |
| 61 | exact shortConclusion_of_reindexed |
| 62 | (exists_repaired_short_conclusion_of_controls P hMixed hFlow hSlice |
| 63 | (reindexedBlowupSequence S phi hphi) (reindexedCommonBlowupControls H phi hphi) |
| 64 | (reindexed_boundedDistance hboundS phi hphi) Hshort) |
| 65 | |
| 66 | end PoincareMT.M30 |