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.Volume.Limit |
| 2 | |
| 3 | /-! |
| 4 | # Positive-volume ancient limits from disconnected sources |
| 5 | |
| 6 | Restriction to the basepoint components preserves the volume-decay failure |
| 7 | and every normalized cylinder hypothesis. |
| 8 | -/ |
| 9 | |
| 10 | set_option autoImplicit false |
| 11 | set_option backward.isDefEq.respectTransparency false |
| 12 | |
| 13 | open Set Filter |
| 14 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | namespace PoincareMT.RicciFlow |
| 19 | |
| 20 | attribute [local instance] smallCarrier smallChartedSpace smallIsManifold |
| 21 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace |
| 22 | FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold |
| 23 | FlowCarrier.t3Space FlowCarrier.secondCountable |
| 24 | |
| 25 | /-- The positive-volume ancient-limit reduction imposes no connectedness |
| 26 | hypothesis on the original source manifolds. -/ |
| 27 | theorem exists_positive_volume_ancient_limit_of_expanding_cylinders_components |
| 28 | {m : ℕ} (hC : RicciFlowCurvatureTheory.{u}) (hm : 0 < m) |
| 29 | (M : ℕ → Type u) [∀ k, TopologicalSpace (M k)] [∀ k, MeasurableSpace (M k)] |
| 30 | [∀ k, BorelSpace (M k)] [∀ k, T3Space (M k)] [∀ k, SecondCountableTopology (M k)] |
| 31 | [∀ k, ChartedSpace (EuclideanSpace ℝ (Fin (m + 1))) (M k)] |
| 32 | [∀ k, IsManifold (𝓡 (m + 1)) ∞ (M k)] |
| 33 | (J : ℕ → Set ℝ) (F : ∀ k, RicciFlow (m + 1) (M k) (J k)) |
| 34 | (p : ∀ k, M k) (A L : ℕ → ℝ) |
| 35 | (hA : Tendsto A atTop atTop) (hL : Tendsto L atTop atTop) |
| 36 | (hJ : ∀ k, Icc (-A k) 0 ⊆ interior (J k)) |
| 37 | (hcomplete : ∀ k, ∀ t ∈ Icc (-A k) 0, MetricComplete ((F k).metric t)) |
| 38 | (hoperator : ∀ k, ∀ t ∈ Icc (-A k) 0, ∀ x : M k, |
| 39 | ((F k).connection t).NonnegativeCurvatureOperator x) |
| 40 | (hscalar : ∀ k, ∀ t ∈ Icc (-A k) 0, |
| 41 | ∀ x ∈ ((F k).metric 0).ball (p k) (L k), |
| 42 | ((F k).connection t).scalarCurvature x ≤ 4) |
| 43 | (hnormalize : ∀ k, ((F k).connection 0).scalarCurvature (p k) = 1) |
| 44 | {ν : ℝ} (hν : 0 < ν) |
| 45 | (hfailure : ∀ r : ℝ, 0 < r → ∃ᶠ k in atTop, ENNReal.ofReal (ν * r ^ (m + 1)) ≤ |
| 46 | ((F k).metric 0).volumeMeasure (((F k).metric 0).ball (p k) r)) : |
| 47 | ∃ σ : ℕ → ℕ, StrictMono σ ∧ ∃ δ : ℝ, 0 < δ ∧ δ < 1 ∧ |
| 48 | ∃ G : AncientPointedGeometricConvergence |
| 49 | (fun k => (componentFlowCarrier (n := m + 1) (p (σ k))).shrink) |
| 50 | (fun k t => ((F (σ k)).restrictComponent (p (σ k))).shrink.metric (t - δ)) |
| 51 | (fun k => equivShrink (componentFlowCarrier (n := m + 1) (p (σ k))).carrier |
| 52 | (componentFlowBase (n := m + 1) (p (σ k)))) δ, |
| 53 | (∀ t ∈ Iio δ, G.limitCarrier.metricComplete (G.limitFlow.metric t)) ∧ |
| 54 | (0 < (G.limitFlow.connection 0).curvatureTensorNorm G.base ∧ |
| 55 | (∀ t ∈ Iio δ, ∀ x : G.limitCarrier.carrier, |
| 56 | (G.limitFlow.connection t).curvatureTensorNorm x ≤ |
| 57 | ((m + 1 : ℕ) : ℝ) ^ 2 * 4) ∧ |
| 58 | (∀ t ∈ Iio δ, ∀ x : G.limitCarrier.carrier, |
| 59 | (G.limitFlow.connection t).NonnegativeCurvatureOperator x)) ∧ |
| 60 | (∀ r : ℝ, 0 < r → ENNReal.ofReal ((ν / 2 ^ (m + 1)) * r ^ (m + 1)) ≤ |
| 61 | (G.limitFlow.metric 0).volumeMeasure ((G.limitFlow.metric 0).ball G.base r)) := by |
| 62 | apply exists_positive_volume_ancient_limit_of_expanding_cylinders (ν := ν) hC hm |
| 63 | (fun k => componentFlowCarrier (n := m + 1) (p k)) J |
| 64 | (fun k => (F k).restrictComponent (p k)) |
| 65 | (fun k => componentFlowBase (n := m + 1) (p k)) A L hA hL hJ |
| 66 | (fun k t ht => (F k).restrictComponent_metricComplete (p k) t (hcomplete k t ht)) |
| 67 | (fun k t ht x => ((F k).restrictComponent_nonnegativeCurvatureOperator_iff |
| 68 | (p k) t x).mpr (hoperator k t ht x)) |
| 69 | · intro k t ht x hx |
| 70 | rw [(F k).restrictComponent_scalarCurvature] |
| 71 | apply hscalar k t ht x |
| 72 | change (((F k).restrictComponent (p k)).metric 0).edist |
| 73 | (componentFlowBase (n := m + 1) (p k)) x < ENNReal.ofReal (L k) at hx |
| 74 | rwa [(F k).restrictComponent_edist] at hx |
| 75 | · intro k |
| 76 | rw [(F k).restrictComponent_scalarCurvature] |
| 77 | exact hnormalize k |
| 78 | · exact hν |
| 79 | · intro r hr |
| 80 | apply (hfailure r hr).mono |
| 81 | intro k hk |
| 82 | rwa [(F k).restrictComponent_volumeMeasure_ball] |
| 83 | |
| 84 | end PoincareMT.RicciFlow |