(1), proof of Theorem 1, p. 420 — a precedence chain covers idle times
ProvedGrahamAnomaly.General.covering_chainlist-schedulingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1precedence-constraintsschedulingtiming-anomalies
Let tasks with positive durations be scheduled by Graham's list rule on identical processors under a strict precedence order and any priority list. Write for their start times and for the finishing time. There is a finite chain in increasing order, containing a task that finishes at , such that
This chain is the link between idle processor time in the second run and a path of precedence-constrained work.
Formalization Note The paper's set excludes times when every processor is idle. Under the list rule, all processors cannot be idle before the last task finishes, so the formula uses failure of “all processors busy” to describe . Running intervals are half-open.
Preamble
import Mathlib import Definitions.Def_GrahamAnomaly_General_Model
Formal statement
namespace GrahamAnomaly.General
/-- Display (1) in the proof of Theorem 1: a precedence chain ending at a
last-finishing task covers each time when a processor is idle. -/
theorem covering_chain {r n' : ℕ} (hr : 0 < r) (hn' : 0 < n')
(μ' : Fin r → ℝ) (hμ' : ∀ j, 0 < μ' j)
(prec' : Fin r → Fin r → Prop) [IsStrictOrder (Fin r) prec']
(L' : Fin r ≃ Fin r) (G' : Schedule n' μ' prec')
(hG' : IsListSchedule L' G') :
∃ c : List (Fin r), c.Chain' prec' ∧
(∃ j ∈ c, G'.S j + μ' j = G'.finish) ∧
∀ t : ℝ, 0 ≤ t → t < G'.finish → ¬ AllBusy G' t →
∃ a ∈ c, G'.S a ≤ t ∧ t < G'.S a + μ' a := by sorry
end GrahamAnomaly.General
Source
Graham, Bounds on multiprocessing timing anomalies, SIAM J. Appl. Math. 17 (1969), pp. 419–420, display (1) and following sentence in proof of Theorem 1; https://doi.org/10.1137/0117039
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.