import Euler.SobolevBaseCommutator import Euler.GevreyLowNorms import Euler.GevreyPressureEnergy import Euler.WeightedForcingAlgebra /-! Literal differentiated forcing arrays and their actual finite Gevrey norms. -/ /-! ## From `Euler/GevreyBaseTransport.lean` The text of `Euler/GevreyBaseTransport.lean`, folded into this file, which was its only importer. -/ section /-! Summation of the actual base transport commutators with no external-cutoff constant. -/ noncomputable section namespace EulerGevreyBaseTransport open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev EulerH6Pressure EulerPacketWeights EulerSobolevGevreyOperators EulerBaseWordMetric EulerFiniteMetricEnergy EulerWeightedCylinderEnergy EulerGevreyMetricComparison EulerSobolevWordLevel EulerSobolevBaseCommutator EulerBaseTransportL2 EulerGevreyLowNorms variable (period : ℝ) [Fact (0 < period)] /-- Restriction commutes with taking an actual derivative word at a lower Sobolev level. -/ theorem restrict_wordAtLevel {s p q n : ℕ} (hq : q ≤ p) (w : Fin n → Fin 4) (hp : n+p ≤ s) (u : SobolevSpace period s) : restrictOperator period hq (wordAtLevel period p n w hp u) = wordAtLevel period q n w (by omega) u := by apply value_injective period rw [value_restrictOperator, wordAtLevel_value, wordAtLevel_value] /-- The exact base derivative sum is contained in every truncated actual Gevrey norm. -/ theorem sumNorm_restrict_le_weighted {s q : ℕ} (hq : q ≤ s) (N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) (u : SobolevSpace period s) : sumNorm period (restrictOperator period hq u) ≤ weightedNorm period q N ρ u := by have he : sumNorm period (restrictOperator period hq u) = blockNorm period (toJet period u) q 0 := by rw [blockNorm_zero_eq_size (toJet period u) hq] rw [sumNorm_eq_jet, ← sobolevSize_eq period (toJet period (restrictOperator period hq u)), value_restrictOperator] rw [he] have hsum := Finset.single_le_sum (s := Finset.range (N+1)) (fun n _ => mul_nonneg (weight_pos hρ n).le (show 0 ≤ blockNorm period (toJet period u) q n from blockNorm_nonneg _)) (show 0 ∈ Finset.range (N+1) by simp) simpa [weight, weightedNorm] using hsum /-- Exact external-word expansion of the actual Gevrey Sobolev sum. -/ theorem weighted_word_sums {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (u : SobolevSpace period s) : (∑ I : ExternalWord N, weight ρ I.1.val * sumNorm period (wordAtLevel period q I.1.val I.2 (by have := I.1.isLt; omega) u)) = weightedNorm period q N ρ u := by rw [Fintype.sum_sigma, weightedNorm, ← Fin.sum_univ_eq_sum_range] apply Finset.sum_congr rfl intro n _ rw [blockNorm_baseWords period u (by have := n.isLt; omega : n.val+q ≤ s), Finset.mul_sum] apply Finset.sum_congr rfl intro w _ rw [sumNorm_wordAtLevel] /-- The literal base transport forcing at every external and base derivative word. -/ def baseTransportForcing {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) (u v : SobolevSpace period (s+1)) : ExternalWord N → BaseWord 6 → LiftL2 period := fun I a => baseCommutator period a.1.val (by have := a.1.isLt; omega) a.2 L hL (restrictOperator period (by omega : 7 ≤ s+1) u) (wordAtLevel period 7 I.1.val I.2 (by have := I.1.isLt; omega : I.1.val+7 ≤ s+1) v) /-- Each base-word forcing family is controlled by the fixed H⁶ norms, with the fixed word-count factor 5461. -/ theorem baseTransportForcing_family_bound {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) (u v : SobolevSpace period (s+1)) (I : ExternalWord N) : familyNorm (baseTransportForcing period N hN L hL u v I) ≤ (5461*baseTransportConstant period) * sumNorm period (restrictOperator period (by omega : 6 ≤ s+1) u) * sumNorm period (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega : I.1.val+6 ≤ s+1) v) := by have hb (a : BaseWord 6) : ‖baseTransportForcing period N hN L hL u v I a‖ ≤ baseTransportConstant period * sumNorm period (restrictOperator period (by omega : 6 ≤ s+1) u) * sumNorm period (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega : I.1.val+6 ≤ s+1) v) := by have h := baseCommutator_bound period a.1.val (by have := a.1.isLt; omega) a.2 L hL (restrictOperator period (by omega : 7 ≤ s+1) u) (wordAtLevel period 7 I.1.val I.2 (by have := I.1.isLt; omega : I.1.val+7 ≤ s+1) v) rw [restrictOperator_comp, restrict_wordAtLevel] at h exact h have hsum := Finset.sum_le_sum (s := (Finset.univ : Finset (BaseWord 6))) (fun a _ => hb a) exact (familyNorm_le_sum_norm _).trans (hsum.trans_eq (by simp only [Finset.sum_const, Finset.card_univ, card_baseWord_six, nsmul_eq_mul]; ring)) /-- The actual weighted base transport forcing has no external derivative loss or cutoff-dependent coefficient. -/ theorem baseTransportForcing_weighted_bound {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) (u v : SobolevSpace period (s+1)) : weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (baseTransportForcing period N hN L hL u v) ≤ (5461*baseTransportConstant period)*weightedNorm period 6 N ρ u*weightedNorm period 6 N ρ v := by have h := Finset.sum_le_sum (s := (Finset.univ : Finset (ExternalWord N))) (fun I _ => mul_le_mul_of_nonneg_left (baseTransportForcing_family_bound period N hN L hL u v I) (weight_pos hρ I.1.val).le) have he : (∑ I : ExternalWord N, weight ρ I.1.val * ((5461*baseTransportConstant period)*sumNorm period (restrictOperator period (by omega : 6 ≤ s+1) u)* sumNorm period (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) v))) = (5461*baseTransportConstant period)*sumNorm period (restrictOperator period (by omega : 6 ≤ s+1) u)*weightedNorm period 6 N ρ v := by rw [← weighted_word_sums period 6 N (by omega : N+6 ≤ s+1) ρ v, Finset.mul_sum] exact Finset.sum_congr rfl (fun I _ => by ring) rw [he] at h exact h.trans (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left (sumNorm_restrict_le_weighted period (by omega : 6 ≤ s+1) N ρ hρ u) (mul_nonneg (by norm_num) (baseTransportConstant_nonneg period))) (weightedNorm_nonneg period 6 N ρ hρ v)) end EulerGevreyBaseTransport end end noncomputable section namespace EulerGevreyForcingComponents open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev EulerSpatialSobolevInverse EulerH6Pressure EulerPacketWeights EulerSobolevGevreyOperators EulerBaseWordMetric EulerFiniteMetricEnergy EulerWeightedCylinderEnergy EulerGevreyMetricComparison EulerSobolevWordLevel EulerSobolevTransportCommutator EulerGevreyPressureEnergy EulerBasePressureCommutator EulerGevreyBaseTransport variable (period : ℝ) [Fact (0 < period)] /-- A finite family of actual base-word derivatives is controlled by its genuine derivative-sum norm. -/ theorem forcing_le_jetSum {ι : Type*} [Fintype ι] (order : ι → ℕ) (ρ : ℝ) (hρ : 0 < ρ) (f : ι → LiftL2 period) (J : ∀ i, EulerSpatialSobolevInverse.SpatialJet period standardDirection 6 (f i)) : weightedForcingSum ρ order (fun i => baseWordValues period (J i)) ≤ ∑ i, weight ρ (order i)*(J i).sobolevNorm := by apply Finset.sum_le_sum intro i _ have h := familyNorm_le_sum_norm (baseWordValues period (J i)) rw [sum_baseWordValues_norm] at h exact mul_le_mul_of_nonneg_left h (weight_pos hρ (order i)).le /-- The actual differentiated order-zero source is controlled by its finite weighted Sobolev norm. -/ theorem sourceForcing_weighted_bound {s : ℕ} (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) (f : SobolevSpace period s) : weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (energyValues period 6 N hN f) ≤ weightedNorm period 6 N ρ f := by have h := forcing_le_jetSum period (fun I : ExternalWord N => I.1.val) ρ hρ (fun I => (toJet period f).word I.2) (fun I => EulerH6Pressure.SpatialJet.derivativeJet (q := 6) (toJet period f) I.2 (by have := I.1.isLt; omega)) have he : (∑ I : ExternalWord N, weight ρ I.1.val * (EulerH6Pressure.SpatialJet.derivativeJet (q := 6) (toJet period f) I.2 (by have := I.1.isLt; omega)).sobolevNorm) = ∑ I : ExternalWord N, weight ρ I.1.val * sumNorm period (wordAtLevel period 6 I.1.val I.2 (by have := I.1.isLt; omega) f) := by apply Finset.sum_congr rfl intro I _ rw [sumNorm_wordAtLevel] exact h.trans_eq (he.trans (weighted_word_sums period 6 N hN ρ f)) /-- The literal base derivatives of the external transport commutator. -/ def externalTransportForcing {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) (u v : SobolevSpace period (s+1)) : ExternalWord N → BaseWord 6 → LiftL2 period := fun I => baseWordValues period (toJet period (externalCommutator period hs I.1.val I.2 (by have := I.1.isLt; omega) L hL u v)) /-- The actual external transport forcing is bounded by the already proved commutator norm. -/ theorem externalTransportForcing_bound {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) (u v : SobolevSpace period (s+1)) : weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (externalTransportForcing period hs N hN L hL u v) ≤ weightedCommutatorNorm period hs N hN ρ L hL u v := by have h := forcing_le_jetSum period (fun I : ExternalWord N => I.1.val) ρ hρ _ (fun I => toJet period (externalCommutator period hs I.1.val I.2 (by have := I.1.isLt; omega) L hL u v)) simp only [← sumNorm_eq_jet] at h exact h.trans_eq (by simp only [Fintype.sum_sigma, weightedCommutatorNorm, Finset.mul_sum]) /-- The literal base derivatives of the actual external coefficient-pressure commutator. -/ def externalPressureForcing {s : ℕ} {A : SmoothCoefficient period} (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) (N : ℕ) (hN : N+6 ≤ s) (p : SobolevSpace period s) : ExternalWord N → BaseWord 6 → LiftL2 period := fun I => baseWordValues period (commutatorJet K (toJet period p) I.2 (by have := I.1.isLt; omega : I.1.val+6 ≤ s)) /-- The actual differentiated external pressure forcing is controlled by its proved H⁶ commutator sum. -/ theorem externalPressureForcing_bound {s : ℕ} {A : SmoothCoefficient period} (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s A) (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) (p : SobolevSpace period s) : weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (externalPressureForcing period K N hN p) ≤ externalPressureNorm period K N ρ p := by have h := forcing_le_jetSum period (fun I : ExternalWord N => I.1.val) ρ hρ _ (fun I => commutatorJet K (toJet period p) I.2 (by have := I.1.isLt; omega : I.1.val+6 ≤ s)) apply h.trans_eq rw [Fintype.sum_sigma, externalPressureNorm, ← Fin.sum_univ_eq_sum_range] apply Finset.sum_congr rfl intro n _ rw [commutatorBlock, Finset.mul_sum] apply Finset.sum_congr rfl intro w _ rw [sobolevSize_eq period (commutatorJet K (toJet period p) w (by have := n.isLt; omega : n.val+6 ≤ s))] /-- At order zero the genuine Sobolev size is exactly the L² norm. -/ theorem sobolevSize_order_zero (f : LiftL2 period) : sobolevSize period (directions := standardDirection) 0 f = ‖f‖ := by exact sobolevSize_eq period (EulerSpatialSobolevInverse.SpatialJet.zero f) /-- The literal base derivative commutator of G with each external pressure derivative. -/ def basePressureForcing {s : ℕ} {A : SmoothCoefficient period} (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) (N : ℕ) (hN : N+6 ≤ s) (p : SobolevSpace period s) : ExternalWord N → BaseWord 6 → LiftL2 period := fun I a => (EulerSpatialSobolevInverse.SpatialJet.multiply K (EulerH6Pressure.SpatialJet.derivativeJet (q := 6) (toJet period p) I.2 (by have := I.1.isLt; omega))).word a.2 - A.operator ((EulerH6Pressure.SpatialJet.derivativeJet (q := 6) (toJet period p) I.2 (by have := I.1.isLt; omega)).word a.2) /-- At each external word, summing the actual base commutator norms gives the base-pressure block expression. -/ theorem basePressureForcing_family_bound {s : ℕ} {A : SmoothCoefficient period} (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) (N : ℕ) (hN : N+6 ≤ s) (p : SobolevSpace period s) (I : ExternalWord N) : familyNorm (basePressureForcing period K N hN p I) ≤ ∑ r ∈ Finset.range 7, commutatorBlock K (EulerH6Pressure.SpatialJet.derivativeJet (q := 6) (toJet period p) I.2 (by have := I.1.isLt; omega)) 0 r := by apply (familyNorm_le_sum_norm _).trans_eq rw [Fintype.sum_sigma, ← Fin.sum_univ_eq_sum_range] apply Finset.sum_congr rfl intro r _ simp only [commutatorBlock, sobolevSize_order_zero, basePressureForcing] /-- The actual base pressure forcing is controlled by the previously proved lower-order pressure commutator norm. -/ theorem basePressureForcing_bound {s : ℕ} {A : SmoothCoefficient period} (K : EulerSpatialSobolevInverse.CoefficientJet period standardDirection 6 A) (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) (hρ : 0 < ρ) (p : SobolevSpace period s) : weightedForcingSum ρ (fun I : ExternalWord N => I.1.val) (basePressureForcing period K N hN p) ≤ basePressureNorm period K N hN ρ p := by have h := Finset.sum_le_sum (s := (Finset.univ : Finset (ExternalWord N))) (fun I _ => mul_le_mul_of_nonneg_left (basePressureForcing_family_bound period K N hN p I) (weight_pos hρ I.1.val).le) exact h.trans_eq (by simp only [Fintype.sum_sigma, basePressureNorm, basePressureBlock, Finset.mul_sum]) end EulerGevreyForcingComponents