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.AncientKappa.Compactness.ParabolicNoncollapse |
| 2 | |
| 3 | /-! |
| 4 | # Exact parabolic noncollapse without scalar normalization |
| 5 | |
| 6 | The retained complete ancient limit inherits the original common kappa. |
| 7 | Finite windows use the same subsequence and spatial embeddings, with no |
| 8 | additional compactness selection or loss in the volume constant. |
| 9 | |
| 10 | Reference: Morgan--Tian, Theorem 9.64, pp. 225-229. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open Set Filter MeasureTheory |
| 17 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 18 | |
| 19 | namespace PoincareMT.AncientKappaSequence |
| 20 | |
| 21 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace |
| 22 | FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold |
| 23 | FlowCarrier.t2Space FlowCarrier.t3Space FlowCarrier.secondCountable |
| 24 | |
| 25 | local instance noncollapseCarrierConnected (D : FlowCarrier 3) : ConnectedSpace D.carrier := |
| 26 | connectedSpace_iff_univ.mpr D.connected |
| 27 | |
| 28 | variable (C : ℕ → FlowCarrier.{0} 3) |
| 29 | (K : ∀ k, AncientKappaSolution 3 (C k).carrier) (p : ∀ k, (C k).carrier) |
| 30 | |
| 31 | /-- The original common kappa controls every parabolic ball of the same |
| 32 | complete interior limit, without any source scalar normalization. -/ |
| 33 | theorem interiorLimit_noncollapsed_ball |
| 34 | (G : AncientPointedGeometricConvergence C (fun k t => (K k).flow.metric (t - 1)) p 1) |
| 35 | {κ : ℝ} (hkappa : ∀ k, (K k).kappa = κ) |
| 36 | (hcomplete : ∀ t : ℝ, t < 1 → G.limitCarrier.metricComplete (G.limitFlow.metric t)) |
| 37 | {t r : ℝ} (ht : t < 1) (q : G.limitCarrier.carrier) (hr : 0 < r) |
| 38 | (hcurv : ∀ s ∈ Ioc (t - r ^ 2) t, ∀ x ∈ (G.limitFlow.metric t).ball q r, |
| 39 | |(G.limitFlow.connection s).curvatureTensorNorm x| ≤ r⁻¹ ^ 2) : |
| 40 | ENNReal.ofReal (κ * r ^ 3) ≤ calibratedMetricVolume (G.limitFlow.metric t) |
| 41 | ((G.limitFlow.metric t).ball q r) := by |
| 42 | let F (k : ℕ) : RicciFlow 3 (C k).carrier ((fun t : ℝ => t - 1) ⁻¹' Iic 0) := |
| 43 | (K k).flow.bufferedExpandingFlow 1 |
| 44 | obtain ⟨a, b, ha, hb, hb1, hwindow⟩ := exists_ancient_window_of_isCompact |
| 45 | (by norm_num : (0 : ℝ) < 1) isCompact_Icc |
| 46 | (show Icc (t - r ^ 2) t ⊆ Iio 1 from fun s hs => hs.2.trans_lt ht) |
| 47 | have hsub : ∀ k : ℕ, Ioo a b ⊆ (fun u : ℝ => u - 1) ⁻¹' Iic 0 := by |
| 48 | intro k u hu |
| 49 | change u - 1 ≤ 0 |
| 50 | linarith [hu.2] |
| 51 | let W := G.window F (ha.trans hb) hb1.le 0 hsub |
| 52 | rw [calibratedMetricVolume_eq_volumeMeasure] |
| 53 | apply W.ball_volume_lower_bound_of_eventually_parabolic_noncollapse |
| 54 | hwindow (hcomplete t ht) q hr κ ?_ hcurv |
| 55 | intro ρ hρ _ |
| 56 | refine Eventually.of_forall fun k hk => ?_ |
| 57 | have hnc := (K (G.subsequence (k + 0))).noncollapsed ρ hρ (t - 1) (by linarith) |
| 58 | (G.embedding (k + 0) q) ρ hρ le_rfl (by |
| 59 | intro s hs x hx |
| 60 | have hs' : s + 1 ∈ Ioc (t - ρ ^ 2) t := ⟨by linarith [hs.1], by linarith [hs.2]⟩ |
| 61 | have hbound := hk (s + 1) hs' x hx |
| 62 | change |((K (G.subsequence (k + 0))).flow.connection (s + 1 - 1)).curvatureTensorNorm x| |
| 63 | ≤ ρ⁻¹ ^ 2 at hbound |
| 64 | have hshift : s + 1 - 1 = s := by ring |
| 65 | rw [hshift] at hbound |
| 66 | exact hbound) |
| 67 | rw [hkappa, calibratedMetricVolume_eq_volumeMeasure] at hnc |
| 68 | exact hnc |
| 69 | |
| 70 | end PoincareMT.AncientKappaSequence |