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.Compat.GeneralizedEquation |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.Noncollapse.LGeometry.CapEntry.PhysicalBirthMetric |
| 6 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.Noncollapse.LGeometry.CapEntry.PersistenceWindow |
| 7 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.EpochExtension.SliceGeometry.GeneralizedSlices |
| 8 | |
| 9 | /-! |
| 10 | # The persistence estimates on the actual history cylinder |
| 11 | |
| 12 | Proposition 16.13, pp. 377-378. The zeroth comparison and scalar |
| 13 | readout concern the original M44 cylinder. These identities transport |
| 14 | them to the exact generalized cylinder returned by M33, on the full |
| 15 | physical source ball and with its actual scale. |
| 16 | -/ |
| 17 | |
| 18 | set_option autoImplicit false |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | open Set |
| 22 | open scoped Manifold ContDiff Topology |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | namespace PoincareMT.Proofs.M12 |
| 27 | end PoincareMT.Proofs.M12 |
| 28 | open PoincareMT.EpochExtension.Spacetime |
| 29 | namespace PoincareMT.M13 |
| 30 | export PoincareMT.EpochExtension.SliceGeometry (originalSlice_scalar) |
| 31 | end PoincareMT.M13 |
| 32 | |
| 33 | namespace PoincareMT.Proofs.M46 |
| 34 | |
| 35 | open PoincareMT.Proofs.M12 |
| 36 | |
| 37 | /-- The model birth comparison bounds the actual normalized physical |
| 38 | metric in every tangent direction. Source: Proposition 16.13, p. 378. -/ |
| 39 | theorem capCylinder_physicalBirth_lower |
| 40 | {F : SurgeryFlowData.{u}} {S : MaximalStandardCapFlow F.standard_initial} |
| 41 | {t : ℝ} {hT : t ∈ F.surgery_times} [Nonempty (F.slice t).carrier] |
| 42 | {i : Fin (F.event t hT).cap_count} {A eta mu : ℝ} {I : Set ℝ} |
| 43 | {U : Set (F.slice t).carrier} |
| 44 | (e : SurgeryFlowCylinder F (F.slice t) t ((F.parameters.h t)⁻¹ ^ 2) I U) |
| 45 | (initial : SurgeryCapInitialComparison F t hT i A) |
| 46 | (comparison : SurgeryCapFamilyComparison F S A eta e initial.chart) |
| 47 | (hzero : (0 : ℝ) ∈ I) (hbase : ∀ y ∈ U, HEq (e.forward 0 hzero y) y) |
| 48 | {s : ℝ} (hs : s ∈ I) |
| 49 | (hbound : ∀ x ∈ F.standard_initial.metric.ball 0 A, ∀ v : StandardCapSpace, |
| 50 | mu * capComparisonCoefficients e initial.chart 0 hzero x v v ≤ |
| 51 | capComparisonCoefficients e initial.chart s hs x v v) |
| 52 | {y : (F.slice t).carrier} (hy : y ∈ U) (v : TangentSpace (𝓡 3) y) : |
| 53 | ((F.parameters.h t)⁻¹ ^ 2) * (mu * (F.metric t).inner y v v) ≤ |
| 54 | e.pullbackInner s hs y v v := by |
| 55 | have hU : IsOpen U := by |
| 56 | rw [← comparison.choose_spec.2.2.2.1] |
| 57 | exact (capInitialPartialDiffeomorph initial).open_target |
| 58 | have h := capComparison_birth_lower_on_physical_ball e initial comparison hzero hs |
| 59 | hbound hy v |
| 60 | rw [surgeryCylinder_pullbackInner_zero hU e hzero hbase hy v v] at h |
| 61 | convert h using 1 |
| 62 | ring |
| 63 | |
| 64 | /-- The exact image of the comparison chart transfers its pointwise |
| 65 | scalar lower bound to every point of the physical birth ball. |
| 66 | Source: Definition 16.12 and Proposition 16.13, pp. 376-378. -/ |
| 67 | theorem capCylinder_physicalScalar_lower |
| 68 | {F : SurgeryFlowData.{u}} {S : MaximalStandardCapFlow F.standard_initial} |
| 69 | {t : ℝ} {hT : t ∈ F.surgery_times} [Nonempty (F.slice t).carrier] |
| 70 | {i : Fin (F.event t hT).cap_count} {A eta bound : ℝ} {I : Set ℝ} |
| 71 | {U : Set (F.slice t).carrier} |
| 72 | (e : SurgeryFlowCylinder F (F.slice t) t ((F.parameters.h t)⁻¹ ^ 2) I U) |
| 73 | (initial : SurgeryCapInitialComparison F t hT i A) |
| 74 | (comparison : SurgeryCapFamilyComparison F S A eta e initial.chart) |
| 75 | {s : ℝ} (hs : s ∈ I) |
| 76 | (hbound : ∀ x ∈ F.standard_initial.metric.ball 0 A, |
| 77 | bound ≤ (F.connection (t + s / ((F.parameters.h t)⁻¹ ^ 2))).scalarCurvature |
| 78 | (e.forward s hs (initial.chart x))) |
| 79 | {y : (F.slice t).carrier} (hy : y ∈ U) : |
| 80 | bound ≤ (F.connection (t + s / ((F.parameters.h t)⁻¹ ^ 2))).scalarCurvature |
| 81 | (e.forward s hs y) := by |
| 82 | obtain ⟨x, hx, rfl⟩ := comparison.choose_spec.2.2.2.1.symm ▸ hy |
| 83 | exact hbound x hx |
| 84 | |
| 85 | /-- M33's literal cylinder forward-map equality gives equality of |
| 86 | the actual physical and realized scalar curvatures, at the same |
| 87 | normalized parameter. Source: Proposition 14.12, p. 350. -/ |
| 88 | theorem historyCylinder_scalar_pullback |
| 89 | {F : SurgeryFlowData.{u}} {W : M33RegularHistoryWindow F} |
| 90 | (H : M33RegularHistoryData W) (G : FlowBoxRicciGeometry H.generalized) |
| 91 | (hM13 : GeneralizedParabolicRescalingTheory.{u} 3) |
| 92 | {origin scale : ℝ} {I J : Set ℝ} {U : Set (F.slice origin).carrier} |
| 93 | (e : SurgeryFlowCylinder F (F.slice origin) origin scale I U) |
| 94 | (d : GeneralizedFlowCylinder H.generalized (F.slice origin) origin scale J U) |
| 95 | (hJI : J ⊆ I) |
| 96 | (htime : ∀ s ∈ J, origin + s / scale ∈ H.generalized.interval) |
| 97 | (hforward : ∀ s hs x, x ∈ U → |
| 98 | H.history.forward (origin + s / scale) (htime s hs) (d.forward s hs x) = |
| 99 | e.forward s (hJI hs) x) |
| 100 | {s : ℝ} (hs : s ∈ J) {x : (F.slice origin).carrier} (hx : x ∈ U) : |
| 101 | horizontalScalarCurvature G.toLGeometry.leafwise (d.pointMap s hs x) = |
| 102 | (F.connection (origin + s / scale)).scalarCurvature (e.forward s (hJI hs) x) := by |
| 103 | change horizontalScalarCurvature G.leafwise |
| 104 | (⟨origin + s / scale, d.forward s hs x⟩ : H.generalized.point) = _ |
| 105 | rw [M13.originalSlice_scalar G hM13, ← H.scalar_pullback _ (htime s hs), |
| 106 | hforward s hs x hx] |
| 107 | |
| 108 | end PoincareMT.Proofs.M46 |