import Euler.PacketJoinedStepRegularity /-! All-grade admissibility for the actual history/forward packet recursion. -/ noncomputable section namespace EulerPacketCylinderField open Set EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion variable {P : ℝ} [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) {O : Operators} (C : CoefficientData P M.T O) (hmean : O.meanSolve = EulerMeanPacketProvider.meanSolve M) (hhigh : O.highSolve = EulerTransversePacketJoin.highSolve (P := P) τ hτ hτT B) (hcorrector : O.curlCorrector = D.curlCorrector P) (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) include hT τ hτ hτT B C hmean hhigh hcorrector hprimary in theorem joined_profiles_regular (p : ℕ) : Nonempty (ProfileRegularity P M.T M.T_pos.le D.support (profiles O primary p)) := by induction p using Nat.strong_induction_on with | h p ih => by_cases hp0 : p = 0 · subst p rw [profiles_zero] exact ⟨ProfileRegularity.zero P M.T M.T_pos.le D.support⟩ by_cases hp1 : p = 1 · subst p rw [profiles_one] exact ⟨hprimary⟩ have hp : 2 ≤ p := by omega let G : ∀ i, i < p → ProfileRegularity P M.T M.T_pos.le D.support (profiles O primary i) := fun i hi => Classical.choice (ih i hi) rw [profiles_step O primary p hp] exact ⟨ProfileRegularity.joinedStep M D hT τ hτ hτT B C hmean hhigh hcorrector hp G⟩ def joinedProfileWitness (p : ℕ) : ProfileRegularity P M.T M.T_pos.le D.support (profiles O primary p) := Classical.choice (joined_profiles_regular M D hT τ hτ hτT B C hmean hhigh hcorrector primary hprimary p) def joined_profiles_meanForcing (p : ℕ) (hp : 2 ≤ p) : EulerMeanPacketProvider.Forcing M (meanForce O p (profiles O primary)) := by let G : ∀ i, i < p → ProfileRegularity P M.T M.T_pos.le D.support (profiles O primary i) := fun i _ => joinedProfileWitness M D hT τ hτ hτT B C hmean hhigh hcorrector primary hprimary i let F := ProfileRegularity.prefixFields G let W := G (p-1) (by omega) exact F.meanForcing M C (by omega) W.correctorDerivative W.corrector_time W.pressure def joined_profiles_highForcing (p : ℕ) (hp : 2 ≤ p) : EulerTransversePacketProvider.Forcing P D (highForce O p (profiles O primary)) := by let G : ∀ i, i < p → ProfileRegularity P M.T M.T_pos.le D.support (profiles O primary i) := fun i _ => joinedProfileWitness M D hT τ hτ hτT B C hmean hhigh hcorrector primary hprimary i let F := ProfileRegularity.prefixFields G let W := G (p-1) (by omega) exact F.highForcing M D hT C hp W.correctorDerivative W.corrector_time W.pressure hmean (ProfileRegularity.prefixLocality G) W.pressure_zero end EulerPacketCylinderField