import Euler.TransversePacketForwardBudget import Euler.TransversePacketAmplitude import Euler.TransversePacketPrimaryHomogeneity import Euler.TransversePacketNormalBudget import Euler.TransversePacketCorrector import Euler.CylinderSlowCurlWeight import Euler.CylinderPotentialTimeWeight import Euler.TransversePacketPressureGradient import Euler.PacketCylinderScalarGradientWeight import Euler.SourceCylinderPressureWeight /-! All eight genuine direct-forward outputs obey one fixed mixed-word Sobolev budget. The input radius is retained, both data amplitudes remain outside the solve, and at most two derivative shifts are spent. All normalization uses the literal positive time profile without differentiating that profile. -/ /-! ## From `Euler/TransversePacketPairAmplitude.lean` The text of `Euler/TransversePacketPairAmplitude.lean`, folded into this file, which was its only importer. -/ section /-! Homogeneity restores a common arbitrary envelope for genuine forcing and initial data, without adding either envelope to the radius guards. -/ noncomputable section namespace EulerTransversePacketProvider open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerPacketProfileRecursion EulerContinuousTimeWeight EulerParameterWordGevrey EulerGevrey open scoped ContDiff variable {P : ℝ} [Fact (0 < P)] {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] {D : Data U} {ι : Type*} [Fintype ι] theorem pair_amplitude_bound (S : ∀ {r : VectorField}, Forcing P D r → InitialData P D → C(Icc (0 : ℝ) D.T,LiftL2 P)) (hs : ∀ {r} (G : Forcing P D r) (I : InitialData P D), ContDiff ℝ ∞ (fun a => pathTranslate P a (S G I))) (hm : ∀ {r r'} (G : Forcing P D r) (H : Forcing P D r') (I J : InitialData P D) (a : ℝ), H.path = a • G.path → J.value = a • I.value → S H J = a • S G I) (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) (directions : ι → LiftTangent) (q : ℕ) (R C : ℝ) (d e : ℕ) (hunit : ∀ {r} (G : Forcing P D r) (I : InitialData P D), (∀ n, block directions q (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath G))) n 0 ≤ majorant R d n) → (∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ majorant R d n) → ∀ n, block directions q (fun a => pathTranslate P a (normalize g hg (S G I))) n 0 ≤ C*majorant R e n) {r : VectorField} (G : Forcing P D r) (I : InitialData P D) (A : ℝ) (hA : 0 ≤ A) (hb : ∀ n, block directions q (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath G))) n 0 ≤ A*majorant R d n) (hi : ∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ A*majorant R d n) (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize g hg (S G I))) n 0 ≤ (C*A)*majorant R e n := by by_cases hz : A = 0 · have hf := value_zero_of_block_zero_bound directions q (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath G))) 0 (by simpa only [hz,zero_mul] using hb 0) have ht : pathTranslate P 0 (normalize g hg (HistoryData.forcingPath G)) = normalize g hg (HistoryData.forcingPath G) := by apply ContinuousMap.ext intro t exact translate_zero P _ rw [ht] at hf have hfull : HistoryData.forcingPath G = 0 := by have he := congrArg (weight g) hf rw [weight_normalize,map_zero] at he exact he have hp : G.path = 0 := by have he := congrArg (projectPath P D.support D.support_measurable) hfull rw [project_include,map_zero] at he exact he have hinitial := value_zero_of_block_zero_bound directions q (fun a => translate P a (I.value : CylinderL2 P U)) 0 (by simpa only [hz,zero_mul] using hi 0) rw [translate_zero] at hinitial have hv : I.value = 0 := Subtype.ext hinitial have hS : S G I = 0 := by have he := hm G G I I 0 (hp.trans (zero_smul ℝ G.path).symm) (hv.trans (zero_smul ℝ I.value).symm) simpa only [zero_smul] using he simp only [hS,map_zero,block_zero_function,hz,mul_zero,zero_mul,le_refl] · have hApos : 0 < A := lt_of_le_of_ne hA (Ne.symm hz) let H := G.smul A⁻¹ let J := I.smul A⁻¹ have hinput : HistoryData.forcingPath H = A⁻¹ • HistoryData.forcingPath G := by change includePath P D.support D.support_measurable (A⁻¹ • G.path) = _ rw [map_smul] have hH (j : ℕ) : block directions q (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath H))) j 0 ≤ majorant R d j := by have he : (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath H))) = fun a => A⁻¹ • pathTranslate P a (normalize g hg (HistoryData.forcingPath G)) := by funext a rw [hinput,map_smul,map_smul] rw [he] simpa only [one_mul] using block_normalize_bound directions q (fun a => pathTranslate P a (normalize g hg (HistoryData.forcingPath G))) (normalize_orbit_contDiff P g hg _ G.path_orbit) A hApos R 1 d j 0 (by simpa only [one_mul] using hb j) have hJ (j : ℕ) : block directions q (fun a => translate P a (J.value : CylinderL2 P U)) j 0 ≤ majorant R d j := by have he : (fun a => translate P a (J.value : CylinderL2 P U)) = fun a => A⁻¹ • translate P a (I.value : CylinderL2 P U) := by funext a change translate P a (A⁻¹ • (I.value : CylinderL2 P U)) = _ rw [map_smul] rw [he] simpa only [one_mul] using block_normalize_bound directions q (fun a => translate P a (I.value : CylinderL2 P U)) I.orbit A hApos R 1 d j 0 (by simpa only [one_mul] using hi j) have hrestore : S G I = A • S H J := by rw [hm G H I J A⁻¹ rfl rfl,smul_smul,mul_inv_cancel₀ hz,one_smul] exact (block_restore_bound directions q (fun a => pathTranslate P a (normalize g hg (S H J))) (fun a => pathTranslate P a (normalize g hg (S G I))) (normalize_orbit_contDiff P g hg (S H J) (hs H J)) A hA (fun a => by rw [hrestore,map_smul,map_smul]) R C e n 0 (hunit H J hH hJ n)).trans_eq (by ring) end EulerTransversePacketProvider end end /-! ## From `Euler/TransversePacketCorrectorBounds.lean` The text of `Euler/TransversePacketCorrectorBounds.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 EulerTransversePacketProvider.Forcing open Set 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} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) (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 (G.fullVelocityPath I))) n 0 ≤ A*majorant R d n) (hbAt : ∀ n, block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.fullDerivativePath I))) 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 (G.potentialPath I))) n 0 ≤ (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d n := EulerCylinderPotential.normalized_potentialPath_block_bound P g (G.fullVelocityPath I) D.potentialCoefficientPath hg D.potentialCoefficientPath_orbit (EulerCylinderPotential.weighted_orbit P (reciprocal g hg) (G.fullVelocityPath I) (G.velocityPath_orbit I)) 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 (G.potentialTimePath I))) 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 (G.fullVelocityPath I) (G.fullDerivativePath I) (G.velocityPath_orbit I) (G.derivativePath_orbit I) 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 (G.correctorPath I))) 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 (G.potentialPath I) (G.potentialPath_orbit I) 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 (G.potentialPath_normalized_bound I 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 (G.correctorTimePath I))) 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 (G.potentialPath I))) j 0 ≤ (6*sobolevCoefficientAmplitude (Fin 4) q Rc C*(P*A))*majorant R d j := by apply (G.potentialPath_normalized_bound I 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 (G.potentialPath I) (G.potentialTimePath I) (G.potentialPath_orbit I) (G.potentialTimePath_orbit I) 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 (G.potentialTimePath_normalized_bound I g hg q Rc C R A hRc hC hA hR d hbA hbAt hbK hbKt) n exact h.trans_eq (by ring) end EulerTransversePacketProvider.Forcing end end /-! ## From `Euler/TransversePacketForwardNorms.lean` The text of `Euler/TransversePacketForwardNorms.lean`, folded into this file, which was its only importer. -/ section /-! The genuine direct-forward solution has amplitude-linear estimates at one source-dependent radius, for arbitrary admissible initial data and forcing. -/ noncomputable section namespace EulerTransversePacketForward.Budget open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerTransversePacketProvider EulerPacketProfileRecursion EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight open scoped ContDiff variable {P : ℝ} [Fact (0 < P)] {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] {D : Data U} {ι : Type*} [Fintype ι] {q : ℕ} (L : Budget D ι q) {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) (directions : ι → LiftTangent) (hdir : ∀ i, ‖directions i‖ ≤ 1) (A : ℝ) (hA : 0 ≤ A) (d : ℕ) (hforce : ∀ n, block directions q (fun a => pathTranslate P a (normalize L.g L.positive (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) (hinitial : ∀ n, block directions q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ A*majorant L.R d n) include hdir hA hforce hinitial theorem velocity_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.g L.positive (G.fullVelocityPath I))) n 0 ≤ (L.velocityCost*A)*majorant L.R (d+1) n := pair_amplitude_bound (fun {r} H Y => (H : Forcing P D r).fullVelocityPath Y) (fun H Y => H.velocityPath_orbit Y) (fun H J Y Z a he hi => by change includePath P D.support D.support_measurable (J.velocityPath Z) = a • includePath P D.support D.support_measurable (H.velocityPath Y) rw [H.velocityPath_eq_smul J Y Z a he hi,map_smul]) L.g L.positive directions q L.R L.velocityCost d (d+1) (fun H Y hf hi => L.velocity_unit_bound H Y directions hdir d hf hi) G I A hA hforce hinitial n theorem derivative_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.g L.positive (G.fullDerivativePath I))) n 0 ≤ (L.derivativeCost*A)*majorant L.R (d+1) n := pair_amplitude_bound (fun {r} H Y => (H : Forcing P D r).fullDerivativePath Y) (fun H Y => H.derivativePath_orbit Y) (fun H J Y Z a he hi => by change includePath P D.support D.support_measurable (J.derivativePath Z) = a • includePath P D.support D.support_measurable (H.derivativePath Y) rw [H.derivativePath_eq_smul J Y Z a he hi,map_smul]) L.g L.positive directions q L.R L.derivativeCost d (d+1) (fun H Y hf hi => L.derivative_unit_bound H Y directions hdir d hf hi) G I A hA hforce hinitial n theorem velocity_common_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.g L.positive (G.fullVelocityPath I))) n 0 ≤ (L.commonCost*A)*majorant L.R (d+1) n := (L.velocity_bound G I directions hdir A hA d hforce hinitial 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_one) (d+1) n)) theorem derivative_common_bound (n : ℕ) : block directions q (fun a => pathTranslate P a (normalize L.g L.positive (G.fullDerivativePath I))) n 0 ≤ (L.commonCost*A)*majorant L.R (d+1) n := (L.derivative_bound G I directions hdir A hA d hforce hinitial 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_one) (d+1) n)) end EulerTransversePacketForward.Budget end end /-! ## From `Euler/TransversePacketPressureGradientBounds.lean` The text of `Euler/TransversePacketPressureGradientBounds.lean`, folded into this file, which was its only importer. -/ section /-! Bounds for the actual high-pressure gradient from the normalized forcing and solved velocity. -/ noncomputable section namespace EulerTransversePacketProvider.Forcing open Set EulerSmoothLimit EulerLiftedGradientSpace EulerPacketProfileRecursion EulerPacketCylinderField EulerLpCylinderPaths EulerLpCylinderTranslation EulerCylinderSobolev EulerParameterWordGevrey EulerGevrey EulerContinuousTimeWeight EulerSourceNormalResidualBounds EulerCylinderPotential EulerTimeLpGramGevrey variable {P : ℝ} [Fact (0 < P)] {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] {D : Data U} {raw : VectorField} (G : Forcing P D raw) (I : InitialData P D) theorem pressurePath_normalized_eq_source (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) : normalize g hg (G.pressurePath I) = sourcePressure P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower (normalize g hg (includePath P D.support D.support_measurable G.path)) (normalize g hg (includePath P D.support D.support_measurable (G.velocityPath I))) := (sourcePressure_weight P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower (reciprocal g hg) (includePath P D.support D.support_measurable G.path) (includePath P D.support D.support_measurable (G.velocityPath I))).symm theorem scalarGradientField_normalized_bound (g : C(Icc (0 : ℝ) D.T,ℝ)) (hg : ∀ t, 0 < g t) (q : ℕ) (R A : ℝ) (d : ℕ) (hb : ∀ n, block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.pressurePath I))) n 0 ≤ A*majorant R d n) (n : ℕ) : block standardDirection q (fun a : LiftTangent => pathTranslate P a (normalize g hg (G.scalarGradientField I).path)) n 0 ≤ (3*A)*majorant R (d+1) n := scalarGradientPath_normalized_majorant (G.pressurePath I) (G.pressurePath_orbit I) g hg q R A d hb n end EulerTransversePacketProvider.Forcing end end noncomputable section namespace EulerTransversePacketForward.Budget open Set EulerSmoothLimit EulerTransversePacketProvider EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths 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} {q : ℕ} (L : Budget D (Fin 4) q) (N : EulerTransversePacketJoin.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) (I : InitialData P D) (A : ℝ) (hA : 0 ≤ A) (d : ℕ) (hforce : ∀ n, block standardDirection q (fun a => pathTranslate P a (normalize L.g L.positive (HistoryData.forcingPath G))) n 0 ≤ A*majorant L.R d n) (hinitial : ∀ n, block standardDirection q (fun a => translate P a (I.value : CylinderL2 P U)) n 0 ≤ A*majorant L.R d n) include hA hforce hinitial theorem pressure_bound (n : ℕ) : block standardDirection q (fun a => pathTranslate P a (normalize L.g L.positive (G.pressurePath I))) n 0 ≤ (L.pressureAmplitude (P := P) N*A)*majorant L.R (d+1) n := by have hf (j : ℕ) : block standardDirection q (fun a => pathTranslate P a (normalize L.g L.positive (HistoryData.forcingPath G))) j 0 ≤ A*majorant L.R (d+1) j := (hforce j).trans (mul_le_mul_of_nonneg_left (majorant_mono_shift L.R L.radius_one d (d+1) j (by omega)) hA) rw [G.pressurePath_normalized_eq_source I L.g L.positive] have h := sourcePressure_block_bound P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower _ _ standardDirection standard_norm q (EulerCylinderPotential.weighted_orbit P (reciprocal L.g L.positive) _ G.path_orbit) (EulerCylinderPotential.weighted_orbit P (reciprocal L.g L.positive) _ (G.velocityPath_orbit I)) 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+1) hf (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) 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.g L.positive (G.scalarGradientField I).path)) n 0 ≤ (3*L.pressureAmplitude (P := P) N*A)*majorant L.R (d+2) n := by have h := G.scalarGradientField_normalized_bound I L.g L.positive q L.R (L.pressureAmplitude (P := P) N*A) (d+1) (L.pressure_bound N G I A hA d hforce hinitial) n simpa only [show d+1+1=d+2 by omega,mul_assoc] using h theorem corrector_bound (n : ℕ) : block standardDirection q (fun a => pathTranslate P a (normalize L.g L.positive (G.correctorPath I))) n 0 ≤ (L.correctorAmplitude (P := P) N*A)*majorant L.R (d+2) n := by have hc := N.coefficient_bounds have h := G.correctorPath_normalized_bound I L.g L.positive q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) (fun j a => (hc.2.2 j a).2.2.1) (fun j a => (hc.2.2 j a).1) n rw [show d+1+1=d+2 by omega] at h exact h.trans_eq (by unfold correctorAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) theorem corrector_time_bound (n : ℕ) : block standardDirection q (fun a => pathTranslate P a (normalize L.g L.positive (G.correctorTimePath I))) n 0 ≤ (L.correctorTimeAmplitude (P := P) N*A)*majorant L.R (d+2) n := by have hc := N.coefficient_bounds have h := G.correctorTimePath_normalized_bound I L.g L.positive q N.coefficientRadius N.coefficientAmplitude L.R (L.commonCost*A) hc.1 hc.2.1 (mul_nonneg L.commonCost_nonneg hA) N.radius (d+1) (L.velocity_common_bound G I standardDirection standard_norm A hA d hforce hinitial) (L.derivative_common_bound G I standardDirection standard_norm A hA d hforce hinitial) (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+1+1=d+2 by omega] at h exact h.trans_eq (by unfold correctorTimeAmplitude EulerTransversePacketJoin.NormalBudget.blockAmplitude; ring) end EulerTransversePacketForward.Budget