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.Uniqueness.Imports |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.CapGeometry.SelectedFullNeckFamily |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Uniqueness.Blowup.Neck.Geometry.GeneralizedNeck |
| 4 | |
| 5 | /-! |
| 6 | # Actual full-domain evolving necks at the exact original epsilon |
| 7 | |
| 8 | Morgan-Tian Theorem 12.28, pp. 323-324. Both branches of the |
| 9 | strong canonical bootstrap must retain one epsilon. The selected |
| 10 | time-independent spatial coordinate supplies that exact neck, on |
| 11 | any already-proved limit comparison interval in a compact past slab. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | |
| 16 | open Set Filter |
| 17 | open scoped Manifold ContDiff Bundle Topology |
| 18 | |
| 19 | namespace PoincareMT.M35.OrdinaryRealization |
| 20 | |
| 21 | local notation "E3" => EuclideanSpace ℝ (Fin 3) |
| 22 | |
| 23 | /-- Theorem 12.28: an actual normalized limit neck returns an |
| 24 | actual standard evolving neck at the selected original points, with |
| 25 | the original epsilon and the entire stated normalized time interval. -/ |
| 26 | theorem blowupSequence_full_standard_evolving_neck |
| 27 | (P : M35StandardCapPredecessors) (atlas : StandardCylinderAtlas) |
| 28 | {g₀ : StandardInitialMetric} (E : RepairedStandardCapExistenceData g₀) |
| 29 | (t : ℕ → ℝ) (x : ℕ → StandardCapSpace) |
| 30 | (ht : ∀ k, t k ∈ Ico 0 E.flow.base.lifetime) |
| 31 | (hR : Tendsto (fun k => (E.flow.connection (t k)).scalarCurvature (x k)) atTop atTop) |
| 32 | (L : GeneralizedBlowupConvergence (blowupSequence P E t x ht hR) |
| 33 | (blowupBackwardInterval ⊤)) : |
| 34 | letI : TopologicalSpace L.limit.carrier.carrier := L.limit.carrier.topologicalSpace |
| 35 | letI : ChartedSpace E3 L.limit.carrier.carrier := L.limit.carrier.chartedSpace |
| 36 | letI : IsManifold (𝓡 3) ∞ L.limit.carrier.carrier := L.limit.carrier.isManifold |
| 37 | ∀ (g : RiemannianMetric 3 L.limit.sliceCarrier.carrier) (N : EpsilonNeck g) |
| 38 | (_hmetric : g = L.limit.flow.metric 0) (_he : N.epsilon ≤ 1 / 24) |
| 39 | (_hcenter : N.center = L.limit.base) (_hcompact : IsCompact (closure N.carrier)) |
| 40 | (j : ℕ) (_hstage : closure N.carrier ⊆ L.exhaustion.space j) |
| 41 | (I J : Set ℝ) (_hJ : IsCompact J) (_hJt : J ⊆ Iic 0) (_hIJ : I ⊆ J) |
| 42 | (_hclose : RoundCylinderFamilyClose N.epsilon I |
| 43 | (fun u => roundCylinderPullback (L.limit.flow.metric u) N.coordinate_map)), |
| 44 | ∀ᶠ k in atTop, Nonempty (StandardEvolvingNeck atlas E.flow (t (L.subsequence k)) |
| 45 | N.epsilon (x (L.subsequence k)) I) := by |
| 46 | let : TopologicalSpace L.limit.carrier.carrier := L.limit.carrier.topologicalSpace |
| 47 | let : ChartedSpace E3 L.limit.carrier.carrier := L.limit.carrier.chartedSpace |
| 48 | have : IsManifold (𝓡 3) ∞ L.limit.carrier.carrier := L.limit.carrier.isManifold |
| 49 | intro g N hmetric he hcenter hcompact j hstage I J hJ hJt hIJ hclose |
| 50 | subst g |
| 51 | have hfamily := blowupSequence_full_neck_family_close P E t x ht hR L N he hcompact j |
| 52 | hstage I J hJ hJt hIJ hclose |
| 53 | have htime := L.exhaustion.time_cofinal J hJ (by |
| 54 | intro u hu |
| 55 | simpa [blowupBackwardInterval] using hJt hu) |
| 56 | filter_upwards [eventually_ge_atTop j, hfamily, htime] with k hj hk htk |
| 57 | let Q := (blowupSequence P E t x ht hR).scale (L.subsequence k) |
| 58 | have hQ : Q = (E.flow.connection (t (L.subsequence k))).scalarCurvature |
| 59 | (x (L.subsequence k)) := blowupSequence_scale P E t x ht hR (L.subsequence k) |
| 60 | have hzero : (0 : ℝ) ∈ Icc (-L.exhaustion.time k) 0 := |
| 61 | ⟨neg_nonpos.mpr (L.exhaustion.time_pos k).le, le_rfl⟩ |
| 62 | have htime₀ : t (L.subsequence k) + 0 / Q ∈ Ico 0 E.flow.base.lifetime := |
| 63 | ((L.embedding k).forward 0 hzero L.limit.base).property |
| 64 | let f := cylinderSpatialCoordinates E.flow.base.flow (L.embedding k) |
| 65 | (L.exhaustion.space_open k) 0 hzero htime₀ |
| 66 | have hsub : N.carrier ⊆ f.source := fun _ hy => |
| 67 | L.exhaustion.space_increasing hj (hstage (subset_closure hy)) |
| 68 | have hbase : f L.limit.base = x (L.subsequence k) := by |
| 69 | have hb := L.base_preserving k hzero |
| 70 | exact congrArg (fun p : (generalizedFlow E.flow.base.flow).point => p.2.val) hb |
| 71 | let patch₀ := N.transportedStandardPatch f hsub |
| 72 | let patch : StandardCylinderPatch N.epsilon⁻¹ (x (L.subsequence k)) := |
| 73 | { patch₀ with |
| 74 | center_sphere := by |
| 75 | obtain ⟨q, hq⟩ := patch₀.center_sphere |
| 76 | exact ⟨q, hq.trans ((congrArg f hcenter).trans hbase)⟩ } |
| 77 | refine ⟨{ |
| 78 | time_mem := ht (L.subsequence k) |
| 79 | epsilon_pos := N.epsilon_pos |
| 80 | epsilon_lt_half := N.epsilon_lt_half |
| 81 | scalar_pos := E.scalar_pos (ht (L.subsequence k)) (x (L.subsequence k)) |
| 82 | patch := patch |
| 83 | interval_survival := ?_ |
| 84 | close := ?_ |
| 85 | }⟩ |
| 86 | · intro u hu |
| 87 | have h := ((L.embedding k).forward u (htk (hIJ hu)) L.limit.base).property |
| 88 | change t (L.subsequence k) + u / Q ∈ Ico 0 E.flow.base.lifetime at h |
| 89 | rwa [hQ] at h |
| 90 | · change RoundCylinderFamilyClose N.epsilon I |
| 91 | (fun u z v w => Q * roundCylinderPullback |
| 92 | (E.flow.metric (t (L.subsequence k) + u / Q)) patch.coordinate z v w) at hk |
| 93 | change RoundCylinderFamilyClose N.epsilon I |
| 94 | (fun u z v w => (E.flow.connection (t (L.subsequence k))).scalarCurvature |
| 95 | (x (L.subsequence k)) * roundCylinderPullback |
| 96 | (E.flow.metric (t (L.subsequence k) + u / |
| 97 | (E.flow.connection (t (L.subsequence k))).scalarCurvature (x (L.subsequence k)))) |
| 98 | patch.coordinate z v w) |
| 99 | rwa [hQ] at hk |
| 100 | |
| 101 | end PoincareMT.M35.OrdinaryRealization |