import Euler.TransversePacketBudget import Euler.TransversePacketJoinedPaths import Euler.TransversePacketAmplitude import Euler.TransversePacketJoinedPressure import Euler.TransversePacketJoinedCorrector import Euler.CylinderSlowCurlWeight import Euler.CylinderPotentialTimeWeight import Euler.TransversePacketNormalBudget /-! # The complete quantitative forced transverse provider Source-only budgets fixed before the forcing give actual A, A_t, π, dπ, Q, Q_t, C and C_t bounds linear in its amplitude. All eight outputs use the same external radius and fixed mixed Sobolev order. They spend at most four derivative shifts, within the manuscript's ten-shift allowance. -/ /-! ## From `Euler/TransversePacketJoinedUnitBounds.lean` The text of `Euler/TransversePacketJoinedUnitBounds.lean`, folded into this file, which was its only importer. -/ section /-! # Unit-amplitude bounds for the complete actual transverse inverse One source-only budget controls the history trace, forward solve and their joined physical velocity and genuine time derivative. The input and output use the same fixed mixed-word Sobolev order and the same external radius. -/ noncomputable section namespace EulerTransversePacketJoin.Budget open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerTransversePacketProvider EulerLiftedGradientSpace EulerGevrey EulerParameterWordGevrey EulerFixedEvolutionSobolev EulerLpCylinderTranslation EulerLpCylinderPaths EulerContinuousTimeWeight EulerTimeIntervalRestriction EulerElapsedTimePathGluing EulerPacketProfileRecursion open scoped ContDiff BoundedContinuousFunction variable {P : ℝ} [Fact (0 < P)] {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} (L : Budget D τ hτ hτT B ι q) {raw : VectorField} (G : Forcing P D raw) (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) (d : ℕ) (hforce : ∀ n, block directions q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) n 0 ≤ majorant L.R d n) include hforce theorem history_forcing_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (HistoryData.forcingPath (G.initial τ hτ hτT.le))) n 0 ≤ majorant L.R d n := by have he : (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)).comp (initialInclusion D.T τ hτT.le) = HistoryData.forcingPath (G.initial τ hτ hτT.le) := normalize_initial D.T τ hτ.le hτT.le L.g L.initial_one L.positive (HistoryData.forcingPath G) have hb := timeComp_block_le P directions q (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)) (normalize_orbit_contDiff P L.fullProfile L.fullProfile_pos _ G.path_orbit) (initialInclusion D.T τ hτT.le) n 0 rw [he] at hb exact hb.trans (hforce n) theorem forward_forcing_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) n 0 ≤ majorant L.R d n := by have he : (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)).comp (tailInclusion D.T τ hτ.le) = normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)) := normalize_tail D.T τ hτ.le hτT.le L.g L.initial_one L.positive (HistoryData.forcingPath G) have hb := timeComp_block_le P directions q (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G)) (normalize_orbit_contDiff P L.fullProfile L.fullProfile_pos _ G.path_orbit) (tailInclusion D.T τ hτ.le) n 0 rw [he] at hb exact hb.trans (hforce n) include hdir /-- This is the actual datum passed to the forward solution, not a new hypothesis. -/ theorem terminal_bound (n : ℕ) : block directions q (fun a => translate P a ((forwardInitial τ hτ hτT B G).value : CylinderL2 P U)) n 0 ≤ traceCost τ*majorant L.R (d+2) n := by exact B.source_terminal_bound (G.initial τ hτ hτT.le) directions hdir q L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) L.hessian_bound L.history_weak L.history_strong L.history_length d (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) n theorem past_velocity_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (pastVelocity τ hτ hτT B G)) n 0 ≤ (3*sobolevCoefficientAmplitude ι q L.Rc L.C₀*traceCost τ)*majorant L.R (d+2) n := by exact B.source_velocity_bound (G.initial τ hτ hτT.le) directions hdir q L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) L.hessian_bound L.history_weak L.history_strong L.history_length d (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) n theorem past_derivative_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (pastDerivative τ hτ hτT B G)) n 0 ≤ (3*sobolevCoefficientAmplitude ι q L.Rc L.C₁*traceCost τ+ 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀)*majorant L.R (d+3) n := by exact B.source_derivative_bound (G.initial τ hτ hτT.le) directions hdir q L.Rc L.C₀ L.C₁ L.CH 1 L.R L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.CH_nonneg zero_le_one (fun j t x => L.frame_bound j (initialInclusion D.T τ hτT.le t) x) (fun j t x => L.frameDerivative_bound j (initialInclusion D.T τ hτT.le t) x) L.hessian_bound L.history_weak L.history_strong L.history_length d (fun j => by simpa only [one_mul] using L.history_forcing_bound G directions d hforce j) L.history_uniform n theorem future_velocity_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.g L.positive (futureVelocity τ hτ hτT B G))) n 0 ≤ (3*sobolevCoefficientAmplitude ι q L.Rc L.C₀)*majorant L.R (d+3) n := by have hf (j : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) j 0 ≤ 1*majorant L.R (d+2) j := by simpa only [one_mul] using (L.forward_forcing_bound G directions d hforce j).trans (majorant_mono_shift L.R L.radius_bounds.1 d (d+2) j (by omega)) dsimp only [futureVelocity] rw [show d+3=d+2+1 by omega] exact (G.tail τ hτ.le hτT).source_velocity_normalized_bound (forwardInitial τ hτ hτT B G) L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open L.support_subset L.neighborhood_halfball L.initial_one L.C (traceCost τ) 1 L.Rc L.C₀ L.C₁ L.Ri L.R L.C_nonneg (traceCost_nonneg τ hτ.le) zero_le_one L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.forward_inverse (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) L.forcing_radius L.forward_radius L.propagator (d+2) hf (L.terminal_bound G directions hdir d hforce) L.radius_bounds.2 n theorem future_derivative_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.g L.positive (futureDerivative τ hτ hτT B G))) n 0 ≤ EulerSourceCylinderTimeBounds.physicalCost ι q L.Ri L.C₀ L.C₁ 1 1*majorant L.R (d+3) n := by have hf (j : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.g L.positive (HistoryData.forcingPath (G.tail τ hτ.le hτT)))) j 0 ≤ 1*majorant L.R (d+2) j := by simpa only [one_mul] using (L.forward_forcing_bound G directions d hforce j).trans (majorant_mono_shift L.R L.radius_bounds.1 d (d+2) j (by omega)) dsimp only [futureDerivative] rw [show d+3=d+2+1 by omega] exact (G.tail τ hτ.le hτT).source_derivative_normalized_bound (forwardInitial τ hτ hτT B G) L.g L.positive directions hdir q L.neighborhood L.neighborhood_measurable L.neighborhood_open L.support_subset L.neighborhood_halfball L.initial_one L.C (traceCost τ) 1 L.Rc L.C₀ L.C₁ L.Ri L.R L.C_nonneg (traceCost_nonneg τ hτ.le) zero_le_one L.Rc_nonneg L.C₀_nonneg L.C₁_nonneg L.forward_inverse (fun j t x => L.frame_bound j (tailInclusion D.T τ hτ.le t) x) (fun j t x => L.frameDerivative_bound j (tailInclusion D.T τ hτ.le t) x) L.forcing_radius L.forward_radius L.propagator (d+2) hf (L.terminal_bound G directions hdir d hforce) L.radius_bounds.1 n /-- The entire constructed A/g, with the input's original external radius. -/ theorem velocity_unit_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B G))) n 0 ≤ L.velocityCost*majorant L.R (d+3) n := by have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one (pastVelocity τ hτ hτT B G) (futureVelocity τ hτ hτT B G) (velocity_match τ hτ hτT B G) (pastVelocity_orbit τ hτ hτT B G) (futureVelocity_orbit τ hτ hτT B G) directions q n 0 have ha : 0 ≤ 3*sobolevCoefficientAmplitude ι q L.Rc L.C₀*traceCost τ := mul_nonneg (mul_nonneg (by norm_num) (sobolevCoefficientAmplitude_nonneg q L.Rc L.C₀ L.Rc_nonneg L.C₀_nonneg)) (traceCost_nonneg τ hτ.le) have hp := (L.past_velocity_bound G directions hdir d hforce n).trans (mul_le_mul_of_nonneg_left (majorant_mono_shift L.R L.radius_bounds.1 (d+2) (d+3) n (by omega)) ha) exact hb.trans (by simpa only [velocityCost,add_mul] using add_le_add hp (L.future_velocity_bound G directions hdir d hforce n)) /-- The entire actual A_t/g. The profile itself is never differentiated. -/ theorem derivative_unit_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B G))) n 0 ≤ L.derivativeCost*majorant L.R (d+3) n := by have hb := normalized_join_block P D.T τ hτ.le hτT.le L.g L.positive L.initial_one (pastDerivative τ hτ hτT B G) (futureDerivative τ hτ hτT B G) (derivative_match τ hτ hτT B G) (pastDerivative_orbit τ hτ hτT B G) (futureDerivative_orbit τ hτ hτT B G) directions q n 0 exact hb.trans (by simpa only [derivativeCost,add_mul] using add_le_add (L.past_derivative_bound G directions hdir d hforce n) (L.future_derivative_bound G directions hdir d hforce n)) end EulerTransversePacketJoin.Budget end end /-! ## From `Euler/TransversePacketJoinedCorrectorBounds.lean` The text of `Euler/TransversePacketJoinedCorrectorBounds.lean`, folded into this file, which was its only importer. -/ section /-! Same-radius estimates for the actual corrector, divided by the prescribed time profile. -/ noncomputable section namespace EulerTransversePacketJoin open Set EulerTransversePacketProvider EulerSmoothLimit EulerLiftedGradientSpace EulerMeanCoefficients EulerGevrey EulerPacketProfileRecursion EulerCylinderSobolev EulerParameterWordGevrey EulerCylinderSmoothOrbit EulerLpCylinderTranslation EulerContinuousTimeWeight open scoped ContDiff private theorem direction_norm_bound (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by cases i using Fin.cases <;> simp [Prod.norm_def] variable {P : ℝ} [Fact (0 < P)] {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) (B : HistoryData (D.initial τ hτ hτT.le)) {raw : VectorField} (G : Forcing P D raw) (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) (q : ℕ) (Rc C R A : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hA : 0 ≤ A) (hR : sobolevCoefficientRadius (Fin 4) Rc ≤ R) (d : ℕ) (hbA : ∀ n, block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (velocityPath τ hτ hτT B G))) n 0 ≤ A*majorant R d n) (hbAt : ∀ n, block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (derivativePath τ hτ hτT B G))) n 0 ≤ A*majorant R d n) (hbK : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialCoefficientPath) a‖ ≤ C*majorant Rc 0 n) (hbKt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.potentialDerivative) a‖ ≤ C*majorant Rc 0 n) (hbI : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ C*majorant Rc 0 n) (hbIt : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ C*majorant Rc 0 n) include hRc hC hA hR hbA hbK in theorem potentialPath_normalized_bound (n : ℕ) : block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialPath τ hτ hτT B G))) n 0 ≤ (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := EulerCylinderPotential.normalized_potentialPath_block_bound P g (velocityPath τ hτ hτT B G) D.potentialCoefficientPath hg D.potentialCoefficientPath_orbit (EulerCylinderPotential.weighted_orbit P (reciprocal g hg) (velocityPath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G)) standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK d hbA n include hRc hC hA hR hbA hbAt hbK hbKt in theorem potentialTimePath_normalized_bound (n : ℕ) : block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialTimePath τ hτ hτT B G))) n 0 ≤ (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := EulerCylinderPotential.normalized_potentialDerivative_block_bound P D.T D.potentialCoefficientPath D.potentialDerivative D.potentialCoefficientPath_orbit D.potentialDerivative_orbit (velocityPath τ hτ hτT B G) (derivativePath τ hτ hτT B G) (velocityPath_orbit τ hτ hτT B G) (derivativePath_orbit τ hτ hτT B G) g hg standardDirection direction_norm_bound q Rc C R A hRc hC hA hR hbK hbKt d hbA hbAt n include hRc hC hA hR hbA hbK hbI in theorem correctorPath_normalized_bound (n : ℕ) : block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (correctorPath τ hτ hτT B G))) n 0 ≤ (27*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by have hp : 0 ≤ P := (Fact.out : 0 < P).le have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC have h := EulerCylinderSlowCurl.normalized_path_block_bound P g D.FInv.field (potentialPath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) hg D.FInv.translation_contDiff q Rc C R (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR hbI d (potentialPath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbK) n exact h.trans_eq (by ring) include hRc hC hA hR hbA hbAt hbK hbKt hbI hbIt in theorem correctorTimePath_normalized_bound (n : ℕ) : block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (correctorTimePath τ hτ hτT B G))) n 0 ≤ (108*(sobolevCoefficientAmplitude (Fin 4) q Rc C)^2*(P*A))*majorant R (d+1) n := by have hp : 0 ≤ P := (Fact.out : 0 < P).le have ha := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC have hRn : 0 ≤ R := (sobolevCoefficientRadius_nonneg (ι := Fin 4) Rc hRc).trans hR have hQ (j : ℕ) : block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (potentialPath τ hτ hτT B G))) j 0 ≤ (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d j := by apply (potentialPath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbK j).trans have hn := mul_nonneg (show 0 ≤ sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A) by positivity) (majorant_nonneg R hRn d j) linarith have h := EulerCylinderSlowCurl.normalized_derivative_block_bound P D.T g hg D.FInv.field D.inverseDerivative (potentialPath τ hτ hτT B G) (potentialTimePath τ hτ hτT B G) (potentialPath_orbit τ hτ hτT B G) (potentialTimePath_orbit τ hτ hτT B G) D.FInv.translation_contDiff D.inverseDerivative_orbit q Rc C R (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A)) hRc hC (by positivity) hR hbI hbIt d hQ (potentialTimePath_normalized_bound τ hτ hτT B G g hg q Rc C R A hRc hC hA hR d hbA hbAt hbK hbKt) n exact h.trans_eq (by ring) end EulerTransversePacketJoin end end /-! ## From `Euler/TransversePacketJoinedBounds.lean` The text of `Euler/TransversePacketJoinedBounds.lean`, folded into this file, which was its only importer. -/ section /-! The actual complete transverse inverse has one source-only radius budget. Its bounds are linear in the forcing amplitude and independent of grade. -/ noncomputable section namespace EulerTransversePacketJoin.Budget open Set ContinuousLinearMap EulerSmoothLimit EulerTransversePacketProvider EulerLiftedGradientSpace EulerLpCylinderTranslation EulerPacketProfileRecursion EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight open scoped ContDiff variable {P : ℝ} [Fact (0 < P)] {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} {B : HistoryData (D.initial τ hτ hτT.le)} {ι : Type*} [Fintype ι] {q : ℕ} (L : Budget D τ hτ hτT B ι q) {raw : VectorField} (G : Forcing P D raw) (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) (A : ℝ) (hA : 0 ≤ A) (d : ℕ) (hforce : ∀ n, block directions q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) include hdir hA hforce /-- The genuine joined velocity divided by its actual piecewise profile. -/ theorem velocity_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B G))) n 0 ≤ (L.velocityCost*A)*majorant L.R (d+3) n := amplitude_bound (fun {r} H => velocityPath τ hτ hτT B (H : Forcing P D r)) (fun H => velocityPath_orbit τ hτ hτT B H) (fun H J a he => velocityPath_eq_smul τ hτ hτT B H J a he) L.fullProfile L.fullProfile_pos directions q L.R L.velocityCost d (d+3) (fun H he => L.velocity_unit_bound H directions hdir d he) G A hA hforce n /-- The genuine time derivative divided by the same profile, with no g derivative. -/ theorem derivative_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B G))) n 0 ≤ (L.derivativeCost*A)*majorant L.R (d+3) n := amplitude_bound (fun {r} H => derivativePath τ hτ hτT B (H : Forcing P D r)) (fun H => derivativePath_orbit τ hτ hτT B H) (fun H J a he => derivativePath_eq_smul τ hτ hτT B H J a he) L.fullProfile L.fullProfile_pos directions q L.R L.derivativeCost d (d+3) (fun H he => L.derivative_unit_bound H directions hdir d he) G A hA hforce n end EulerTransversePacketJoin.Budget end end noncomputable section namespace EulerTransversePacketJoin.Budget open Set ContinuousLinearMap EulerSmoothLimit EulerTransversePacketProvider EulerLiftedGradientSpace EulerLpCylinderTranslation EulerPacketProfileRecursion EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight EulerCylinderSobolev EulerSourceNormalResidualBounds open scoped ContDiff private theorem standard_norm (i : Fin 4) : ‖standardDirection i‖ ≤ 1 := by cases i using Fin.cases <;> simp [Prod.norm_def] variable {P : ℝ} [Fact (0 < P)] {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} {B : HistoryData (D.initial τ hτ hτT.le)} {q : ℕ} (L : Budget D τ hτ hτT B (Fin 4) q) (N : NormalBudget D q L.R) def pressureAmplitude : ℝ := P*pressureCost (Fin 4) q N.Ri N.C N.C 1 L.commonCost def correctorAmplitude : ℝ := 27*N.blockAmplitude^2*(P*L.commonCost) def correctorTimeAmplitude : ℝ := 108*N.blockAmplitude^2*(P*L.commonCost) variable {raw : VectorField} (G : Forcing P D raw) (A : ℝ) (hA : 0 ≤ A) (d : ℕ) (hforce : ∀ n, block standardDirection q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) include hA hforce theorem velocity_common_bound (n : ℕ) : block standardDirection q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (velocityPath τ hτ hτT B G))) n 0 ≤ (L.commonCost*A)*majorant L.R (d+3) n := (L.velocity_bound G standardDirection standard_norm A hA d hforce n).trans (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right L.velocityCost_le_common hA) (majorant_nonneg L.R (zero_le_one.trans L.radius_bounds.1) (d+3) n)) theorem derivative_common_bound (n : ℕ) : block standardDirection q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (derivativePath τ hτ hτT B G))) n 0 ≤ (L.commonCost*A)*majorant L.R (d+3) n := (L.derivative_bound G standardDirection standard_norm A hA d hforce n).trans (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right L.derivativeCost_le_common hA) (majorant_nonneg L.R (zero_le_one.trans L.radius_bounds.1) (d+3) n)) theorem pressure_bound (n : ℕ) : block standardDirection q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (pressurePath τ hτ hτT B G))) n 0 ≤ (L.pressureAmplitude (P := P) N*A)*majorant L.R (d+3) n := by have hf (j : ℕ) : block standardDirection q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (HistoryData.forcingPath G))) j 0 ≤ A*majorant L.R (d+3) j := (hforce j).trans (mul_le_mul_of_nonneg_left (majorant_mono_shift L.R L.radius_bounds.1 d (d+3) j (by omega)) hA) have h := source_pressure_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos standardDirection standard_norm q N.Rc N.C N.C N.Ri L.R A (L.commonCost*A) N.Rc_nonneg N.C_nonneg N.C_nonneg hA (mul_nonneg L.commonCost_nonneg hA) N.inverse_radius N.pressure_radius N.normal_bound N.strain_bound (d+3) hf (L.velocity_common_bound G A hA d hforce) n exact h.trans_eq (by unfold pressureAmplitude pressureCost; ring) theorem pressure_gradient_bound (n : ℕ) : block standardDirection q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (scalarGradientField τ hτ hτT B G).path)) n 0 ≤ (3*L.pressureAmplitude (P := P) N*A)*majorant L.R (d+4) n := by have h := scalarGradientField_normalized_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos q L.R (L.pressureAmplitude (P := P) N*A) (d+3) (L.pressure_bound N G A hA d hforce) n simpa only [show d+3+1=d+4 by omega,mul_assoc] using h theorem corrector_bound (n : ℕ) : block standardDirection q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (correctorPath τ hτ hτT B G))) n 0 ≤ (L.correctorAmplitude (P := P) N*A)*majorant L.R (d+4) n := by have hc := N.coefficient_bounds have h := correctorPath_normalized_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+3) (L.velocity_common_bound G A hA d hforce) (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).1) n rw [show d+3+1=d+4 by omega] at h exact h.trans_eq (by unfold correctorAmplitude NormalBudget.blockAmplitude; ring) theorem corrector_time_bound (n : ℕ) : block standardDirection q (fun a => pathTranslate P a (normalize L.fullProfile L.fullProfile_pos (correctorTimePath τ hτ hτT B G))) n 0 ≤ (L.correctorTimeAmplitude (P := P) N*A)*majorant L.R (d+4) n := by have hc := N.coefficient_bounds have h := correctorTimePath_normalized_bound τ hτ hτT B G L.fullProfile L.fullProfile_pos q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+3) (L.velocity_common_bound G A hA d hforce) (L.derivative_common_bound G A hA d hforce) (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).2.2.2) (fun j a => (hc.2.2 j a).1) (fun j a => (hc.2.2 j a).2.1) n rw [show d+3+1=d+4 by omega] at h exact h.trans_eq (by unfold correctorTimeAmplitude NormalBudget.blockAmplitude; ring) end EulerTransversePacketJoin.Budget