theorem
MindFormal.RetainedClock.native_future_pulse_last
{N : ℕ}
{guard score : ℝ → Fin N → ℝ}
{H pause : ℝ}
(s : NativeSchedule guard score H pause)
(t : ℝ)
(ht : H ≤ t)
(i : Fin N)
:
historyPulse pause (nativeActionHistory s) t i = if nextIndex (nativeActionHistory s) ≠ 0 ∧ (↑(nativeActionHistory s) (nextIndex (nativeActionHistory s) - 1)).2 = Sum.inl i ∧ t < (↑(nativeActionHistory s) (nextIndex (nativeActionHistory s) - 1)).1 + pause then
1
else 0
After the endpoint, no earlier focus can still be live. This proves that the duration decoder really can discard every earlier selection.
theorem
MindFormal.RetainedClock.remainingPulse_identity
{N : ℕ}
{guard score : ℝ → Fin N → ℝ}
{H pause : ℝ}
(s : NativeSchedule guard score H pause)
(enter : Fin N → NNReal)
(t : ℝ)
(ht : 0 ≤ t)
(i : Fin N)
:
residualPulse enter pause (nativeActionHistory s) (H + t) i = if t < ↑(remainingPulse H pause enter (nativeActionHistory s) i) then 1 else 0
The retained focus durations reproduce the entire remaining old pulse at every future elapsed time, not just its on/off value at the cut.