import Euler.TransversePacketHistoryData import Euler.TransversePacketForcing import Euler.CylinderDirichletEquation import Euler.CylinderDirichletRegularity import Euler.CylinderDirichletSupport import Euler.CylinderDirichletParity import Euler.SourceNormalResidualBounds /-! # The actual forced transverse history on packet fields The forcing is an ordinary admissible cylinder path. Source deformation and Hessian data construct its zero-endpoint history, physical velocity, true time derivative, and scalar pressure path. No output regularity or equation is included in the input. -/ noncomputable section namespace EulerTransversePacketProvider.HistoryData open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerMeanCoefficients EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerTimeLp EulerCylinderSmoothOrbit EulerCylinderAngleAverage EulerVolterraConvolution EulerMetricTransport EulerSourceNormalResidualBounds EulerPacketProfileRecursion EulerCylinderFieldReflection open scoped ContDiff BoundedContinuousFunction variable {P : ℝ} [Fact (0 < P)] {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] {D : Data U} (B : HistoryData D) {raw : VectorField} (G : Forcing P D raw) abbrev forcingPath := includePath P D.support D.support_measurable G.path def coordinatePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := B.coefficients.velocityPath P (pathLp D.T D.T_pos.le (forcingPath G)) def coordinateDerivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P U) := B.coefficients.accelerationPath P (forcingPath G) def velocityPath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := B.coefficients.physicalVelocity P (forcingPath G) def derivativePath : C(Icc (0 : ℝ) D.T,CylinderL2 P Space) := B.coefficients.physicalDerivative P (forcingPath G) def pressurePath : C(Icc (0 : ℝ) D.T,CylinderL2 P ℝ) := sourcePressure P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower (forcingPath G) (B.velocityPath G) theorem coordinatePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.coordinatePath G)) := B.coefficients.velocityPath_orbit_contDiff P D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit theorem coordinateDerivativePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.coordinateDerivativePath G)) := B.coefficients.accelerationPath_orbit_contDiff P D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit theorem velocityPath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.velocityPath G)) := B.coefficients.physicalVelocity_orbit_contDiff P D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit theorem derivativePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.derivativePath G)) := B.coefficients.physicalDerivative_orbit_contDiff P D.frame.translation_contDiff D.frameDerivative.translation_contDiff B.H.translation_contDiff (forcingPath G) G.path_orbit theorem pressurePath_orbit : ContDiff ℝ ∞ (fun a => pathTranslate P a (B.pressurePath G)) := sourcePressure_contDiff P D.M D.normal D.normalLower D.normalLower_pos D.normal_lower (forcingPath G) (B.velocityPath G) G.path_orbit (B.velocityPath_orbit G) theorem coordinatePath_time (t : Icc (0 : ℝ) D.T) : HasDerivWithinAt (extendPath D.T D.T_pos.le (B.coordinatePath G)) (B.coordinateDerivativePath G t) (Icc (0 : ℝ) D.T) t := B.coefficients.velocity_hasDerivWithinAt P (forcingPath G) t theorem velocityPath_time (t : Icc (0 : ℝ) D.T) : HasDerivWithinAt (extendPath D.T D.T_pos.le (B.velocityPath G)) (B.derivativePath G t) (Icc (0 : ℝ) D.T) t := B.coefficients.physicalVelocity_hasDerivWithinAt P (forcingPath G) t theorem coordinatePath_supported (t : Icc (0 : ℝ) D.T) : B.coordinatePath G t ∈ Supported P U D.support D.support_measurable := B.coefficients.velocityPath_supported P D.support D.support_measurable (forcingPath G) (fun s => (G.path s).property) t theorem velocityPath_supported (t : Icc (0 : ℝ) D.T) : B.velocityPath G t ∈ Supported P Space D.support D.support_measurable := B.coefficients.physicalVelocity_supported P D.support D.support_measurable (forcingPath G) (fun s => (G.path s).property) t theorem derivativePath_supported (t : Icc (0 : ℝ) D.T) : B.derivativePath G t ∈ Supported P Space D.support D.support_measurable := B.coefficients.physicalDerivative_supported P D.support D.support_measurable (forcingPath G) (fun s => (G.path s).property) t theorem coordinatePath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.coordinatePath G t) = 0 := B.coefficients.velocityPath_mean_zero P (forcingPath G) G.mean_zero t theorem velocityPath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.velocityPath G t) = 0 := B.coefficients.physicalVelocity_mean_zero P (forcingPath G) G.mean_zero t theorem derivativePath_mean_zero (t : Icc (0 : ℝ) D.T) : average P (B.derivativePath G t) = 0 := B.coefficients.physicalDerivative_mean_zero P (forcingPath G) G.mean_zero t def field (t : Icc (0 : ℝ) D.T) : LiftDomain P → Space := pointField P (B.velocityPath G) (B.velocityPath_orbit G) t def derivativeField (t : Icc (0 : ℝ) D.T) : LiftDomain P → Space := pointField P (B.derivativePath G) (B.derivativePath_orbit G) t theorem field_smooth (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : ContDiff ℝ ∞ (localFieldLift P (B.field G t) x) := pointField_smooth P (B.velocityPath G) (B.velocityPath_orbit G) t x theorem derivativeField_smooth (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : ContDiff ℝ ∞ (localFieldLift P (B.derivativeField G t) x) := pointField_smooth P (B.derivativePath G) (B.derivativePath_orbit G) t x theorem field_ae (t : Icc (0 : ℝ) D.T) : B.velocityPath G t =ᵐ[liftMeasure P] B.field G t := pointField_ae P (B.velocityPath G) (B.velocityPath_orbit G) t theorem derivativeField_ae (t : Icc (0 : ℝ) D.T) : B.derivativePath G t =ᵐ[liftMeasure P] B.derivativeField G t := pointField_ae P (B.derivativePath G) (B.derivativePath_orbit G) t theorem field_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : HasDerivWithinAt (fun s => B.field G (D.clamp s) x) (B.derivativeField G t x) (Icc (0 : ℝ) D.T) t := pointField_hasDerivWithinAt P D.T D.T_pos.le (B.velocityPath G) (B.derivativePath G) (B.velocityPath_orbit G) (B.derivativePath_orbit G) (B.velocityPath_time G) t x theorem field_zero_outside (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) (hx : x.1 ∉ D.support) : B.field G t x = 0 := by change pointField P (B.velocityPath G) (B.velocityPath_orbit G) t x = 0 rw [pointField_eq_representative] exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed _ _ (B.velocityPath_supported G t) x hx theorem derivativeField_zero_outside (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) (hx : x.1 ∉ D.support) : B.derivativeField G t x = 0 := by change pointField P (B.derivativePath G) (B.derivativePath_orbit G) t x = 0 rw [pointField_eq_representative] exact representative_zero_outside P D.support D.support_measurable D.support_compact.isClosed _ _ (B.derivativePath_supported G t) x hx omit [CompleteSpace U] in theorem normal_ne_zero (t : Icc (0 : ℝ) D.T) (x : Space) : D.normal.field t x ≠ 0 := by intro hzero have hb := D.normal_lower t x rw [hzero,norm_zero,zero_pow (by omega : 2 ≠ 0)] at hb exact (not_le_of_gt D.normalLower_pos) hb theorem balance_ae (t : Icc (0 : ℝ) D.T) : ∀ᵐ x ∂liftMeasure P, B.derivativePath G t x+D.M.field t x.1 (B.velocityPath G t x)+ ((⟪D.normal.field t x.1,forcingPath G t x⟫_ℝ- 2*⟪D.normal.field t x.1,D.M.field t x.1 (B.velocityPath G t x)⟫_ℝ)/ ‖D.normal.field t x.1‖^2) • D.normal.field t x.1 = forcingPath G t x := B.coefficients.physical_balance_ae P (forcingPath G) (fun t x => D.M.field t x) (fun t x => D.normal.field t x) (normal_ne_zero (D := D)) D.frame_tangent D.frame_range D.frame_strain t theorem field_tangent (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : ⟪D.normal.field t x.1,B.field G t x⟫_ℝ = 0 := by have hae : (fun y : LiftDomain P => ⟪D.normal.field t y.1,B.field G t y⟫_ℝ) =ᵐ[liftMeasure P] (fun _ => 0) := by filter_upwards [B.coefficients.physicalVelocity_ae P (forcingPath G) t,B.field_ae G t] with y hq ha change B.velocityPath G t y = D.frame.field t y.1 (B.coordinatePath G t y) at hq rw [← ha,hq] exact D.frame_tangent t y.1 _ exact congrFun (Measure.eq_of_ae_eq hae (((D.normal.field t).continuous.comp continuous_fst).inner (smoothField_continuous P _ (B.field_smooth G t))) continuous_const) x end EulerTransversePacketProvider.HistoryData