import Euler.TransverseStrongEstimates /-! # Continuous acceleration from the genuine Gram inverse A continuous velocity and continuous forcing give an actual continuous acceleration path through the previously constructed positive Gram inverse. Its norm and its identification with the strong L² acceleration are proved directly, for arbitrary complete real Hilbert coefficient spaces. -/ noncomputable section namespace EulerContinuousGramAcceleration open Set MeasureTheory ContinuousLinearMap EulerTimeLp EulerVolterraConvolution EulerTransverseGramInverse EulerTransverseGramPath EulerTransverseStrongEstimates variable {U E : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] variable (T : ℝ) (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) (c : ℝ) (hc : 0 < c) (hQ : ∀ t v, c*‖v‖^2 ≤ ‖Q t v‖^2) /-- The actual continuous acceleration recovered from velocity and forcing. -/ def accelerationPath (v : C(Icc (0 : ℝ) T, U)) (f : C(Icc (0 : ℝ) T, E)) : C(Icc (0 : ℝ) T, U) := ⟨fun t => gramInverse (Q t) c hc (hQ t) ((Q t).adjoint (f t-(2 : ℝ) • Q₁ t (v t))), (gramInversePath T Q c hc hQ).continuous.clm_apply ((adjointPath T Q).continuous.clm_apply (f.continuous.sub ((Q₁.continuous.clm_apply v.continuous).const_smul (2 : ℝ))))⟩ @[simp] theorem accelerationPath_apply (v : C(Icc (0 : ℝ) T, U)) (f : C(Icc (0 : ℝ) T, E)) (t : Icc (0 : ℝ) T) : accelerationPath T Q Q₁ c hc hQ v f t = gramInverse (Q t) c hc (hQ t) ((Q t).adjoint (f t-(2 : ℝ) • Q₁ t (v t))) := rfl /-- The strong projected equation holds at every time for this path. -/ theorem accelerationPath_equation (v : C(Icc (0 : ℝ) T, U)) (f : C(Icc (0 : ℝ) T, E)) (t : Icc (0 : ℝ) T) : gram (Q t) (accelerationPath T Q Q₁ c hc hQ v f t) = (Q t).adjoint (f t-(2 : ℝ) • Q₁ t (v t)) := gram_inverse_apply (Q t) c hc (hQ t) _ /-- Every genuine L² strong acceleration with the given continuous data is almost everywhere this constructed continuous path. -/ theorem accelerationPath_ae (hT : 0 ≤ T) (v a : TimeLp T U) (f : TimeLp T E) (vC : C(Icc (0 : ℝ) T, U)) (fC : C(Icc (0 : ℝ) T, E)) (hv : (v : ℝ → U) =ᵐ[timeMeasure T] extendPath T hT vC) (hf : (f : ℝ → E) =ᵐ[timeMeasure T] extendPath T hT fC) (heq : ∀ᵐ t ∂timeMeasure T, gram (extendPath T hT Q t) (a t) = (extendPath T hT Q t).adjoint (f t-(2 : ℝ) • extendPath T hT Q₁ t (v t))) : (a : ℝ → U) =ᵐ[timeMeasure T] extendPath T hT (accelerationPath T Q Q₁ c hc hQ vC fC) := by filter_upwards [heq, hv, hf] with t ht hvt hft dsimp only [extendPath] at ht hvt hft ⊢ have hi := congrArg (gramInverse (Q (projIcc 0 T hT t)) c hc (hQ _)) ht rw [inverse_gram_apply, hvt, hft] at hi exact hi end EulerContinuousGramAcceleration