import Euler.PacketInitializedCorrectionData import Euler.PacketInitializedProfilesParity import Euler.PacketFieldParityAlgebra /-! The literal initialized packet and its exact residual tail are odd as actual cylinder L² paths, before and after coordinate normalization. -/ noncomputable section namespace EulerPacketTerminalDatum open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketPointJets EulerCylinderFieldReflection 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) (α : ℝ) (eM : EulerMeanPacketProvider.EvenData M) (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) (hBH : ∀ t x, B.H.field t (-x) = B.H.field t x) include hTime eM hSym hF hDM hBH theorem initializedVelocity_odd (N : ℕ) (κ : ℝ) : JointOdd M.T (fieldSum (N+1) κ (assembledVelocity N (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α))) := ProfileParity.velocity_odd (fun i _ => initializedProfiles_parity M D hTime τ hτ hτT B δ hδ ξ hs α eM hSym hF hDM hBH i) κ theorem initializedPacketField_odd (N : ℕ) (κ : ℝ) : (initializedPacketField M D hTime τ hτ hτT B δ hδ ξ hs α N κ).ReflectionOdd := by apply Field.reflectionOdd_of_raw exact (initializedVelocity_odd M D hTime τ hτ hτT B δ hδ ξ hs α eM hSym hF hDM hBH N κ).matrix_apply _ (joinedSourceCoefficientEven period M D τ hτ hτT B hF hDM).inverse theorem initializedNormalizedField_odd (N : ℕ) (k : ℝ) : (initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α N k).ReflectionOdd := ((initializedPacketField_odd M D hTime τ hτ hτT B δ hδ ξ hs α eM hSym hF hDM hBH N k⁻¹).smul k).changeTime hTime theorem initializedResidualField_odd (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) (hκ : κ ≠ 0) : (initializedResidualField M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN κ hκ).ReflectionOdd := by let a := initializedProfiles M D τ hτ hτT B δ hδ ξ hs α let G := fun (i : ℕ) (_ : i ≤ N) => initializedProfileWitness M D hTime τ hτ hτT B δ hδ ξ hs α i have H : ∀ i, i ≤ N → ProfileParity M.T (a i) := fun i _ => initializedProfiles_parity M D hTime τ hτ hτT B δ hδ ξ hs α eM hSym hF hDM hBH i have ha : a 0 = 0 := profiles_zero _ _ have htail := ProfileRegularity.residualTail_odd M.T_pos G H (joinedSourceCoefficientData period M D τ hτ hτT B hTime) (joinedSourceCoefficientEven period M D τ hτ hτT B hF hDM) ha κ intro t exact (ProfileRegularity.tailSumField M.T_pos G (joinedSourceCoefficientData period M D τ hτ hτT B hTime) ha κ).reflection_neg_of_raw_odd t (htail t) theorem initializedNormalizedResidualField_odd (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) : (initializedNormalizedResidualField M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk).ReflectionOdd := by have h := initializedResidualField_odd M D hTime τ hτ hτT B δ hδ ξ hs α eM hSym hF hDM hBH Cagree N hN k⁻¹ (inv_ne_zero (by linarith)) exact ((h.multiply (joinedSourceCoefficientData period M D τ hτ hτT B hTime).inverse (joinedSourceCoefficientEven period M D τ hτ hτT B hF hDM).inverse).smul k).changeTime hTime end EulerPacketTerminalDatum