The entering durations survive native splicing through their exact residual maxima.
theorem
MindFormal.A617Settling.remainingRelease_split
{N : ℕ}
(H ρ : ℝ)
(hH : 0 ≤ H)
(enter : NNReal)
(h : FiniteActionHistory (Fin N))
:
RetainedClock.remainingRelease H ρ enter h = max (↑enter - H).toNNReal (RetainedClock.remainingRelease H ρ 0 h)
theorem
MindFormal.A617Settling.remainingPulse_split
{N : ℕ}
(H ρ : ℝ)
(hH : 0 ≤ H)
(enter : Fin N → NNReal)
(h : FiniteActionHistory (Fin N))
(i : Fin N)
:
RetainedClock.remainingPulse H ρ enter h i = max (↑(enter i) - H).toNNReal (RetainedClock.remainingPulse H ρ 0 h i)
theorem
MindFormal.A617Settling.remainingRelease_residual_splice
{N : ℕ}
{g f : ℝ → Fin N → ℝ}
{H ρ : ℝ}
(enter : NNReal)
(S : NativeSchedule (residualGuard enter g) f H ρ)
(c : ℝ)
(hc0 : 0 ≤ c)
(hc : c ≤ H)
(hg : ∀ (i : Fin N), Continuous fun (t : ℝ) => g t i)
(F :
NativeSchedule
(residualGuard (RetainedClock.remainingRelease c ρ enter (nativeActionHistory (S.closedPrefix c hc))) fun (t : ℝ) =>
g (c + t))
(fun (t : ℝ) => f (c + t)) (H - c) ρ)
:
RetainedClock.remainingRelease H ρ enter (nativeActionHistory S) = RetainedClock.remainingRelease (H - c) ρ
(RetainedClock.remainingRelease c ρ enter (nativeActionHistory (S.closedPrefix c hc))) (nativeActionHistory F)
theorem
MindFormal.A617Settling.remainingPulse_residual_splice
{N : ℕ}
{g f : ℝ → Fin N → ℝ}
{H ρ : ℝ}
(releaseEnter : NNReal)
(pulseEnter : Fin N → NNReal)
(S : NativeSchedule (residualGuard releaseEnter g) f H ρ)
(c : ℝ)
(hc0 : 0 ≤ c)
(hc : c ≤ H)
(hg : ∀ (i : Fin N), Continuous fun (t : ℝ) => g t i)
(F :
NativeSchedule
(residualGuard (RetainedClock.remainingRelease c ρ releaseEnter (nativeActionHistory (S.closedPrefix c hc)))
fun (t : ℝ) => g (c + t))
(fun (t : ℝ) => f (c + t)) (H - c) ρ)
:
RetainedClock.remainingPulse H ρ pulseEnter (nativeActionHistory S) = RetainedClock.remainingPulse (H - c) ρ
(RetainedClock.remainingPulse c ρ pulseEnter (nativeActionHistory (S.closedPrefix c hc))) (nativeActionHistory F)