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.Compactness.Ancient.Restriction |
| 2 | import PoincareLib.Geometry.RicciFlow.Compactness.Convergence.Volume.Noncollapse |
| 3 | |
| 4 | /-! # Static noncollapse of the same ancient pointed limit -/ |
| 5 | |
| 6 | set_option autoImplicit false |
| 7 | set_option backward.isDefEq.respectTransparency false |
| 8 | |
| 9 | open Set Filter MeasureTheory |
| 10 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 11 | |
| 12 | namespace PoincareMT.AncientPointedGeometricConvergence |
| 13 | |
| 14 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.chartedSpace |
| 15 | FlowCarrier.isManifold FlowCarrier.measurableSpace FlowCarrier.borelSpace |
| 16 | FlowCarrier.t3Space FlowCarrier.secondCountable |
| 17 | |
| 18 | theorem volume_lower_bound_of_static_noncollapse |
| 19 | {n : ℕ} {C : ℕ → FlowCarrier.{0} n} {J : ℕ → Set ℝ} |
| 20 | (F : ∀ k, RicciFlow n (C k).carrier (J k)) {p : ∀ k, (C k).carrier} {T : ℝ} |
| 21 | (G : AncientPointedGeometricConvergence C (fun k => (F k).metric) p T) |
| 22 | (hT : 0 < T) |
| 23 | (htime : ∀ a b : ℝ, b < T → ∀ᶠ k in atTop, Icc a b ⊆ J k) |
| 24 | (hcomplete : ∀ t ∈ Iio T, G.limitCarrier.metricComplete (G.limitFlow.metric t)) |
| 25 | (κ : ℝ) |
| 26 | (hsource : ∀ t ∈ Iio T, ∀ᶠ k in atTop, ∀ x : (C k).carrier, ∀ r : ℝ, 0 < r → |
| 27 | (∀ y ∈ ((F k).metric t).ball x r, |
| 28 | |((F k).connection t).curvatureTensorNorm y| ≤ r⁻¹ ^ 2) → |
| 29 | ENNReal.ofReal (κ * r ^ n) ≤ ((F k).metric t).volumeMeasure (((F k).metric t).ball x r)) : |
| 30 | ∀ t ∈ Iio T, ∀ x : G.limitCarrier.carrier, ∀ r : ℝ, 0 < r → |
| 31 | (∀ y ∈ (G.limitFlow.metric t).ball x r, |
| 32 | |(G.limitFlow.connection t).curvatureTensorNorm y| ≤ r⁻¹ ^ 2) → |
| 33 | ENNReal.ofReal (κ * r ^ n) ≤ |
| 34 | (G.limitFlow.metric t).volumeMeasure ((G.limitFlow.metric t).ball x r) := by |
| 35 | intro t ht x r hr hcurv |
| 36 | obtain ⟨a, b, ha, hb, hbT, htw⟩ := exists_ancient_window_of_isCompact hT |
| 37 | isCompact_singleton (singleton_subset_iff.mpr ht) |
| 38 | obtain ⟨N, hN⟩ := exists_source_window_tail |
| 39 | (G.subsequence_strictMono.tendsto_atTop.eventually (htime a b hbT)) |
| 40 | let W := G.window F (ha.trans hb) hbT.le N hN |
| 41 | apply W.ball_volume_lower_bound_of_eventually_static_noncollapse |
| 42 | (htw (mem_singleton t)) (hcomplete t ht) x hr κ ?_ hcurv |
| 43 | intro ρ hρ _ |
| 44 | have hevent := (G.subsequence_strictMono.tendsto_atTop.comp |
| 45 | (tendsto_add_atTop_nat N)).eventually (hsource t ht) |
| 46 | filter_upwards [hevent] with k hk |
| 47 | exact hk _ ρ hρ |
| 48 | |
| 49 | end PoincareMT.AncientPointedGeometricConvergence |