import Euler.MeanCylinderWordBounds import Euler.MeanPacketHomogeneity import Euler.MeanPacketOrbitForcing import Euler.MeanSourceTimeSobolev import Euler.MeanSourcePressureSobolev import Euler.ParameterSobolevScaling import Euler.MeanPathLpBlocks import Euler.MeanPacketPressureForcing import Euler.MeanPacketJets import Euler.PacketCylinderCoefficientBounds /-! Source-only budgets for the actual mean solver on the cylinder. The radius and inverse guards are fixed before the forcing amplitude, shift, or grade. The output fields are the genuine velocity, time derivative, and gradient of the normalized scalar pressure constructed by the source solver. -/ /-! ## From `Euler/MeanPacketSobolevData.lean` The text of `Euler/MeanPacketSobolevData.lean`, folded into this file, which was its only importer. -/ section /-! # Fixed coefficient budgets for the actual mean packet inverse These data contain only bounds on the prescribed coefficients and their fixed inverse costs. The external radius is chosen before the forcing grade or its scalar envelope, which is restored separately by homogeneity. -/ noncomputable section namespace EulerMeanPacketProvider open Set EulerSmoothLimit EulerMeanSolenoidal EulerMeanBoundary EulerMeanSourceFixedInverse EulerMeanFixedSobolevGevrey EulerParameterWordGevrey EulerTimeLpGramSobolev EulerMeanStrongContinuousGevrey EulerMeanTimeTranslation EulerMeanTimeContinuousTranslation EulerGevrey open scoped ContDiff /-- Fixed coefficient and inverse budgets, with no conclusion about a solution. -/ structure SobolevData (D : Data) (ι : Type*) [Fintype ι] (q : ℕ) (R : ℝ) where Rc : ℝ M : ℝ CF : ℝ CF₁ : ℝ CH : ℝ CM : ℝ Cf : ℝ radius_lower : 1024 ≤ Rc inverse_cost_lower : 1 ≤ M CF_nonneg : 0 ≤ CF CF₁_nonneg : 0 ≤ CF₁ CH_nonneg : 0 ≤ CH CM_nonneg : 0 ≤ CM Cf_nonneg : 0 ≤ Cf operator_budget : sobolevInverseCost (sourceFixedCoercivity D.T D.F D.F₁ D.opInv)⁻¹ (operatorBlockAmplitude ι q D.T Rc CF CF₁ CH CM scaledBoundaryOperatorAmplitude D.L) q * operatorBlockAmplitude ι q D.T Rc CF CF₁ CH CM scaledBoundaryOperatorAmplitude D.L ≤ M forcing_budget : sobolevInverseCost (sourceFixedCoercivity D.T D.F D.F₁ D.opInv)⁻¹ (operatorBlockAmplitude ι q D.T Rc CF CF₁ CH CM scaledBoundaryOperatorAmplitude D.L) q * forcingBlockAmplitude ι q D.T Rc CF CF₁ Cf ≤ M radius_budget : 2*M*(sobolevCoefficientRadius ι Rc+1) ≤ R acceleration_budget : 2*gramBlockCost ι q D.frameLower Rc CF (accelerationBlockAmplitude ι q Rc CF CF₁ Cf 1)*(sobolevCoefficientRadius ι Rc+1) ≤ R continuous_acceleration_budget : 2*gramBlockCost ι q D.frameLower Rc CF (accelerationBlockAmplitude ι q Rc CF CF₁ Cf (coordinateTraceCost D.T))* (sobolevCoefficientRadius ι Rc+1) ≤ R frame_bound : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ CF*majorant Rc 0 n frame_derivative_bound : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ CF₁*majorant Rc 0 n curvature_bound : ∀ n t x, ‖iteratedFDeriv ℝ n (D.H.field t : Space → Space →L[ℝ] Space) x‖ ≤ CH*majorant Rc 0 n initial_strain_bound : ∀ n x, ‖iteratedFDeriv ℝ n (D.M0.field : Space → Space →L[ℝ] Space) x‖ ≤ CM*majorant Rc 0 n namespace SobolevData variable {D : Data} {ι : Type*} [Fintype ι] {q : ℕ} {R : ℝ} (E : SobolevData D ι q R) def velocityAmplitude : ℝ := 3*sobolevCoefficientAmplitude ι q E.Rc E.CF*coordinateTraceCost D.T def derivativeAmplitude : ℝ := 3*(sobolevCoefficientAmplitude ι q E.Rc E.CF₁*coordinateTraceCost D.T+ sobolevCoefficientAmplitude ι q E.Rc E.CF) def pressureAmplitude : ℝ := E.Cf+3*sobolevCoefficientAmplitude ι q E.Rc E.CF+ 6*sobolevCoefficientAmplitude ι q E.Rc E.CF₁*coordinateTraceCost D.T /-- The concrete source estimates at the fixed budgets above. -/ theorem normalized_bounds (directions : ι → Space) (hd : ∀ i, ‖directions i‖ ≤ 1) {raw : EulerPacketProfileRecursion.VectorField} (G : Forcing D raw) (d : ℕ) (hfb : ∀ n a, block directions q (fun b : Space => timeTranslation D.T b G.lp) n a ≤ E.Cf*majorant R d n) (hfCb : ∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.path) n a ≤ E.Cf*majorant R d n) : (∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.velocityPath) n a ≤ E.velocityAmplitude*majorant R (d+2) n) ∧ (∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.derivativePath) n a ≤ E.derivativeAmplitude*majorant R (d+3) n) ∧ (∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.pressureForcePath) n a ≤ E.pressureAmplitude*majorant R (d+3) n) := by have ht := EulerMeanSourceTimeSobolev.source_strong_time_block_bounds directions hd q D.T D.T_pos.le D.ℓ D.ℓ_pos D.ℓ_le_one D.F D.F₁ D.H D.M0 D.opInv D.Be D.Bc D.L D.r D.Be_nonneg D.Bc_nonneg D.L_lower D.r_nonneg D.r_le_quarter D.exterior_lower D.core_lower D.opInv_left D.opF_time D.opInv_right D.K D.K_nonneg D.opInv_initial D.curvature_upper D.small G.lp G.solution G.lp_orbit E.Rc R E.M E.CF E.CF₁ E.CH E.CM E.Cf E.radius_lower E.CF_nonneg E.CF₁_nonneg E.CH_nonneg E.CM_nonneg E.Cf_nonneg E.inverse_cost_lower E.operator_budget E.forcing_budget E.radius_budget E.frame_bound E.frame_derivative_bound E.curvature_bound E.initial_strain_bound d hfb E.acceleration_budget E.continuous_acceleration_budget D.T_pos G.path G.lp_rep G.path_orbit hfCb have hp := EulerMeanSourcePressureSobolev.source_pressure_block_bounds directions hd q D.T D.T_pos.le D.ℓ D.ℓ_pos D.ℓ_le_one D.F D.F₁ D.H D.M0 D.opInv D.Be D.Bc D.L D.r D.Be_nonneg D.Bc_nonneg D.L_lower D.r_nonneg D.r_le_quarter D.exterior_lower D.core_lower D.opInv_left D.opF_time D.opInv_right D.K D.K_nonneg D.opInv_initial D.curvature_upper D.small G.lp G.solution G.lp_orbit E.Rc R E.M E.CF E.CF₁ E.CH E.CM E.Cf E.radius_lower E.CF_nonneg E.CF₁_nonneg E.CH_nonneg E.CM_nonneg E.Cf_nonneg E.inverse_cost_lower E.operator_budget E.forcing_budget E.radius_budget E.frame_bound E.frame_derivative_bound E.curvature_bound E.initial_strain_bound d hfb E.acceleration_budget E.continuous_acceleration_budget D.T_pos G.path G.path_orbit hfCb exact ⟨ht.1, ht.2.1, hp.2⟩ end SobolevData end EulerMeanPacketProvider end end /-! ## From `Euler/MeanPacketZeroForcing.lean` The text of `Euler/MeanPacketZeroForcing.lean`, folded into this file, which was its only importer. -/ section /-! Zero forcing produces the actual zero velocity, derivative, and pressure force. -/ noncomputable section namespace EulerMeanPacketProvider.Forcing open Set MeasureTheory EulerSmoothLimit EulerMeanSolenoidal EulerPacketProfileRecursion variable {D : Data} {raw : VectorField} (G : Forcing D raw) theorem raw_zero_of_path_zero (hp : G.path = 0) (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : raw (t,(x,θ)) = 0 := by have hpt : G.path t = 0 := congrArg (fun p : C(Icc (0 : ℝ) D.T,L2) => p t) hp have hz : (G.path t : Space → Space) =ᵐ[volume] (fun _ => (0 : Space)) := by rw [hpt] exact Lp.coeFn_zero Space 2 volume have hc : Continuous (fun y => raw (t,(y,θ))) := by have he : (fun y => raw (t,(y,θ))) = (G.slices t).field := funext (fun y => G.raw_eq t y θ) rw [he] exact (G.slices t).smooth.continuous exact congrFun (Measure.eq_of_ae_eq ((G.path_ae_raw t θ).symm.trans hz) hc continuous_const) x theorem paths_zero_of_raw_zero (hz : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(x,θ)) = 0) : G.velocityPath = 0 ∧ G.derivativePath = 0 ∧ G.pressureForcePath = 0 := by have hs : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(x,θ)) = (0 : ℝ) • raw (t,(x,θ)) := by intro t x θ rw [hz t x θ, zero_smul] exact ⟨by simpa only [zero_smul] using velocityPath_smul G G 0 hs, by simpa only [zero_smul] using derivativePath_smul G G 0 hs, by simpa only [zero_smul] using pressureForcePath_smul G G 0 hs⟩ theorem paths_zero_of_path_zero (hp : G.path = 0) : G.velocityPath = 0 ∧ G.derivativePath = 0 ∧ G.pressureForcePath = 0 := paths_zero_of_raw_zero G (raw_zero_of_path_zero G hp) end EulerMeanPacketProvider.Forcing end end /-! ## From `Euler/MeanPacketEnvelopeBounds.lean` The text of `Euler/MeanPacketEnvelopeBounds.lean`, folded into this file, which was its only importer. -/ section /-! # Mean inverse estimates with an external forcing envelope The scalar amplitude is normalized before the actual solve and restored by proved homogeneity. Every radius condition depends only on the fixed source data and the fixed normalized forcing scale, never on the recursive grade or its forcing envelope. Zero envelope is treated by actual zero forcing. -/ noncomputable section namespace EulerMeanPacketProvider.SobolevData open Set EulerSmoothLimit EulerMeanSolenoidal EulerMeanTimeTranslation EulerMeanTimeContinuousTranslation EulerParameterWordGevrey EulerGevrey EulerPacketProfileRecursion open scoped ContDiff variable {D : Data} {ι : Type*} [Fintype ι] {q : ℕ} {R : ℝ} /-- The fixed-Hq mean inverse preserves one external radius for arbitrary nonnegative scalar forcing envelopes. -/ theorem envelope_bounds (E : SobolevData D ι q R) (directions : ι → Space) (hd : ∀ i, ‖directions i‖ ≤ 1) {raw : VectorField} (G : Forcing D raw) (d : ℕ) (A : ℝ) (hA : 0 ≤ A) (hfb : ∀ n a, block directions q (fun b : Space => timeTranslation D.T b G.lp) n a ≤ A*(E.Cf*majorant R d n)) (hfCb : ∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.path) n a ≤ A*(E.Cf*majorant R d n)) : (∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.velocityPath) n a ≤ A*(E.velocityAmplitude*majorant R (d+2) n)) ∧ (∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.derivativePath) n a ≤ A*(E.derivativeAmplitude*majorant R (d+3) n)) ∧ (∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.pressureForcePath) n a ≤ A*(E.pressureAmplitude*majorant R (d+3) n)) := by rcases eq_or_lt_of_le hA with hzero | hpos · subst A have hv := value_zero_of_block_zero_bound directions q (fun b : Space => pathTranslation D.T b G.path) 0 (by simpa only [zero_mul] using hfCb 0 0) have he : pathTranslation D.T 0 G.path = G.path := by apply ContinuousMap.ext intro t exact translation_zero (G.path t) have hp : G.path = 0 := he.symm.trans hv have hzero := G.paths_zero_of_path_zero hp simp only [hzero.1, hzero.2.1, hzero.2.2, map_zero, block_zero_function, zero_mul, le_refl, implies_true, and_self] · let H : Forcing D (A⁻¹ • raw) := G.smul A⁻¹ have hscale : ∀ (t : Icc (0 : ℝ) D.T) x θ, (A⁻¹ • raw) (t,(x,θ)) = A⁻¹ • raw (t,(x,θ)) := fun _ _ _ => rfl have hLp : (fun b : Space => timeTranslation D.T b H.lp) = fun b : Space => A⁻¹ • timeTranslation D.T b G.lp := by funext b exact (congrArg (timeTranslation D.T b) (Forcing.lp_smul G H A⁻¹ hscale)).trans ((timeTranslation D.T b).map_smul A⁻¹ G.lp) have hPath : (fun b : Space => pathTranslation D.T b H.path) = fun b : Space => A⁻¹ • pathTranslation D.T b G.path := by funext b exact (congrArg (pathTranslation D.T b) (Forcing.path_smul G H A⁻¹ hscale)).trans ((pathTranslation D.T b).map_smul A⁻¹ G.path) have hn : ∀ n a, block directions q (fun b : Space => timeTranslation D.T b H.lp) n a ≤ E.Cf*majorant R d n := by intro n a refine (congrArg (fun g : Space → EulerTimeLp.TimeLp D.T L2 => block directions q g n a) hLp).trans_le ?_ exact block_normalize_bound directions q _ G.lp_orbit A hpos R E.Cf d n a (hfb n a) have hnC : ∀ n a, block directions q (fun b : Space => pathTranslation D.T b H.path) n a ≤ E.Cf*majorant R d n := by intro n a refine (congrArg (fun g : Space → C(Icc (0 : ℝ) D.T,L2) => block directions q g n a) hPath).trans_le ?_ exact block_normalize_bound directions q _ G.path_orbit A hpos R E.Cf d n a (hfCb n a) have hbounds := E.normalized_bounds directions hd H d hn hnC have hback : ∀ (t : Icc (0 : ℝ) D.T) x θ, raw (t,(x,θ)) = A • (A⁻¹ • raw) (t,(x,θ)) := by intro t x θ simp only [Pi.smul_apply, smul_smul, mul_inv_cancel₀ hpos.ne', one_smul] have hVB := Forcing.velocityPath_smul H G A hback have hVD := Forcing.derivativePath_smul H G A hback have hVP := Forcing.pressureForcePath_smul H G A hback refine ⟨?_, ?_, ?_⟩ · intro n a apply block_restore_bound directions q _ _ H.velocityPath_orbit A hpos.le (fun b => (congrArg (pathTranslation D.T b) hVB).trans ((pathTranslation D.T b).map_smul A H.velocityPath)) R E.velocityAmplitude (d+2) n a (hbounds.1 n a) · intro n a apply block_restore_bound directions q _ _ H.derivativePath_orbit A hpos.le (fun b => (congrArg (pathTranslation D.T b) hVD).trans ((pathTranslation D.T b).map_smul A H.derivativePath)) R E.derivativeAmplitude (d+3) n a (hbounds.2.1 n a) · intro n a apply block_restore_bound directions q _ _ H.pressureForcePath_orbit A hpos.le (fun b => (congrArg (pathTranslation D.T b) hVP).trans ((pathTranslation D.T b).map_smul A H.pressureForcePath)) R E.pressureAmplitude (d+3) n a (hbounds.2.2 n a) end EulerMeanPacketProvider.SobolevData end end /-! ## From `Euler/MeanPacketPathEnvelope.lean` The text of `Euler/MeanPacketPathEnvelope.lean`, folded into this file, which was its only importer. -/ section /-! A single uniform-time forcing bound suffices for the normalized mean estimates. -/ noncomputable section namespace EulerMeanPacketProvider.SobolevData open EulerSmoothLimit EulerMeanTimeTranslation EulerMeanTimeContinuousTranslation EulerParameterWordGevrey EulerGevrey EulerPacketProfileRecursion open scoped ContDiff variable {D : Data} {ι : Type*} [Fintype ι] {q : ℕ} {R : ℝ} theorem radius_nonneg (E : SobolevData D ι q R) : 0 ≤ R := by have hr : 0 ≤ E.Rc := (by norm_num : (0 : ℝ) ≤ 1024).trans E.radius_lower have hrc := sobolevCoefficientRadius_nonneg (ι := ι) E.Rc hr have hm : 0 ≤ E.M := (by norm_num : (0 : ℝ) ≤ 1).trans E.inverse_cost_lower exact (mul_nonneg (mul_nonneg (by norm_num) hm) (by linarith)).trans E.radius_budget /-- The fixed normalized time factor may be chosen as max(1,sqrt(T)); it does not depend on the forcing grade or scalar envelope. -/ theorem path_envelope_bounds (E : SobolevData D ι q R) (hCf1 : 1 ≤ E.Cf) (hCfT : Real.sqrt D.T ≤ E.Cf) (directions : ι → Space) (hd : ∀ i, ‖directions i‖ ≤ 1) {raw : VectorField} (G : Forcing D raw) (d : ℕ) (A : ℝ) (hA : 0 ≤ A) (hb : ∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.path) n a ≤ A*majorant R d n) : (∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.velocityPath) n a ≤ A*(E.velocityAmplitude*majorant R (d+2) n)) ∧ (∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.derivativePath) n a ≤ A*(E.derivativeAmplitude*majorant R (d+3) n)) ∧ (∀ n a, block directions q (fun b : Space => pathTranslation D.T b G.pressureForcePath) n a ≤ A*(E.pressureAmplitude*majorant R (d+3) n)) := by apply E.envelope_bounds directions hd G d A hA · intro n a have h := (pathLp_block_le directions q D.T D.T_pos.le G.path G.path_orbit n a).trans (mul_le_mul_of_nonneg_left (hb n a) (Real.sqrt_nonneg D.T)) have hm := mul_nonneg hA (majorant_nonneg R E.radius_nonneg d n) have hc := mul_le_mul_of_nonneg_right hCfT hm exact h.trans (by linarith) · intro n a have hm := mul_nonneg hA (majorant_nonneg R E.radius_nonneg d n) have hc := mul_le_mul_of_nonneg_right hCf1 hm exact (hb n a).trans (by linarith) end EulerMeanPacketProvider.SobolevData end end noncomputable section namespace EulerMeanPacketProvider open Set Real ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal EulerMeanCoefficients EulerMeanTimeContinuousTranslation EulerParameterWordGevrey EulerGevrey EulerMeanStrongContinuousGevrey EulerLiftedGradientSpace EulerLpCylinderTranslation EulerPacketPointJets EulerPacketProfileRecursion EulerPacketCylinderField open scoped ContDiff BoundedContinuousFunction /-- All quantitative inputs concern the source coefficients and their inverse. The fixed normalized forcing factor only accounts for time-L² inclusion. -/ structure Budget (D : Data) (q : ℕ) (R : ℝ) extends SobolevData D (Fin 4) q R where forcing_one : 1 ≤ Cf forcing_time : sqrt D.T ≤ Cf def Data.frameCoefficient (D : Data) : MatrixCoefficient D.T (fun z => D.F.field (D.clamp z.1) z.2.1) where path := D.F.field orbit := D.F.translation_contDiff raw_eq t x θ := by rw [Data.clamp_coe] namespace Forcing variable {D : Data} {raw : VectorField} (G : Forcing D raw) (P : ℝ) [Fact (0 < P)] def pressureForceCylinderField : EulerPacketCylinderField.Field P D.T G.pressureForce := G.pressureForceForcing.toCylinderField P /-- This witness represents the literal spatial gradient encoded by the packet pressure jet, not merely the projected physical pressure force. -/ def pressureGradientCylinderField : EulerPacketCylinderField.Field P D.T (pressureGradient G.scalar) := (D.frameCoefficient.adjoint.multiply (G.pressureForceCylinderField P)).congr (by intro t x θ change pressureGradient G.scalar (t,(x,θ)) = (D.F.field (D.clamp t) x).adjoint (G.pressureForce (t,(x,θ))) rw [Data.clamp_coe] change (toDual ℝ Space).symm ((pressureJet G.scalar (t,(x,θ))).2.comp spatialInjection) = _ rw [pressureJet_spatial_derivative G.scalar t x θ ((G.scalar_spatial_smooth t).differentiable (by simp) (x,θ))] exact G.scalarGradient_eq t x θ) theorem restore_cylinder_word_bound {q d : ℕ} {R A C : ℝ} (hb : ∀ n a, block spatialDirection q (fun b : Space => pathTranslation D.T b G.path) n a ≤ ((P⁻¹*sqrt P)*A)*(C*majorant R d n)) : (G.toCylinderField P).WordBound q R (A*C) d := by have hh := G.toCylinderField_word_bound P (A := ((P⁻¹*sqrt P)*A)*C) (fun n a => (hb n a).trans_eq (by ring)) have hC : sqrt P*(((P⁻¹*sqrt P)*A)*C) = A*C := by calc _ = (sqrt P*(P⁻¹*sqrt P))*(A*C) := by ring _ = _ := by rw [embedding_mean_norm_product, one_mul] simpa only [hC] using hh end Forcing namespace Budget variable {D : Data} {q : ℕ} {R : ℝ} (B : Budget D q R) def velocityCost : ℝ := B.toSobolevData.velocityAmplitude def derivativeCost : ℝ := B.toSobolevData.derivativeAmplitude def pressureForceCost : ℝ := B.toSobolevData.pressureAmplitude def pressureGradientCost : ℝ := 3*sobolevCoefficientAmplitude (Fin 4) q B.Rc B.CF*B.pressureForceCost theorem coefficient_radius_nonneg : 0 ≤ B.Rc := (by norm_num : (0:ℝ) ≤ 1024).trans B.radius_lower theorem radius_bounds : 1 ≤ R ∧ sobolevCoefficientRadius (Fin 4) B.Rc ≤ R := by have hr := sobolevCoefficientRadius_nonneg (ι := Fin 4) B.Rc B.coefficient_radius_nonneg have hm := B.inverse_cost_lower have h := B.radius_budget constructor <;> nlinarith only [hr, hm, h] theorem costs_nonneg : 0 ≤ B.velocityCost ∧ 0 ≤ B.derivativeCost ∧ 0 ≤ B.pressureForceCost ∧ 0 ≤ B.pressureGradientCost := by have hF := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q B.Rc B.CF B.coefficient_radius_nonneg B.CF_nonneg have hF₁ := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q B.Rc B.CF₁ B.coefficient_radius_nonneg B.CF₁_nonneg have hT := coordinateTraceCost_nonneg D.T D.T_pos.le have hf := B.Cf_nonneg unfold velocityCost derivativeCost pressureGradientCost pressureForceCost SobolevData.velocityAmplitude SobolevData.derivativeAmplitude SobolevData.pressureAmplitude constructor · positivity constructor · positivity constructor <;> positivity theorem frameCoefficient_bound (n : ℕ) (a : Space) : ‖iteratedFDeriv ℝ n (translateCoefficientPath D.frameCoefficient.path) a‖ ≤ B.CF*majorant B.Rc 0 n := D.F.norm_iteratedFDeriv_translation_le n (B.CF*majorant B.Rc 0 n) (mul_nonneg B.CF_nonneg (majorant_nonneg B.Rc B.coefficient_radius_nonneg 0 n)) (B.frame_bound n) a /-- Same-radius bounds on the three actual physical output paths. The period factors from averaging and constant extension cancel exactly. -/ theorem physical_word_bounds (P : ℝ) [Fact (0 < P)] {raw : VectorField} (G : Forcing D raw) (d : ℕ) (A : ℝ) (hA : 0 ≤ A) (hG : (G.toCylinderField P).WordBound q R A d) : (G.vectorCylinderField P).WordBound q R (A*B.velocityCost) (d+2) ∧ (G.vectorDerivativeCylinderField P).WordBound q R (A*B.derivativeCost) (d+3) ∧ (G.pressureForceCylinderField P).WordBound q R (A*B.pressureForceCost) (d+3) := by have hA' : 0 ≤ (P⁻¹*sqrt P)*A := by have hp := (Fact.out : 0 < P) positivity obtain ⟨hv, hd, hp⟩ := B.toSobolevData.path_envelope_bounds B.forcing_one B.forcing_time spatialDirection spatialDirection_norm G d ((P⁻¹*sqrt P)*A) hA' (G.ordinary_word_bound P hG) exact ⟨G.vectorForcing.restore_cylinder_word_bound P hv, G.vectorDerivativeForcing.restore_cylinder_word_bound P hd, G.pressureForceForcing.restore_cylinder_word_bound P hp⟩ /-- The mean solver consumes at most three shifts, with a linear forcing amplitude and the identical radius. The third output is d(bar q). -/ theorem word_bounds (P : ℝ) [Fact (0 < P)] {raw : VectorField} (G : Forcing D raw) (d : ℕ) (A : ℝ) (hA : 0 ≤ A) (hG : (G.toCylinderField P).WordBound q R A d) : (G.vectorCylinderField P).WordBound q R (A*B.velocityCost) (d+2) ∧ (G.vectorDerivativeCylinderField P).WordBound q R (A*B.derivativeCost) (d+3) ∧ (G.pressureGradientCylinderField P).WordBound q R (A*B.pressureGradientCost) (d+3) := by obtain ⟨hv, hd, hp⟩ := B.physical_word_bounds P G d A hA hG have hprod := hp.multiply D.frameCoefficient.adjoint B.Rc B.CF B.coefficient_radius_nonneg B.CF_nonneg (mul_nonneg hA B.costs_nonneg.2.2.1) B.radius_bounds.2 (D.frameCoefficient.adjoint_bound B.Rc B.CF B.frameCoefficient_bound) refine ⟨hv, hd, ?_⟩ change (D.frameCoefficient.adjoint.multiply (G.pressureForceCylinderField P)).WordBound q R (A*B.pressureGradientCost) (d+3) convert! hprod using 1 unfold pressureGradientCost ring /-- Any actual cylinder witness of the input raw forcing can supply the bound; the provider's canonical choice is immaterial. -/ theorem word_bounds_of_field (P : ℝ) [Fact (0 < P)] {raw : VectorField} (G : Forcing D raw) (F : EulerPacketCylinderField.Field P D.T raw) (d : ℕ) (A : ℝ) (hA : 0 ≤ A) (hF : F.WordBound q R A d) : (G.vectorCylinderField P).WordBound q R (A*B.velocityCost) (d+2) ∧ (G.vectorDerivativeCylinderField P).WordBound q R (A*B.derivativeCost) (d+3) ∧ (G.pressureGradientCylinderField P).WordBound q R (A*B.pressureGradientCost) (d+3) := B.word_bounds P G d A hA (hF.transfer (G.toCylinderField P)) /-- A common three-shift budget also covers the velocity, and is therefore within the source allowance of ten shifts. -/ theorem three_shift_bounds (P : ℝ) [Fact (0 < P)] {raw : VectorField} (G : Forcing D raw) (F : EulerPacketCylinderField.Field P D.T raw) (d : ℕ) (A : ℝ) (hA : 0 ≤ A) (hF : F.WordBound q R A d) : (G.vectorCylinderField P).WordBound q R (A*B.velocityCost) (d+3) ∧ (G.vectorDerivativeCylinderField P).WordBound q R (A*B.derivativeCost) (d+3) ∧ (G.pressureGradientCylinderField P).WordBound q R (A*B.pressureGradientCost) (d+3) := by obtain ⟨hv, hd, hp⟩ := B.word_bounds_of_field P G F d A hA hF exact ⟨hv.mono_shift B.radius_bounds.1 (mul_nonneg hA B.costs_nonneg.1) (by omega), hd, hp⟩ /-- The mean profile H₀^(2p−2) is a constant scalar envelope. The same fixed source budget applies at every grade and every derivative shift. -/ theorem grade_profile_bounds (P : ℝ) [Fact (0 < P)] {raw : VectorField} (G : Forcing D raw) (F : EulerPacketCylinderField.Field P D.T raw) (p d : ℕ) (A H₀ : ℝ) (hA : 0 ≤ A) (hH₀ : 0 ≤ H₀) (hF : F.WordBound q R (A*H₀^(2*p-2)) d) : (G.vectorCylinderField P).WordBound q R ((A*B.velocityCost)*H₀^(2*p-2)) (d+3) ∧ (G.vectorDerivativeCylinderField P).WordBound q R ((A*B.derivativeCost)*H₀^(2*p-2)) (d+3) ∧ (G.pressureGradientCylinderField P).WordBound q R ((A*B.pressureGradientCost)*H₀^(2*p-2)) (d+3) := by have hh := B.three_shift_bounds P G F d (A*H₀^(2*p-2)) (mul_nonneg hA (pow_nonneg hH₀ _)) hF simpa only [mul_assoc, mul_left_comm, mul_comm] using hh end Budget end EulerMeanPacketProvider