import Euler.MeanClassicalWordBounds import Euler.LpSmoothField import Euler.GevreyFixedShift import Euler.ParameterSobolevCoefficient import Euler.PacketParentCoefficientBounds /-! The physical-label estimate (21) supplies the multiplier inputs in (H1). The displacement, velocity and acceleration are the actual L² fields. The identity part of the deformation is never asserted to lie in L². -/ /-! ## From `Euler/PacketParentLabelBounds.lean` The text of `Euler/PacketParentLabelBounds.lean`, folded into this file, which was its only importer. -/ section /-! Source (21) controls actual ordered physical-label derivatives in a fixed Sobolev norm. This file converts those genuine L² blocks to uniform spatial coefficient bounds. The embedding constant is independent of the external order; only the one derivative from displacement to deformation enlarges the coefficient radius. -/ noncomputable section namespace EulerPacketParentLabelBounds open Set MeasureTheory Finset ContinuousLinearMap EulerSmoothLimit EulerMeanSolenoidal EulerMeanSmoothRepresentative EulerMeanClassicalWordBounds EulerParameterWordGevrey EulerSobolevPointEvaluation EulerCylinderSobolevSpace EulerGevrey EulerOperatorGevreyCalculus open scoped ContDiff def direction (i : Fin 3) : Space := EuclideanSpace.single i 1 def embeddingCost : ℝ := sobolevEmbeddingConstant 1 3 theorem embeddingCost_nonneg : 0 ≤ embeddingCost := sobolevEmbeddingConstant_nonneg 1 3 theorem tensor_le_wordSum {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] (f : Space → V) (n : ℕ) (x : Space) : ‖iteratedFDeriv ℝ n f x‖ ≤ wordSum direction f n x := EulerSobolevDerivativeNorm.multilinear_norm_le_coordinate_sum 3 n _ theorem representative_norm_le_base (u : L2) (hu : SmoothOrbit u) (q : ℕ) (hq : 3 ≤ q) (x : Space) : ‖representative u hu x‖ ≤ embeddingCost*baseSize direction q (fun a : Space => translation a u) 0 := by apply (EulerMeanSmoothRepresentative.representative_bound u hu x).trans apply mul_le_mul_of_nonneg_left _ embeddingCost_nonneg apply le_trans _ (baseSize_mono direction _ 0 hq) exact sum_le_sum (fun k _ => tensor_le_wordSum (fun a : Space => translation a u) k 0) /-- Fixed H³ evaluation is applied after each external word, without a tensor-coordinate norm equivalence depending on the word length. -/ theorem representative_tensor_le_block (u : L2) (hu : SmoothOrbit u) (q : ℕ) (hq : 3 ≤ q) (n : ℕ) (x : Space) : ‖iteratedFDeriv ℝ n (representative u hu) x‖ ≤ embeddingCost*block direction q (fun a : Space => translation a u) n 0 := by apply (tensor_le_wordSum (representative u hu) n x).trans unfold wordSum block rw [mul_sum] apply sum_le_sum intro w _ rw [representative_word direction u hu w x] have h := representative_norm_le_base (ordinaryWord direction u w) (ordinaryWord_smooth direction u hu w) q hq x have he : (fun a : Space => translation a (ordinaryWord direction u w)) = wordDerivative direction (fun a : Space => translation a u) w := funext (ordinaryWord_translation direction u hu w) rw [he] at h exact h /-- The bound applies to the actual continuous representative, not merely to a field chosen by the Sobolev reconstruction. -/ theorem field_tensor_le_block (u : L2) (hu : SmoothOrbit u) (f : Space → Space) (hf : Continuous f) (hrep : (u : Space → Space) =ᵐ[volume] f) (q : ℕ) (hq : 3 ≤ q) (n : ℕ) (x : Space) : ‖iteratedFDeriv ℝ n f x‖ ≤ embeddingCost*block direction q (fun a : Space => translation a u) n 0 := by have he := representative_unique u hu f hf hrep rw [← he] exact representative_tensor_le_block u hu q hq n x theorem field_tensor_gevrey (u : L2) (hu : SmoothOrbit u) (f : Space → Space) (hf : Continuous f) (hrep : (u : Space → Space) =ᵐ[volume] f) (q : ℕ) (hq : 3 ≤ q) (R A : ℝ) (hb : ∀ n, block direction q (fun a : Space => translation a u) n 0 ≤ A*majorant R 0 n) (n : ℕ) (x : Space) : ‖iteratedFDeriv ℝ n f x‖ ≤ (embeddingCost*A)*majorant R 0 n := (field_tensor_le_block u hu f hf hrep q hq n x).trans ((mul_le_mul_of_nonneg_left (hb n) embeddingCost_nonneg).trans_eq (by ring)) /-- Differentiating the parent particle map once costs a fixed coefficient radius factor four and a single polynomial amplitude factor R. -/ theorem gradient_gevrey (u : L2) (hu : SmoothOrbit u) (f : Space → Space) (hf : Continuous f) (hrep : (u : Space → Space) =ᵐ[volume] f) (q : ℕ) (hq : 3 ≤ q) (R A : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (hb : ∀ n, block direction q (fun a : Space => translation a u) n 0 ≤ A*majorant R 0 n) (n : ℕ) (x : Space) : ‖iteratedFDeriv ℝ n (fderiv ℝ f) x‖ ≤ (embeddingCost*A*R)*majorant (4*R) 0 n := by rw [norm_iteratedFDeriv_fderiv] have h := field_tensor_gevrey u hu f hf hrep q hq R A hb (n+1) x have hs := majorant_one_le_radius_four R hR n change majorant R 0 (n+1) ≤ R*majorant (4*R) 0 n at hs exact h.trans ((mul_le_mul_of_nonneg_left hs (mul_nonneg embeddingCost_nonneg hA)).trans_eq (by ring)) /-- Label normalization by a contraction does not enlarge positive spatial derivatives. This applies to the source scaling a=ℓ y. -/ theorem gradient_scaled_gevrey (u : L2) (hu : SmoothOrbit u) (f : Space → Space) (hf : ContDiff ℝ ∞ f) (hrep : (u : Space → Space) =ᵐ[volume] f) (q : ℕ) (hq : 3 ≤ q) (R A : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (hb : ∀ n, block direction q (fun a : Space => translation a u) n 0 ≤ A*majorant R 0 n) (L : Space →L[ℝ] Space) (hL : ‖L‖ ≤ 1) (n : ℕ) (x : Space) : ‖iteratedFDeriv ℝ n (fun y => fderiv ℝ f (L y)) x‖ ≤ (embeddingCost*A*R)*majorant (4*R) 0 n := by change ‖iteratedFDeriv ℝ n (fderiv ℝ f ∘ L) x‖ ≤ _ rw [L.iteratedFDeriv_comp_right (hf.fderiv_right (m := ∞) (by simp)) x (by simp)] have hc := (iteratedFDeriv ℝ n (fderiv ℝ f) (L x)).norm_compContinuousLinearMap_le (fun _ : Fin n => L) simp only [prod_const,card_univ,Fintype.card_fin] at hc apply hc.trans apply le_trans _ (gradient_gevrey u hu f hf.continuous hrep q hq R A hR hA hb n (L x)) simpa only [mul_one] using mul_le_mul_of_nonneg_left (pow_le_one₀ (norm_nonneg L) hL) (norm_nonneg (iteratedFDeriv ℝ n (fderiv ℝ f) (L x))) /-- The actual deformation is identity plus the derivative of the L² displacement. The identity is kept out of the spatial L² datum. -/ theorem deformation_scaled_gevrey (u : L2) (hu : SmoothOrbit u) (f : Space → Space) (hf : ContDiff ℝ ∞ f) (hrep : (u : Space → Space) =ᵐ[volume] f) (q : ℕ) (hq : 3 ≤ q) (R A : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (hb : ∀ n, block direction q (fun a : Space => translation a u) n 0 ≤ A*majorant R 0 n) (L : Space →L[ℝ] Space) (hL : ‖L‖ ≤ 1) (n : ℕ) (x : Space) : ‖iteratedFDeriv ℝ n (fun y => ContinuousLinearMap.id ℝ Space+fderiv ℝ f (L y)) x‖ ≤ (1+embeddingCost*A*R)*majorant (4*R) 0 n := add_bound (fun _ : Space => ContinuousLinearMap.id ℝ Space) (fun y => fderiv ℝ f (L y)) contDiff_const ((hf.fderiv_right (m := ∞) (by simp)).comp L.contDiff) (4*R) 1 (embeddingCost*A*R) 0 (const_bound (ContinuousLinearMap.id ℝ Space) (4*R) 1 (by positivity) norm_id_le) (gradient_scaled_gevrey u hu f hf hrep q hq R A hR hA hb L hL) n x end EulerPacketParentLabelBounds end end noncomputable section namespace EulerPacketParentLabelBounds open MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerMeanSolenoidal EulerMeanSmoothRepresentative EulerMeanClassicalWordBounds EulerParameterWordGevrey EulerGevrey EulerOperatorGevreyCalculus open scoped ContDiff def coefficientRadius (K : ℝ) : ℝ := max 1024 (4*K) def gradientAmplitude (K : ℝ) : ℝ := embeddingCost*K^2 def frameAmplitude (K : ℝ) : ℝ := 1+gradientAmplitude K theorem coefficientRadius_lower (K : ℝ) : 1024 ≤ coefficientRadius K := le_max_left _ _ theorem coefficientRadius_nonneg (K : ℝ) : 0 ≤ coefficientRadius K := (by norm_num : (0 : ℝ) ≤ 1024).trans (coefficientRadius_lower K) theorem gradientAmplitude_nonneg (K : ℝ) : 0 ≤ gradientAmplitude K := mul_nonneg embeddingCost_nonneg (sq_nonneg K) theorem frameAmplitude_nonneg (K : ℝ) : 0 ≤ frameAmplitude K := add_nonneg zero_le_one (gradientAmplitude_nonneg K) /-- An actual scalar label scaling with 0≤ℓ≤1 is a linear contraction. -/ theorem labelScaling_norm_le (ℓ : ℝ) (hℓ : 0 ≤ ℓ) (hℓ1 : ℓ ≤ 1) : ‖ℓ • ContinuousLinearMap.id ℝ Space‖ ≤ 1 := by rw [norm_smul,Real.norm_of_nonneg hℓ] exact (mul_le_mul_of_nonneg_left norm_id_le hℓ).trans (by simpa only [mul_one] using hℓ1) theorem source_block_bound (u : L2) (hu : SmoothOrbit u) (K : ℝ) (hb : ∀ n, classicalBlockSize direction 6 u hu n ≤ K^(n+1)*(n.factorial : ℝ)^2) (n : ℕ) : block direction 6 (fun a : Space => translation a u) n 0 ≤ K*majorant K 0 n := by have h := hb n rw [classicalBlockSize_eq] at h convert h using 1 simp only [majorant,Nat.add_zero,pow_succ] ring /-- A velocity or acceleration in the literal physical-label H⁶ word norm gives its actual spatial Jacobian at one polynomial coefficient radius. -/ theorem source_gradient_bound (u : L2) (hu : SmoothOrbit u) (f : Space → Space) (hf : ContDiff ℝ ∞ f) (hrep : (u : Space → Space) =ᵐ[volume] f) (K : ℝ) (hK : 0 ≤ K) (hb : ∀ n, classicalBlockSize direction 6 u hu n ≤ K^(n+1)*(n.factorial : ℝ)^2) (L : Space →L[ℝ] Space) (hL : ‖L‖ ≤ 1) (n : ℕ) (x : Space) : ‖iteratedFDeriv ℝ n (fun y => fderiv ℝ f (L y)) x‖ ≤ gradientAmplitude K*majorant (coefficientRadius K) 0 n := by have h := gradient_scaled_gevrey u hu f hf hrep 6 (by omega) K K hK hK (source_block_bound u hu K hb) L hL n x have hr := majorant_radius_mono (4*K) (coefficientRadius K) (by positivity) (le_max_right _ _) 0 n have he : embeddingCost*K*K = gradientAmplitude K := by unfold gradientAmplitude; ring rw [he] at h exact h.trans (mul_le_mul_of_nonneg_left hr (gradientAmplitude_nonneg K)) /-- The parent displacement bound gives the full deformation, including its constant identity, without making the identity an L² datum. -/ theorem source_deformation_bound (u : L2) (hu : SmoothOrbit u) (f : Space → Space) (hf : ContDiff ℝ ∞ f) (hrep : (u : Space → Space) =ᵐ[volume] f) (K : ℝ) (hK : 0 ≤ K) (hb : ∀ n, classicalBlockSize direction 6 u hu n ≤ K^(n+1)*(n.factorial : ℝ)^2) (L : Space →L[ℝ] Space) (hL : ‖L‖ ≤ 1) (n : ℕ) (x : Space) : ‖iteratedFDeriv ℝ n (fun y => ContinuousLinearMap.id ℝ Space+fderiv ℝ f (L y)) x‖ ≤ frameAmplitude K*majorant (coefficientRadius K) 0 n := by have h := deformation_scaled_gevrey u hu f hf hrep 6 (by omega) K K hK hK (source_block_bound u hu K hb) L hL n x have hr := majorant_radius_mono (4*K) (coefficientRadius K) (by positivity) (le_max_right _ _) 0 n have he : 1+embeddingCost*K*K = frameAmplitude K := by unfold frameAmplitude gradientAmplitude; ring rw [he] at h exact h.trans (mul_le_mul_of_nonneg_left hr (frameAmplitude_nonneg K)) end EulerPacketParentLabelBounds