import Euler.CylinderDescentJets import Euler.LpParameterIntegral import Euler.CylinderPhysicalTensor import Euler.GevreyFixedShift /-! Periodic cover Gevrey bounds give actual physical graph bounds. The L² trace uses one extra angular derivative but no extra factor of the graph frequency. Only the n physical derivatives cost its n-th power. -/ /-! ## From `Euler/CylinderJetGraphTrace.lean` The text of `Euler/CylinderJetGraphTrace.lean`, folded into this file, which was its only importer. -/ section /-! A phase-independent L² trace estimate for actual descended tensors. One extra angular derivative suffices, and its norm is controlled by the next actual cover tensor. -/ noncomputable section namespace EulerCylinderJetGraphTrace open Set MeasureTheory Filter EulerLiftedGradientSpace EulerCylinderCoverDescent EulerMetricTransport EulerTransportDerivatives EulerCylinderGraphTrace open scoped ContDiff variable (P : ℝ) [Fact (0 < P)] {W : Type*} [NormedAddCommGroup W] [NormedSpace ℝ W] (f : LiftTangent → W) (hperiod : ∀ (c : AddSubgroup.zmultiples P) z, f (z.1,(c : ℝ)+z.2)=f z) include hperiod in theorem fieldDerivative_descend (a : LiftTangent) (q : LiftDomain P) : fieldDerivative P a (descend P f) q = fderiv ℝ f (sectionPoint P q) a := by have he := localFieldLift_descend_cover P f hperiod (sectionPoint P q) rw [coveringMap_sectionPoint] at he change fderiv ℝ (localFieldLift P (descend P f) q) 0 a = _ rw [he,fderiv_comp_add_left,add_zero] include hperiod in theorem jetSeries_smooth (hf : ContDiff ℝ ∞ f) (n : ℕ) (q : LiftDomain P) : ContDiff ℝ ∞ (localFieldLift P (fun x => jetSeries P f x n) q) := descend_smooth P (iteratedFDeriv ℝ n f) (iteratedFDeriv_deck P f hperiod n) (hf.iteratedFDeriv_right (m := ∞) (by simp)) q include hperiod in theorem angularJet_bound (n : ℕ) (q : LiftDomain P) : ‖fieldDerivative P (0,1) (fun x => jetSeries P f x n) q‖ ≤ ‖jetSeries P f q (n+1)‖ := by change ‖fieldDerivative P (0,1) (descend P (iteratedFDeriv ℝ n f)) q‖ ≤ _ rw [fieldDerivative_descend P (iteratedFDeriv ℝ n f) (iteratedFDeriv_deck P f hperiod n)] change ‖fderiv ℝ (iteratedFDeriv ℝ n f) (sectionPoint P q) (0,1)‖ ≤ ‖iteratedFDeriv ℝ (n+1) f (sectionPoint P q)‖ have h := (fderiv ℝ (iteratedFDeriv ℝ n f) (sectionPoint P q)).le_opNorm (0,1) simpa only [norm_fderiv_iteratedFDeriv,Prod.norm_def,norm_zero,norm_one, max_eq_right (by norm_num : (0 : ℝ) ≤ 1),mul_one] using h include hperiod in theorem angularJet_memLp_and_bound (hf : ContDiff ℝ ∞ f) (n : ℕ) (hLp : MemLp (fun q => jetSeries P f q (n+1)) 2 (liftMeasure P)) : MemLp (fieldDerivative P (0,1) (fun q => jetSeries P f q n)) 2 (liftMeasure P) ∧ (eLpNorm (fieldDerivative P (0,1) (fun q => jetSeries P f q n)) 2 (liftMeasure P)).toReal ≤ (eLpNorm (fun q => jetSeries P f q (n+1)) 2 (liftMeasure P)).toReal := by have hc := smoothField_continuous P _ (fieldDerivative_smooth P (0,1) _ (jetSeries_smooth P f hperiod hf n)) have hb : ∀ᵐ q ∂liftMeasure P, ‖fieldDerivative P (0,1) (fun x => jetSeries P f x n) q‖ ≤ ‖jetSeries P f q (n+1)‖ := Eventually.of_forall (angularJet_bound P f hperiod n) exact ⟨hLp.of_le hc.aestronglyMeasurable hb, ENNReal.toReal_mono hLp.eLpNorm_ne_top (eLpNorm_mono_ae hb)⟩ variable [CompleteSpace W] theorem graph_norm_bound (g : LiftDomain P → W) (hg : ∀ q, ContDiff ℝ ∞ (localFieldLift P g q)) (hLp : MemLp g 2 (liftMeasure P)) (hDLp : MemLp (fieldDerivative P (0,1) g) 2 (liftMeasure P)) (θ : Vector3 → AddCircle P) (hθ : Continuous θ) (C D : ℝ) (hC : 0 ≤ C) (hD : 0 ≤ D) (hn : (eLpNorm g 2 (liftMeasure P)).toReal ≤ C) (hd : (eLpNorm (fieldDerivative P (0,1) g) 2 (liftMeasure P)).toReal ≤ D) : MemLp (fun x => g (x,θ x)) 2 volume ∧ (eLpNorm (fun x => g (x,θ x)) 2 volume).toReal ≤ Real.sqrt (2/P+2*P)*(C+D) := by obtain ⟨hgraph,he⟩ := graph_memLp_and_energy_bound P g hg hLp hDLp θ hθ refine ⟨hgraph,?_⟩ rw [EulerLpParameterIntegral.integral_norm_sq_eq volume _ hgraph, EulerLpParameterIntegral.integral_norm_sq_eq (liftMeasure P) _ hLp, EulerLpParameterIntegral.integral_norm_sq_eq (liftMeasure P) _ hDLp] at he have hP : 0 < P := Fact.out have hn' : (eLpNorm g 2 (liftMeasure P)).toReal^2 ≤ (C+D)^2 := pow_le_pow_left₀ ENNReal.toReal_nonneg (hn.trans (le_add_of_nonneg_right hD)) 2 have hd' : (eLpNorm (fieldDerivative P (0,1) g) 2 (liftMeasure P)).toReal^2 ≤ (C+D)^2 := pow_le_pow_left₀ ENNReal.toReal_nonneg (hd.trans (le_add_of_nonneg_left hC)) 2 apply (sq_le_sq₀ ENNReal.toReal_nonneg (mul_nonneg (Real.sqrt_nonneg _) (add_nonneg hC hD))).mp calc _ ≤ (2/P)*(eLpNorm g 2 (liftMeasure P)).toReal^2+ (2*P)*(eLpNorm (fieldDerivative P (0,1) g) 2 (liftMeasure P)).toReal^2 := he _ ≤ (2/P)*(C+D)^2+(2*P)*(C+D)^2 := add_le_add (mul_le_mul_of_nonneg_left hn' (by positivity)) (mul_le_mul_of_nonneg_left hd' (by positivity)) _ = (Real.sqrt (2/P+2*P)*(C+D))^2 := by rw [mul_pow,Real.sq_sqrt (by positivity)] ring include hperiod in theorem jet_graph_memLp_and_bound (hf : ContDiff ℝ ∞ f) (n : ℕ) (hLp : MemLp (fun q => jetSeries P f q n) 2 (liftMeasure P)) (hLp₁ : MemLp (fun q => jetSeries P f q (n+1)) 2 (liftMeasure P)) (θ : Vector3 → AddCircle P) (hθ : Continuous θ) (C D : ℝ) (hC : 0 ≤ C) (hD : 0 ≤ D) (hn : (eLpNorm (fun q => jetSeries P f q n) 2 (liftMeasure P)).toReal ≤ C) (hd : (eLpNorm (fun q => jetSeries P f q (n+1)) 2 (liftMeasure P)).toReal ≤ D) : MemLp (fun x => jetSeries P f (x,θ x) n) 2 volume ∧ (eLpNorm (fun x => jetSeries P f (x,θ x) n) 2 volume).toReal ≤ Real.sqrt (2/P+2*P)*(C+D) := by obtain ⟨hDLp,hDn⟩ := angularJet_memLp_and_bound P f hperiod hf n hLp₁ exact graph_norm_bound P _ (jetSeries_smooth P f hperiod hf n) hLp hDLp θ hθ C D hC hD hn (hDn.trans hd) end EulerCylinderJetGraphTrace end end noncomputable section namespace EulerCylinderGraphGevrey open Set MeasureTheory Filter InnerProductSpace EulerLiftedGradientSpace EulerCylinderCoverDescent EulerCylinderJetGraphTrace EulerGraphPullback EulerGevrey EulerOperatorGevreyCalculus open scoped ContDiff variable {W : Type*} [NormedAddCommGroup W] [NormedSpace ℝ W] [CompleteSpace W] def graphFactor (k : ℝ) (m : Vector3) : ℝ := 1+|k| * ‖m‖ theorem graphFactor_nonneg (k : ℝ) (m : Vector3) : 0 ≤ graphFactor k m := by unfold graphFactor positivity omit [CompleteSpace W] in theorem norm_graph_derivative_le (f : LiftTangent → W) (hf : ContDiff ℝ ∞ f) (k : ℝ) (m : Vector3) (n : ℕ) (x : Vector3) : ‖iteratedFDeriv ℝ n (f ∘ graphMap k m) x‖ ≤ (graphFactor k m)^n*‖iteratedFDeriv ℝ n f (graphMap k m x)‖ := by rw [(graphMap k m).iteratedFDeriv_comp_right hf x (by simp)] have h := (iteratedFDeriv ℝ n f (graphMap k m x)).norm_compContinuousLinearMap_le (fun _ : Fin n => graphMap k m) simp only [Finset.prod_const,Finset.card_univ,Fintype.card_fin] at h apply h.trans rw [mul_comm] exact mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (norm_nonneg _) (EulerCylinderPhysicalTensor.graphMap_norm_le k m) n) (norm_nonneg _) omit [CompleteSpace W] in theorem graph_sup_bound (f : LiftTangent → W) (hf : ContDiff ℝ ∞ f) (k : ℝ) (m : Vector3) (B R : ℝ) (hb : ∀ n z, ‖iteratedFDeriv ℝ n f z‖ ≤ B*R^n*(n.factorial : ℝ)^2) (n : ℕ) (x : Vector3) : ‖iteratedFDeriv ℝ n (f ∘ graphMap k m) x‖ ≤ B*(R*graphFactor k m)^n*(n.factorial : ℝ)^2 := by apply (norm_graph_derivative_le f hf k m n x).trans exact (mul_le_mul_of_nonneg_left (hb n _) (pow_nonneg (graphFactor_nonneg k m) n)).trans_eq (by rw [mul_pow]; ring) variable (P : ℝ) [Fact (0 < P)] (f : LiftTangent → W) (hperiod : ∀ (c : AddSubgroup.zmultiples P) z, f (z.1,(c : ℝ)+z.2)=f z) (hf : ContDiff ℝ ∞ f) include hperiod hf in theorem graph_evaluated_tensor_bound (k : ℝ) (m : Vector3) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) (hLp : ∀ n, MemLp (fun q => jetSeries P f q n) 2 (liftMeasure P)) (hn : ∀ n, (eLpNorm (fun q => jetSeries P f q n) 2 (liftMeasure P)).toReal ≤ C*R^n*(n.factorial : ℝ)^2) (n : ℕ) : MemLp (fun x => iteratedFDeriv ℝ n f (graphMap k m x)) 2 volume ∧ (eLpNorm (fun x => iteratedFDeriv ℝ n f (graphMap k m x)) 2 volume).toReal ≤ (Real.sqrt (2/P+2*P)*C*(1+R))*(4*R)^n*(n.factorial : ℝ)^2 := by let θ : Vector3 → AddCircle P := fun x => (k*inner ℝ m x : ℝ) have hθ : Continuous θ := (AddCircle.continuous_mk' P).comp (continuous_const.mul (continuous_const.inner continuous_id)) obtain ⟨hg,hgNorm⟩ := jet_graph_memLp_and_bound P f hperiod hf n (hLp n) (hLp (n+1)) θ hθ (C*R^n*(n.factorial : ℝ)^2) (C*R^(n+1)*((n+1).factorial : ℝ)^2) (by positivity) (by positivity) (hn n) (hn (n+1)) have he : (fun x => jetSeries P f (x,θ x) n) = fun x => iteratedFDeriv ℝ n f (graphMap k m x) := funext (fun x => jetSeries_cover P f hperiod n (graphMap k m x)) rw [he] at hg hgNorm refine ⟨hg,hgNorm.trans ?_⟩ have hfirst : C*R^n*(n.factorial : ℝ)^2 ≤ C*majorant (4*R) 0 n := by simpa only [majorant,Nat.add_zero,mul_assoc] using mul_le_mul_of_nonneg_left (majorant_radius_mono R (4*R) hR (by linarith) 0 n) hC have hsecond : C*R^(n+1)*((n+1).factorial : ℝ)^2 ≤ C*R*majorant (4*R) 0 n := by simpa only [majorant,mul_assoc] using mul_le_mul_of_nonneg_left (majorant_one_le_radius_four R hR n) hC exact (mul_le_mul_of_nonneg_left (add_le_add hfirst hsecond) (Real.sqrt_nonneg _)).trans_eq (by simp only [majorant,Nat.add_zero]; ring) include hperiod hf in theorem graph_Lp_bound (k : ℝ) (m : Vector3) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) (hLp : ∀ n, MemLp (fun q => jetSeries P f q n) 2 (liftMeasure P)) (hn : ∀ n, (eLpNorm (fun q => jetSeries P f q n) 2 (liftMeasure P)).toReal ≤ C*R^n*(n.factorial : ℝ)^2) (n : ℕ) : MemLp (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume ∧ (eLpNorm (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume).toReal ≤ (Real.sqrt (2/P+2*P)*C*(1+R))*(4*R*graphFactor k m)^n*(n.factorial : ℝ)^2 := by obtain ⟨hg,hgNorm⟩ := graph_evaluated_tensor_bound P f hperiod hf k m C R hC hR hLp hn n have hm : AEStronglyMeasurable (iteratedFDeriv ℝ n (f ∘ graphMap k m)) volume := ((hf.comp (graphMap k m).contDiff).continuous_iteratedFDeriv (m := n) (by simp)).aestronglyMeasurable have hbound := norm_graph_derivative_le f hf k m n have hcomp : MemLp (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume := hg.of_le_mul hm (Eventually.of_forall hbound) have hnorm : (eLpNorm (iteratedFDeriv ℝ n (f ∘ graphMap k m)) 2 volume).toReal ≤ (graphFactor k m)^n*(eLpNorm (fun x => iteratedFDeriv ℝ n f (graphMap k m x)) 2 volume).toReal := by have h : ‖hcomp.toLp _‖ ≤ (graphFactor k m)^n*‖hg.toLp _‖ := by apply Lp.norm_le_mul_norm_of_ae_le_mul filter_upwards [hcomp.coeFn_toLp,hg.coeFn_toLp] with x hx hy rw [hx,hy] exact hbound x simpa only [Lp.norm_toLp] using h refine ⟨hcomp,hnorm.trans ?_⟩ exact (mul_le_mul_of_nonneg_left hgNorm (pow_nonneg (graphFactor_nonneg k m) n)).trans_eq (by rw [mul_pow]; ring) end EulerCylinderGraphGevrey