import Euler.PacketCylinderFieldBounds import Euler.CylinderPotentialWeight /-! Actual time-profile multiplication of raw cylinder witnesses and their same-radius bounds. -/ noncomputable section namespace EulerContinuousTimeWeight open ContinuousLinearMap theorem weight_norm_of_pointwise {K E : Type*} [TopologicalSpace K] [CompactSpace K] [NormedAddCommGroup E] [NormedSpace ℝ E] (g : C(K,ℝ)) (C : ℝ) (hC : 0 ≤ C) (hg : ∀ t, |g t| ≤ C) : ‖weight (E := E) g‖ ≤ C := by apply opNorm_le_bound _ hC intro p apply (ContinuousMap.norm_le _ (mul_nonneg hC (norm_nonneg p))).mpr intro t rw [weight_apply,norm_smul,Real.norm_eq_abs] exact mul_le_mul (hg t) (p.norm_coe_le_norm t) (norm_nonneg _) hC end EulerContinuousTimeWeight namespace EulerPacketCylinderField.Field open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerCylinderSmoothOrbit EulerCylinderSobolev EulerLpCylinderTranslation EulerLpCylinderRectangular EulerContinuousTimeWeight EulerCylinderPotential EulerParameterWordGevrey EulerGevrey EulerPacketProfileRecursion open scoped ContDiff variable {P T : ℝ} [Fact (0 < P)] {raw : VectorField} (G : Field P T raw) def weighted (hT : 0 ≤ T) (g : C(Icc (0 : ℝ) T,ℝ)) : Field P T (fun z => g (projIcc 0 T hT z.1) • raw z) := ofLifted (weight g G.path) (weighted_orbit P g G.path G.orbit) (fun t x => g t • pointField P G.path G.orbit t x) (fun t => (EulerMetricTransport.smoothField_continuous P _ (pointField_smooth P G.path G.orbit t)).const_smul (g t)) (fun t => by filter_upwards [Lp.coeFn_smul (g t) (G.path t),pointField_ae P G.path G.orbit t] with x hs hp exact hs.trans (congrArg (g t • ·) hp)) (fun t x θ => by rw [projIcc_of_mem hT t.property,G.raw_eq]) def normalized (hT : 0 ≤ T) (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) : Field P T (fun z => (g (projIcc 0 T hT z.1))⁻¹ • raw z) := G.weighted hT (reciprocal g hg) @[simp] theorem weighted_path (hT : 0 ≤ T) (g : C(Icc (0 : ℝ) T,ℝ)) : (G.weighted hT g).path = weight g G.path := rfl @[simp] theorem normalized_path (hT : 0 ≤ T) (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) : (G.normalized hT g hg).path = normalize g hg G.path := rfl theorem derivative_weighted_path (hT : 0 ≤ T) (g : C(Icc (0 : ℝ) T,ℝ)) (i : Fin 4) : ((G.weighted hT g).derivative i).path = ((G.derivative i).weighted hT g).path := derivativePath_weight P g G.path G.orbit i theorem derivative_normalized_path (hT : 0 ≤ T) (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) (i : Fin 4) : ((G.normalized hT g hg).derivative i).path = ((G.derivative i).normalized hT g hg).path := G.derivative_weighted_path hT (reciprocal g hg) i variable {G} theorem WordBound.weighted {q d : ℕ} {R A : ℝ} (hG : G.WordBound q R A d) (hT : 0 ≤ T) (g : C(Icc (0 : ℝ) T,ℝ)) (C : ℝ) (hC : 0 ≤ C) (hg : ∀ t, |g t| ≤ C) : (G.weighted hT g).WordBound q R (C*A) d := by intro n have he : (fun a : LiftTangent => pathTranslate P a (G.weighted hT g).path) = weight g ∘ (fun a : LiftTangent => pathTranslate P a G.path) := funext (fun a => translate_weight P g a G.path) rw [he] have h := block_comp_clm_le standardDirection q (weight g) (fun a : LiftTangent => pathTranslate P a G.path) G.orbit n 0 have hn := h.trans (mul_le_mul_of_nonneg_right (weight_norm_of_pointwise g C hC hg) (block_nonneg standardDirection q (fun a : LiftTangent => pathTranslate P a G.path) n 0)) exact hn.trans ((mul_le_mul_of_nonneg_left (hG n) hC).trans_eq (by ring)) end EulerPacketCylinderField.Field