MindFormal v1.0.0One Mind

MindFormal.Run.A617PaperConsumers.FirstAction

theorem MindFormal.A617PaperConsumers.first_action_from_cut {N : ℕ} {g f : ℝ → Fin N → ℝ} {H p a d : ℝ} (S : NativeSchedule g f H p) (n : ℕ) (had : a ≤ d) (hdH : d ≤ H) (hrelease : S.release n ≤ d) (hbefore : ∀ m < n, ∃ (t : ℝ) (i : Fin N), (S.search m).event = some (t, i) ∧ t < a) (hafter : ∀ (t : ℝ) (i : Fin N), (S.search n).event = some (t, i) → a ≤ t) (right : Fin N) (hread : ∀ t ∈ Set.Icc a d, (∀ (m : ℕ) (s : ℝ) (i : Fin N), (S.search m).event = some (s, i) → a ≤ s → t ≤ s) → (∀ (i : Fin N), i ≠ right → g t i < 0) ∧ (t = d → 0 ≤ g t right)) :
∃ t ∈ Set.Icc a d, (S.search n).event = some (t, right) ∧ ∀ (m : ℕ) (s : ℝ) (i : Fin N), (S.search m).event = some (s, i) → a ≤ s → t ≤ s

The first search at a query cut retains its real release. Estimates are only required on the branch with no earlier query event. No blank, prescribed winner, fresh clock, or prescribed event time is introduced.