Lemma 4.16 — for list scheduling on in-trees
ProvedAvgCompletionSched.InTree.list_schedule_completion_boundLet an in-tree instance without release dates and a number of machines be given. Let be a list of the jobs obeying the precedence constraints, and the one-machine schedule that processes the jobs in the order without idle time, with completion times . If is a list schedule on machines using as the list (Graham's rule), then for every job
This per-job bound is the key step of the 2-approximation for in-trees: summing it with weights and applying Lemmas 4.10 and 4.11 gives Theorem 4.17.
Formalization Note The in-tree hypothesis and the absence of release dates are standing assumptions of §4.4 and are part of the instance. The one-machine schedule need not be optimal. It is taken idle-free, as the paper's proof assumes ("since there are no release dates, we can assume that the schedule has no idle time").
import Mathlib import Definitions.Def_AvgCompletionSched_InTree_Model import Definitions.Def_AvgCompletionSched_InTree_ListScheduling
namespace AvgCompletionSched.InTree
/-- Lemma 4.16 (p. 162): if `G` is the list schedule on `m` machines using a one-machine
schedule `S¹` (the idle-free schedule in the order `π`) as the list, then for every job `i`,
`C^m_i ≤ κ_i + C^1_i / m`. -/
theorem list_schedule_completion_bound {n : ℕ} (I : Instance n) (m : ℕ) (hm : 1 ≤ m)
(π : Fin n ≃ Fin n) (hπ : ObeysPrecedence I π) (G : Schedule I m)
(hG : IsListSchedule I π G) (i : Fin n) :
G.C i ≤ kappa I i + oneMachineC I π i / (m : ℝ) := by sorry
end AvgCompletionSched.InTree
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be any instance with jobs: processing times , weights , and at most one immediate successor per job, with no cycles. Precedence means that is reached from by following successor edges one or more times. Let , and let be a bijection of the jobs, with , that obeys precedence.
Let be a schedule on machines, with start times , machines and completion times . It is feasible in three respects:
- distinct jobs on the same machine do not overlap;
- implies ;
- no other constraints are imposed.
is also a list schedule for :
- whenever and for all , every machine is processing some job with ;
- whenever and for all , we have .
Definitions used. The critical-path length is defined recursively:
Equivalently, since all , is the largest total processing time along a -chain ending at . The one-machine completion time in the order is
Claim. For every job ,
Degenerate cases. Since , there is no division by zero. When , there is no job to quantify over. When , the bound reads .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.