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.AncientKappa.Basic |
| 2 | import Mathlib.Topology.Algebra.Order.LiminfLimsup |
| 3 | |
| 4 | /-! |
| 5 | # Calibrated ball ratios and ancient asymptotic volume |
| 6 | |
| 7 | Declaration bodies from `PoincareMT/Definitions/Ch09/AsymptoticVolume.lean` |
| 8 | at Mapher commit `f927d9e1f0810042766d3b5f64d3f4da02ee93cc`. |
| 9 | Morgan--Tian, Chapter 9, Sections 5--6, pp. 219--222. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | namespace PoincareMT |
| 19 | |
| 20 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 21 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 22 | [IsManifold (𝓡 n) ∞ M] [MeasurableSpace M] [BorelSpace M] |
| 23 | [T2Space M] [T3Space M] [SecondCountableTopology M] [ConnectedSpace M] |
| 24 | |
| 25 | /-- A positive radius, used to avoid the singular zero-radius denominator. -/ |
| 26 | abbrev PositiveRadius := {r : ℝ // 0 < r} |
| 27 | |
| 28 | /-- Calibrated volume ratio of a positive-radius metric ball. -/ |
| 29 | noncomputable def metricBallVolumeRatio (g : RiemannianMetric n M) (p : M) |
| 30 | (r : PositiveRadius) : ℝ≥0∞ := |
| 31 | calibratedMetricVolume g (g.ball p r.1) / ENNReal.ofReal r.1 ^ n |
| 32 | |
| 33 | /-- The asymptotic volume ratio defined from all positive-radius ratios. |
| 34 | |
| 35 | For nonnegative Ricci curvature the Bishop--Gromov theorem identifies this |
| 36 | infimum with the limit as the radius tends to infinity. -/ |
| 37 | noncomputable def asymptoticVolumeRatio (g : RiemannianMetric n M) (p : M) : ℝ≥0∞ := |
| 38 | sInf (Set.range (metricBallVolumeRatio g p)) |
| 39 | |
| 40 | /-- The explicit limit statement for an asymptotic volume ratio. -/ |
| 41 | def HasAsymptoticVolumeRatio (g : RiemannianMetric n M) (p : M) : Prop := |
| 42 | Filter.Tendsto (metricBallVolumeRatio g p) Filter.atTop |
| 43 | (𝓝 (asymptoticVolumeRatio g p)) |
| 44 | |
| 45 | /-- Base-point independence of the asymptotic volume ratio. -/ |
| 46 | def AsymptoticVolumeRatioBasepointIndependent (g : RiemannianMetric n M) : Prop := |
| 47 | ∀ p q : M, asymptoticVolumeRatio g p = asymptoticVolumeRatio g q |
| 48 | |
| 49 | /-- The ratio is non-increasing in the radius, as in Bishop--Gromov. -/ |
| 50 | def AntitoneMetricBallVolumeRatio (g : RiemannianMetric n M) (p : M) : Prop := |
| 51 | Antitone (metricBallVolumeRatio g p) |
| 52 | |
| 53 | /-- Constant positive sectional curvature on one metric slice. |
| 54 | |
| 55 | The four-tensor identity avoids choosing a frame and is equivalent to the |
| 56 | usual constant-sectional-curvature condition for a Riemannian metric. -/ |
| 57 | def IsRoundMetricSlice {M3 : Type u} [TopologicalSpace M3] |
| 58 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M3] |
| 59 | [IsManifold (𝓡 3) ∞ M3] {g : RiemannianMetric 3 M3} |
| 60 | (D : LeviCivitaData g) : Prop := |
| 61 | ∃ c : ℝ, 0 < c ∧ ∀ x : M3, ∀ u v : TangentSpace (𝓡 3) x, |
| 62 | D.curvatureTensor x u v u v = c * |
| 63 | (g.inner x u u * g.inner x v v - (g.inner x u v) ^ 2) |
| 64 | |
| 65 | /-- A three-dimensional ancient solution is round when every time slice has |
| 66 | constant positive sectional curvature. -/ |
| 67 | def IsRoundAncientKappaSolution {M : Type u} [TopologicalSpace M] |
| 68 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 69 | [IsManifold (𝓡 3) ∞ M] [MeasurableSpace M] [BorelSpace M] |
| 70 | [T2Space M] [T3Space M] [SecondCountableTopology M] [ConnectedSpace M] |
| 71 | (K : AncientKappaSolution 3 M) : Prop := |
| 72 | ∀ t : ℝ, t ≤ 0 → IsRoundMetricSlice (K.flow.connection t) |
| 73 | |
| 74 | /-- The all-time, all-basepoint vanishing conclusion for Theorem 9.59. -/ |
| 75 | def AncientAsymptoticVolumeRatioZero {M : Type u} [TopologicalSpace M] |
| 76 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 77 | [IsManifold (𝓡 n) ∞ M] [MeasurableSpace M] [BorelSpace M] |
| 78 | [T2Space M] [T3Space M] [SecondCountableTopology M] [ConnectedSpace M] |
| 79 | (K : AncientKappaSolution n M) : Prop := |
| 80 | ∀ t : ℝ, t ≤ 0 → ∀ p : M, asymptoticVolumeRatio (K.flow.metric t) p = 0 |
| 81 | |
| 82 | end PoincareMT |