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.Generalized.BoundedDistance.GeometryImports |
| 2 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.Tube.SourceGeometry.Ends.SourceTubeCriticalRegion |
| 3 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.PartialLimits.RegularSets.LimitVolume |
| 4 | |
| 5 | /-! |
| 6 | # Finite volume of the actual critical-ball limit |
| 7 | |
| 8 | The existing source volume bound controls the literal twice-restricted |
| 9 | metrics. It therefore gives finite total volume after any retained spatial |
| 10 | extraction. Source: Morgan--Tian Proposition 10.7, p. 253; M28 derivation 127. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open Set MeasureTheory |
| 17 | open scoped Manifold ContDiff ENNReal |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace PoincareMT.M28.CounterexampleNeckFamily |
| 22 | |
| 23 | variable {epsilon C A : ℝ} |
| 24 | {E : ∀ n : ℕ, SameTimeCounterexample.{u} epsilon C A |
| 25 | ((n : ℝ) + 1) ((n : ℝ) + 1)} |
| 26 | |
| 27 | /-- The spatial limit of the actual critical-source metrics has a |
| 28 | positive finite total-volume bound, with the earlier index map retained. |
| 29 | Source: Proposition 10.7, p. 253; M28 derivation 127. -/ |
| 30 | theorem exists_criticalBall_limit_volume_bound |
| 31 | (H : CounterexampleNeckFamily E) (T : ∀ k, SourceTubeData (H.segment k)) |
| 32 | (A1 : ℝ) (hA1 : 0 < A1) (phi : ℕ → ℕ) |
| 33 | (G : RegularPointedMetricConvergence |
| 34 | (fun k => H.tubeCriticalMetric T A1 (phi k)) |
| 35 | (fun k => H.tubeCriticalBase T A1 hA1 (phi k))) : |
| 36 | letI := G.limitCarrier.topologicalSpace |
| 37 | letI := G.limitCarrier.measurableSpace |
| 38 | letI := G.limitCarrier.borelSpace |
| 39 | letI := G.limitCarrier.t3Space |
| 40 | letI := G.limitCarrier.chartedSpace |
| 41 | letI := G.limitCarrier.isManifold |
| 42 | ∃ V : ℝ, 0 < V ∧ G.limitMetric.volumeMeasure univ ≤ ENNReal.ofReal V := by |
| 43 | let := G.limitCarrier.topologicalSpace |
| 44 | let := G.limitCarrier.measurableSpace |
| 45 | let := G.limitCarrier.borelSpace |
| 46 | let := G.limitCarrier.t3Space |
| 47 | let := G.limitCarrier.chartedSpace |
| 48 | let := G.limitCarrier.isManifold |
| 49 | obtain ⟨V, hV, hbound⟩ := H.exists_tubeCritical_volume_bound T A1 |
| 50 | refine ⟨8 * V, mul_pos (by norm_num) hV, ?_⟩ |
| 51 | have hlimit := G.volumeMeasure_univ_le_of_source_bound (ENNReal.ofReal V) |
| 52 | (fun k => hbound (phi k)) |
| 53 | simpa only [ENNReal.ofReal_mul (by norm_num : (0 : ℝ) ≤ 8), |
| 54 | ENNReal.ofReal_ofNat] using hlimit |
| 55 | |
| 56 | end PoincareMT.M28.CounterexampleNeckFamily |