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.Surgery.Induction.Noncollapse.Compat.ParabolicRescaling |
| 2 | import PoincareLib.Geometry.RicciFlow.Generalized.ReducedGeometry.SourceNames.ParabolicRescaling |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Persistence.SourceNames.Homothety |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.Noncollapse.Assembly.Configuration |
| 5 | |
| 6 | /-! |
| 7 | # The actual old-prefix ball supplies the seed volume |
| 8 | |
| 9 | Morgan--Tian, completion of Proposition 16.1, printed p. 393. Apply the |
| 10 | old noncollapse estimate at the seed ball, then identify its exact volume |
| 11 | in the retained regular history and the realized spacetime slice. The |
| 12 | construction of the seed cylinder and the exclusion of positive ancestry |
| 13 | are separate geometric steps. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | -- The raw flow and its realized slices retain their chosen manifold instances. |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | open Set MeasureTheory |
| 21 | open scoped Manifold ContDiff Topology ENNReal |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | namespace PoincareMT.M13 |
| 26 | export PoincareMT.EpochExtension.SliceGeometry (originalSlice_ball) |
| 27 | end PoincareMT.M13 |
| 28 | namespace PoincareMT.M13 |
| 29 | export PoincareMT.EpochExtension.SliceGeometry (originalSlice_volume) |
| 30 | end PoincareMT.M13 |
| 31 | |
| 32 | namespace PoincareMT.Proofs.M46 |
| 33 | |
| 34 | /-- The old-prefix estimate on a retained actual ball is the seed volume |
| 35 | on the same realized history slice, Proposition 16.1, p. 393. -/ |
| 36 | theorem old_prefix_realized_ball_volume (P : M46Predecessors.{u}) |
| 37 | {K : MetricSurgeryConstants} (p : SurgeryParameterPrefix K) |
| 38 | {F : SurgeryFlowData.{u}} {O : SurgeryObservation F} |
| 39 | (old : SurgeryPrefixControls p F O) |
| 40 | {window : M33RegularHistoryWindow F} (R : M46RegularSpacetimeData window) |
| 41 | {t r : ℝ} (ht : t ∈ R.history.generalized.interval) |
| 42 | (htold : t ∈ surgeryObservationInterval O ∩ surgeryEpochEntry p.i) |
| 43 | (y : (R.history.generalized.slice t).carrier) |
| 44 | (hpositive : ¬ SurgeryPositiveComponentAt F t (R.history.history.forward t ht y)) |
| 45 | (hr : 0 < r) (hrle : r ≤ F.parameters.epsilon) |
| 46 | (e : SurgeryFlowCylinder F (F.slice t) t 1 (Icc (-r ^ 2) 0) |
| 47 | ((F.metric t).ball (R.history.history.forward t ht y) r)) |
| 48 | (hbase : ∀ h z, |
| 49 | z ∈ (F.metric t).ball (R.history.history.forward t ht y) r → |
| 50 | HEq (e.forward 0 h z) z) |
| 51 | (hcurv : ∀ s hs z, |
| 52 | z ∈ (F.metric t).ball (R.history.history.forward t ht y) r → |
| 53 | (F.connection (t + s / 1)).curvatureTensorNorm (e.forward s hs z) ≤ r⁻¹ ^ 2) |
| 54 | (hregular : (F.metric t).ball (R.history.history.forward t ht y) r ⊆ |
| 55 | m33RegularRegion F t) : |
| 56 | ENNReal.ofReal (p.kappa (Fin.last p.i) * r ^ 3) ≤ |
| 57 | calibratedMetricVolume (R.geometry.toLGeometry.slices t).metricOnPoints |
| 58 | ((R.geometry.toLGeometry.slices t).metricOnPoints.ball |
| 59 | ((R.geometry.sliceIdentification t).identification y) r) := by |
| 60 | have hvolume := old.noncollapsed (Fin.last p.i) (by simp) t htold |
| 61 | (O.interval_subset htold.1) (R.history.history.forward t ht y) |
| 62 | hpositive r hr hrle e hbase hcurv |
| 63 | change ENNReal.ofReal (p.kappa (Fin.last p.i) * r ^ 3) ≤ |
| 64 | calibratedMetricVolume (R.geometry.realization.slices t).metricOnPoints |
| 65 | ((R.geometry.realization.slices t).metricOnPoints.ball |
| 66 | ((R.geometry.sliceIdentification t).identification y) r) |
| 67 | rw [← M13.originalSlice_ball R.geometry P.m13 t y r, |
| 68 | M13.originalSlice_volume R.geometry P.m13 t, |
| 69 | R.history.ball_volume_of_subset t ht y r hregular] |
| 70 | exact hvolume |
| 71 | |
| 72 | /-- A backward-reachable seed center is eligible for the old-prefix volume |
| 73 | estimate after positive ancestry is excluded, Remark 16.2 and p. 393. -/ |
| 74 | theorem HalfRadiusHistory.old_prefix_ball_volume (P : M46Predecessors.{u}) |
| 75 | {K : MetricSurgeryConstants} (p : SurgeryParameterPrefix K) |
| 76 | {F : SurgeryFlowData.{u}} {O : SurgeryObservation F} |
| 77 | (old : SurgeryPrefixControls p F O) |
| 78 | {D : NoncollapseTest F O} (H : HalfRadiusHistory D) |
| 79 | (hancestry : PositiveAncestorExclusion H) |
| 80 | {tau r : ℝ} (htau : 0 < tau) |
| 81 | (ht : D.time - tau ∈ H.spacetime.history.generalized.interval) |
| 82 | (htold : D.time - tau ∈ surgeryObservationInterval O ∩ surgeryEpochEntry p.i) |
| 83 | (y : (H.spacetime.history.generalized.slice (D.time - tau)).carrier) |
| 84 | (hpath : Nonempty (M14BackwardPath H.spacetime.geometry.toLGeometry D.time 0 tau |
| 85 | ((H.spacetime.geometry.sliceIdentification D.time).identification H.center).val |
| 86 | ((H.spacetime.geometry.sliceIdentification (D.time - tau)).identification y).val)) |
| 87 | (hr : 0 < r) (hrle : r ≤ F.parameters.epsilon) |
| 88 | (e : SurgeryFlowCylinder F (F.slice (D.time - tau)) (D.time - tau) 1 |
| 89 | (Icc (-r ^ 2) 0) |
| 90 | ((F.metric (D.time - tau)).ball |
| 91 | (H.spacetime.history.history.forward (D.time - tau) ht y) r)) |
| 92 | (hbase : ∀ h z, |
| 93 | z ∈ (F.metric (D.time - tau)).ball |
| 94 | (H.spacetime.history.history.forward (D.time - tau) ht y) r → |
| 95 | HEq (e.forward 0 h z) z) |
| 96 | (hcurv : ∀ s hs z, |
| 97 | z ∈ (F.metric (D.time - tau)).ball |
| 98 | (H.spacetime.history.history.forward (D.time - tau) ht y) r → |
| 99 | (F.connection (D.time - tau + s / 1)).curvatureTensorNorm |
| 100 | (e.forward s hs z) ≤ r⁻¹ ^ 2) |
| 101 | (hregular : (F.metric (D.time - tau)).ball |
| 102 | (H.spacetime.history.history.forward (D.time - tau) ht y) r ⊆ |
| 103 | m33RegularRegion F (D.time - tau)) : |
| 104 | ENNReal.ofReal (p.kappa (Fin.last p.i) * r ^ 3) ≤ calibratedMetricVolume |
| 105 | (H.spacetime.geometry.toLGeometry.slices (D.time - tau)).metricOnPoints |
| 106 | ((H.spacetime.geometry.toLGeometry.slices (D.time - tau)).metricOnPoints.ball |
| 107 | ((H.spacetime.geometry.sliceIdentification (D.time - tau)).identification y) r) := |
| 108 | old_prefix_realized_ball_volume P p old H.spacetime ht htold y |
| 109 | (hancestry tau htau ht y hpath) hr hrle e hbase hcurv hregular |
| 110 | |
| 111 | end PoincareMT.Proofs.M46 |