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.Surgery.StandardCap.Uniqueness.Imports |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.LimitCapCanonical |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.LimitFullStrongNeck |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Blowup.AncientLimits.LimitAlternatives |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Blowup.AncientLimits.AncientExtraction |
| 6 | |
| 7 | /-! |
| 8 | # High-curvature unit-time canonical control |
| 9 | |
| 10 | Morgan-Tian Theorem 12.28, pp. 323-324. A strong first-failure |
| 11 | sequence has an actual ancient limit. Its cap and neck branches both |
| 12 | return the identical epsilon and contradict the original failures. |
| 13 | This proof uses the unit backward interval supplied by M27. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | open Set Filter |
| 19 | open scoped Manifold ContDiff Bundle Topology |
| 20 | |
| 21 | namespace PoincareMT.M35.OrdinaryRealization |
| 22 | |
| 23 | /-- Theorem 12.28: above one scalar threshold, the selected flow |
| 24 | has full unit-time canonical control with fixed quantitative constants. -/ |
| 25 | theorem exists_unit_time_canonical_constants (P : M35StandardCapPredecessors) : |
| 26 | ∃ delta : ℝ, 0 < delta ∧ ∀ epsilon : ℝ, 0 < epsilon → epsilon ≤ delta → |
| 27 | ∀ {g₀ : StandardInitialMetric} (E : RepairedStandardCapExistenceData g₀), |
| 28 | ∃ C H : ℝ, 0 < C ∧ 0 < H ∧ |
| 29 | ∀ t, ∀ ht : t ∈ Ico 0 E.flow.base.lifetime, ∀ x : StandardCapSpace, |
| 30 | H ≤ (E.flow.connection t).scalarCurvature x → |
| 31 | GeneralizedCanonicalControl (F := generalizedFlow E.flow.base.flow) |
| 32 | t ((sliceDiffeomorph ht).symm x) epsilon C := by |
| 33 | classical |
| 34 | obtain ⟨deltaC, hdeltaC, hcap⟩ := blowupSequence_limit_cap_canonical P |
| 35 | obtain ⟨deltaA, hdeltaA, hextract⟩ := exists_ancient_extraction_threshold P |
| 36 | obtain ⟨deltaK, hdeltaK, hmodels⟩ := exists_limit_cap_or_neck_constants P |
| 37 | refine ⟨min deltaC (min deltaA (min deltaK (1 / 24))), |
| 38 | lt_min hdeltaC (lt_min hdeltaA (lt_min hdeltaK (by norm_num))), ?_⟩ |
| 39 | intro epsilon he hfine g₀ E |
| 40 | have heC := hfine.trans (min_le_left _ _) |
| 41 | have heA := hfine.trans ((min_le_right _ _).trans (min_le_left _ _)) |
| 42 | have heK := hfine.trans ((min_le_right _ _).trans |
| 43 | ((min_le_right _ _).trans (min_le_left _ _))) |
| 44 | have he24 : epsilon ≤ 1 / 24 := hfine.trans ((min_le_right _ _).trans |
| 45 | ((min_le_right _ _).trans (min_le_right _ _))) |
| 46 | obtain ⟨NC⟩ := E.noncollapsing |
| 47 | obtain ⟨C₀, hC₀, hcanonical⟩ := hmodels epsilon he heK |
| 48 | let C := 8 * C₀ + 16 / NC.kappa |
| 49 | have hC : 0 < C := add_pos (mul_pos (by norm_num) hC₀) |
| 50 | (div_pos (by norm_num) NC.kappa_pos) |
| 51 | suffices ∃ H : ℝ, 0 < H ∧ |
| 52 | ∀ t, ∀ ht : t ∈ Ico 0 E.flow.base.lifetime, ∀ x : StandardCapSpace, |
| 53 | H ≤ (E.flow.connection t).scalarCurvature x → |
| 54 | GeneralizedCanonicalControl (F := generalizedFlow E.flow.base.flow) |
| 55 | t ((sliceDiffeomorph ht).symm x) epsilon C by |
| 56 | obtain ⟨H, hH, hgood⟩ := this |
| 57 | exact ⟨C, H, hC, hH, hgood⟩ |
| 58 | by_contra hnone |
| 59 | push Not at hnone |
| 60 | obtain ⟨t, x, ht, hR, _hhigh, hbad, hprior⟩ := |
| 61 | exists_strong_first_failure_sequence P E epsilon C 1 zero_lt_one hnone |
| 62 | have htone : Tendsto t atTop (𝓝 1) := by |
| 63 | simpa only [E.lifetime_one] using E.flow.base.tendsto_time_of_scalar_diverges t x ht hR |
| 64 | obtain ⟨kappa, _hkappa, L, ⟨A⟩⟩ := |
| 65 | hextract epsilon C he heA hC g₀ E t x ht hR hprior |
| 66 | let : TopologicalSpace L.limit.carrier.carrier := L.limit.carrier.topologicalSpace |
| 67 | let : MeasurableSpace L.limit.carrier.carrier := L.limit.carrier.measurableSpace |
| 68 | have : BorelSpace L.limit.carrier.carrier := L.limit.carrier.borelSpace |
| 69 | let : ChartedSpace (EuclideanSpace ℝ (Fin 3)) L.limit.carrier.carrier := |
| 70 | L.limit.carrier.chartedSpace |
| 71 | have : IsManifold (𝓡 3) ∞ L.limit.carrier.carrier := L.limit.carrier.isManifold |
| 72 | have : T2Space L.limit.carrier.carrier := L.limit.carrier.t2Space |
| 73 | have : T3Space L.limit.carrier.carrier := L.limit.carrier.t3Space |
| 74 | have : SecondCountableTopology L.limit.carrier.carrier := L.limit.carrier.secondCountable |
| 75 | have : ConnectedSpace L.limit.carrier.carrier := L.limit.connectedSpace |
| 76 | rcases hcanonical g₀ E t x ht hR L kappa A.certificate 0 le_rfl L.limit.base with |
| 77 | ⟨N, hcenter, j, hstage⟩ | ⟨N, j, hstage⟩ |
| 78 | · obtain ⟨k, hk⟩ := (blowupSequence_limit_full_neck_canonical P E t x ht hR L kappa |
| 79 | A.certificate epsilon N he24 hcenter j hstage C).exists |
| 80 | exact hbad (L.subsequence k) hk |
| 81 | · obtain ⟨k, hk⟩ := (hcap E NC t x ht htone hR L kappa A.certificate epsilon C₀ N |
| 82 | heC j hstage).exists |
| 83 | exact hbad (L.subsequence k) hk |
| 84 | |
| 85 | end PoincareMT.M35.OrdinaryRealization |