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.Existence.Construction.Coordinates.InteriorCoefficientLimit |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Existence.Geometry.Coordinates.SpatialJetConvergence |
| 3 | |
| 4 | /-! |
| 5 | # Value and spatial-jet convergence of the interior limit |
| 6 | |
| 7 | The actual approximants eventually have smooth coefficients around |
| 8 | every compact subset of the original interior spacetime. Reading their |
| 9 | joint jets in spatial directions gives all the convergence needed at |
| 10 | the initial endpoint of Morgan-Tian Theorem 12.5, p. 297. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option maxSynthPendingDepth 8 |
| 16 | |
| 17 | open Set Filter |
| 18 | open scoped Manifold ContDiff Topology |
| 19 | |
| 20 | namespace PoincareMT.M34.InteriorCoefficientLimit |
| 21 | |
| 22 | open SpacetimeBounds |
| 23 | |
| 24 | variable {g0 : StandardInitialMetric} {A : CompactCapApproximation g0} |
| 25 | (G : InteriorCoefficientLimit A) |
| 26 | |
| 27 | /-- The fixed-coordinate coefficients converge uniformly on every |
| 28 | interior compact set (Theorem 12.5, p. 297). -/ |
| 29 | theorem coefficients_tendstoUniformlyOn {K : Set (ℝ × StandardCapSpace)} |
| 30 | (hK : IsCompact K) (hKU : K ⊆ Ioo 0 A.time ×ˢ univ) : |
| 31 | TendstoUniformlyOn |
| 32 | (fun k p => A.coefficients (G.subsequence k) p.1 p.2) G.coefficients atTop K := by |
| 33 | have hev := ContinuousMultilinearMap.uniformContinuous_eval_const |
| 34 | (𝕜 := ℝ) (F := MetricCoefficient 3) (0 : Fin 0 → ℝ × StandardCapSpace) |
| 35 | simpa only [Function.comp_def, iteratedFDeriv_zero_apply] using |
| 36 | hev.comp_tendstoUniformlyOn (G.jet_convergence 0 K hK hKU) |
| 37 | |
| 38 | /-- In particular the actual bilinear forms converge at each interior |
| 39 | spacetime point (Theorem 12.5, p. 297). -/ |
| 40 | theorem coefficients_tendsto {t : ℝ} (ht : t ∈ Ioo 0 A.time) (x : StandardCapSpace) : |
| 41 | Tendsto (fun k => A.coefficients (G.subsequence k) t x) atTop |
| 42 | (𝓝 (G.coefficients (t, x))) := by |
| 43 | have h := G.coefficients_tendstoUniformlyOn (K := {(t, x)}) isCompact_singleton |
| 44 | (singleton_subset_iff.mpr ⟨ht, mem_univ x⟩) |
| 45 | exact h.tendsto_at (x := (t, x)) (mem_singleton (t, x)) |
| 46 | |
| 47 | /-- Spatial jets converge uniformly on compact subsets of the original |
| 48 | interior spacetime (Theorem 12.5, p. 297). -/ |
| 49 | theorem spatialJet_tendstoUniformlyOn (m : ℕ) {K : Set (ℝ × StandardCapSpace)} |
| 50 | (hK : IsCompact K) (hKU : K ⊆ Ioo 0 A.time ×ˢ univ) : |
| 51 | TendstoUniformlyOn |
| 52 | (fun k p => iteratedFDeriv ℝ m (A.coefficients (G.subsequence k) p.1) p.2) |
| 53 | (fun p => iteratedFDeriv ℝ m (fun x => G.coefficients (p.1, x)) p.2) atTop K := by |
| 54 | apply tendstoUniformlyOn_spatialJets_of_jointJets m |
| 55 | (f := fun k p => A.coefficients (G.subsequence k) p.1 p.2) (g := G.coefficients) |
| 56 | · have hsource := G.strictMono.tendsto_atTop.eventually |
| 57 | (eventually_compact_subset_double_source g0 (hK.image continuous_snd)) |
| 58 | filter_upwards [hsource] with k hk p hp |
| 59 | exact (A.contDiffOn_interior_coefficients (G.subsequence k)).contDiffAt |
| 60 | ((isOpen_Ioo.prod (compactCapSource_isOpen g0 (G.subsequence k))).mem_nhds |
| 61 | ⟨(hKU hp).1, hk (mem_image_of_mem Prod.snd hp)⟩) |
| 62 | · intro p hp |
| 63 | exact G.smooth.contDiffAt ((isOpen_Ioo.prod isOpen_univ).mem_nhds (hKU hp)) |
| 64 | · exact G.jet_convergence m K hK hKU |
| 65 | |
| 66 | /-- Every spatial derivative map converges at each positive interior time |
| 67 | (Theorem 12.5, p. 297). -/ |
| 68 | theorem spatialJet_tendsto (m : ℕ) {t : ℝ} (ht : t ∈ Ioo 0 A.time) |
| 69 | (x : StandardCapSpace) : |
| 70 | Tendsto (fun k => iteratedFDeriv ℝ m (A.coefficients (G.subsequence k) t) x) |
| 71 | atTop (𝓝 (iteratedFDeriv ℝ m (fun y => G.coefficients (t, y)) x)) := by |
| 72 | have h := G.spatialJet_tendstoUniformlyOn m (K := {(t, x)}) isCompact_singleton |
| 73 | (singleton_subset_iff.mpr ⟨ht, mem_univ x⟩) |
| 74 | exact h.tendsto_at (x := (t, x)) (mem_singleton (t, x)) |
| 75 | |
| 76 | /-- The interior limit retains the compact-uniform linear initial modulus |
| 77 | for every spatial derivative (Theorem 12.5, p. 297). -/ |
| 78 | theorem exists_compact_initial_modulus (P : RicciFlowCurvatureTheory.{0}) |
| 79 | {K : Set StandardCapSpace} (hK : IsCompact K) (m : ℕ) : |
| 80 | ∃ C : ℝ, 0 ≤ C ∧ ∀ t ∈ Ioo 0 A.time, ∀ x ∈ K, |
| 81 | ‖iteratedFDeriv ℝ m (fun y => G.coefficients (t, y)) x - |
| 82 | iteratedFDeriv ℝ m g0.metric.euclideanCoefficients x‖ ≤ C * t := by |
| 83 | obtain ⟨C, hC, hbound⟩ := A.exists_compact_spatialJet_initial_modulus P hK m |
| 84 | refine ⟨C, hC, ?_⟩ |
| 85 | intro t ht x hx |
| 86 | apply le_of_tendsto ((G.spatialJet_tendsto m ht x).sub tendsto_const_nhds).norm |
| 87 | filter_upwards [G.strictMono.tendsto_atTop.eventually |
| 88 | (eventually_compact_subset_double_source g0 hK)] with k hk |
| 89 | exact hbound (G.subsequence k) t (Ioo_subset_Icc_self ht) x hx (hk hx) |
| 90 | |
| 91 | end PoincareMT.M34.InteriorCoefficientLimit |