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.CanonicalInduction.Limit.Noncollapse.LimitNoncollapseSource |
| 2 | |
| 3 | /-! |
| 4 | # Based generalized cylinders from the actual convergence chart |
| 5 | |
| 6 | The original slice inverse supplies the spatial labels and the affine |
| 7 | clock supplies the physical time. Every cylinder field is constructed. |
| 8 | Source: Morgan--Tian, Proposition 17.1, pp. 407-408; reviewed |
| 9 | `derivations/limit-noncollapse-transfer.md`, section 6. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | open Set |
| 15 | open scoped Manifold ContDiff Topology |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace PoincareMT.M47 |
| 20 | |
| 21 | variable {F : GeneralizedRicciFlowData.{u}} {C : GeneralizedSliceCarrier.{u}} |
| 22 | {origin scale : ℝ} {I : Set ℝ} {U : Set C.carrier} |
| 23 | (e : GeneralizedFlowCylinder F C origin scale I U) (hU : IsOpen U) |
| 24 | (a : ℝ) (ha : a ∈ I) {J : Set ℝ} |
| 25 | (hrange : MapsTo (fun s => a + scale * s) J I) |
| 26 | (V : Set (F.slice (origin + a / scale)).carrier) |
| 27 | (hV : V ⊆ e.forward a ha '' U) |
| 28 | |
| 29 | /-- The actual physical cylinder on a contained image region, based at its |
| 30 | chosen top time; reviewed section 6. Image containment is local adapter |
| 31 | data, to be produced by the separate ambient-ball coverage argument. -/ |
| 32 | noncomputable def limitNoncollapseCylinderRecenter : |
| 33 | GeneralizedFlowCylinder F (F.slice (origin + a / scale)) |
| 34 | (origin + a / scale) 1 J V := |
| 35 | let chart := limitRP2CylinderSliceChart e hU a ha |
| 36 | limitNoncollapseCylinderSource (limitNoncollapseCylinderReclock e a hrange) |
| 37 | chart.symm V hV (fun _ hx => chart.symm.map_source (hV hx)) |
| 38 | |
| 39 | /-- The rebased point follows the same original vertical worldline through |
| 40 | the actual inverse at the top time, with exact physical clock, section 6. -/ |
| 41 | theorem limitNoncollapseCylinderRecenter_pointMap (s : ℝ) (hs : s ∈ J) |
| 42 | (x : (F.slice (origin + a / scale)).carrier) : |
| 43 | (limitNoncollapseCylinderRecenter e hU a ha hrange V hV).pointMap s hs x = |
| 44 | e.pointMap (a + scale * s) (hrange hs) (e.inverse a ha x) := by |
| 45 | exact limitNoncollapseCylinderReclock_pointMap e a hrange s hs (e.inverse a ha x) |
| 46 | |
| 47 | /-- The based identity is an equality of actual sigma points, obtained from |
| 48 | the original right inverse; it is not a matching-map premise, section 6. -/ |
| 49 | theorem limitNoncollapseCylinderRecenter_zero (h0 : 0 ∈ J) |
| 50 | (x : (F.slice (origin + a / scale)).carrier) (hx : x ∈ V) : |
| 51 | (limitNoncollapseCylinderRecenter e hU a ha hrange V hV).pointMap 0 h0 x = |
| 52 | (⟨origin + a / scale, x⟩ : F.point) := by |
| 53 | have hpoint (b : ℝ) (hb : b ∈ I) (hba : b = a) : |
| 54 | e.pointMap b hb (e.inverse a ha x) = (⟨origin + a / scale, x⟩ : F.point) := by |
| 55 | subst b |
| 56 | exact congrArg (fun y => (⟨origin + a / scale, y⟩ : F.point)) |
| 57 | (e.right_inverse a ha (hV hx)) |
| 58 | exact (limitNoncollapseCylinderRecenter_pointMap e hU a ha hrange V hV 0 h0 x).trans |
| 59 | (hpoint _ _ (by ring)) |
| 60 | |
| 61 | /-- The rebased metric is the original normalized pullback, composed with |
| 62 | the actual top-slice inverse in both differential slots, section 6. -/ |
| 63 | theorem limitNoncollapseCylinderRecenter_pullbackInner (s : ℝ) (hs : s ∈ J) |
| 64 | (x : (F.slice (origin + a / scale)).carrier) (hx : x ∈ V) |
| 65 | (v w : TangentSpace (𝓡 3) x) : |
| 66 | (limitNoncollapseCylinderRecenter e hU a ha hrange V hV).pullbackInner s hs x v w = |
| 67 | e.pullbackInner (a + scale * s) (hrange hs) (e.inverse a ha x) |
| 68 | (mfderiv (𝓡 3) (𝓡 3) (e.inverse a ha) x v) |
| 69 | (mfderiv (𝓡 3) (𝓡 3) (e.inverse a ha) x w) / scale := by |
| 70 | let chart := limitRP2CylinderSliceChart e hU a ha |
| 71 | have hsource := limitNoncollapseCylinderSource_pullbackInner |
| 72 | (limitNoncollapseCylinderReclock e a hrange) chart.symm V hV |
| 73 | (fun _ hy => chart.symm.map_source (hV hy)) hU s hs x hx v w |
| 74 | exact hsource.trans (limitNoncollapseCylinderReclock_pullbackInner e a hrange s hs |
| 75 | (e.inverse a ha x) _ _) |
| 76 | |
| 77 | /-- Curvature is read from the same actual connection at the same sigma |
| 78 | point; rebasing itself makes no further curvature scaling, section 6. -/ |
| 79 | theorem limitNoncollapseCylinderRecenter_curvatureNorm (s : ℝ) (hs : s ∈ J) |
| 80 | (x : (F.slice (origin + a / scale)).carrier) : |
| 81 | F.curvatureNorm |
| 82 | ((limitNoncollapseCylinderRecenter e hU a ha hrange V hV).pointMap s hs x) = |
| 83 | F.curvatureNorm (e.pointMap (a + scale * s) (hrange hs) (e.inverse a ha x)) := by |
| 84 | rw [limitNoncollapseCylinderRecenter_pointMap] |
| 85 | |
| 86 | include e in |
| 87 | /-- Actual cylinder points certify membership in the physical flow interval; |
| 88 | no separate survival hypothesis is needed, reviewed section 6. -/ |
| 89 | theorem limitNoncollapseCylinder_time_mem (s : ℝ) (hs : s ∈ I) (x : C.carrier) : |
| 90 | origin + s / scale ∈ F.interval := |
| 91 | (F.slice_nonempty_iff _).mp ⟨e.forward s hs x⟩ |
| 92 | |
| 93 | end PoincareMT.M47 |