import PoincareLib.Geometry.RicciFlow.Splitting.MaximumPrinciple.MetricBump import PoincareLib.Geometry.RicciFlow.Splitting.MaximumPrinciple.CoefficientRegularity /-! # Uniform chart bounds for a moving heat bump Positive definiteness and compactness give uniform radial ellipticity. The actual Christoffel drift and any smooth center velocity are bounded on the same compact spacetime set. -/ noncomputable section set_option autoImplicit false set_option backward.isDefEq.respectTransparency false open Set Filter Metric open scoped Manifold ContDiff Topology InnerProductSpace namespace PoincareMT.RicciFlow.Splitting.MaximumPrinciple variable {n : β„•} {M : Type*} [TopologicalSpace M] [ChartedSpace (EuclideanSpace ℝ (Fin n)) M] [IsManifold (𝓑 n) ∞ M] theorem radialQuadratic_smul (g : RiemannianMetric n M) (p : M) (y d : EuclideanSpace ℝ (Fin n)) (c : ℝ) : radialQuadratic g p y (c β€’ d) = c ^ 2 * radialQuadratic g p y d := by simp only [radialQuadratic, real_inner_smul_left, Finset.mul_sum] exact Finset.sum_congr rfl fun i _ => by ring theorem radialQuadratic_eq_inner_inverse (g : RiemannianMetric n M) (p : M) (y d : EuclideanSpace ℝ (Fin n)) : radialQuadratic g p y d = βŸͺd, (chartMetric g p y).inverse (innerSL ℝ d)⟫_ℝ := by have hdual : innerSL ℝ d = βˆ‘ i, d i β€’ EuclideanSpace.proj i := by ext w simp [innerSL_apply_apply, EuclideanSpace.inner_eq_star_dotProduct, dotProduct, PiLp.proj_apply, mul_comm] rw [hdual, map_sum, inner_sum] apply Finset.sum_congr rfl intro i _ simp only [map_smul, inner_smul_right, EuclideanSpace.inner_basisFun_real, mul_comm] theorem radialQuadratic_pos (g : RiemannianMetric n M) (p : M) {y d : EuclideanSpace ℝ (Fin n)} (hy : y ∈ (extChartAt (𝓑 n) p).target) (hd : d β‰  0) : 0 < radialQuadratic g p y d := by let B := chartMetric g p y let w := B.inverse (innerSL ℝ d) have hi : B.IsInvertible := g.isInvertible_chartCoefficients p hy have hw : w β‰  0 := by intro hz have hdual : innerSL ℝ d = 0 := by rw [← hi.self_apply_inverse (innerSL ℝ d)] change B w = 0 rw [hz, map_zero] have hzero : inner ℝ d d = 0 := by have h := congrArg (fun L => L d) hdual simpa using h exact hd ((inner_self_eq_zero).mp hzero) have hinv : (mfderiv (𝓑 n) (𝓑 n) (extChartAt (𝓑 n) p).symm y).IsInvertible := by simpa only [ModelWithCorners.range_eq_univ, mfderivWithin_univ] using isInvertible_mfderivWithin_extChartAt_symm hy have hv : mfderiv (𝓑 n) (𝓑 n) (extChartAt (𝓑 n) p).symm y w β‰  0 := by intro hz apply hw apply hinv.injective rw [map_zero] exact hz have hp := g.pos ((extChartAt (𝓑 n) p).symm y) _ hv change 0 < B w w at hp have heq : B w w = inner ℝ d w := by exact congrArg (fun L => L w) (hi.self_apply_inverse (innerSL ℝ d)) rw [heq] at hp simpa only [radialQuadratic_eq_inner_inverse, w, B] using hp theorem exists_compact_chart_bounds {g : ℝ β†’ RiemannianMetric n M} {J : Set ℝ} (hg : RiemannianMetric.IsSmoothFamilyOn g J) (hJ : UniqueDiffOn ℝ J) (p : M) {K : Set (ℝ Γ— EuclideanSpace ℝ (Fin n))} (hK : IsCompact K) (hKU : K βŠ† J Γ—Λ’ (extChartAt (𝓑 n) p).target) {gamma : ℝ β†’ EuclideanSpace ℝ (Fin n)} (hgamma : ContDiff ℝ ∞ gamma) : βˆƒ lam Lam Hβ‚€ : ℝ, 0 < lam ∧ lam ≀ Lam ∧ 0 ≀ Hβ‚€ ∧ (βˆ€ z ∈ K, βˆ€ d : EuclideanSpace ℝ (Fin n), lam * β€–dβ€– ^ 2 ≀ radialQuadratic (g z.1) p z.2 d ∧ radialQuadratic (g z.1) p z.2 d ≀ Lam * β€–dβ€– ^ 2) ∧ βˆ€ z ∈ K, radialTrace (g z.1) p z.2 + radialDrift (g z.1) p z.2 (z.2 - gamma z.1) + βŸͺz.2 - gamma z.1, deriv gamma z.1⟫_ℝ ≀ Hβ‚€ := by have hi := (contDiffOn_chartMetric_inverse hg p).continuousOn.mono hKU have hb := (contDiffOn_chartDrift hg hJ p).continuousOn.mono hKU let E := EuclideanSpace ℝ (Fin n) let S := sphere (0 : E) 1 let Q := fun z : (ℝ Γ— E) Γ— E => radialQuadratic (g z.1.1) p z.1.2 z.2 have hKS : IsCompact (K Γ—Λ’ S) := hK.prod (isCompact_sphere 0 1) have hQc : ContinuousOn Q (K Γ—Λ’ S) := by have hi' : ContinuousOn (fun z : (ℝ Γ— E) Γ— E => (chartMetric (g z.1.1) p z.1.2).inverse) (K Γ—Λ’ S) := hi.comp continuous_fst.continuousOn (fun _ hz => hz.1) simp only [Q, radialQuadratic_eq_inner_inverse] exact continuous_snd.continuousOn.inner (hi'.clm_apply ((innerSL ℝ).continuous.comp continuous_snd).continuousOn) obtain ⟨lam, hlam, hmin⟩ := hKS.exists_forall_le' hQc (a := 0) (by intro z hz apply radialQuadratic_pos (g z.1.1) p (hKU hz.1).2 have hn : β€–z.2β€– = 1 := mem_sphere_zero_iff_norm.mp hz.2 intro hzero simp [hzero] at hn) obtain ⟨B, hmax⟩ := (hKS.image_of_continuousOn hQc).bddAbove have hd : Continuous (fun z : ℝ Γ— E => z.2 - gamma z.1) := continuous_snd.sub (hgamma.continuous.comp continuous_fst) let F := fun z : ℝ Γ— E => radialTrace (g z.1) p z.2 + radialDrift (g z.1) p z.2 (z.2 - gamma z.1) + βŸͺz.2 - gamma z.1, deriv gamma z.1⟫_ℝ have hFc : ContinuousOn F K := by refine ContinuousOn.add (ContinuousOn.add ?_ ?_) ?_ Β· exact continuousOn_finsetSum _ fun i _ => continuousOn_const.inner (hi.clm_apply continuousOn_const) Β· exact (hd.continuousOn.inner hb).neg Β· exact (hd.inner ((hgamma.continuous_deriv (by simp)).comp continuous_fst)).continuousOn obtain ⟨H₁, hHβ‚βŸ© := (hK.image_of_continuousOn hFc).bddAbove refine ⟨lam, max B lam, max H₁ 0, hlam, le_max_right _ _, le_max_right _ _, ?_, ?_⟩ Β· intro z hz d by_cases hd0 : d = 0 Β· subst d simp [radialQuadratic] Β· let Ξ· := β€–d‖⁻¹ β€’ d have hΞ· : Ξ· ∈ S := mem_sphere_zero_iff_norm.mpr (norm_smul_inv_norm hd0) have hscale : β€–dβ€– β€’ Ξ· = d := smul_inv_smulβ‚€ (norm_ne_zero_iff.mpr hd0) d have hhom : radialQuadratic (g z.1) p z.2 d = β€–dβ€– ^ 2 * radialQuadratic (g z.1) p z.2 Ξ· := by rw [← radialQuadratic_smul, hscale] have hlo := mul_le_mul_of_nonneg_left (hmin (z, Ξ·) ⟨hz, hη⟩) (sq_nonneg β€–dβ€–) have hup : Q (z, Ξ·) ≀ max B lam := (hmax (mem_image_of_mem Q (show (z, Ξ·) ∈ K Γ—Λ’ S from ⟨hz, hη⟩))).trans (le_max_left _ _) have hup' := mul_le_mul_of_nonneg_left hup (sq_nonneg β€–dβ€–) constructor Β· simpa only [Q, hhom, mul_comm] using hlo Β· simpa only [Q, hhom, mul_comm] using hup' Β· intro z hz exact (hH₁ (mem_image_of_mem F hz)).trans (le_max_left _ _) end PoincareMT.RicciFlow.Splitting.MaximumPrinciple