MindFormal v1.0.0One Mind

MindFormal.Run.ResidualClockIdentity

theorem MindFormal.RetainedClock.native_hit_before_next {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (s : NativeSchedule guard score H pause) {k : ℕ} {t : ℝ} {i : Fin N} (hk : (s.search k).event = some (t, i)) :
theorem MindFormal.RetainedClock.native_last_exists {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (s : NativeSchedule guard score H pause) (hn : nextIndex (nativeActionHistory s) ≠ 0) :
∃ (t : ℝ) (i : Fin N), (s.search (nextIndex (nativeActionHistory s) - 1)).event = some (t, i)
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) :

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.