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.Curvature.Integral.Concentration.RadiusSelection |
| 2 | import PoincareLib.Geometry.Riemannian.Distance.Smoothing.Directional.AnnularStability |
| 3 | |
| 4 | /-! |
| 5 | # Vanishing bad-ascent radii in pointed limits |
| 6 | |
| 7 | A punctured ascent neighborhood in the limit gives eventual source ascent |
| 8 | on every fixed closed annulus, at any strictly smaller rate. Taking the |
| 9 | supremum of the actual bad-point distances makes their radius tend to zero. |
| 10 | The strict rate loss is retained explicitly; no same-rate stability is used. |
| 11 | |
| 12 | Reference: Petrunin (2009), Section 3.7, author manuscript p. 7. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | set_option autoImplicit false |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open Set Filter Topology |
| 20 | open Poincare.GromovHausdorff Poincare.CurvatureIntegral |
| 21 | open scoped Manifold ContDiff Bundle |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | namespace PoincareMT.RiemannianMetric |
| 26 | |
| 27 | /-- A limit punctured ascent radius strictly larger than the outer cutoff |
| 28 | forces the actual source bad-ascent radii to vanish, with a strict rate loss. -/ |
| 29 | theorem tendsto_badAscentRadius_zero_of_pointedGHConvergesUnbounded |
| 30 | {n : ℕ} {M : ℕ → Type u} [∀ j, TopologicalSpace (M j)] |
| 31 | [∀ j, T3Space (M j)] [∀ j, PreconnectedSpace (M j)] |
| 32 | [∀ j, ChartedSpace (EuclideanSpace ℝ (Fin n)) (M j)] |
| 33 | [∀ j, IsManifold (𝓡 n) ∞ (M j)] |
| 34 | (g : ∀ j, PoincareMT.RiemannianMetric n (M j)) |
| 35 | (D : ∀ j, PoincareMT.LeviCivitaData (g j)) |
| 36 | (hc : ∀ j, PoincareMT.MetricComplete (g j)) |
| 37 | (hsec : ∀ j (x : M j) (v w : TangentSpace (𝓡 n) x), |
| 38 | -1 ≤ (D j).sectionalCurvature x v w) |
| 39 | (p : ∀ j, M j) {Y : BasedMetricSpaceBundle.{u}} [ProperSpace Y.carrier] |
| 40 | (hconv : PointedGHConvergesUnbounded |
| 41 | (fun j => (g j).toBasedMetricSpace (p j)) Y) |
| 42 | {b R c c' : ℝ} (hbR : b < R) (hcc' : c < c') |
| 43 | (hascent : ∀ y : Y.carrier, 0 < dist Y.base y → dist Y.base y < R → |
| 44 | HasLocalDistanceAscent c' Y.base y) : |
| 45 | Tendsto (fun j => letI := (g j).toMetricSpace; badAscentRadius c b (p j)) |
| 46 | atTop (𝓝 0) := by |
| 47 | apply Metric.tendsto_nhds.mpr |
| 48 | intro ε hε |
| 49 | have hsource := eventually_annular_distance_ascent_of_pointedGHConvergesUnbounded |
| 50 | g D hc (K := 1) zero_le_one hsec p hconv (half_pos hε) hcc' |
| 51 | (R := b) (fun y hy hyb => |
| 52 | hascent y ((half_pos hε).trans_le hy) (hyb.trans_lt hbR)) |
| 53 | filter_upwards [hsource] with j hj |
| 54 | let := (g j).toMetricSpace |
| 55 | change dist (badAscentRadius c b (p j)) 0 < ε |
| 56 | rw [Real.dist_eq, sub_zero, abs_of_nonneg (badAscentRadius_nonneg c b (p j))] |
| 57 | have hbound : badAscentRadius c b (p j) ≤ ε / 2 := |
| 58 | badAscentRadius_le_of_annular_ascent (half_pos hε).le |
| 59 | (fun y hy hyb => hj y hy.le hyb) |
| 60 | exact hbound.trans_lt (half_lt_self hε) |
| 61 | |
| 62 | end PoincareMT.RiemannianMetric |