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.Harnack.Noncompact.CurvatureControl.Cylinders.Expanding.Selection |
| 2 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.CurvatureControl.Cylinders.Expanding.Volume.Normalization |
| 3 | |
| 4 | /-! |
| 5 | # Ancient limits from time-weighted scalar blow-up |
| 6 | |
| 7 | Uniform unit-ball volumes combine with expanding fixed-cylinder selection to |
| 8 | give a complete bounded nonflat ancient limit with positive volume growth. |
| 9 | This is the contradiction reduction in Kleiner--Lott, Corollary 45.1(a), |
| 10 | pp. 2684--2685. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | open Set |
| 15 | open scoped Manifold ContDiff Bundle ENNReal |
| 16 | universe u |
| 17 | namespace PoincareMT.RicciFlow |
| 18 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace |
| 19 | FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold |
| 20 | FlowCarrier.t3Space FlowCarrier.secondCountable |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | open Filter |
| 23 | open scoped Topology |
| 24 | |
| 25 | /-- Time-weighted scalar blow-up with uniform unit-ball volume produces one |
| 26 | complete bounded nonflat ancient flow with positive volume growth. -/ |
| 27 | theorem exists_positive_volume_ancient_limit_of_unbounded_time_scalar |
| 28 | {m : ℕ} {M : Type u} [TopologicalSpace M] [MeasurableSpace M] [BorelSpace M] |
| 29 | [T3Space M] [SecondCountableTopology M] |
| 30 | [ChartedSpace (EuclideanSpace ℝ (Fin (m + 1))) M] |
| 31 | [IsManifold (𝓡 (m + 1)) ∞ M] {J : Set ℝ} |
| 32 | (hC : RicciFlowCurvatureTheory.{u}) (hm : 0 < m) |
| 33 | (F : RicciFlow (m + 1) M J) {a b ν : ℝ} (hab : a < b) |
| 34 | (hJ : Icc a b ⊆ interior J) |
| 35 | (hcomplete : ∀ t ∈ Icc a b, MetricComplete (F.metric t)) |
| 36 | (hoperator : ∀ t ∈ Icc a b, ∀ x : M, |
| 37 | (F.connection t).NonnegativeCurvatureOperator x) |
| 38 | (hν : 0 < ν) |
| 39 | (hvolume : ∀ t ∈ Icc a b, ∀ x : M, |
| 40 | ENNReal.ofReal ν ≤ (F.metric t).volumeMeasure ((F.metric t).ball x 1)) |
| 41 | (hbad : ∀ K : ℝ, ∃ t ∈ Ioc a b, ∃ x : M, |
| 42 | K < (t - a) * (F.connection t).scalarCurvature x) : |
| 43 | ∃ (C : FlowCarrier.{0} (m + 1)) (δ : ℝ), 0 < δ ∧ δ < 1 ∧ |
| 44 | ∃ G : RicciFlow (m + 1) C.carrier (Iio δ), ∃ p : C.carrier, |
| 45 | (∀ t ∈ Iio δ, MetricComplete (G.metric t)) ∧ |
| 46 | 0 < (G.connection 0).curvatureTensorNorm p ∧ |
| 47 | (∀ t ∈ Iio δ, ∀ x : C.carrier, |
| 48 | (G.connection t).curvatureTensorNorm x ≤ ((m + 1 : ℕ) : ℝ) ^ 2 * 4) ∧ |
| 49 | (∀ t ∈ Iio δ, ∀ x : C.carrier, |
| 50 | (G.connection t).NonnegativeCurvatureOperator x) ∧ |
| 51 | (∀ r : ℝ, 0 < r → |
| 52 | ENNReal.ofReal (((ν / 2 ^ (m + 1)) / 2 ^ (m + 1)) * r ^ (m + 1)) ≤ |
| 53 | (G.metric 0).volumeMeasure ((G.metric 0).ball p r)) := by |
| 54 | obtain ⟨p, τ, Q, A, hA, _, hQ, hsub, hτ, hnormalize, hscalar, hsmall⟩ := |
| 55 | F.exists_expanding_cylinders_of_unbounded_time_scalar hC hm hab hJ |
| 56 | hcomplete hoperator hbad |
| 57 | have hν' : 0 < ν / 2 ^ (m + 1) := by positivity |
| 58 | have hlower (r : ℝ) (hr : 0 < r) : ∀ᶠ k in atTop, |
| 59 | ENNReal.ofReal ((ν / 2 ^ (m + 1)) * |
| 60 | (r / Real.sqrt (Q k)) ^ (m + 1)) ≤ |
| 61 | (F.metric (τ k)).volumeMeasure |
| 62 | ((F.metric (τ k)).ball (p k) (r / Real.sqrt (Q k))) := by |
| 63 | filter_upwards [hsmall r hr] with k hk |
| 64 | apply (F.metric (τ k)).volume_lower_bound_of_center_in_half_ball |
| 65 | (F.connection (τ k)) (by omega) (hcomplete _ (hτ k)) |
| 66 | (fun x v => ((F.connection (τ k)).ricci_bounds_of_nonnegative_curvatureOperator |
| 67 | (hC.tensor_calculus _ M _ _) x (hoperator _ (hτ k) x) v).1) |
| 68 | (p k) (p k) zero_lt_one (div_pos hr (Real.sqrt_pos.mpr (hQ k))) hk hν.le |
| 69 | · let : Bundle.RiemannianBundle (TangentSpace (𝓡 (m + 1)) : M → Type _) := |
| 70 | ⟨(F.metric (τ k)).toRiemannianMetric⟩ |
| 71 | change (F.metric (τ k)).edist (p k) (p k) < ENNReal.ofReal (1 / 2) |
| 72 | have hself : (F.metric (τ k)).edist (p k) (p k) = 0 := |
| 73 | Manifold.riemannianEDist_self |
| 74 | rw [hself] |
| 75 | exact ENNReal.ofReal_pos.mpr (by norm_num) |
| 76 | · simpa only [one_pow, mul_one] using hvolume (τ k) (hτ k) (p k) |
| 77 | obtain ⟨σ, _, δ, hδ, hδone, G, hc, hnonflat, hv⟩ := |
| 78 | exists_positive_volume_ancient_limit_of_rescaled_expanding_cylinders_components |
| 79 | hC hm (fun _ => M) (fun _ => J) (fun _ => F) p Q τ A A hQ hA hA |
| 80 | (fun k => (hsub k).trans hJ) |
| 81 | (fun k t ht => hcomplete t (hsub k ht)) |
| 82 | (fun k t ht => hoperator t (hsub k ht)) hscalar hnormalize hν' |
| 83 | (fun r hr => (hlower r hr).frequently) |
| 84 | exact ⟨G.limitCarrier, δ, hδ, hδone, G.limitFlow, G.base, |
| 85 | hc, hnonflat.1, hnonflat.2.1, hnonflat.2.2, hv⟩ |
| 86 | |
| 87 | end PoincareMT.RicciFlow |