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.Persistence.Analysis.Compactness.UniformCompactComposition |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Persistence.Analysis.Jets.UniformCompactDerivative |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Persistence.Analysis.Compactness.CompactSmoothConvergence |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.StandardCap.Persistence.Comparison.Initial.InitialJetConvergence |
| 5 | import PoincareLib.Geometry.Riemannian.Coordinates.Geodesic |
| 6 | |
| 7 | /-! |
| 8 | # Convergence of the actual coordinate geodesic fields |
| 9 | |
| 10 | The coordinate geodesic equation is a smooth function of the metric, |
| 11 | its first derivative and velocity where the metric is invertible. |
| 12 | Compact composition therefore transfers the proved initial coefficient |
| 13 | convergence to phase space. Morgan--Tian, Claim 16.6 and Corollary 16.7, |
| 14 | pp. 371-372; see `derivations/16-geodesic-field-convergence.md`. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | open Set Filter |
| 21 | open scoped ContDiff Topology Manifold |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | namespace PoincareMT.M44 |
| 26 | |
| 27 | section GeodesicOperator |
| 28 | |
| 29 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 30 | [FiniteDimensional ℝ E] |
| 31 | |
| 32 | local notation "Bilin" => E →L[ℝ] E →L[ℝ] ℝ |
| 33 | local notation "Trilin" => E →L[ℝ] E →L[ℝ] E →L[ℝ] ℝ |
| 34 | local notation "Jet" => Bilin × Trilin × E |
| 35 | |
| 36 | noncomputable local instance : NormedAddCommGroup Bilin := |
| 37 | ContinuousLinearMap.toNormedAddCommGroup |
| 38 | |
| 39 | noncomputable local instance : NormedSpace ℝ Bilin := |
| 40 | ContinuousLinearMap.toNormedSpace |
| 41 | |
| 42 | noncomputable local instance : NormedAddCommGroup Trilin := |
| 43 | ContinuousLinearMap.toNormedAddCommGroup |
| 44 | |
| 45 | noncomputable local instance : NormedSpace ℝ Trilin := |
| 46 | ContinuousLinearMap.toNormedSpace |
| 47 | |
| 48 | private noncomputable def geodesicFieldJet (J : Jet) : E × E := |
| 49 | (J.2.2, -J.1.inverse (metricKoszulCovector J.2.1 J.2.2 J.2.2)) |
| 50 | |
| 51 | private theorem contDiffAt_geodesicFieldJet {J : Jet} (hJ : J.1.IsInvertible) : |
| 52 | ContDiffAt ℝ ∞ (geodesicFieldJet (E := E)) J := by |
| 53 | have hI : ContDiffAt ℝ ∞ (fun K : Jet => K.1.inverse) J := |
| 54 | hJ.contDiffAt_map_inverse.comp J contDiffAt_fst |
| 55 | have hflip : ContDiff ℝ ∞ (fun L : Bilin => L.flip) := |
| 56 | (ContinuousLinearMap.flipₗᵢ ℝ E E ℝ).contDiff |
| 57 | have hflip' : ContDiff ℝ ∞ (fun L : Trilin => L.flip) := |
| 58 | (ContinuousLinearMap.flipₗᵢ ℝ E E (E →L[ℝ] ℝ)).contDiff |
| 59 | have hK : ContDiffAt ℝ ∞ |
| 60 | (fun K : Jet => metricKoszulCovector K.2.1 K.2.2 K.2.2) J := by |
| 61 | unfold metricKoszulCovector |
| 62 | fun_prop |
| 63 | exact (contDiffAt_snd.comp J contDiffAt_snd).prodMk (hI.clm_apply hK).neg |
| 64 | |
| 65 | /-- Smooth compact coefficient convergence gives every finite-jet |
| 66 | limit of the actual geodesic fields. Only the limiting metric must be |
| 67 | invertible everywhere. Source: Claim 16.6, pp. 371-372. -/ |
| 68 | theorem compactSmoothConvergenceOn_geodesicField |
| 69 | {ι : Type*} {l : Filter ι} {Bseq : ι → E → Bilin} {B : E → Bilin} |
| 70 | (h : CompactSmoothConvergenceOn Bseq B l univ) (hinv : ∀ x, (B x).IsInvertible) : |
| 71 | CompactSmoothConvergenceOn (fun i => coordinateGeodesicField (Bseq i)) |
| 72 | (coordinateGeodesicField B) l univ := by |
| 73 | have h0 : CompactSmoothConvergenceOn (fun i (z : E × E) => Bseq i z.1) |
| 74 | (fun z => B z.1) l univ := by |
| 75 | simpa only [preimage_univ, Function.comp_def, ContinuousLinearMap.coe_fst'] using |
| 76 | h.comp_continuousLinearMap (ContinuousLinearMap.fst ℝ E E) |
| 77 | have h1 : CompactSmoothConvergenceOn (fun i (z : E × E) => fderiv ℝ (Bseq i) z.1) |
| 78 | (fun z => fderiv ℝ B z.1) l univ := by |
| 79 | simpa only [preimage_univ, Function.comp_def, ContinuousLinearMap.coe_fst'] using |
| 80 | h.fderiv.comp_continuousLinearMap (ContinuousLinearMap.fst ℝ E E) |
| 81 | have hv : CompactSmoothConvergenceOn (fun _ : ι => (Prod.snd : E × E → E)) |
| 82 | Prod.snd l univ := |
| 83 | CompactSmoothConvergenceOn.constant isOpen_univ contDiff_snd.contDiffOn |
| 84 | let U : Set Jet := {J | J.1.IsInvertible} |
| 85 | have hU : IsOpen U := ContinuousLinearEquiv.isOpen.preimage continuous_fst |
| 86 | have houter : ContDiffOn ℝ ∞ (geodesicFieldJet (E := E)) U := |
| 87 | fun J hJ => (contDiffAt_geodesicFieldJet hJ).contDiffWithinAt |
| 88 | exact (h0.prodMk (h1.prodMk hv)).comp_smooth hU houter (fun z _ => hinv z.1) |
| 89 | |
| 90 | /-- Compact-uniform convergence of metric coefficients and their first |
| 91 | derivatives gives compact-uniform convergence of the coordinate geodesic |
| 92 | fields. Nonsingularity is required only for the limiting metric. -/ |
| 93 | theorem tendstoUniformlyOn_geodesicField_of_coefficients |
| 94 | {ι : Type*} {l : Filter ι} {Bseq : ι → E → Bilin} {B : E → Bilin} |
| 95 | (hB : ContDiff ℝ ∞ B) (hinv : ∀ x, (B x).IsInvertible) |
| 96 | {K V : Set E} (hK : IsCompact K) (hV : IsCompact V) |
| 97 | (hzero : TendstoUniformlyOn Bseq B l K) |
| 98 | (hone : TendstoUniformlyOn (fun i => fderiv ℝ (Bseq i)) (fderiv ℝ B) l K) : |
| 99 | TendstoUniformlyOn (fun i => coordinateGeodesicField (Bseq i)) |
| 100 | (coordinateGeodesicField B) l (K ×ˢ V) := by |
| 101 | let U : Set Jet := {J | J.1.IsInvertible} |
| 102 | have hU : IsOpen U := ContinuousLinearEquiv.isOpen.preimage continuous_fst |
| 103 | have hoperator : ContinuousOn (geodesicFieldJet (E := E)) U := |
| 104 | fun J hJ => (contDiffAt_geodesicFieldJet hJ).continuousAt.continuousWithinAt |
| 105 | let F (i : ι) (z : E × E) : Jet := (Bseq i z.1, fderiv ℝ (Bseq i) z.1, z.2) |
| 106 | let G (z : E × E) : Jet := (B z.1, fderiv ℝ B z.1, z.2) |
| 107 | have hG : Continuous G := |
| 108 | (hB.continuous.comp continuous_fst).prodMk |
| 109 | (((hB.fderiv_right (m := ∞) (by simp)).continuous.comp continuous_fst).prodMk continuous_snd) |
| 110 | have hF0 : TendstoUniformlyOn (fun i (z : E × E) => Bseq i z.1) |
| 111 | (fun z => B z.1) l (K ×ˢ V) := |
| 112 | (hzero.comp Prod.fst).mono (fun _ hz => hz.1) |
| 113 | have hF1 : TendstoUniformlyOn (fun i (z : E × E) => fderiv ℝ (Bseq i) z.1) |
| 114 | (fun z => fderiv ℝ B z.1) l (K ×ˢ V) := |
| 115 | (hone.comp Prod.fst).mono (fun _ hz => hz.1) |
| 116 | have hvel : TendstoUniformlyOn (fun _ : ι => (Prod.snd : E × E → E)) Prod.snd l (K ×ˢ V) := |
| 117 | Metric.tendstoUniformlyOn_iff.mpr fun epsilon hepsilon => |
| 118 | Eventually.of_forall fun _ _ _ => by simpa only [dist_self] using hepsilon |
| 119 | have hfirst : TendstoUniformlyOn |
| 120 | (fun i (z : E × E) => (fderiv ℝ (Bseq i) z.1, z.2)) |
| 121 | (fun z => (fderiv ℝ B z.1, z.2)) l (K ×ˢ V) := by |
| 122 | intro u hu |
| 123 | exact (tendsto_id.prodMk tendsto_id).eventually ((hF1.prodMk hvel) u hu) |
| 124 | have hFG : TendstoUniformlyOn F G l (K ×ˢ V) := by |
| 125 | intro u hu |
| 126 | exact (tendsto_id.prodMk tendsto_id).eventually ((hF0.prodMk hfirst) u hu) |
| 127 | exact hoperator.comp_tendstoUniformlyOn_of_compact_image hU |
| 128 | ((hK.prod hV).image hG) (fun z _ => hinv z.1) hFG |
| 129 | |
| 130 | set_option maxHeartbeats 800000 in |
| 131 | -- Nested coefficient jet spaces exceed the default budget in the differentiated chain rule. |
| 132 | /-- The differentiated geodesic field converges on compact phase |
| 133 | regions under C2 coefficient convergence. This supplies the actual |
| 134 | first variational operator in Claim 16.6, pp. 371-372. -/ |
| 135 | theorem tendstoUniformlyOn_fderiv_geodesicField_of_coefficients |
| 136 | {ι : Type*} {l : Filter ι} {Bseq : ι → E → Bilin} {B : E → Bilin} |
| 137 | (hB : ContDiff ℝ ∞ B) (hinv : ∀ x, (B x).IsInvertible) |
| 138 | {K V : Set E} (hK : IsCompact K) (hV : IsCompact V) |
| 139 | (hBseq : ∀ᶠ i in l, ∀ x ∈ K, ContDiffAt ℝ ∞ (Bseq i) x) |
| 140 | (hzero : TendstoUniformlyOn Bseq B l K) |
| 141 | (hone : TendstoUniformlyOn (fun i => fderiv ℝ (Bseq i)) (fderiv ℝ B) l K) |
| 142 | (htwo : TendstoUniformlyOn (fun i => fderiv ℝ (fderiv ℝ (Bseq i))) |
| 143 | (fderiv ℝ (fderiv ℝ B)) l K) : |
| 144 | TendstoUniformlyOn (fun i => fderiv ℝ (coordinateGeodesicField (Bseq i))) |
| 145 | (fderiv ℝ (coordinateGeodesicField B)) l (K ×ˢ V) := by |
| 146 | let J (C : E → Bilin) (z : E × E) : Jet := (C z.1, fderiv ℝ C z.1, z.2) |
| 147 | let D (p : Trilin × (E →L[ℝ] Trilin)) : (E × E) →L[ℝ] Jet := |
| 148 | (p.1.comp (ContinuousLinearMap.fst ℝ E E)).prod |
| 149 | ((p.2.comp (ContinuousLinearMap.fst ℝ E E)).prod (ContinuousLinearMap.snd ℝ E E)) |
| 150 | have hD : Continuous D := by |
| 151 | have hfirst : Continuous (fun p : Trilin × (E →L[ℝ] Trilin) => |
| 152 | p.1.comp (ContinuousLinearMap.fst ℝ E E)) := continuous_fst.clm_comp_const _ |
| 153 | have hsecond : Continuous (fun p : Trilin × (E →L[ℝ] Trilin) => |
| 154 | p.2.comp (ContinuousLinearMap.fst ℝ E E)) := continuous_snd.clm_comp_const _ |
| 155 | have hpair : Continuous (fun p : Trilin × (E →L[ℝ] Trilin) => |
| 156 | (p.2.comp (ContinuousLinearMap.fst ℝ E E)).prod (ContinuousLinearMap.snd ℝ E E)) := |
| 157 | (ContinuousLinearMap.prodₗᵢ ℝ (𝕜 := ℝ) (E := E × E) (F := Trilin) (G := E)).continuous.comp |
| 158 | (hsecond.prodMk continuous_const) |
| 159 | exact (ContinuousLinearMap.prodₗᵢ ℝ (𝕜 := ℝ) (E := E × E) |
| 160 | (F := Bilin) (G := Trilin × E)).continuous.comp (hfirst.prodMk hpair) |
| 161 | have hDJ {C : E → Bilin} {z : E × E} (hC : ContDiffAt ℝ ∞ C z.1) : |
| 162 | HasFDerivAt (J C) |
| 163 | (D (fderiv ℝ C z.1, fderiv ℝ (fderiv ℝ C) z.1)) z := by |
| 164 | exact ((hC.differentiableAt (by simp)).hasFDerivAt.comp z hasFDerivAt_fst).prodMk |
| 165 | ((((hC.fderiv_right (m := ∞) (by simp)).differentiableAt (by simp)).hasFDerivAt.comp |
| 166 | z hasFDerivAt_fst).prodMk hasFDerivAt_snd) |
| 167 | have hJ : ContDiff ℝ ∞ (J B) := |
| 168 | (hB.comp contDiff_fst).prodMk |
| 169 | (((hB.fderiv_right (m := ∞) (by simp)).comp contDiff_fst).prodMk contDiff_snd) |
| 170 | have hJ0 : TendstoUniformlyOn (fun i => J (Bseq i)) (J B) l (K ×ˢ V) := by |
| 171 | have h0 := (hzero.comp Prod.fst).mono (fun _ hz => hz.1 : K ×ˢ V ⊆ Prod.fst ⁻¹' K) |
| 172 | have h1 := (hone.comp Prod.fst).mono (fun _ hz => hz.1 : K ×ˢ V ⊆ Prod.fst ⁻¹' K) |
| 173 | have hv : TendstoUniformlyOn (fun _ : ι => (Prod.snd : E × E → E)) Prod.snd l (K ×ˢ V) := |
| 174 | Metric.tendstoUniformlyOn_iff.mpr fun epsilon hepsilon => |
| 175 | Eventually.of_forall fun _ _ _ => by simpa only [dist_self] using hepsilon |
| 176 | exact h0.prodMk_same (h1.prodMk_same hv) |
| 177 | have hpair : TendstoUniformlyOn |
| 178 | (fun i (z : E × E) => (fderiv ℝ (Bseq i) z.1, fderiv ℝ (fderiv ℝ (Bseq i)) z.1)) |
| 179 | (fun z : E × E => (fderiv ℝ B z.1, fderiv ℝ (fderiv ℝ B) z.1)) l (K ×ˢ V) := |
| 180 | ((hone.prodMk_same htwo).comp Prod.fst).mono (fun _ hz => hz.1) |
| 181 | have hdB : ContDiff ℝ ∞ (fderiv ℝ B) := hB.fderiv_right (by simp) |
| 182 | have hddB : ContDiff ℝ ∞ (fderiv ℝ (fderiv ℝ B)) := hdB.fderiv_right (by simp) |
| 183 | have hpcont : Continuous |
| 184 | (fun z : E × E => (fderiv ℝ B z.1, fderiv ℝ (fderiv ℝ B) z.1)) := |
| 185 | (hdB.continuous.comp continuous_fst).prodMk (hddB.continuous.comp continuous_fst) |
| 186 | have hJD := hD.continuousOn.comp_tendstoUniformlyOn_of_compact_image isOpen_univ |
| 187 | ((hK.prod hV).image hpcont) (fun _ _ => mem_univ _) hpair |
| 188 | have hJ1 : TendstoUniformlyOn (fun i => fderiv ℝ (J (Bseq i))) (fderiv ℝ (J B)) |
| 189 | l (K ×ˢ V) := by |
| 190 | rw [Metric.tendstoUniformlyOn_iff] at hJD ⊢ |
| 191 | intro epsilon hepsilon |
| 192 | filter_upwards [hBseq, hJD epsilon hepsilon] with i hi herr |
| 193 | intro z hz |
| 194 | have hiD : fderiv ℝ (J (Bseq i)) z = |
| 195 | D (fderiv ℝ (Bseq i) z.1, fderiv ℝ (fderiv ℝ (Bseq i)) z.1) := |
| 196 | (hDJ (C := Bseq i) (z := z) (hi z.1 hz.1)).fderiv |
| 197 | have hmD : fderiv ℝ (J B) z = D (fderiv ℝ B z.1, fderiv ℝ (fderiv ℝ B) z.1) := |
| 198 | (hDJ (C := B) (z := z) hB.contDiffAt).fderiv |
| 199 | rw [hiD, hmD] |
| 200 | exact herr z hz |
| 201 | let U : Set Jet := {z | z.1.IsInvertible} |
| 202 | have hU : IsOpen U := ContinuousLinearEquiv.isOpen.preimage continuous_fst |
| 203 | have houter : ContDiffOn ℝ 1 (geodesicFieldJet (E := E)) U := fun z hz => |
| 204 | ((contDiffAt_geodesicFieldJet hz).of_le (by simp)).contDiffWithinAt |
| 205 | exact tendstoUniformlyOn_fderiv_comp_of_compact (hK.prod hV) hU |
| 206 | (fun _ _ => hJ.contDiffAt.of_le (by simp)) houter (fun z _ => hinv z.1) |
| 207 | (hBseq.mono fun i hi z hz => (hDJ (hi z.1 hz.1)).differentiableAt) hJ0 hJ1 |
| 208 | |
| 209 | end GeodesicOperator |
| 210 | |
| 211 | section ActualComparisons |
| 212 | |
| 213 | local notation "E" => StandardCapSpace |
| 214 | local notation "Bilin" => E →L[ℝ] E →L[ℝ] ℝ |
| 215 | |
| 216 | noncomputable local instance : NormedAddCommGroup Bilin := |
| 217 | ContinuousLinearMap.toNormedAddCommGroup |
| 218 | |
| 219 | noncomputable local instance : NormedSpace ℝ Bilin := |
| 220 | ContinuousLinearMap.toNormedSpace |
| 221 | |
| 222 | /-- The actual normalized coefficients form a compact smooth family |
| 223 | on the full standard space as their intrinsic tolerances vanish. |
| 224 | Source: Corollary 16.7, p. 372. -/ |
| 225 | theorem compactSmoothConvergenceOn_initial_coefficients |
| 226 | (g₀ : StandardInitialMetric) |
| 227 | (S : ℕ → GeneralizedSliceCarrier.{u}) |
| 228 | (g : (n : ℕ) → RiemannianMetric 3 (S n).carrier) |
| 229 | (tip : (n : ℕ) → (S n).carrier) (scale eta : ℕ → ℝ) |
| 230 | (Q : (n : ℕ) → SurgeryCapClose g₀ (S n) (g n) (tip n) (scale n) (eta n)) |
| 231 | (heta : Tendsto eta atTop (𝓝 0)) : |
| 232 | CompactSmoothConvergenceOn (fun n => (Q n).normalizedCoefficients) |
| 233 | g₀.metric.euclideanCoefficients atTop univ where |
| 234 | isOpen := isOpen_univ |
| 235 | smooth := (contDiff_iff_contDiffAt.mpr g₀.metric.contDiffAt_euclideanCoefficients).contDiffOn |
| 236 | eventually_smooth K hK _ := by |
| 237 | obtain ⟨delta, hdelta, hdomain⟩ := exists_initial_comparison_domain_threshold g₀ hK 0 |
| 238 | filter_upwards [heta.eventually (gt_mem_nhds hdelta)] with n hn |
| 239 | intro x hx |
| 240 | exact (Q n).contDiffOn_normalizedCoefficients.contDiffAt |
| 241 | ((Q n).toPartialDiffeomorph.open_source.mem_nhds |
| 242 | ((hdomain (eta n) (Q n).eta_pos hn.le).2 hx)) |
| 243 | jets j _ hK _ := tendstoUniformlyOn_initial_coefficient_jets g₀ S g tip scale eta Q heta j hK |
| 244 | |
| 245 | /-- Every finite derivative of the actual normalized geodesic fields |
| 246 | converges on each compact phase region. Source: Corollary 16.7, p. 372. -/ |
| 247 | theorem compactSmoothConvergenceOn_initial_geodesicFields |
| 248 | (g₀ : StandardInitialMetric) |
| 249 | (S : ℕ → GeneralizedSliceCarrier.{u}) |
| 250 | (g : (n : ℕ) → RiemannianMetric 3 (S n).carrier) |
| 251 | (tip : (n : ℕ) → (S n).carrier) (scale eta : ℕ → ℝ) |
| 252 | (Q : (n : ℕ) → SurgeryCapClose g₀ (S n) (g n) (tip n) (scale n) (eta n)) |
| 253 | (heta : Tendsto eta atTop (𝓝 0)) : |
| 254 | CompactSmoothConvergenceOn (fun n => coordinateGeodesicField (Q n).normalizedCoefficients) |
| 255 | (coordinateGeodesicField g₀.metric.euclideanCoefficients) atTop univ := |
| 256 | compactSmoothConvergenceOn_geodesicField |
| 257 | (compactSmoothConvergenceOn_initial_coefficients g₀ S g tip scale eta Q heta) |
| 258 | g₀.metric.inner_isInvertible |
| 259 | |
| 260 | /-- The actual normalized cap comparisons have convergent geodesic |
| 261 | fields on each compact phase region when their tolerances vanish. -/ |
| 262 | theorem tendstoUniformlyOn_initial_geodesicFields |
| 263 | (g₀ : StandardInitialMetric) |
| 264 | (S : ℕ → GeneralizedSliceCarrier.{u}) |
| 265 | (g : (n : ℕ) → RiemannianMetric 3 (S n).carrier) |
| 266 | (tip : (n : ℕ) → (S n).carrier) (scale eta : ℕ → ℝ) |
| 267 | (Q : (n : ℕ) → SurgeryCapClose g₀ (S n) (g n) (tip n) (scale n) (eta n)) |
| 268 | (heta : Tendsto eta atTop (𝓝 0)) |
| 269 | {K V : Set E} (hK : IsCompact K) (hV : IsCompact V) : |
| 270 | TendstoUniformlyOn (fun n => coordinateGeodesicField (Q n).normalizedCoefficients) |
| 271 | (coordinateGeodesicField g₀.metric.euclideanCoefficients) atTop (K ×ˢ V) := by |
| 272 | have hzero : TendstoUniformlyOn (fun n => (Q n).normalizedCoefficients) |
| 273 | g₀.metric.euclideanCoefficients atTop K := by |
| 274 | simpa only [Function.comp_def, iteratedFDeriv_zero_apply] using |
| 275 | (ContinuousMultilinearMap.uniformContinuous_eval_const |
| 276 | (0 : Fin 0 → E)).comp_tendstoUniformlyOn |
| 277 | (tendstoUniformlyOn_initial_coefficient_jets g₀ S g tip scale eta Q heta 0 hK) |
| 278 | have hone : TendstoUniformlyOn (fun n => fderiv ℝ (Q n).normalizedCoefficients) |
| 279 | (fderiv ℝ g₀.metric.euclideanCoefficients) atTop K := by |
| 280 | have he (B : E → Bilin) : |
| 281 | (fun x => continuousMultilinearCurryFin1 ℝ E Bilin (iteratedFDeriv ℝ 1 B x)) = |
| 282 | fderiv ℝ B := by |
| 283 | funext x |
| 284 | apply ContinuousLinearMap.ext |
| 285 | intro v |
| 286 | simp [continuousMultilinearCurryFin1_apply, iteratedFDeriv_one_apply] |
| 287 | simpa only [Function.comp_def, he] using |
| 288 | (continuousMultilinearCurryFin1 ℝ E Bilin).isometry.uniformContinuous.comp_tendstoUniformlyOn |
| 289 | (tendstoUniformlyOn_initial_coefficient_jets g₀ S g tip scale eta Q heta 1 hK) |
| 290 | exact tendstoUniformlyOn_geodesicField_of_coefficients |
| 291 | (contDiff_iff_contDiffAt.mpr g₀.metric.contDiffAt_euclideanCoefficients) |
| 292 | g₀.metric.inner_isInvertible hK hV hzero hone |
| 293 | |
| 294 | /-- The actual M36 comparisons have convergent first geodesic-field |
| 295 | derivatives on every compact phase region; Claim 16.6, pp. 371-372. -/ |
| 296 | theorem tendstoUniformlyOn_initial_fderiv_geodesicFields |
| 297 | (g₀ : StandardInitialMetric) |
| 298 | (S : ℕ → GeneralizedSliceCarrier.{u}) |
| 299 | (g : (n : ℕ) → RiemannianMetric 3 (S n).carrier) |
| 300 | (tip : (n : ℕ) → (S n).carrier) (scale eta : ℕ → ℝ) |
| 301 | (Q : (n : ℕ) → SurgeryCapClose g₀ (S n) (g n) (tip n) (scale n) (eta n)) |
| 302 | (heta : Tendsto eta atTop (𝓝 0)) |
| 303 | {K V : Set E} (hK : IsCompact K) (hV : IsCompact V) : |
| 304 | TendstoUniformlyOn (fun n => fderiv ℝ (coordinateGeodesicField (Q n).normalizedCoefficients)) |
| 305 | (fderiv ℝ (coordinateGeodesicField g₀.metric.euclideanCoefficients)) atTop (K ×ˢ V) := by |
| 306 | have hjet := tendstoUniformlyOn_initial_coefficient_jets g₀ S g tip scale eta Q heta |
| 307 | have hzero : TendstoUniformlyOn (fun n => (Q n).normalizedCoefficients) |
| 308 | g₀.metric.euclideanCoefficients atTop K := by |
| 309 | simpa only [Function.comp_def, iteratedFDeriv_zero_apply] using |
| 310 | (ContinuousMultilinearMap.uniformContinuous_eval_const |
| 311 | (0 : Fin 0 → E)).comp_tendstoUniformlyOn (hjet 0 hK) |
| 312 | have hone := tendstoUniformlyOn_fderiv_of_iteratedFDeriv_one (hjet 1 hK) |
| 313 | have htwo := tendstoUniformlyOn_fderiv_of_iteratedFDeriv_one |
| 314 | (tendstoUniformlyOn_iteratedFDeriv_fderiv (hjet 2 hK)) |
| 315 | obtain ⟨delta, hdelta, hdomain⟩ := exists_initial_comparison_domain_threshold g₀ hK 0 |
| 316 | have hsmooth : ∀ᶠ n in atTop, ∀ x ∈ K, ContDiffAt ℝ ∞ (Q n).normalizedCoefficients x := by |
| 317 | filter_upwards [heta.eventually (gt_mem_nhds hdelta)] with n hn |
| 318 | intro x hx |
| 319 | exact (Q n).contDiffOn_normalizedCoefficients.contDiffAt |
| 320 | ((Q n).toPartialDiffeomorph.open_source.mem_nhds |
| 321 | ((hdomain (eta n) (Q n).eta_pos hn.le).2 hx)) |
| 322 | exact tendstoUniformlyOn_fderiv_geodesicField_of_coefficients |
| 323 | (contDiff_iff_contDiffAt.mpr g₀.metric.contDiffAt_euclideanCoefficients) |
| 324 | g₀.metric.inner_isInvertible hK hV hsmooth hzero hone htwo |
| 325 | |
| 326 | end ActualComparisons |
| 327 | |
| 328 | end PoincareMT.M44 |