def
MindFormal.NativeSearch.reindex
{N : ℕ}
{g f g' f' : ℝ → Fin N → ℝ}
{r r' H : ℝ}
(S : NativeSearch g f r H)
(hg : g = g')
(hf : f = f')
(hr : r = r')
:
NativeSearch g' f' r' H
Transport equal guard, score and release descriptions without changing the selected event. This is a representation change, not a new search.
Instances For
theorem
MindFormal.native_event_iff
{N : ℕ}
{g f : ℝ → Fin N → ℝ}
{r H t : ℝ}
(S : NativeSearch g f r H)
(i : Fin N)
:
A native event is exactly an attained first qualification and the current maximum with fixed priority. This also handles qualified releases.
theorem
MindFormal.native_none_iff
{N : ℕ}
{g f : ℝ → Fin N → ℝ}
{r H : ℝ}
(S : NativeSearch g f r H)
:
No event is equivalent to strict nonqualification throughout the eligible interval; this includes an empty output mask and an empty interval.
theorem
MindFormal.native_acceptance_mono
{N : ℕ}
(mask : Fin N → Bool)
(bar : ℝ)
{f f' : ℝ → Fin N → ℝ}
{r H : ℝ}
(S : NativeSearch (fun (t : ℝ) (i : Fin N) => if mask i = true then f t i - bar else -1) f r H)
(S' : NativeSearch (fun (t : ℝ) (i : Fin N) => if mask i = true then f' t i - bar else -1) f' r H)
(w : Fin N)
(hw : ∀ t ∈ Set.Icc r H, f t w ≤ f' t w)
(hj : ∀ t ∈ Set.Icc r H, ∀ (j : Fin N), j ≠ w → f' t j ≤ f t j)
{t : ℝ}
(hit : S.event = some (t, w))
:
TX1 paragraph 4: increasing the accepting score and decreasing every rival through a common first search preserves acceptance, including ties. The functions are whole paths, not endpoint means.