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.Convergence.Volume.BallComparison |
| 2 | import PoincareLib.Geometry.RicciFlow.Compactness.Convergence.Volume.Spheres |
| 3 | import PoincareLib.Geometry.RicciFlow.Compactness.Convergence.Volume.RadiusSqueeze |
| 4 | import PoincareLib.Geometry.RicciFlow.Harnack.Noncompact.CurvatureControl.VolumeRatio.Monotonicity |
| 5 | |
| 6 | /-! |
| 7 | # Ball-volume convergence in complete pointed limits |
| 8 | |
| 9 | Actual pointed geometric convergence preserves intrinsic ball volumes at every |
| 10 | positive radius on a complete limit slice. In particular, eventual lower volume |
| 11 | ratios pass to the limit. For nonnegative Ricci curvature, they also bound the |
| 12 | asymptotic volume ratio from below. |
| 13 | |
| 14 | References: Kleiner--Lott, Corollary 44.1, pp. 2682--2683; Appendix E, |
| 15 | pp. 2848--2849. The volume convention agrees with Euclidean Lebesgue volume. |
| 16 | -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | set_option autoImplicit false |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | open Set Filter MeasureTheory |
| 23 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 24 | |
| 25 | namespace PoincareMT |
| 26 | |
| 27 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.chartedSpace |
| 28 | FlowCarrier.isManifold FlowCarrier.measurableSpace FlowCarrier.borelSpace |
| 29 | FlowCarrier.t3Space FlowCarrier.secondCountable |
| 30 | |
| 31 | namespace PointedGeometricConvergence |
| 32 | |
| 33 | variable {n : ℕ} {T' T : ℝ} {S : PointedFlowSequence n T' T} |
| 34 | |
| 35 | /-- Ball volumes converge along the subsequence selected by actual pointed |
| 36 | geometric convergence, at every complete interior limit slice. -/ |
| 37 | theorem tendsto_riemannianBallVolume |
| 38 | (G : PointedGeometricConvergence S) (hT : T' < 0 ∧ 0 < T) |
| 39 | {t r : ℝ} (ht : t ∈ Ioo T' T) (hr : 0 < r) |
| 40 | (hcomplete : G.limitCarrier.metricComplete (G.limitFlow.metricAt t)) : |
| 41 | Tendsto (fun k => (S.flow (G.subsequence k)).riemannianBallVolume t r) |
| 42 | atTop (𝓝 (G.limitFlow.riemannianBallVolume t r)) := by |
| 43 | apply Poincare.tendsto_of_ball_volume_radius_squeeze n |
| 44 | · exact (G.limitFlow.metricAt t).continuousAt_ball_volume_of_metricComplete |
| 45 | hcomplete G.limitFlow.base hr |
| 46 | · intro C hC |
| 47 | exact (G.eventually_ball_volume_bounds hT ht hcomplete hr hC).mono (fun _ h => h.1) |
| 48 | · intro C hC |
| 49 | exact (G.eventually_ball_volume_bounds hT ht hcomplete hr hC).mono (fun _ h => h.2) |
| 50 | |
| 51 | /-- Eventual lower volume bounds pass to the complete limit at each radius. -/ |
| 52 | theorem ball_volume_lower_bound_of_eventually |
| 53 | (G : PointedGeometricConvergence S) (hT : T' < 0 ∧ 0 < T) |
| 54 | {t : ℝ} (ht : t ∈ Ioo T' T) |
| 55 | (hcomplete : G.limitCarrier.metricComplete (G.limitFlow.metricAt t)) |
| 56 | (v : ℝ) |
| 57 | (hvolume : ∀ r : ℝ, 0 < r → ∀ᶠ k in atTop, |
| 58 | ENNReal.ofReal (v * r ^ n) ≤ |
| 59 | (S.flow (G.subsequence k)).riemannianBallVolume t r) : |
| 60 | ∀ r : ℝ, 0 < r → ENNReal.ofReal (v * r ^ n) ≤ |
| 61 | G.limitFlow.riemannianBallVolume t r := by |
| 62 | intro r hr |
| 63 | exact ge_of_tendsto (G.tendsto_riemannianBallVolume hT ht hr hcomplete) (hvolume r hr) |
| 64 | |
| 65 | /-- Nonnegative Ricci curvature converts all-radius lower volume bounds into |
| 66 | the same lower bound for the canonical asymptotic volume ratio. -/ |
| 67 | theorem le_asymptoticVolumeRatio_of_eventually |
| 68 | (G : PointedGeometricConvergence S) (hT : T' < 0 ∧ 0 < T) |
| 69 | {t : ℝ} (ht : t ∈ Ioo T' T) (hn : 1 ≤ n) |
| 70 | (hcomplete : G.limitCarrier.metricComplete (G.limitFlow.metricAt t)) |
| 71 | (hRic : ∀ x : G.limitCarrier.carrier, ∀ u : TangentSpace (𝓡 n) x, |
| 72 | 0 ≤ (G.limitFlow.flow.connection t).ricci x u u) |
| 73 | (v : ℝ) |
| 74 | (hvolume : ∀ r : ℝ, 0 < r → ∀ᶠ k in atTop, |
| 75 | ENNReal.ofReal (v * r ^ n) ≤ |
| 76 | (S.flow (G.subsequence k)).riemannianBallVolume t r) : |
| 77 | v ≤ (G.limitFlow.metricAt t).asymptoticVolumeRatio G.limitFlow.base := by |
| 78 | let g := G.limitFlow.metricAt t |
| 79 | have hb := G.ball_volume_lower_bound_of_eventually hT ht hcomplete v hvolume |
| 80 | apply ge_of_tendsto (g.tendsto_asymptoticVolumeRatio |
| 81 | (G.limitFlow.flow.connection t) hn hcomplete hRic G.limitFlow.base) |
| 82 | filter_upwards [eventually_gt_atTop (0 : ℝ)] with r hr |
| 83 | apply (le_div_iff₀ (pow_pos hr n)).mpr |
| 84 | exact (ENNReal.ofReal_le_iff_le_toReal |
| 85 | (g.ball_volume_ne_top_of_metricComplete hcomplete G.limitFlow.base r)).mp (hb r hr) |
| 86 | |
| 87 | /-- The formulation with complete source and limit slices follows from the |
| 88 | stronger fixed-time theorem. -/ |
| 89 | theorem ball_volume_convergence_of_complete_slices |
| 90 | (G : PointedGeometricConvergence S) (hT : T' < 0 ∧ 0 < T) |
| 91 | (_hsource : ∀ k : ℕ, ∀ t ∈ Ioo T' T, |
| 92 | (S.carrier k).metricComplete ((S.flow k).metricAt t)) |
| 93 | (hlimit : ∀ t ∈ Ioo T' T, |
| 94 | G.limitCarrier.metricComplete (G.limitFlow.metricAt t)) : |
| 95 | ∀ t ∈ Ioo T' T, ∀ r : ℝ, 0 < r → |
| 96 | Tendsto (fun k => (S.flow (G.subsequence k)).riemannianBallVolume t r) |
| 97 | atTop (𝓝 (G.limitFlow.riemannianBallVolume t r)) := by |
| 98 | intro t ht r hr |
| 99 | exact G.tendsto_riemannianBallVolume hT ht hr (hlimit t ht) |
| 100 | |
| 101 | end PointedGeometricConvergence |
| 102 | end PoincareMT |