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.RegularSpacetime |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.EpochExtension.Noncollapse.RawBallCylinder |
| 6 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.EpochExtension.History.Transport.HistoryMetric |
| 7 | |
| 8 | /-! |
| 9 | # Apply one actual Theorem 8.1 configuration |
| 10 | |
| 11 | Choose the uniform data before the flow and test. A configuration for the |
| 12 | exact retained geometry gives the actual surgery-ball estimate; at half the |
| 13 | tested radius the constant loses only the fixed factor eight. Constructing |
| 14 | the configuration remains in M46's substantive proof, not its input. |
| 15 | Sources: Morgan--Tian Theorem 8.1, p. 169, and Proposition 16.1, pp. 391-394. |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | open Set MeasureTheory |
| 22 | open scoped Manifold ContDiff Topology ENNReal |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | namespace PoincareMT.Proofs.M13 |
| 27 | export PoincareMT.EpochExtension.SliceGeometry (originalSlice_ball) |
| 28 | end PoincareMT.Proofs.M13 |
| 29 | namespace PoincareMT.Proofs.M13 |
| 30 | export PoincareMT.EpochExtension.SliceGeometry (originalSlice_volume) |
| 31 | end PoincareMT.Proofs.M13 |
| 32 | namespace PoincareMT.Proofs.M15 |
| 33 | export PoincareMT.EpochExtension.Noncollapse (rawActualBallCylinder) |
| 34 | end PoincareMT.Proofs.M15 |
| 35 | namespace PoincareMT.Proofs.M15 |
| 36 | export PoincareMT.EpochExtension.Noncollapse (rawBallSource) |
| 37 | end PoincareMT.Proofs.M15 |
| 38 | |
| 39 | namespace PoincareMT |
| 40 | |
| 41 | theorem M46Predecessors.uniformConfigurationData (P : M46Predecessors.{u}) |
| 42 | (taubar l0 V : ℝ) (ht : 0 < taubar) (hl : 0 < l0) (hV : 0 < V) : |
| 43 | Nonempty (M15GeneralizedUniformData.{u} 3 taubar l0 V) := |
| 44 | P.m15.uniform taubar l0 V ht hl hV |
| 45 | |
| 46 | variable {taubar l0 V : ℝ} (U : M15GeneralizedUniformData.{u} 3 taubar l0 V) |
| 47 | (P : M46Predecessors.{u}) {F : SurgeryFlowData.{u}} |
| 48 | {W : M33RegularHistoryWindow F} (R : M46RegularSpacetimeData W) |
| 49 | {T r : ℝ} (ht : T ∈ R.history.generalized.interval) |
| 50 | (x : (R.history.generalized.slice T).carrier) (hr : 0 < r) |
| 51 | (e : GeneralizedFlowCylinder R.history.generalized (R.history.generalized.slice T) |
| 52 | T 1 (Icc (-r ^ 2) 0) ((R.history.generalized.metric T).ball x r)) |
| 53 | (hI : Icc (T - r ^ 2) T ⊆ R.history.generalized.interval) |
| 54 | (hbase : ∀ h y, y ∈ (R.history.generalized.metric T).ball x r → |
| 55 | e.pointMap 0 h y = (⟨T, y⟩ : R.history.generalized.point)) |
| 56 | (hcurv : ∀ s hs y, y ∈ (R.history.generalized.metric T).ball x r → |
| 57 | R.history.generalized.curvatureNorm (e.pointMap s hs y) ≤ r⁻¹ ^ 2) |
| 58 | (E : M14ExponentialFamily R.geometry.toLGeometry T |
| 59 | ((R.geometry.sliceIdentification T).identification x).val) |
| 60 | (Q : M15Theorem81Configuration R.geometry.toLGeometry T |
| 61 | ((R.geometry.sliceIdentification T).identification x) E taubar l0 V r _ _ |
| 62 | (Proofs.M15.rawActualBallCylinder R.geometry P.m13 x hr e hI hbase hcurv)) |
| 63 | |
| 64 | include Q |
| 65 | |
| 66 | theorem M46RegularSpacetimeData.configuration_volume : |
| 67 | ENNReal.ofReal (U.kappa * r ^ 3) ≤ calibratedMetricVolume (F.metric T) |
| 68 | ((F.metric T).ball (R.history.history.forward T ht x) r) := by |
| 69 | have h := U.estimate _ _ _ R.geometry.toLGeometry T |
| 70 | ((R.geometry.sliceIdentification T).identification x) E r _ |
| 71 | (Proofs.M15.rawBallSource R.history.generalized T x r) |
| 72 | (Proofs.M15.rawActualBallCylinder R.geometry P.m13 x hr e hI hbase hcurv) Q |
| 73 | change ENNReal.ofReal (U.kappa * r ^ 3) ≤ |
| 74 | calibratedMetricVolume (R.geometry.realization.slices T).metricOnPoints |
| 75 | ((R.geometry.realization.slices T).metricOnPoints.ball |
| 76 | ((R.geometry.sliceIdentification T).identification x) r) at h |
| 77 | rw [← Proofs.M13.originalSlice_ball R.geometry P.m13 T x r, |
| 78 | Proofs.M13.originalSlice_volume R.geometry P.m13 T |
| 79 | ((R.history.generalized.metric T).ball x r), ← R.history.volume_image T ht] at h |
| 80 | exact h.trans (measure_mono (R.history.history.ball_image_subset T ht x r)) |
| 81 | |
| 82 | theorem M46RegularSpacetimeData.configuration_half_radius {rho : ℝ} |
| 83 | (hhalf : r = rho / 2) : |
| 84 | ENNReal.ofReal ((U.kappa / 8) * rho ^ 3) ≤ calibratedMetricVolume (F.metric T) |
| 85 | ((F.metric T).ball (R.history.history.forward T ht x) rho) := by |
| 86 | have h := R.configuration_volume U P ht x hr e hI hbase hcurv E Q |
| 87 | have heq : (U.kappa / 8) * rho ^ 3 = U.kappa * r ^ 3 := by rw [hhalf]; ring |
| 88 | rw [heq] |
| 89 | apply h.trans (measure_mono ?_) |
| 90 | intro y hy |
| 91 | exact hy.trans_le (ENNReal.ofReal_le_ofReal (by linarith [hr])) |
| 92 | |
| 93 | end PoincareMT |