Fact 4.6 — the idle time charged to each job is at most
ProvedAvgCompletionSched.DelayList.charge_leLet be a schedule produced by the continuous-time algorithm Delay List with parameter on machines, using a list that obeys the precedence constraints. For every job , the idle time charged to satisfies
For a job scheduled out of order (case 2) the charge is exactly by the rules of the algorithm; the content is the in-order case 1, where is charged all uncharged idle time in .
Formalization Note This is the statement for which the continuous-time version of the algorithm is formalized: the paper remarks that with discrete time units the algorithm "might charge more idle time due to integrality of the time unit", and that this is fixed in the continuous case.
import Mathlib import Definitions.Def_AvgCompletionSched_DelayList_Model import Definitions.Def_AvgCompletionSched_DelayList_Algorithm
namespace AvgCompletionSched.DelayList
/-- Fact 4.6 (p. 159): in the continuous-time Delay List algorithm, the idle time charged to each
job `J_i` is at most `β p_i`. -/
theorem charge_le {n m : ℕ} (I : Instance n) (hm : 2 ≤ m) (π : Fin n ≃ Fin n)
(hπ : ObeysPrecedence I π) (β : ℝ) (hβ : 0 < β) (D : DelayListRun I m)
(hD : IsDelayListSchedule I m π β D) (i : Fin n) :
D.charge i ≤ β * I.p i := by sorry
end AvgCompletionSched.DelayList
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Hypotheses.
- ;
- a list obeying precedence;
- ;
- a run satisfying the Delay List property for ;
- any job .
Conclusion.
where:
- is minus the number of jobs with ;
- means comes before in the run's scheduling order.
For case-2 jobs, the property already fixes this integral to equal . The content of the statement is mainly about case-1 jobs.
Degenerate cases.
- If , the domain is empty and the claim is .
- : vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.