import Euler.BaseTransportCommutator import Euler.H6TransportSource /-! The actual external transport commutator and its cutoff-independent Gevrey radius-loss estimate. -/ /-! ## From `Euler/ExternalScalarCommutator.lean` The text of `Euler/ExternalScalarCommutator.lean`, folded into this file, which was its only importer. -/ section /-! Actual fixed-H⁶ external scalar multiplication commutators with positive-order binomial bounds. -/ noncomputable section namespace EulerExternalScalarCommutator open MeasureTheory EulerSobolev EulerLiftedGradientSpace EulerMetricTransport EulerTransportDerivatives EulerCylinderSobolev EulerRealCylinder EulerVectorCylinder EulerH6Nonlinear EulerBaseTransportCommutator EulerJetProductBounds EulerSpatialSobolevInverse open scoped ContDiff ENNReal Topology variable (period : ℝ) [Fact (0 < period)] section Subtraction variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] omit [Fact (0 < period)] in theorem fieldDerivative_sub (a : LiftTangent) (f g : LiftDomain period → F) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : fieldDerivative period a (f-g) = fieldDerivative period a f-fieldDerivative period a g := by funext x have h := (((hf x).differentiable (by simp)) 0).hasFDerivAt.sub (((hg x).differentiable (by simp)) 0).hasFDerivAt exact congrArg (fun A : LiftTangent →L[ℝ] F => A a) h.fderiv omit [Fact (0 < period)] in theorem word_sub {n : ℕ} (w : Fin n → Fin 4) (f g : LiftDomain period → F) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : iteratedFieldDerivative period w (f-g) = iteratedFieldDerivative period w f-iteratedFieldDerivative period w g := by induction n with | zero => rfl | succ n ih => rw [iteratedFieldDerivative_succ, ih (Fin.tail w), fieldDerivative_sub period _ _ _ (iteratedFieldDerivative_smooth period _ f hf) (iteratedFieldDerivative_smooth period _ g hg)] rfl end Subtraction omit [Fact (0 < period)] in theorem scalarCommutator_smooth {n : ℕ} (w : Fin n → Fin 4) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : ∀ x, ContDiff ℝ ∞ (localFieldLift period (scalarCommutator period w f g) x) := fun x => (iteratedFieldDerivative_smooth period w (fun x => f x • g x) (fun y => (hf y).smul (hg y)) x).sub ((hf x).smul (iteratedFieldDerivative_smooth period w g hg x)) theorem scalarCommutator_all_memLp {n : ℕ} (w : Fin n → Fin 4) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) (hfL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u f) 2 (liftMeasure period)) (hgL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u g) 2 (liftMeasure period)) : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u (scalarCommutator period w f g)) 2 (liftMeasure period) := by intro j u rw [scalarCommutator, word_sub period u (iteratedFieldDerivative period w (fun x => f x • g x)) (fun x => f x • iteratedFieldDerivative period w g x) (iteratedFieldDerivative_smooth period w (fun x => f x • g x) (fun x => (hf x).smul (hg x))) (fun x => (hf x).smul (iteratedFieldDerivative_smooth period w g hg x))] exact (word_all_memLp period w _ (product_all_memLp period 3 f g hf hg hfL hgL) j u).sub (product_all_memLp period 3 f _ hf (iteratedFieldDerivative_smooth period w g hg) hfL (word_all_memLp period w g hgL) j u) /-- Sum of actual H⁶ norms of external commutators at one order. -/ def commutatorH6Norm (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) : ℝ := ∑ w : Fin n → Fin 4, liftSobolevNorm period 6 (scalarCommutator period w f g) @[simp] theorem commutatorH6Norm_zero (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) : commutatorH6Norm period 0 f g = 0 := by simp [commutatorH6Norm, scalarCommutator, iteratedFieldDerivative_zero, liftSobolevNorm, EulerH6Nonlinear.word_zero] /-- The exact differential recurrence gives a recurrence of the actual fixed-base Sobolev norms. -/ theorem commutatorH6Norm_succ_le (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) (hfL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u f) 2 (liftMeasure period)) (hgL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u g) 2 (liftMeasure period)) : commutatorH6Norm period (n+1) f g ≤ ∑ i : Fin 4, (wordSobolevNorm period 6 n (fun x => fieldDerivative period (standardDirection i) f x • g x) + commutatorH6Norm period n f (fieldDerivative period (standardDirection i) g)) := by rw [commutatorH6Norm, sum_word_snoc] apply Finset.sum_le_sum intro i _ rw [wordSobolevNorm, commutatorH6Norm, ← Finset.sum_add_distrib] apply Finset.sum_le_sum intro w _ rw [scalarCommutator_recurrence period _ f g hf hg] have hi : (Fin.snoc (α := fun _ : Fin (n+1) => Fin 4) w i) (Fin.last n) = i := by simp [Fin.snoc] simp only [Fin.init_snoc, hi] have hdf := fieldDerivative_smooth period (standardDirection i) f hf have hdg := fieldDerivative_smooth period (standardDirection i) g hg have hdfL := derivative_all_memLp period f hfL i have hdgL := derivative_all_memLp period g hgL i exact sobolev_add_le period 6 _ _ (iteratedFieldDerivative_smooth period w _ (fun x => (hdf x).smul (hg x))) (scalarCommutator_smooth period w f _ hf hdg) (fun j _ u => word_all_memLp period w _ (product_all_memLp period 3 _ g hdf hg hdfL hgL) j u) (fun j _ u => scalarCommutator_all_memLp period w f _ hf hdg hfL hdgL j u) /-- The actual external commutator has exactly the positive-coefficient-order binomial convolution. -/ theorem commutatorH6Norm_bound (n : ℕ) (f : LiftDomain period → ℝ) (g : LiftDomain period → Vector3) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) (hfL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u f) 2 (liftMeasure period)) (hgL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u g) 2 (liftMeasure period)) : commutatorH6Norm period n f g ≤ productConstant period 3 * commutatorConvolution (fun l => wordSobolevNorm period 6 l f) (fun l => wordSobolevNorm period 6 l g) n := by induction n generalizing f g with | zero => simp [commutatorConvolution_eq_sum] | succ n ih => apply (commutatorH6Norm_succ_le period n f g hf hg hfL hgL).trans calc _ ≤ ∑ i : Fin 4, (productConstant period 3 * leibnizConvolution (fun l => wordSobolevNorm period 6 l (fieldDerivative period (standardDirection i) f)) (fun l => wordSobolevNorm period 6 l g) n + productConstant period 3 * commutatorConvolution (fun l => wordSobolevNorm period 6 l f) (fun l => wordSobolevNorm period 6 l (fieldDerivative period (standardDirection i) g)) n) := by apply Finset.sum_le_sum intro i _ exact add_le_add (product_wordSobolevNorm_bound period 3 n _ g (fieldDerivative_smooth period _ f hf) hg (derivative_all_memLp period f hfL i) hgL) (ih f _ hf (fieldDerivative_smooth period _ g hg) hfL (derivative_all_memLp period g hgL i)) _ = _ := by rw [Finset.sum_add_distrib, ← Finset.mul_sum, ← Finset.mul_sum, sum_leibnizConvolution_left, sum_commutatorConvolution_right, commutatorConvolution_succ] simp_rw [← wordSobolevNorm_succ] ring end EulerExternalScalarCommutator end end noncomputable section namespace EulerExternalTransportCommutator open MeasureTheory EulerSobolev EulerLiftedGradientSpace EulerMetricTransport EulerTransportDerivatives EulerCylinderSobolev EulerRealCylinder EulerVectorCylinder EulerH6Nonlinear EulerBaseTransportCommutator EulerExternalScalarCommutator EulerJetProductBounds EulerSpatialSobolevInverse EulerPacketWeights EulerLiftedCurl open scoped ContDiff ENNReal Topology variable (period : ℝ) [Fact (0 < period)] omit [Fact (0 < period)] in /-- Actual coordinate words commute with each constant-direction derivative of a smooth field. -/ theorem word_derivative_comm {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] {n : ℕ} (w : Fin n → Fin 4) (a : LiftTangent) (f : LiftDomain period → F) (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : iteratedFieldDerivative period w (fieldDerivative period a f) = fieldDerivative period a (iteratedFieldDerivative period w f) := by induction n with | zero => rfl | succ n ih => rw [iteratedFieldDerivative_succ, ih (Fin.tail w)] funext x exact fieldDerivatives_commute period _ _ _ (iteratedFieldDerivative_smooth period (Fin.tail w) f hf) x /-- The literal external transport commutator D^w(b·∇e)−b·∇D^w e. -/ def transportCommutator {n : ℕ} (w : Fin n → Fin 4) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) : LiftDomain period → Vector3 := iteratedFieldDerivative period w (transportField period 3 b e) - transportField period 3 b (iteratedFieldDerivative period w e) omit [Fact (0 < period)] in /-- The actual transport commutator is exactly the sum of the scalar multiplication commutators. -/ theorem transportCommutator_eq_sum {n : ℕ} (w : Fin n → Fin 4) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) : transportCommutator period w b e = ∑ i : Fin 4, scalarCommutator period w (coordinate 4 i ∘ b) (fieldDerivative period (standardDirection i) e) := by unfold transportCommutator transportField rw [word_sum period Finset.univ (fun i : Fin 4 => fun x => b x i • fieldDerivative period (standardDirection i) e x) (fun i _ x => (postcomp_smooth period (coordinate 4 i) b hb x).smul (fieldDerivative_smooth period (standardDirection i) e he x)) w, ← Finset.sum_sub_distrib] apply Finset.sum_congr rfl intro i _ rw [scalarCommutator, word_derivative_comm period w (standardDirection i) e he] rfl /-- Sum of the actual H⁶ norms of all external transport commutators at one order. -/ def transportCommutatorNorm (n : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) : ℝ := ∑ w : Fin n → Fin 4, liftSobolevNorm period 6 (transportCommutator period w b e) /-- Positivity allows monotonicity of the coefficient sequence in the genuine commutator convolution. -/ theorem commutatorConvolution_mono_left (n : ℕ) (A A' B : ℕ → ℝ) (hA : ∀ l, A l ≤ A' l) (hB : ∀ l, 0 ≤ B l) : commutatorConvolution A B n ≤ commutatorConvolution A' B n := by rw [commutatorConvolution_eq_sum, commutatorConvolution_eq_sum] exact Finset.sum_le_sum fun l _ => mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left (hA (l+1)) (Nat.cast_nonneg _)) (hB _) /-- The actual external transport commutator has no undifferentiated-velocity term. -/ theorem transportCommutatorNorm_bound (n : ℕ) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) (hbL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u b) 2 (liftMeasure period)) (heL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u e) 2 (liftMeasure period)) : transportCommutatorNorm period n b e ≤ productConstant period 3 * commutatorConvolution (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 (l+1) e) n := by have hbi (i : Fin 4) := postcomp_smooth period (coordinate 4 i) b hb have hbiL (i : Fin 4) : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w (coordinate 4 i ∘ b)) 2 (liftMeasure period) := fun j w => postcomp_word_memLp period (show j ≤ j by omega) _ b hb (fun r _ v => hbL r v) w have hw (w : Fin n → Fin 4) : liftSobolevNorm period 6 (transportCommutator period w b e) ≤ ∑ i : Fin 4, liftSobolevNorm period 6 (scalarCommutator period w (coordinate 4 i ∘ b) (fieldDerivative period (standardDirection i) e)) := by rw [transportCommutator_eq_sum period w b e hb he] have h := wordSobolevNorm_sum_le period Finset.univ 6 0 (fun i => scalarCommutator period w (coordinate 4 i ∘ b) (fieldDerivative period (standardDirection i) e)) (fun i _ => scalarCommutator_smooth period w _ _ (hbi i) (fieldDerivative_smooth period _ e he)) (fun i _ => scalarCommutator_all_memLp period w _ _ (hbi i) (fieldDerivative_smooth period _ e he) (hbiL i) (derivative_all_memLp period e heL i)) simpa only [wordSobolevNorm_zero] using h have hsum := Finset.sum_le_sum (fun w (_ : w ∈ (Finset.univ : Finset (Fin n → Fin 4))) => hw w) rw [Finset.sum_comm] at hsum apply hsum.trans calc _ ≤ ∑ i : Fin 4, productConstant period 3 * commutatorConvolution (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 l (fieldDerivative period (standardDirection i) e)) n := by apply Finset.sum_le_sum intro i _ have hi := commutatorH6Norm_bound period n _ _ (hbi i) (fieldDerivative_smooth period _ e he) (hbiL i) (derivative_all_memLp period e heL i) apply hi.trans apply mul_le_mul_of_nonneg_left _ (productConstant_nonneg period 3) exact commutatorConvolution_mono_left n _ _ _ (fun l => wordSobolevNorm_postcomp_le period 6 l (coordinate 4 i) (coordinate_norm_le 4 i) b hb hbL) (fun l => wordSobolevNorm_nonneg period 6 l _) _ = _ := by rw [← Finset.mul_sum, sum_commutatorConvolution_right] simp_rw [← wordSobolevNorm_succ] /-- The actual external transport commutator obeys the radius-loss bound with no cutoff-dependent constant or cutoff-plus-one velocity. -/ theorem transportCommutator_weighted_bound (N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) (b : LiftDomain period → Domain 4) (e : LiftDomain period → Vector3) (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) (he : ∀ x, ContDiff ℝ ∞ (localFieldLift period e x)) (hbL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u b) 2 (liftMeasure period)) (heL : ∀ j, ∀ u : Fin j → Fin 4, MemLp (iteratedFieldDerivative period u e) 2 (liftMeasure period)) : (∑ n ∈ Finset.range (N+1), weight ρ n * transportCommutatorNorm period n b e) ≤ productConstant period 3 * ρ⁻¹ * (∑ l ∈ Finset.range (N+1), weight ρ l * wordSobolevNorm period 6 l b) * (∑ j ∈ Finset.range (N+1), (j : ℝ)*weight ρ j * wordSobolevNorm period 6 j e) := by calc _ ≤ ∑ n ∈ Finset.range (N+1), weight ρ n * (productConstant period 3 * commutatorConvolution (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 (l+1) e) n) := Finset.sum_le_sum fun n _ => mul_le_mul_of_nonneg_left (transportCommutatorNorm_bound period n b e hb he hbL heL) (weight_pos hρ n).le _ = productConstant period 3 * (∑ n ∈ Finset.range (N+1), ∑ l ∈ Finset.range n, weight ρ n * (n.choose (l+1) : ℝ) * wordSobolevNorm period 6 (l+1) b * wordSobolevNorm period 6 (n-l) e) := by simp only [commutatorConvolution_eq_sum, Finset.mul_sum] apply Finset.sum_congr rfl intro n _ apply Finset.sum_congr rfl intro l hl have hn : n-(l+1)+1 = n-l := by have := Finset.mem_range.mp hl; omega rw [hn] ring _ ≤ _ := (mul_le_mul_of_nonneg_left (EulerWeightedConvolution.external_commutator_sum ρ hρ N (fun l => wordSobolevNorm period 6 l b) (fun l => wordSobolevNorm period 6 l e) (fun l => wordSobolevNorm_nonneg period 6 l b) (fun l => wordSobolevNorm_nonneg period 6 l e)) (productConstant_nonneg period 3)).trans_eq (by ring) end EulerExternalTransportCommutator