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.Canonical.LimitCanonicalPhysicalChart |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.CanonicalInduction.Limit.Noncollapse.LimitNoncollapsePhysicalTime |
| 3 | |
| 4 | /-! |
| 5 | # The original physical charts at a fixed included limit time |
| 6 | |
| 7 | Zero totalizes only the unavailable prefix. Cofinality keeps the fixed |
| 8 | time on one original tail, with no change to the selected subsequence. |
| 9 | MT Proposition 17.1; limit-finite-slice-readout.md, B. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | |
| 14 | open Set Filter |
| 15 | open scoped Manifold ContDiff Topology |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace PoincareMT.M47 |
| 20 | |
| 21 | variable {V : GeneralizedBlowupSequence.{u}} {J : Set ℝ} |
| 22 | (G : GeneralizedBlowupConvergence V J) |
| 23 | |
| 24 | private local instance sliceChartTopology : TopologicalSpace G.limit.carrier.carrier := |
| 25 | G.limit.carrier.topologicalSpace |
| 26 | private local instance sliceChartCharts : |
| 27 | ChartedSpace (EuclideanSpace ℝ (Fin 3)) G.limit.carrier.carrier := |
| 28 | G.limit.carrier.chartedSpace |
| 29 | private local instance sliceChartManifold : IsManifold (𝓡 3) ∞ G.limit.carrier.carrier := |
| 30 | G.limit.carrier.isManifold |
| 31 | |
| 32 | /-- The fixed normalized time on every available source cylinder. -/ |
| 33 | noncomputable def limitFiniteSliceTime (t : ℝ) (k : ℕ) : ℝ := |
| 34 | if t ∈ Icc (-G.exhaustion.time k) 0 then t else 0 |
| 35 | |
| 36 | /-- The totalized time is included for every original source index. -/ |
| 37 | theorem limitFinite_slice_time_mem (t : ℝ) (k : ℕ) : |
| 38 | limitFiniteSliceTime G t k ∈ Icc (-G.exhaustion.time k) 0 := by |
| 39 | classical |
| 40 | unfold limitFiniteSliceTime |
| 41 | split_ifs with ht |
| 42 | · exact ht |
| 43 | · exact ⟨neg_nonpos.mpr (G.exhaustion.time_pos k).le, le_rfl⟩ |
| 44 | |
| 45 | /-- The totalization agrees with the requested time on one original tail. -/ |
| 46 | theorem limitFinite_slice_time_eventually_eq (t : ℝ) (ht : t ∈ J) : |
| 47 | ∀ᶠ k : ℕ in atTop, limitFiniteSliceTime G t k = t := by |
| 48 | filter_upwards [G.exhaustion.time_cofinal {t} isCompact_singleton |
| 49 | (singleton_subset_iff.mpr ht)] with k hk |
| 50 | exact if_pos (hk (mem_singleton t)) |
| 51 | |
| 52 | /-- The actual physical clock of the unchanged selected cylinder. -/ |
| 53 | noncomputable def limitFinitePhysicalSliceTime (t : ℝ) (k : ℕ) : ℝ := |
| 54 | (V.base (G.subsequence k)).1 + limitFiniteSliceTime G t k / V.scale (G.subsequence k) |
| 55 | |
| 56 | /-- An actual cylinder point supplies membership of the physical clock. -/ |
| 57 | theorem limitFinite_physical_slice_time_mem (t : ℝ) (k : ℕ) : |
| 58 | limitFinitePhysicalSliceTime G t k ∈ (V.flow (G.subsequence k)).interval := |
| 59 | limitNoncollapse_physical_time_mem G k (limitFiniteSliceTime G t k) |
| 60 | (limitFinite_slice_time_mem G t k) |
| 61 | |
| 62 | /-- The physical chart is the same cylinder map followed by the same |
| 63 | regular-history realization at its literal included clock. -/ |
| 64 | noncomputable def limitFinitePhysicalSliceChart |
| 65 | (F : ℕ → SurgeryFlowData.{u}) |
| 66 | (R : ∀ i, M33RegularHistoryRealization (V.flow i) (F i)) (t : ℝ) (k : ℕ) : |
| 67 | PartialDiffeomorph (𝓡 3) (𝓡 3) G.limit.sliceCarrier.carrier |
| 68 | ((F (G.subsequence k)).slice (limitFinitePhysicalSliceTime G t k)).carrier ∞ := |
| 69 | limitCanonicalPhysicalChart (G.embedding k) (G.exhaustion.space_open k) |
| 70 | (R (G.subsequence k)) (limitFiniteSliceTime G t k) |
| 71 | (limitFinite_slice_time_mem G t k) (limitFinite_physical_slice_time_mem G t k) |
| 72 | |
| 73 | /-- Physical composition preserves the entire original exhaustion stage. -/ |
| 74 | theorem limitFinite_physical_slice_chart_source |
| 75 | (F : ℕ → SurgeryFlowData.{u}) |
| 76 | (R : ∀ i, M33RegularHistoryRealization (V.flow i) (F i)) (t : ℝ) (k : ℕ) : |
| 77 | (limitFinitePhysicalSliceChart G F R t k).source = G.exhaustion.space k := |
| 78 | limitCanonicalPhysicalChart_source (G.embedding k) (G.exhaustion.space_open k) |
| 79 | (R (G.subsequence k)) (limitFiniteSliceTime G t k) |
| 80 | (limitFinite_slice_time_mem G t k) (limitFinite_physical_slice_time_mem G t k) |
| 81 | |
| 82 | end PoincareMT.M47 |