The last strict-past focus label remains available after its pulse expires.
Equations
Instances For
theorem
MindFormal.A1553NativeStopping.focusPulse_eq
{N : ℕ}
(ρ : ℝ)
(a : FocusMemory N)
(i : Fin N)
:
noncomputable def
MindFormal.A1553NativeStopping.advanceMemory
{N : ℕ}
(a : FocusMemory N)
(t : NNReal)
(h : FiniteActionHistory (Fin N))
:
Advance the pre-reset memory through a strict elapsed history.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MindFormal.A1553NativeStopping.measurable_advanceMemory
{N : ℕ}
{U : Type u_1}
[MeasurableSpace U]
{a : U → FocusMemory N}
{t : U → NNReal}
{h : U → FiniteActionHistory (Fin N)}
(ha : Measurable a)
(ht : Measurable t)
(hh : Measurable h)
:
Measurable fun (u : U) => advanceMemory (a u) (t u) (h u)
theorem
MindFormal.A1553NativeStopping.advanceMemory_compose
{N : ℕ}
(a : FocusMemory N)
(s t : NNReal)
(P Q : FiniteActionHistory (Fin N))
(hpast : ∀ (j : ℕ) (i : Fin N), (↑P j).2 = Sum.inl i → (↑P j).1 ≤ ↑s)
:
theorem
MindFormal.A1553NativeStopping.advanceMemory_decode
{N : ℕ}
(ρ : ℝ)
(hρ : 0 < ρ)
(a : FocusMemory N)
(t : NNReal)
(h : FiniteActionHistory (Fin N))
(hbefore : ∀ (j : ℕ) (i : Fin N), (↑h j).2 = Sum.inl i → (↑h j).1 ≤ ↑t)
(hrelease : ∀ (j : ℕ) (i : Fin N), (↑h j).2 = Sum.inl i → ↑(focusDebt ρ a) ≤ (↑h j).1)
:
focusDebt ρ (advanceMemory a t h) = RetainedClock.remainingRelease (↑t) ρ (focusDebt ρ a) h ∧ focusPulse ρ (advanceMemory a t h) = RetainedClock.remainingPulse (↑t) ρ (focusPulse ρ a) h
The remaining release and pulse are exactly those decoded from the latest focus, even when the focus window has already expired.