import Euler.PacketPrimarySourceRegularity import Euler.PacketJoinedSourceOperators import Euler.PacketProfileBudgetTimeChange import Euler.PacketPrimaryGradeBounds import Euler.PacketJoinedUniformProfiles /-! Uniform recursive packet bounds with the literal primary initialization discharged. -/ /-! ## From `Euler/PacketTerminalPrimaryFields.lean` The text of `Euler/PacketTerminalPrimaryFields.lean`, folded into this file, which was its only importer. -/ section /-! The genuine endpoint primary supplies all qualitative inputs to the joined recursion. -/ noncomputable section namespace EulerPacketCylinderField open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion 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)) (Y : EulerTransversePacketProvider.InitialData P D) def joinedTerminalPrimary : Profile := primaryProfile (joinedSourceOperators P M D τ hτ hτT B) (EulerTransversePacketPrimary.vector τ hτ hτT B Y) (EulerTransversePacketPrimary.scalar τ hτ hτT B Y) def joinedTerminalPrimaryWitness : ProfileRegularity P M.T M.T_pos.le D.support (joinedTerminalPrimary P M D τ hτ hτT B Y) := (EulerTransversePacketPrimary.profileRegularity τ hτ hτT B Y (joinedSourceOperators P M D τ hτ hτT B) rfl).changeTime hTime.symm M.T_pos.le include hTime in theorem joinedTerminalPrimary_tangent (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : inner ℝ (D.normalField (t,(x,θ))) ((joinedTerminalPrimary P M D τ hτ hτT B Y).high (t,(x,θ)))=0 := by let td : Icc (0 : ℝ) D.T := ⟨t.val,by simpa only [← hTime] using t.property⟩ exact EulerTransversePacketPrimary.vector_tangent τ hτ hτT B Y td x θ theorem joinedTerminalPrimary_pressure_smooth (t : ℝ) : ContDiff ℝ ∞ (fun y : Space × ℝ => (joinedTerminalPrimary P M D τ hτ hτT B Y).highPressure (t,y)) := EulerTransversePacketPrimary.scalar_smooth τ hτ hτT B Y t include hTime in theorem joinedTerminalPrimary_equation (t : Icc (0 : ℝ) M.T) (x : Space) (θ : ℝ) : linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) M.T) (joinedTerminalPrimary P M D τ hτ hτT B Y).high (t,(x,θ)))+ fastPressure (D.normalField (t,(x,θ))) (pressureJet (joinedTerminalPrimary P M D τ hτ hτT B Y).highPressure (t,(x,θ)))=0 := by let td : Icc (0 : ℝ) D.T := ⟨t.val,by simpa only [← hTime] using t.property⟩ change linearPart (D.strain (t,(x,θ))) (slicedJet (Icc (0 : ℝ) M.T) (EulerTransversePacketPrimary.vector τ hτ hτT B Y) (t,(x,θ)))+ fastPressure (D.normalField (t,(x,θ))) (pressureJet (EulerTransversePacketPrimary.scalar τ hτ hτT B Y) (t,(x,θ)))=0 have hjet := congrArg (fun I : Set ℝ => slicedJet I (EulerTransversePacketPrimary.vector τ hτ hτT B Y) (t.val,(x,θ))) (congrArg (fun s : ℝ => Icc (0 : ℝ) s) hTime) rw [hjet] exact EulerTransversePacketPrimary.jet_equation τ hτ hτT B Y td x θ end EulerPacketCylinderField end end /-! ## From `Euler/PacketTerminalPrimaryBudget.lean` The text of `Euler/PacketTerminalPrimaryBudget.lean`, folded into this file, which was its only importer. -/ section /-! The literal compact terminal wave initializes the mean-time packet budget. -/ noncomputable section namespace EulerPacketTerminalDatum open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketTimeProfile variable (M : EulerMeanPacketProvider.Data) {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] (D : Data U) (hTime : M.T=D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) (B : HistoryData (D.initial τ hτ hτT.le)) (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) (H : EulerTransversePacketPrimary.Budget L) (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) (δ : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) (W : EulerTransversePacketPrimary.Budget.GradeGuards (P := period) H NB (wordCost (Fin 4) 6 δ*‖ξ‖)) include hδ1 hα hR W theorem joinedTerminalPrimary_budget (S : Scales (Icc (0 : ℝ) M.T)) (hgrowth : timeProfileChange S.growth hTime=α • L.fullProfile) : ProfileBudget (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) S L.R 1 := by have hg : (S.changeTime hTime).growth=α • L.fullProfile := (S.growth_changeTime hTime).trans hgrowth have hD := primary_profile_budget H NB δ hδ hδ1 ξ hs α hα hR W (joinedSourceOperators period M D τ hτ hτT B) rfl (S.changeTime hTime) hg have hM := hD.changeTime hTime.symm M.T_pos.le simpa only [Scales.changeTime_roundtrip, joinedTerminalPrimaryWitness, joinedTerminalPrimary] using hM end EulerPacketTerminalDatum end end noncomputable section namespace EulerPacketTerminalDatum open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketTimeProfile EulerParameterWordGevrey variable (M : EulerMeanPacketProvider.Data) {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] (D : Data U) (hTime : M.T=D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) (B : HistoryData (D.initial τ hτ hτT.le)) (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) def initializedProfiles : ℕ → Profile := joinedSourceProfiles period M D τ hτ hτT B (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) def initializedProfileWitness (p : ℕ) : ProfileRegularity period M.T M.T_pos.le D.support (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α p) := joinedSourceProfileWitness period M D hTime τ hτ hτT B (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) p variable (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) (H : EulerTransversePacketPrimary.Budget L) (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) (W : EulerTransversePacketJoin.Budget.GradeGuards (P := period) L NB) (LM : EulerMeanPacketProvider.Budget M 6 L.R) (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) (BC : CoefficientBudget (joinedSourceCoefficientData period M D τ hτ hτT B hTime)) (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) (WP : EulerTransversePacketPrimary.Budget.GradeGuards (P := period) H NB (wordCost (Fin 4) 6 δ*‖ξ‖)) (S : Scales (Icc (0 : ℝ) M.T)) (hgrowth : timeProfileChange S.growth hTime=α • L.fullProfile) include H NB W LM WM BC hRc hcost hδ1 hα hR WP hgrowth theorem initialized_profile_budgets (p : ℕ) (hp : 1 ≤ p) : ProfileBudget (initializedProfileWitness M D hTime τ hτ hτT B δ hδ ξ hs α p) S L.R p := joinedSource_profile_budgets period M D hTime τ hτ hτT B L NB W LM WM BC hRc hcost S α hα hgrowth (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) (joinedTerminalPrimary_budget M D hTime τ hτ hτT B L H NB δ hδ hδ1 ξ hs α hα hR WP S hgrowth) rfl (joinedTerminalPrimary_tangent period M D hTime τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) p hp end EulerPacketTerminalDatum