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.Curvature.Calculus |
| 2 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.AncientVolume.Splitting.DimensionReduction |
| 3 | |
| 4 | /-! |
| 5 | # Zero-volume induction from the asymptotic scalar-curvature theorem |
| 6 | |
| 7 | This proof reduction retains the unbounded scalar-ratio theorem as an explicit |
| 8 | premise in every dimension. Its geometric input is the constructed ancient |
| 9 | factor, with the surface line contradiction as the base case. No zero-volume |
| 10 | statement, line, factor, or persistence is assumed. |
| 11 | |
| 12 | Reference: Kleiner--Lott (corrected 2013), Proposition 41.13, p. 2678. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | set_option autoImplicit false |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option maxSynthPendingDepth 8 |
| 19 | |
| 20 | open Set Filter |
| 21 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | namespace PoincareMT.RicciFlow |
| 26 | |
| 27 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace |
| 28 | FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold |
| 29 | FlowCarrier.t2Space FlowCarrier.t3Space FlowCarrier.secondCountable |
| 30 | |
| 31 | /-- Dimension induction reduces zero asymptotic volume, including convergence |
| 32 | of the actual normalized ball volumes, to the explicit scalar-ratio theorem |
| 33 | for complete bounded nonflat ancient flows in all dimensions. -/ |
| 34 | theorem zero_volume_of_unbounded_scalar_ratio_in_all_dimensions |
| 35 | (hC : RicciFlowCurvatureCalculus.{u}) |
| 36 | (hASCR : ∀ d : ℕ, 2 ≤ d → ∀ C : FlowCarrier.{u} d, |
| 37 | NoncompactSpace C.carrier → ∀ G : RicciFlow d C.carrier (Iic 0), |
| 38 | (∀ t ≤ 0, MetricComplete (G.metric t)) → |
| 39 | (∀ t ≤ 0, ∀ x, (G.connection t).NonnegativeCurvatureOperator x) → |
| 40 | ∀ K : ℝ, 0 ≤ K → |
| 41 | (∀ t ≤ 0, ∀ x, (G.connection t).curvatureTensorNorm x ≤ K) → |
| 42 | ∀ κ : ℝ, 0 < κ → |
| 43 | (∀ t ≤ 0, ∀ x, ∀ r : ℝ, 0 < r → |
| 44 | (∀ s ∈ Icc (t - r ^ 2) t, ∀ y ∈ (G.metric t).ball x r, |
| 45 | (G.connection s).curvatureTensorNorm y ≤ r⁻¹ ^ 2) → |
| 46 | ENNReal.ofReal (κ * r ^ d) ≤ (G.metric t).volumeMeasure ((G.metric t).ball x r)) → |
| 47 | (∃ q, 0 < (G.connection 0).scalarCurvature q) → |
| 48 | ∀ t : ℝ, t < 0 → ∀ p, |
| 49 | ¬ BddAbove (range (fun x => |
| 50 | ((G.metric t).edist p x).toReal ^ 2 * (G.connection t).scalarCurvature x))) |
| 51 | {n : ℕ} (hn : 2 ≤ n) {M : Type u} |
| 52 | [TopologicalSpace M] [T3Space M] [SecondCountableTopology M] |
| 53 | [ConnectedSpace M] [NoncompactSpace M] [MeasurableSpace M] [BorelSpace M] |
| 54 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓡 n) ∞ M] |
| 55 | (F : RicciFlow n M (Iic 0)) |
| 56 | (hcomplete : ∀ t ≤ 0, MetricComplete (F.metric t)) |
| 57 | (hoperator : ∀ t ≤ 0, ∀ x, (F.connection t).NonnegativeCurvatureOperator x) |
| 58 | {K : ℝ} (hK : 0 ≤ K) |
| 59 | (hbound : ∀ t ≤ 0, ∀ x, (F.connection t).curvatureTensorNorm x ≤ K) |
| 60 | {κ : ℝ} (hκ : 0 < κ) |
| 61 | (hnoncollapse : ∀ t ≤ 0, ∀ x : M, ∀ r : ℝ, 0 < r → |
| 62 | (∀ s ∈ Icc (t - r ^ 2) t, ∀ y ∈ (F.metric t).ball x r, |
| 63 | (F.connection s).curvatureTensorNorm y ≤ r⁻¹ ^ 2) → |
| 64 | ENNReal.ofReal (κ * r ^ n) ≤ (F.metric t).volumeMeasure ((F.metric t).ball x r)) |
| 65 | (hnonflat : ∃ q, 0 < (F.connection 0).scalarCurvature q) : |
| 66 | ∀ t ≤ 0, ∀ p : M, (F.metric t).asymptoticVolumeRatio p = 0 ∧ |
| 67 | Tendsto (fun r : ℝ => |
| 68 | ((F.metric t).volumeMeasure ((F.metric t).ball p r)).toReal / r ^ n) |
| 69 | atTop (𝓝 0) := by |
| 70 | have hnoPositive : ∀ d : ℕ, 2 ≤ d → ∀ C : FlowCarrier.{u} d, |
| 71 | NoncompactSpace C.carrier → ∀ G : RicciFlow d C.carrier (Iic 0), |
| 72 | (∀ t ≤ 0, MetricComplete (G.metric t)) → |
| 73 | (∀ t ≤ 0, ∀ x, (G.connection t).NonnegativeCurvatureOperator x) → |
| 74 | ∀ K : ℝ, 0 ≤ K → |
| 75 | (∀ t ≤ 0, ∀ x, (G.connection t).curvatureTensorNorm x ≤ K) → |
| 76 | ∀ κ : ℝ, 0 < κ → |
| 77 | (∀ t ≤ 0, ∀ x, ∀ r : ℝ, 0 < r → |
| 78 | (∀ s ∈ Icc (t - r ^ 2) t, ∀ y ∈ (G.metric t).ball x r, |
| 79 | (G.connection s).curvatureTensorNorm y ≤ r⁻¹ ^ 2) → |
| 80 | ENNReal.ofReal (κ * r ^ d) ≤ (G.metric t).volumeMeasure ((G.metric t).ball x r)) → |
| 81 | (∃ q, 0 < (G.connection 0).scalarCurvature q) → |
| 82 | ∀ t ≤ 0, ∀ p, ¬ 0 < (G.metric t).asymptoticVolumeRatio p := by |
| 83 | apply Nat.le_induction |
| 84 | · intro C hNC G hc hop K hK hb κ hκ hcollapse hflat t ht p hv |
| 85 | let : ConnectedSpace C.carrier := connectedSpace_iff_univ.mpr C.connected |
| 86 | let : NoncompactSpace C.carrier := hNC |
| 87 | have hunbounded := hASCR 2 le_rfl C hNC G hc hop K hK hb κ hκ hcollapse hflat |
| 88 | (t - 1) (by linarith) p |
| 89 | exact false_of_surface_unbounded_scalar_ratio_and_positive_volume hC G hc hop |
| 90 | hK hb hκ hcollapse (by linarith : t - 1 < 0) ht (by linarith : t - 1 ≤ t) |
| 91 | p hv hunbounded |
| 92 | · intro d hd ih C hNC G hc hop K hK hb κ hκ hcollapse hflat t ht p hv |
| 93 | let : ConnectedSpace C.carrier := connectedSpace_iff_univ.mpr C.connected |
| 94 | let : NoncompactSpace C.carrier := hNC |
| 95 | have hunbounded := hASCR (d + 1) (by omega) C hNC G hc hop K hK hb κ hκ |
| 96 | hcollapse hflat (t - 1) (by linarith) p |
| 97 | obtain ⟨D, hDNC, H, base, κ', hκ', hcomp, hcurv, hnorm, hscalar, hvolume, |
| 98 | _, hparabolic⟩ := |
| 99 | exists_lower_dimensional_ancient_flow_of_unbounded_scalar_ratio (by omega) |
| 100 | hC G hc hop hK hb hκ hcollapse (by linarith : t - 1 < 0) ht |
| 101 | (by linarith : t - 1 ≤ t) p hv hunbounded |
| 102 | exact ih D hDNC H hcomp hcurv (4 * (((d + 1 : ℕ) : ℝ)) ^ 2) (by positivity) |
| 103 | hnorm κ' hκ' hparabolic ⟨base, hscalar⟩ 0 le_rfl base hvolume |
| 104 | let C : FlowCarrier.{u} n := FlowCarrier.ofConnectedManifold n M |
| 105 | have hno := hnoPositive n hn C (show NoncompactSpace M from inferInstance) |
| 106 | F hcomplete hoperator K hK hbound κ hκ hnoncollapse hnonflat |
| 107 | intro t ht p |
| 108 | have hRic (x : M) (v : TangentSpace (𝓡 n) x) : |
| 109 | 0 ≤ (F.connection t).ricci x v v := |
| 110 | ((F.connection t).ricci_bounds_of_nonnegative_curvatureOperator |
| 111 | (hC.tensor_calculus n M (F.metric t) (F.connection t)) x (hoperator t ht x) v).1 |
| 112 | have hlimit := (F.metric t).tendsto_asymptoticVolumeRatio (F.connection t) |
| 113 | (by omega) (hcomplete t ht) hRic p |
| 114 | have hnonnegative : 0 ≤ (F.metric t).asymptoticVolumeRatio p := by |
| 115 | apply ge_of_tendsto hlimit |
| 116 | filter_upwards [eventually_gt_atTop (0 : ℝ)] with r hr |
| 117 | positivity |
| 118 | have hzero := le_antisymm (le_of_not_gt (hno t ht p)) hnonnegative |
| 119 | exact ⟨hzero, by simpa only [hzero] using hlimit⟩ |
| 120 | |
| 121 | end PoincareMT.RicciFlow |