import Euler.MeanClassicalWordBounds import Euler.LpSmoothField import Euler.GevreyFixedShift import Euler.ParameterSobolevCoefficient /-! 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