import PoincareLib.Geometry.Riemannian.Metric import PoincareLib.Geometry.RicciFlow.ReducedGeometry.ReducedVolume.Metric.Comparison.BilinearPerturbation import Mathlib.Geometry.Manifold.ContMDiffMFDeriv import Mathlib.Analysis.Normed.Module.FiniteDimension /-! # The actual pullback metric near a noncritical point The smooth map's genuine manifold differential pulls back the selected metric. Finite-dimensional continuity and the bilinear estimate compare its tangent norm with the fixed differential at the center. -/ set_option autoImplicit false open Bundle ContinuousLinearMap Filter Set open scoped Manifold ContDiff Bundle Topology universe u namespace PoincareMT.ReducedVolume variable {n : β„•} {M : Type u} [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] set_option backward.isDefEq.respectTransparency false in /-- The actual selected metric pulled back by the actual manifold differential. -/ noncomputable def pullbackMetricForm (g : RiemannianMetric n M) (f : EuclideanSpace ℝ (Fin n) β†’ M) (x : EuclideanSpace ℝ (Fin n)) : EuclideanSpace ℝ (Fin n) β†’L[ℝ] EuclideanSpace ℝ (Fin n) β†’L[ℝ] ℝ := letI : Bundle.RiemannianBundle (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨g.toRiemannianMetric⟩ (g.inner (f x)).bilinearComp (mfderiv (𝓑 n) (𝓑 n) f x) (mfderiv (𝓑 n) (𝓑 n) f x) set_option backward.isDefEq.respectTransparency false in /-- A C1 germ gives a continuous tangent-valued differential on each fixed vector. -/ theorem continuousAt_mfderiv_apply_vector {f : EuclideanSpace ℝ (Fin n) β†’ M} {x : EuclideanSpace ℝ (Fin n)} (hf : ContMDiffAt (𝓑 n) (𝓑 n) 1 f x) (v : EuclideanSpace ℝ (Fin n)) : ContinuousAt (fun y ↦ (⟨f y, mfderiv (𝓑 n) (𝓑 n) f y v⟩ : TangentBundle (𝓑 n) M)) x := by have hD := (hf.mfderiv_const (m := 0) (by simp)).continuousAt have hsection : Continuous (fun y : EuclideanSpace ℝ (Fin n) ↦ (⟨y, v⟩ : TangentBundle (𝓑 n) (EuclideanSpace ℝ (Fin n)))) := (tangentBundleModelSpaceHomeomorph (𝓑 n)).symm.continuous.comp (continuous_id.prodMk continuous_const) exact hD.clm_apply_of_inCoordinates hsection.continuousAt hf.continuousAt set_option backward.isDefEq.respectTransparency false in /-- The genuine pullback form varies continuously in the bilinear operator norm. -/ theorem pullbackMetricForm_continuousAt (g : RiemannianMetric n M) {f : EuclideanSpace ℝ (Fin n) β†’ M} {x : EuclideanSpace ℝ (Fin n)} (hf : ContMDiffAt (𝓑 n) (𝓑 n) 1 f x) : ContinuousAt (pullbackMetricForm g f) x := by let : Bundle.RiemannianBundle (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨g.toRiemannianMetric⟩ let : IsContinuousRiemannianBundle (EuclideanSpace ℝ (Fin n)) (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨⟨g.inner, g.toContinuousRiemannianMetric.continuous, fun _ _ _ ↦ rfl⟩⟩ apply continuousAt_clm_apply.mpr intro v apply continuousAt_clm_apply.mpr intro w exact (continuousAt_mfderiv_apply_vector hf v).inner_bundle (continuousAt_mfderiv_apply_vector hf w) set_option backward.isDefEq.respectTransparency false in /-- At a noncritical point, the actual differential norms are arbitrarily close locally. -/ theorem eventually_pullback_tangentNorm_comparison (g : RiemannianMetric n M) {f : EuclideanSpace ℝ (Fin n) β†’ M} {x : EuclideanSpace ℝ (Fin n)} (hf : ContMDiffAt (𝓑 n) (𝓑 n) 1 f x) (hD : Function.Bijective (mfderiv (𝓑 n) (𝓑 n) f x)) {r : ℝ} (hr : 1 < r) : βˆ€αΆ  y in 𝓝 x, βˆ€ v : EuclideanSpace ℝ (Fin n), g.tangentNorm (f x) (mfderiv (𝓑 n) (𝓑 n) f x v) / r ≀ g.tangentNorm (f y) (mfderiv (𝓑 n) (𝓑 n) f y v) ∧ g.tangentNorm (f y) (mfderiv (𝓑 n) (𝓑 n) f y v) ≀ r * g.tangentNorm (f x) (mfderiv (𝓑 n) (𝓑 n) f x v) := by let : Bundle.RiemannianBundle (TangentSpace (𝓑 n) : M β†’ Type _) := ⟨g.toRiemannianMetric⟩ let L : EuclideanSpace ℝ (Fin n) ≃L[ℝ] TangentSpace (𝓑 n) (f x) := LinearEquiv.toContinuousLinearEquiv (LinearEquiv.ofBijective (mfderiv (𝓑 n) (𝓑 n) f x).toLinearMap hD) have hcenter : βˆ€ v, pullbackMetricForm g f x v v = β€–L vβ€– ^ 2 := by intro v exact real_inner_self_eq_norm_sq (L v) have h := eventually_sqrt_bilinear_comparison (pullbackMetricForm_continuousAt g hf) L hcenter hr filter_upwards [h] with y hy intro v have hnorm : β€–L vβ€– = g.tangentNorm (f x) (mfderiv (𝓑 n) (𝓑 n) f x v) := norm_eq_sqrt_real_inner (L v) have hvalue : Real.sqrt (pullbackMetricForm g f y v v) = g.tangentNorm (f y) (mfderiv (𝓑 n) (𝓑 n) f y v) := rfl simpa only [hnorm, hvalue] using hy v end PoincareMT.ReducedVolume