Extend an internally derived forward activity solution constantly to negative times. This only supplies the total function required by the integral interface; every physical comparison uses nonnegative time.
Equations
- MindFormal.AstraCarried.forwardActivity x t = x (max t 0)
Instances For
theorem
MindFormal.AstraCarried.forwardActivity_continuous
{N : ℕ}
{x : ℝ → Fin N → ℝ}
(hx : ContinuousOn x (Set.Ici 0))
:
theorem
MindFormal.AstraCarried.activity_integral_of_ode
{N : ℕ}
(P : Parameters)
(W : RelationBank N)
(U : Fin N → ℝ)
{x : ℝ → Fin N → ℝ}
(hx : ContinuousOn x (Set.Ici 0))
(hd : ∀ (t : ℝ), 0 < t → ∀ (i : Fin N), HasDerivAt (fun (s : ℝ) => x s i) (↑P.ν * (heldTarget W U (x t) i - x t i)) t)
(t : ℝ)
:
0 ≤ t →
∀ (i : Fin N),
forwardActivity x t i = forwardActivity x 0 i + ∫ (s : ℝ) in 0..t, ↑P.ν * (heldTarget W U (forwardActivity x s) i - forwardActivity x s i)
A differential comparison derived by a consumer satisfies the exact activity integral, including its starting endpoint. No desired envelope or arrival event occurs in this interface.
theorem
MindFormal.AstraCarried.reference_of_activity_ode
{N : ℕ}
(P : Parameters)
(W : RelationBank N)
(U : Fin N → ℝ)
(hU : ∀ (i : Fin N), 0 ≤ U i)
(r : Fin N → ℝ)
(hr : ∀ (i : Fin N), 0 ≤ r i)
{x : ℝ → Fin N → ℝ}
(hx : ContinuousOn x (Set.Ici 0))
(hxn : ∀ (t : ℝ), 0 ≤ t → ∀ (i : Fin N), 0 ≤ x t i)
(hd : ∀ (t : ℝ), 0 < t → ∀ (i : Fin N), HasDerivAt (fun (s : ℝ) => x s i) (↑P.ν * (heldTarget W U (x t) i - x t i)) t)
(H : NNReal)
:
let y := forwardActivity x;
have z := ⟨activityLift P W r y 0, ⋯⟩;
∀ (t : ↑(HorizonTime ↑H)), (referencePath (Calendar.constant U hU) P z H) t = activityLift P W r y ↑t