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.Compactness.LocalBounds.VolumeDeficit |
| 2 | import PoincareLib.Geometry.RicciFlow.AncientKappa.Compactness.LocalBounds.FlatVolume |
| 3 | |
| 4 | /-! |
| 5 | # Uniform local bounds for normalized three-dimensional kappa-solutions |
| 6 | |
| 7 | A failed local bound gives a complete flat slice with positive volume growth |
| 8 | and a strict Euclidean volume deficit. Uniform injectivity applied at every |
| 9 | rescaling forces Euclidean ball volumes, contradicting that deficit. |
| 10 | |
| 11 | Reference: Morgan--Tian, Lemma 9.65 and Claim 9.66, pp. 225-227. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 17 | |
| 18 | namespace PoincareMT |
| 19 | |
| 20 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.measurableSpace |
| 21 | FlowCarrier.borelSpace FlowCarrier.chartedSpace FlowCarrier.isManifold |
| 22 | FlowCarrier.t2Space FlowCarrier.t3Space FlowCarrier.secondCountable |
| 23 | |
| 24 | /-- The frozen normalized local scalar estimate follows from the explicit |
| 25 | M23 predecessors, including compact and nonorientable source solutions. -/ |
| 26 | theorem m23LocalCurvatureEstimate_of_predecessors |
| 27 | {κ : ℝ} (S : NormalizedKappaSolutionSequence κ) |
| 28 | (P : M23NormalizedKappaCompactnessPredecessors) : |
| 29 | M23LocalCurvatureEstimate S := by |
| 30 | by_contra hn |
| 31 | obtain ⟨C, g, D, p, hc, hflat, hvolume, hdeficit⟩ := |
| 32 | S.exists_complete_flat_slice_with_volume_deficit P hn |
| 33 | simp only [calibratedMetricVolume_eq_volumeMeasure] at hvolume hdeficit |
| 34 | have hunit := g.volumeMeasure_ball_eq_euclidean_of_flat_of_volume_lower_bound |
| 35 | D hc hflat p S.kappa_pos hvolume 1 (by norm_num) |
| 36 | rw [one_pow, mul_one] at hunit |
| 37 | rw [hunit] at hdeficit |
| 38 | have hω := RiemannianMetric.euclideanUnitBallVolume_pos 3 |
| 39 | have hle := (ENNReal.ofReal_le_ofReal_iff (by positivity : |
| 40 | 0 ≤ (3 / 4 : ℝ) * RiemannianMetric.euclideanUnitBallVolume 3)).mp hdeficit |
| 41 | linarith |
| 42 | |
| 43 | end PoincareMT |