import PoincareLib.Geometry.RicciFlow.Surgery.Singular.RegularLimit.Canonical.RoundComponent.Jets.Parametrization /-! # Changing the ambient metric in a retained round parametrization -/ noncomputable section set_option autoImplicit false set_option backward.isDefEq.respectTransparency false set_option synthInstance.maxHeartbeats 100000 set_option maxSynthPendingDepth 8 open Set Filter open scoped Manifold ContDiff Bundle Topology namespace PoincareMT.SingularRoundComponent local notation "E" => EuclideanSpace โ„ (Fin 3) variable {M : Type*} [TopologicalSpace M] [ChartedSpace E M] [IsManifold (๐“ก 3) โˆž M] {g : RiemannianMetric 3 M} {epsilon : โ„} /-- Keep the round model, parametrization and scale while pulling back a different actual ambient metric. -/ def normalizedMetricAt (N : SingularRoundComponent g epsilon) (h : RiemannianMetric 3 M) : RiemannianMetric 3 N.model.carrier := RiemannianMetric.Induced.pullbackMetric (rescaledMetric h N.scale N.scale_pos) N.forward N.forward_smooth N.forward_mfderiv_injective @[simp] theorem normalizedMetricAt_self (N : SingularRoundComponent g epsilon) : N.normalizedMetricAt g = N.normalizedMetric := rfl theorem normalizedMetricAt_inner (N : SingularRoundComponent g epsilon) (h : RiemannianMetric 3 M) (x : N.model.carrier) (v w : TangentSpace (๐“ก 3) x) : (N.normalizedMetricAt h).inner x v w = N.scale * h.inner (N.forward x) (mfderiv (๐“ก 3) (๐“ก 3) N.forward x v) (mfderiv (๐“ก 3) (๐“ก 3) N.forward x w) := rfl theorem normalizedMetricAt_pullbackCoefficients_eq (N : SingularRoundComponent g epsilon) (h : RiemannianMetric 3 M) {f : E โ†’ N.model.carrier} {U : Set E} (hU : IsOpen U) (hf : ContMDiffOn (๐“ก 3) (๐“ก 3) โˆž f U) {x : E} (hx : x โˆˆ U) : (N.normalizedMetricAt h).pullbackCoefficients f x = N.scale โ€ข h.pullbackCoefficients (N.forward โˆ˜ f) x := by ext v w change N.scale * h.inner (N.forward (f x)) (mfderiv (๐“ก 3) (๐“ก 3) N.forward (f x) (mfderiv (๐“ก 3) (๐“ก 3) f x v)) (mfderiv (๐“ก 3) (๐“ก 3) N.forward (f x) (mfderiv (๐“ก 3) (๐“ก 3) f x w)) = N.scale * h.inner (N.forward (f x)) (mfderiv (๐“ก 3) (๐“ก 3) (N.forward โˆ˜ f) x v) (mfderiv (๐“ก 3) (๐“ก 3) (N.forward โˆ˜ f) x w) rw [mfderiv_comp x ((N.forward_smooth (f x)).mdifferentiableAt (by simp)) ((hf.contMDiffAt (hU.mem_nhds hx)).mdifferentiableAt (by simp))] rfl theorem normalizedMetricAt_pullback_jet_eq (N : SingularRoundComponent g epsilon) (h : RiemannianMetric 3 M) {f : E โ†’ N.model.carrier} {U : Set E} (hU : IsOpen U) (hf : ContMDiffOn (๐“ก 3) (๐“ก 3) โˆž f U) {x : E} (hx : x โˆˆ U) (j : โ„•) : iteratedFDeriv โ„ j ((N.normalizedMetricAt h).pullbackCoefficients f) x = N.scale โ€ข iteratedFDeriv โ„ j (h.pullbackCoefficients (N.forward โˆ˜ f)) x := by have heq : (N.normalizedMetricAt h).pullbackCoefficients f =แถ [๐“ x] (fun y => N.scale โ€ข h.pullbackCoefficients (N.forward โˆ˜ f) y) := by filter_upwards [hU.mem_nhds hx] with y hy exact N.normalizedMetricAt_pullbackCoefficients_eq h hU hf hy rw [(heq.iteratedFDeriv โ„ j).eq_of_nhds] apply iteratedFDeriv_const_smul_apply' exact (h.contDiffAt_pullbackCoefficients ((N.forward_smooth (f x)).comp x (hf.contMDiffAt (hU.mem_nhds hx)))).of_le (by exact_mod_cast le_top) /-- The jet of the normalized metric difference is the scale times the difference of ambient coordinate jets in the same retained map. -/ theorem normalizedMetricAt_pullback_difference_jet_eq (N : SingularRoundComponent g epsilon) (hโ‚ hโ‚‚ : RiemannianMetric 3 M) {f : E โ†’ N.model.carrier} {U : Set E} (hU : IsOpen U) (hf : ContMDiffOn (๐“ก 3) (๐“ก 3) โˆž f U) {x : E} (hx : x โˆˆ U) (j : โ„•) : iteratedFDeriv โ„ j ((N.normalizedMetricAt hโ‚).pullbackCoefficients f - (N.normalizedMetricAt hโ‚‚).pullbackCoefficients f) x = N.scale โ€ข (iteratedFDeriv โ„ j (hโ‚.pullbackCoefficients (N.forward โˆ˜ f)) x - iteratedFDeriv โ„ j (hโ‚‚.pullbackCoefficients (N.forward โˆ˜ f)) x) := by change iteratedFDeriv โ„ j (fun y => (N.normalizedMetricAt hโ‚).pullbackCoefficients f y - (N.normalizedMetricAt hโ‚‚).pullbackCoefficients f y) x = _ have hfy := hf.contMDiffAt (hU.mem_nhds hx) rw [fun_iteratedFDeriv_sub_apply (((N.normalizedMetricAt hโ‚).contDiffAt_pullbackCoefficients hfy).of_le (by exact_mod_cast le_top)) (((N.normalizedMetricAt hโ‚‚).contDiffAt_pullbackCoefficients hfy).of_le (by exact_mod_cast le_top)), N.normalizedMetricAt_pullback_jet_eq hโ‚ hU hf hx, N.normalizedMetricAt_pullback_jet_eq hโ‚‚ hU hf hx, smul_sub] end PoincareMT.SingularRoundComponent