import Euler.PacketJoinedUniformProfiles import Euler.PacketJoinedResidualFields import Euler.PacketProfileTailEstimates /-! Exponential residual bounds for the actual recursively solved joined packet. -/ noncomputable section namespace EulerPacketCylinderField open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion EulerPacketTimeProfile EulerParameterWordGevrey EulerPacketCoarseMajorant open scoped ContDiff variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] (D : EulerTransversePacketProvider.Data U) (hTime : M.T = D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) (W : EulerTransversePacketJoin.Budget.GradeGuards (P := P) L NB) (LM : EulerMeanPacketProvider.Budget M 6 L.R) (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) (BC : CoefficientBudget (joinedSourceCoefficientData P M D τ hτ hτT B hTime)) (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) (S : Scales (Icc (0 : ℝ) M.T)) (α : ℝ) (hα : 0 < α) (hgrowth : timeProfileChange S.growth hTime = α • L.fullProfile) (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) (hprimaryBudget : ProfileBudget hprimary S L.R 1) (hprimaryMean : primary.mean = 0) (hprimaryTangent : ∀ (t : Icc (0 : ℝ) M.T) x θ, inner ℝ (D.normalField (t,(x,θ))) (primary.high (t,(x,θ))) = 0) include NB W LM WM BC hRc hcost hα hgrowth hprimaryBudget hprimaryMean hprimaryTangent theorem joinedTailSum_normalized_bound (N : ℕ) (hN : 1 ≤ N) (k X : ℝ) (hk : 4 ≤ k) (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) (hcoef : BC.multiplierCost ≤ k^(1/100 : ℝ)) (hX : 6 ≤ X) (hNX : X-1 ≤ (N : ℝ)) : (((joinedSourceCoefficientData P M D τ hτ hτT B hTime).inverse.multiply (joinedTailSumField P M D hTime τ hτ hτT B primary hprimary N k⁻¹)).smul k).WordBound 6 (4*L.R) (Real.exp (-(7/10)*X*Real.log k)) 0 := by let a := joinedSourceProfiles P M D τ hτ hτT B primary let G : ∀ i, i ≤ N → ProfileRegularity P M.T M.T_pos.le D.support (a i) := fun i _ => joinedSourceProfileWitness P M D hTime τ hτ hτT B primary hprimary i have hG : ∀ i (hi : i ≤ N), 1 ≤ i → ProfileBudget (G i hi) S L.R i := fun i _ hi => joinedSource_profile_budgets P M D hTime τ hτ hτT B L NB W LM WM BC hRc hcost S α hα hgrowth primary hprimary hprimaryBudget hprimaryMean hprimaryTangent i hi have ha : a 0=0 := profiles_zero _ _ have hb : (a 1).mean=0 := by simpa only [a,joinedSourceProfiles,profiles_one] using hprimaryMean exact ProfileRegularity.normalized_tail_bound M.T_pos G BC hG hN L.radius_bounds.1 hRc ha hb k X hk hbase hcoef hX hNX omit primary hprimary hprimaryBudget hprimaryMean hprimaryTangent in /-- All later-grade bounds and equations are proved by the actual source recursion. The remaining hypotheses are the fixed source and primary data, and the explicit scalar frequency guards. -/ theorem joinedResidual_normalized_bound (A : VectorField) (π : ScalarField) (hp : ProfileRegularity P M.T M.T_pos.le D.support (primaryProfile (joinedSourceOperators P M D τ hτ hτT B) A π)) (hpBudget : ProfileBudget hp S L.R 1) (hπ : ∀ t : Icc (0 : ℝ) M.T, ContDiff ℝ ∞ (fun y : Space × ℝ => π (t,y))) (htan : ∀ (t : Icc (0 : ℝ) M.T) x θ, inner ℝ (D.normalField (t,(x,θ))) (A (t,(x,θ))) = 0) (hpEquation : ∀ (t : Icc (0 : ℝ) M.T) x θ, linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) M.T) A (t,(x,θ)))+ fastPressure (D.normalField (t,(x,θ))) (pressureJet π (t,(x,θ)))=0) (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) (k X : ℝ) (hk : 4 ≤ k) (hbase : tailBase L.R S.H0 BC.termCost N ≤ k^(1/100 : ℝ)) (hcoef : BC.multiplierCost ≤ k^(1/100 : ℝ)) (hX : 6 ≤ X) (hNX : X-1 ≤ (N : ℝ)) : (((joinedSourceCoefficientData P M D τ hτ hτT B hTime).inverse.multiply (joinedResidualField P M D hTime τ hτ hτT B A π hp hπ htan hpEquation Cagree N hN k⁻¹ (inv_ne_zero (by linarith)))).smul k).WordBound 6 (4*L.R) (Real.exp (-(7/10)*X*Real.log k)) 0 := by have h := joinedTailSum_normalized_bound P M D hTime τ hτ hτT B L NB W LM WM BC hRc hcost S α hα hgrowth (primaryProfile (joinedSourceOperators P M D τ hτ hτT B) A π) hp hpBudget rfl htan N hN k X hk hbase hcoef hX hNX exact h.of_path_eq _ rfl end EulerPacketCylinderField