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.ReducedGeometry.ReducedVolume.Rigidity |
| 2 | import Mathlib.Topology.Order.MonotoneConvergence |
| 3 | |
| 4 | /-! |
| 5 | # The ancient reduced-volume limit |
| 6 | |
| 7 | The finite-horizon reduced-volume service gives one limit at infinite backward |
| 8 | time. Every positive dilation of a divergent sequence has the same limit. |
| 9 | This is the monotone-convergence step in Morgan--Tian Corollary 9.14, |
| 10 | pp. 185-186; identification with rescaled-flow reduced volumes is separate. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | |
| 15 | open Filter Set |
| 16 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace PoincareMT |
| 21 | |
| 22 | variable {n : ℕ} {M : Type u} [TopologicalSpace M] |
| 23 | [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] |
| 24 | [IsManifold (𝓡 n) ∞ M] [MeasurableSpace M] [BorelSpace M] [T3Space M] |
| 25 | |
| 26 | /-- Finite-horizon monotonicity and positivity produce the common limit of |
| 27 | the reduced volume along all positive dilations of any divergent sequence. -/ |
| 28 | theorem exists_ancient_reducedVolume_limit |
| 29 | (F : RicciFlow n M (Iic 0)) |
| 30 | (hV : ∀ R : ℝ, 0 < R → Nonempty (ReducedVolumeTheory F 0 R)) (p : M) : |
| 31 | ∃ V : ℝ, 0 ≤ V ∧ |
| 32 | (∀ τ : ℝ, 0 < τ → V ≤ reducedVolume F 0 p τ) ∧ |
| 33 | Tendsto (reducedVolume F 0 p) atTop (𝓝 V) ∧ |
| 34 | ∀ a : ℕ → ℝ, Tendsto a atTop atTop → ∀ τ : ℝ, 0 < τ → |
| 35 | Tendsto (fun k ↦ reducedVolume F 0 p (a k * τ)) atTop (𝓝 V) := by |
| 36 | have hpos (τ : ℝ) (hτ : 0 < τ) : 0 < reducedVolume F 0 p τ := by |
| 37 | obtain ⟨Q⟩ := hV (τ + 1) (by linarith) |
| 38 | exact (Q.volume_bounds p τ hτ (by linarith)).1 |
| 39 | have hmono : AntitoneOn (reducedVolume F 0 p) (Ioi 0) := by |
| 40 | intro a ha b hb hab |
| 41 | change 0 < a at ha |
| 42 | change 0 < b at hb |
| 43 | obtain ⟨Q⟩ := hV (b + 1) (by linarith) |
| 44 | exact Q.monotone p ⟨ha, by linarith⟩ ⟨hb, by linarith⟩ hab |
| 45 | let f : ℝ → ℝ := fun t ↦ reducedVolume F 0 p (max t 1) |
| 46 | have hf : Antitone f := by |
| 47 | intro s t hst |
| 48 | exact hmono (by change 0 < max s 1; positivity) |
| 49 | (by change 0 < max t 1; positivity) (max_le_max_right 1 hst) |
| 50 | have hnonneg (t : ℝ) : 0 ≤ f t := |
| 51 | (hpos _ (lt_of_lt_of_le zero_lt_one (le_max_right t 1))).le |
| 52 | have hbdd : BddBelow (range f) := ⟨0, by rintro _ ⟨t, rfl⟩; exact hnonneg t⟩ |
| 53 | have hlim : Tendsto (reducedVolume F 0 p) atTop (𝓝 (⨅ t, f t)) := by |
| 54 | apply (tendsto_atTop_ciInf hf hbdd).congr' |
| 55 | filter_upwards [eventually_ge_atTop (1 : ℝ)] with t ht |
| 56 | simp only [f, max_eq_left ht] |
| 57 | refine ⟨⨅ t, f t, le_ciInf hnonneg, ?_, hlim, ?_⟩ |
| 58 | · intro τ hτ |
| 59 | apply le_of_tendsto hlim |
| 60 | filter_upwards [eventually_ge_atTop τ] with t ht |
| 61 | exact hmono hτ (lt_of_lt_of_le hτ ht) ht |
| 62 | · intro a ha τ hτ |
| 63 | exact hlim.comp (ha.atTop_mul_const hτ) |
| 64 | |
| 65 | /-- Positivity of scalar curvature at one interior point makes the common |
| 66 | ancient reduced-volume limit strictly smaller than the Euclidean value. -/ |
| 67 | theorem exists_ancient_reducedVolume_limit_lt_euclidean |
| 68 | (F : RicciFlow n M (Iic 0)) |
| 69 | (hV : ∀ R : ℝ, 0 < R → Nonempty (ReducedVolumeTheory F 0 R)) (p x : M) |
| 70 | (hscalar : 0 < (F.connection (-1 / 2)).scalarCurvature x) : |
| 71 | ∃ V : ℝ, 0 ≤ V ∧ V < euclideanReducedVolume n ∧ |
| 72 | Tendsto (reducedVolume F 0 p) atTop (𝓝 V) ∧ |
| 73 | ∀ a : ℕ → ℝ, Tendsto a atTop atTop → ∀ τ : ℝ, 0 < τ → |
| 74 | Tendsto (fun k ↦ reducedVolume F 0 p (a k * τ)) atTop (𝓝 V) := by |
| 75 | obtain ⟨V, hV0, hVle, hlim, hdilate⟩ := exists_ancient_reducedVolume_limit F hV p |
| 76 | obtain ⟨Q⟩ := hV 2 (by norm_num) |
| 77 | refine ⟨V, hV0, ?_, hlim, hdilate⟩ |
| 78 | exact lt_of_le_of_lt (hVle 1 zero_lt_one) |
| 79 | (reducedVolume_lt_euclidean_of_scalar_pos Q zero_lt_one (by norm_num) p x hscalar) |
| 80 | |
| 81 | end PoincareMT |