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.FromVolume |
| 2 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.CurvatureControl.Cylinders.Expanding.Volume.Asymptotic |
| 3 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.AncientVolume.Volume.Noncollapse |
| 4 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.AncientVolume.Volume.Factor |
| 5 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.AncientVolume.ZeroVolume.Theorem |
| 6 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.InitialVolume |
| 7 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.CurvatureControl.RightBounds |
| 8 | |
| 9 | /-! |
| 10 | # Volume-to-curvature reduction on a connected component |
| 11 | |
| 12 | The proof applies the bounded ancient zero-volume theorem after constructing |
| 13 | its noncompactness, terminal scalar |
| 14 | positivity and parabolic noncollapse hypotheses from the positive-volume |
| 15 | cylinder limit. Initial component volume and Chen's estimate then supply the |
| 16 | local right-hand bound needed for terminal continuation. |
| 17 | |
| 18 | The scalar-integral theorem supplies the short-time volume estimate. |
| 19 | |
| 20 | References: Kleiner--Lott, Proposition 41.13, p. 2678, Corollaries 44.1 and |
| 21 | 45.1(a), pp. 2682--2685; Chen (2009), Theorem 3.1, manuscript pp. 10--11. |
| 22 | -/ |
| 23 | |
| 24 | set_option autoImplicit false |
| 25 | set_option backward.isDefEq.respectTransparency false |
| 26 | |
| 27 | open Set |
| 28 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 29 | |
| 30 | universe u |
| 31 | |
| 32 | namespace PoincareMT.RicciFlow |
| 33 | |
| 34 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace |
| 35 | FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold |
| 36 | FlowCarrier.t3Space FlowCarrier.secondCountable |
| 37 | |
| 38 | /-- The bounded ancient zero-volume theorem contradicts the constructed |
| 39 | positive-volume ancient limit. All its geometric hypotheses are derived. -/ |
| 40 | theorem false_of_positive_volume_small_ancient_limit |
| 41 | {m : ℕ} (hC : RicciFlowCurvatureTheory.{u}) (hm : 0 < m) |
| 42 | (C : FlowCarrier.{0} (m + 1)) {δ : ℝ} (hδ : 0 < δ) |
| 43 | (G : RicciFlow (m + 1) C.carrier (Iio δ)) (p : C.carrier) |
| 44 | (hcomplete : ∀ t ∈ Iio δ, MetricComplete (G.metric t)) |
| 45 | (hnonflat : 0 < (G.connection 0).curvatureTensorNorm p) |
| 46 | (hbound : ∀ t ∈ Iio δ, ∀ x : C.carrier, |
| 47 | (G.connection t).curvatureTensorNorm x ≤ ((m + 1 : ℕ) : ℝ) ^ 2 * 4) |
| 48 | (hoperator : ∀ t ∈ Iio δ, ∀ x : C.carrier, |
| 49 | (G.connection t).NonnegativeCurvatureOperator x) |
| 50 | {ν : ℝ} (hν : 0 < ν) |
| 51 | (hvolume : ∀ r : ℝ, 0 < r → |
| 52 | ENNReal.ofReal (ν * r ^ (m + 1)) ≤ |
| 53 | (G.metric 0).volumeMeasure ((G.metric 0).ball p r)) : False := by |
| 54 | let : ConnectedSpace C.carrier := connectedSpace_iff_univ.mpr C.connected |
| 55 | let : ChartedSpace (EuclideanSpace ℝ (Fin (m + 1))) (ULift.{u} C.carrier) := |
| 56 | Poincare.Manifold.uliftChartedSpace _ C.carrier |
| 57 | let : IsManifold (𝓡 (m + 1)) ∞ (ULift.{u} C.carrier) := |
| 58 | Poincare.Manifold.uliftIsManifold (𝓡 (m + 1)) C.carrier |
| 59 | let : ConnectedSpace (ULift.{u} C.carrier) := |
| 60 | (Homeomorph.ulift.connectedSpace_iff).mpr inferInstance |
| 61 | let : SecondCountableTopology (ULift.{u} C.carrier) := |
| 62 | Homeomorph.ulift.secondCountableTopology |
| 63 | let Hlift : RicciFlow (m + 1) (ULift.{u} C.carrier) (Iio δ) := G.ulift |
| 64 | let H : RicciFlow (m + 1) (ULift.{u} C.carrier) (Iic 0) := |
| 65 | Poincare.Geometry.RicciFlow.Harnack.restrictFlow Hlift |
| 66 | (fun _ ht => ht.trans_lt hδ) ordConnected_Iic |
| 67 | (by exact ⟨-1, by norm_num, 0, by norm_num, by norm_num⟩) |
| 68 | have hc (t : ℝ) (ht : t ≤ 0) : MetricComplete (H.metric t) := |
| 69 | (G.ulift_metricComplete_iff t).mpr (hcomplete t (ht.trans_lt hδ)) |
| 70 | have hop (t : ℝ) (ht : t ≤ 0) (x : ULift.{u} C.carrier) : |
| 71 | (H.connection t).NonnegativeCurvatureOperator x := |
| 72 | (G.ulift_nonnegativeCurvatureOperator_iff t x).mpr |
| 73 | (hoperator t (ht.trans_lt hδ) x.down) |
| 74 | have hb (t : ℝ) (ht : t ≤ 0) (x : ULift.{u} C.carrier) : |
| 75 | (H.connection t).curvatureTensorNorm x ≤ ((m + 1 : ℕ) : ℝ) ^ 2 * 4 := by |
| 76 | change (G.ulift.connection t).curvatureTensorNorm x ≤ _ |
| 77 | rw [G.ulift_curvatureTensorNorm] |
| 78 | exact hbound t (ht.trans_lt hδ) x.down |
| 79 | have hv (r : ℝ) (hr : 0 < r) : |
| 80 | ENNReal.ofReal (ν * r ^ (m + 1)) ≤ |
| 81 | (H.metric 0).volumeMeasure ((H.metric 0).ball (ULift.up p) r) := by |
| 82 | change ENNReal.ofReal (ν * r ^ (m + 1)) ≤ |
| 83 | (G.ulift.metric 0).volumeMeasure ((G.ulift.metric 0).ball (ULift.up p) r) |
| 84 | rw [G.ulift_volumeMeasure_ball] |
| 85 | exact hvolume r hr |
| 86 | let : NoncompactSpace (ULift.{u} C.carrier) := |
| 87 | (H.metric 0).noncompactSpace_of_ball_volume_lower_bound (by omega) |
| 88 | (ULift.up p) hν hv |
| 89 | have hAVR : 0 < (H.metric 0).asymptoticVolumeRatio (ULift.up p) := |
| 90 | G.ulift_asymptoticVolumeRatio_pos_of_ball_volume_lower_bound hC (by omega) |
| 91 | 0 p (hcomplete 0 hδ) (hoperator 0 hδ) hν hvolume |
| 92 | have hscalar : 0 < (H.connection 0).scalarCurvature (ULift.up p) := by |
| 93 | have hn : 0 < (H.connection 0).curvatureTensorNorm (ULift.up p) := by |
| 94 | change 0 < (G.ulift.connection 0).curvatureTensorNorm (ULift.up p) |
| 95 | simpa only [G.ulift_curvatureTensorNorm] using hnonflat |
| 96 | have h := (H.connection 0).curvatureTensorNorm_le_scalarCurvature |
| 97 | (hC.tensor_calculus _ _ _ _) (ULift.up p) (hop 0 le_rfl _) |
| 98 | exact (mul_pos_iff.mp (hn.trans_le h)).resolve_right (by |
| 99 | intro hh |
| 100 | exact (sq_nonneg (((m + 1 : ℕ) : ℝ))).not_gt hh.1) |>.2 |
| 101 | obtain ⟨hκ, hnoncollapse⟩ := |
| 102 | H.ancient_parabolic_noncollapse_of_terminal_asymptoticVolumeRatio hC hm |
| 103 | hc hop (by positivity) hb (ULift.up p) hAVR |
| 104 | have hz := zero_asymptoticVolumeRatio_of_bounded_ancient (n := m + 1) |
| 105 | (by omega) hC H hc hop (K := ((m + 1 : ℕ) : ℝ) ^ 2 * 4) (by positivity) hb |
| 106 | (κ := (H.metric 0).asymptoticVolumeRatio (ULift.up p) / |
| 107 | 2 ^ (m + 1)) hκ hnoncollapse ⟨ULift.up p, hscalar⟩ |
| 108 | exact hAVR.ne' ((hz 0 le_rfl (ULift.up p)).1) |
| 109 | |
| 110 | /-- Uniform unit-ball volumes give a reciprocal-time scalar bound once |
| 111 | bounded noncollapsed ancient flows have zero asymptotic volume. -/ |
| 112 | theorem exists_time_mul_scalarCurvature_bound_of_unit_ball_volume |
| 113 | {m : ℕ} {M : Type u} [TopologicalSpace M] [MeasurableSpace M] [BorelSpace M] |
| 114 | [T3Space M] [SecondCountableTopology M] |
| 115 | [ChartedSpace (EuclideanSpace ℝ (Fin (m + 1))) M] |
| 116 | [IsManifold (𝓡 (m + 1)) ∞ M] {J : Set ℝ} |
| 117 | (hC : RicciFlowCurvatureTheory.{u}) (hm : 0 < m) |
| 118 | (F : RicciFlow (m + 1) M J) {a b ν : ℝ} (hab : a < b) |
| 119 | (hJ : Icc a b ⊆ interior J) |
| 120 | (hcomplete : ∀ t ∈ Icc a b, MetricComplete (F.metric t)) |
| 121 | (hoperator : ∀ t ∈ Icc a b, ∀ x : M, |
| 122 | (F.connection t).NonnegativeCurvatureOperator x) |
| 123 | (hν : 0 < ν) |
| 124 | (hvolume : ∀ t ∈ Icc a b, ∀ x : M, |
| 125 | ENNReal.ofReal ν ≤ (F.metric t).volumeMeasure ((F.metric t).ball x 1)) : |
| 126 | ∃ K : ℝ, ∀ t ∈ Ioc a b, ∀ x : M, |
| 127 | (t - a) * (F.connection t).scalarCurvature x ≤ K := by |
| 128 | by_contra hnot |
| 129 | push Not at hnot |
| 130 | obtain ⟨C, δ, hδ, _, G, p, hc, hn, hb, hop, hv⟩ := |
| 131 | F.exists_positive_volume_ancient_limit_of_unbounded_time_scalar hC hm hab hJ |
| 132 | hcomplete hoperator hν hvolume hnot |
| 133 | exact false_of_positive_volume_small_ancient_limit hC hm C hδ G p |
| 134 | hc hn hb hop (by positivity) hv |
| 135 | |
| 136 | /-- The initial component-volume theorem, volume loss, cylinder compactness, |
| 137 | and the local scalar estimate supply a uniform short right-hand curvature |
| 138 | bound, conditional only on the stated bounded ancient zero-volume input. -/ |
| 139 | theorem exists_right_curvatureTensorNorm_bound_on_component_of_bounded_ancient_zero_volume |
| 140 | {n : ℕ} {M : Type u} [TopologicalSpace M] [MeasurableSpace M] [BorelSpace M] |
| 141 | [T3Space M] [SecondCountableTopology M] |
| 142 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 143 | {J : Set ℝ} (hC : RicciFlowCurvatureTheory.{u}) |
| 144 | (F : RicciFlow n M J) (p : M) {a b : ℝ} (hab : a < b) |
| 145 | (hJ : Icc a b ⊆ interior J) |
| 146 | (hcomplete : ∀ t ∈ Icc a b, MetricComplete (F.metric t)) |
| 147 | (hoperator : ∀ t ∈ Icc a b, ∀ x ∈ connectedComponent p, |
| 148 | (F.connection t).NonnegativeCurvatureOperator x) |
| 149 | (hinitial : ∃ S : ℝ, 0 ≤ S ∧ ∀ x ∈ connectedComponent p, |
| 150 | (F.connection a).CurvatureOperatorBound S x) : |
| 151 | ∃ d ∈ Ioc a b, ∃ B : ℝ, 0 ≤ B ∧ ∀ t ∈ Icc a d, |
| 152 | ∀ x ∈ connectedComponent p, (F.connection t).curvatureTensorNorm x ≤ B := by |
| 153 | by_cases hn : n ≤ 1 |
| 154 | · exact ⟨b, ⟨hab, le_rfl⟩, 0, le_rfl, fun t _ x _ => |
| 155 | F.curvatureTensorNorm_bound_zero_of_dimension_le_one hn t x⟩ |
| 156 | obtain ⟨m, rfl⟩ := Nat.exists_eq_succ_of_ne_zero (by omega : n ≠ 0) |
| 157 | have hm : 0 < m := by omega |
| 158 | obtain ⟨d, hd, ν, hν, hvolume⟩ := |
| 159 | F.exists_right_unit_ball_volume_lower_bound_on_component hC (by omega) p hab |
| 160 | hJ hcomplete hoperator hinitial |
| 161 | have hsub : Icc a d ⊆ Icc a b := Icc_subset_Icc_right hd.2 |
| 162 | let G := F.restrictComponent p |
| 163 | obtain ⟨K, hK⟩ := G.exists_time_mul_scalarCurvature_bound_of_unit_ball_volume |
| 164 | hC hm hd.1 (hsub.trans hJ) |
| 165 | (fun t ht => F.restrictComponent_metricComplete p t (hcomplete t (hsub ht))) |
| 166 | (fun t ht x => (F.restrictComponent_nonnegativeCurvatureOperator_iff p t x).mpr |
| 167 | (hoperator t (hsub ht) x x.property)) hν (by |
| 168 | intro t ht x |
| 169 | rw [F.restrictComponent_volumeMeasure_ball] |
| 170 | exact hvolume t ht x x.property) |
| 171 | obtain ⟨B, hB, hb⟩ := |
| 172 | F.exists_uniform_curvatureTensorNorm_bound_on_component_of_reciprocal_time_bound |
| 173 | hC p (hsub.trans hJ) (fun t ht => hcomplete t (hsub ht)) |
| 174 | (fun t ht => hoperator t (hsub ht)) hinitial (K := K) (by |
| 175 | intro t ht x hx |
| 176 | have h := hK t ht ⟨x, hx⟩ |
| 177 | rw [F.restrictComponent_scalarCurvature] at h |
| 178 | apply (le_div_iff₀ (sub_pos.mpr ht.1)).mpr |
| 179 | simpa only [mul_comm] using h) |
| 180 | exact ⟨d, hd, B, hB, hb⟩ |
| 181 | |
| 182 | end PoincareMT.RicciFlow |