MindFormal v1.0.0One Mind

MindFormal.Run.CashDirect.DelayedRace

theorem MindFormal.CashDirect.delayed_binary {N : ℕ} (mask : Fin N → Bool) (bar ν D e a r H : ℝ) (targets needs : Fin N → ℝ) (score : ℝ → Fin N → ℝ) (S : NativeSearch (fun (t : ℝ) (i : Fin N) => if mask i = true then score t i - bar else -1) score r H) (hra : r ≤ a) (hH : a + D ≤ H) (before : ∀ (t : ℝ), r ≤ t → t < a → ∀ (i : Fin N), mask i = true → score t i < bar) (enc : ∀ t ∈ Set.Icc a (a + D), ∀ (i : Fin N), mask i = true → |score t i - (referenceActivity ν (targets i) 0 (t - a) + bar - needs i)| ≤ e) (w : Fin N) (hw : mask w = true) (hD : 0 ≤ D) (deadline : needs w + e ≤ referenceActivity ν (targets w) 0 D) :
∃ t ∈ Set.Icc a (a + D), ∃ (j : Fin N), mask j = true ∧ S.event = some (t, j)

A raised-bar deadline supplies a binary hit without any strict pair gap. In particular an error-band query cannot be interpreted as a timeout.

theorem MindFormal.CashDirect.delayed_first {N : ℕ} (mask : Fin N → Bool) (bar ν D e a r H : ℝ) (targets needs : Fin N → ℝ) (score : ℝ → Fin N → ℝ) (S : NativeSearch (fun (t : ℝ) (i : Fin N) => if mask i = true then score t i - bar else -1) score r H) (hra : r ≤ a) (hH : a + D ≤ H) (hν : 0 < ν) (he : 0 ≤ e) (hn : ∀ (i : Fin N), mask i = true → e < needs i) (before : ∀ (t : ℝ), r ≤ t → t < a → ∀ (i : Fin N), mask i = true → score t i < bar) (enc : ∀ t ∈ Set.Icc a (a + D), ∀ (i : Fin N), mask i = true → |score t i - (referenceActivity ν (targets i) 0 (t - a) + bar - needs i)| ≤ e) (w : Fin N) (hw : mask w = true) (hD : 0 ≤ D) (deadline : needs w + e ≤ referenceActivity ν (targets w) 0 D) (pairs : ∀ (j : Fin N), j ≠ w → mask j = true → 0 < targets j → (needs w + e) * targets j < (needs j - e) * targets w) :
∃ t ∈ Set.Icc a (a + D), S.event = some (t, w)

The whole raised/lowered race after a quiet delay. Its release is the actual preceding event's release; every enabled rival is tested.