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.Blowup.Construction.LongTime.GeneralizedLimit.GeneralizedCompactImages |
| 2 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.LongTime.Assembly.LongSlabService |
| 3 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.LongTime.CofinalExtraction.HorizonTimeSequence |
| 4 | import PoincareLib.Geometry.RicciFlow.Blowup.Construction.LongTime.BackwardLimit.BackwardInterval |
| 5 | |
| 6 | /-! |
| 7 | # Noncollapse at the actual retained source points |
| 8 | |
| 9 | The finite slab certificate and the retained convergence maps follow the |
| 10 | same worldline when their terminal points agree. Compact terminal image |
| 11 | bounds put those points in one supplied source ball. Source: Morgan--Tian |
| 12 | Definitions 3.38--3.41 and Theorem 11.8, pp. 61--62 and 272; M30 derivation |
| 13 | `generalized-point-noncollapse.md`. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | |
| 18 | open Set Filter |
| 19 | open scoped Manifold ContDiff Topology ENNReal |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | namespace PoincareMT.M30 |
| 24 | |
| 25 | attribute [local instance] FlowCarrier.topologicalSpace FlowCarrier.chartedSpace |
| 26 | FlowCarrier.isManifold |
| 27 | |
| 28 | /-- The supplied finite slabs certify noncollapse at every retained point |
| 29 | on a tail, with the original kappa and physical radius (Theorem 11.8, |
| 30 | p. 272; worldline uniqueness in Definitions 3.38--3.41, pp. 61--62). -/ |
| 31 | theorem eventually_generalized_point_noncollapsed_of_longSlabService |
| 32 | {S : GeneralizedBlowupSequence.{u}} {T0 : ℝ≥0∞} {kappa r0 : ℝ} |
| 33 | (G : GeneralizedBlowupConvergence S (blowupBackwardInterval T0)) |
| 34 | (H : M30LongSlabControlService S kappa r0 T0) |
| 35 | {t : ℝ} (ht : t ∈ blowupBackwardInterval T0) |
| 36 | (p : G.limit.carrier.carrier) : |
| 37 | ∀ᶠ k in atTop, ∀ htk : t ∈ Icc (-G.exhaustion.time k) 0, |
| 38 | GeneralizedKappaNoncollapsedAt (S.flow (G.subsequence k)) |
| 39 | ((G.embedding k).pointMap t htk p) kappa r0 := by |
| 40 | have hT0 : 0 < T0 := zero_mem_blowupBackwardInterval.mp G.limit.zero_mem |
| 41 | obtain ⟨T, _hmono, hT, _hcofinal, hcover⟩ := |
| 42 | exists_strictMono_backward_time_exhaustion hT0 |
| 43 | obtain ⟨j, hj⟩ := (hcover {t} isCompact_singleton (singleton_subset_iff.mpr ht)).exists |
| 44 | have htT : t ∈ Icc (-T j) 0 := hj (mem_singleton t) |
| 45 | obtain ⟨R, hR, hRtail⟩ := |
| 46 | exists_eventually_generalized_terminal_image_baseBall G (K := {p}) isCompact_singleton |
| 47 | obtain ⟨i, hi⟩ := exists_generalized_exhaustion_stage G (K := {p}) isCompact_singleton |
| 48 | obtain ⟨B, _hB, hfamily⟩ := H.noncollapsedBounds (T j) (hT j).1 (hT j).2 |
| 49 | have hfamily' := G.subsequence_strictMono.tendsto_atTop.eventually |
| 50 | (hfamily R hR 1 zero_lt_one) |
| 51 | filter_upwards [hRtail, eventually_ge_atTop i, hfamily'] with k hk hik hEk htk |
| 52 | obtain ⟨y, hy, hzero⟩ := hk p (mem_singleton p) |
| 53 | obtain ⟨_Tplus, _hTplus, _hTT, _hTT0, ⟨E⟩⟩ := hEk |
| 54 | have hp : p ∈ G.exhaustion.space k := |
| 55 | G.exhaustion.space_increasing hik (hi (mem_singleton p)) |
| 56 | have h0 : (0 : ℝ) ∈ Icc (-G.exhaustion.time k) 0 := |
| 57 | ⟨neg_nonpos.mpr (G.exhaustion.time_pos k).le, le_rfl⟩ |
| 58 | have h0T : (0 : ℝ) ∈ Icc (-T j) 0 := |
| 59 | ⟨neg_nonpos.mpr (hT j).1.le, le_rfl⟩ |
| 60 | have hmeet : (G.embedding k).pointMap 0 h0 p = E.embedding.pointMap 0 h0T y := |
| 61 | (hzero h0).trans (E.zero_identity h0T y hy).symm |
| 62 | have hpoint := Cylinder.pointMap_eq_on_overlap (G.embedding k) E.embedding |
| 63 | ordConnected_Icc ordConnected_Icc hp hy h0 h0T hmeet t htk htT |
| 64 | rw [hpoint] |
| 65 | exact E.noncollapsed t htT y hy |
| 66 | |
| 67 | end PoincareMT.M30 |