Native calendars when some candidate always qualifies: the k-th search fires exactly at its release k·pause (within the horizon), whatever wins it, and a label that strictly out-scores every other qualified candidate at a release is the label recorded there.
theorem
MindFormal.A910SearchReturns.search_at_release
{N : ℕ}
{guard score : ℝ → Fin N → ℝ}
{H release : ℝ}
(S : NativeSearch guard score release H)
(hR : release ≤ H)
(w : Fin N)
(hq : 0 ≤ guard release w)
:
A search whose release is qualified fires at its release.
theorem
MindFormal.A910SearchReturns.search_label
{N : ℕ}
{guard score : ℝ → Fin N → ℝ}
{H release : ℝ}
(S : NativeSearch guard score release H)
{t : ℝ}
{i w : Fin N}
(he : S.event = some (t, i))
(hq : 0 ≤ guard t w)
(hd : ∀ (j : Fin N), j ≠ w → 0 ≤ guard t j → score t j < score t w)
:
A strictly dominant qualified label at the event time is the recorded label.
theorem
MindFormal.A910SearchReturns.always_calendar_label
{N : ℕ}
{guard score : ℝ → Fin N → ℝ}
{H pause : ℝ}
(S : NativeSchedule guard score H pause)
(hq : ∀ t ∈ Set.Icc 0 H, ∃ (w : Fin N), 0 ≤ guard t w)
(k : ℕ)
(hk : ↑k * pause ≤ H)
(w : Fin N)
(hw : 0 ≤ guard (↑k * pause) w)
(hd : ∀ (j : Fin N), j ≠ w → 0 ≤ guard (↑k * pause) j → score (↑k * pause) j < score (↑k * pause) w)
:
Under the same hypothesis, the k-th recorded label is the strictly dominant one.