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.StandardCap.Persistence.SourceNames.Homothety |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.Schedules.InitialFlow.InitialFlowExistence |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Persistence.Limit.Cylinder.CylinderEventSmooth |
| 4 | import PoincareLib.Geometry.Riemannian.Homothety.Volume |
| 5 | import PoincareLib.Geometry.RicciFlow.ReducedGeometry.LGeometry.Path.ActionBounds |
| 6 | |
| 7 | /-! |
| 8 | # Actual-slice transport on the initial regular slab |
| 9 | |
| 10 | Morgan--Tian Claim 15.1, p. 353, and the initial control before Definition |
| 11 | 15.7, p. 360. Ordinary uniqueness and the supplied identifying isometries |
| 12 | transport curvature and calibrated full-ball volume to the actual slice. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open Set |
| 18 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | local notation "M08.scalarCurvature_abs_le_tensorNorm" => PoincareMT.LGeometry.scalarCurvature_abs_le_tensorNorm |
| 23 | local notation "M13.homothety_ball_image" => PoincareMT.Homothety.homothety_ball_image |
| 24 | local notation "M13.homothety_volume_image" => PoincareMT.Homothety.homothety_volume_image |
| 25 | |
| 26 | namespace PoincareMT.M45 |
| 27 | |
| 28 | /-- An initial regular slab agrees with the selected ordinary seed on the |
| 29 | whole common interval. Claim 15.1 and Theorem 3.11, pp. 353 and 39. -/ |
| 30 | theorem initialSlab_metric_eq (F : SurgeryFlowData.{u}) |
| 31 | (hunique : RicciFlowUniqueness 3 (F.slice 0).carrier) |
| 32 | (G : RicciFlow 3 (F.slice 0).carrier (Icc 0 (1 / 16 : ℝ))) |
| 33 | (hG : G.metric 0 = F.metric 0) {b : ℝ} (hb : b ≤ 1 / 16) |
| 34 | (S : SurgeryRegularSlab F.slice F.metric 0 b) : |
| 35 | EqOn S.flow.metric G.metric (Icc 0 b) := by |
| 36 | have heq := hunique (Icc 0 b) (Icc 0 (1 / 16 : ℝ)) S.flow G |
| 37 | ⟨⟨le_rfl, S.ordered.le⟩, fun _ ht => ht.1⟩ |
| 38 | ⟨by norm_num, fun _ ht => ht.1⟩ |
| 39 | ((M44.regularSlab_initial_metric F S).trans hG.symm) |
| 40 | intro t ht |
| 41 | exact heq ⟨ht, ht.1, ht.2.trans hb⟩ |
| 42 | |
| 43 | /-- The actual slice's full-curvature norm equals the seed norm at its |
| 44 | identified point. The initial-flow application on p. 360. -/ |
| 45 | theorem initialSlab_curvature_eq (F : SurgeryFlowData.{u}) |
| 46 | (hunique : RicciFlowUniqueness 3 (F.slice 0).carrier) |
| 47 | (G : RicciFlow 3 (F.slice 0).carrier (Icc 0 (1 / 16 : ℝ))) |
| 48 | (hG : G.metric 0 = F.metric 0) {b : ℝ} (hb : b ≤ 1 / 16) |
| 49 | (S : SurgeryRegularSlab F.slice F.metric 0 b) (t : Icc 0 b) |
| 50 | (x : (F.slice 0).carrier) : |
| 51 | (F.connection t.1).curvatureTensorNorm (S.identify t x) = |
| 52 | (G.connection t.1).curvatureTensorNorm x := by |
| 53 | have htransport := M13.homothety_curvatureTensorNorm_eq |
| 54 | (S.flow.metric t.1) (F.metric t.1) (S.identify t) 1 zero_lt_one |
| 55 | (M44.regularSlab_metricHomothety F S t) |
| 56 | (S.flow.connection t.1) (F.connection t.1) x |
| 57 | simpa only [div_one, |
| 58 | curvatureNorm_eq_of_metric_eq (S.flow.connection t.1) (G.connection t.1) |
| 59 | (initialSlab_metric_eq F hunique G hG hb S t.2)] using htransport |
| 60 | |
| 61 | /-- Every metric ball in the actual slice has the volume of its seed ball. |
| 62 | The full-volume estimate in Claim 15.1, p. 353, transported on p. 360. -/ |
| 63 | theorem initialSlab_ball_volume_eq (F : SurgeryFlowData.{u}) |
| 64 | (hunique : RicciFlowUniqueness 3 (F.slice 0).carrier) |
| 65 | (G : RicciFlow 3 (F.slice 0).carrier (Icc 0 (1 / 16 : ℝ))) |
| 66 | (hG : G.metric 0 = F.metric 0) {b : ℝ} (hb : b ≤ 1 / 16) |
| 67 | (S : SurgeryRegularSlab F.slice F.metric 0 b) (t : Icc 0 b) |
| 68 | (x : (F.slice 0).carrier) (r : ℝ) : |
| 69 | calibratedMetricVolume (F.metric t.1) ((F.metric t.1).ball (S.identify t x) r) = |
| 70 | calibratedMetricVolume (G.metric t.1) ((G.metric t.1).ball x r) := by |
| 71 | have hhom := M44.regularSlab_metricHomothety F S t |
| 72 | have hball := M13.homothety_ball_image (S.flow.metric t.1) (F.metric t.1) |
| 73 | (S.identify t) 1 zero_lt_one hhom x r |
| 74 | have hvolume := M13.homothety_volume_image (S.flow.metric t.1) (F.metric t.1) |
| 75 | (S.identify t) 1 zero_lt_one hhom ((S.flow.metric t.1).ball x r) |
| 76 | have hscale : Real.rpow 1 (((3 : ℕ) : ℝ) / 2) = 1 := Real.one_rpow _ |
| 77 | rw [hball] at hvolume |
| 78 | rw [hscale, ENNReal.ofReal_one, one_mul] at hvolume |
| 79 | simpa only [Real.sqrt_one, one_mul, |
| 80 | initialSlab_metric_eq F hunique G hG hb S t.2] using hvolume |
| 81 | |
| 82 | /-- The elementary scalar coefficient used in the initial capture is 18. |
| 83 | The scalar contraction convention of pp. 5-7 applied to Claim 15.1. -/ |
| 84 | theorem scalar_le_eighteen_of_curvature_le_two |
| 85 | {M : Type u} [TopologicalSpace M] |
| 86 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] [IsManifold (𝓡 3) ∞ M] |
| 87 | {g : RiemannianMetric 3 M} (D : LeviCivitaData g) (x : M) |
| 88 | (h : D.curvatureTensorNorm x ≤ 2) : |D.scalarCurvature x| ≤ 18 := by |
| 89 | have hs := M08.scalarCurvature_abs_le_tensorNorm D x |
| 90 | norm_num at hs |
| 91 | linarith |
| 92 | |
| 93 | end PoincareMT.M45 |