Theorem 4.17 — list scheduling from an optimal one-machine schedule is a 2-approximation for in-trees
ProvedAvgCompletionSched.InTree.list_schedule_two_approxConsider nonpreemptive scheduling of jobs with processing times and weights on identical machines, under in-tree precedence constraints and without release dates. Let be an optimal one-machine schedule, and let be Graham's list schedule on machines using as the list. Then for every feasible nonpreemptive -machine schedule
That is, list scheduling from an optimal one-machine schedule has approximation ratio 2 for minimizing weighted completion time on machines for in-tree precedence without release dates.
For in-trees this improves the ratio 4 that the general conversion (Delay List with ) gives from an optimal one-machine schedule.
Formalization Note The theorem's claim that the algorithm runs in time (dominated by computing the optimal one-machine schedule with the algorithm of reference [1]) is not stated; the optimal one-machine schedule is a hypothesis, and its existence is a separate item. The algorithm is the paper's (§4.4); an existential "there is an algorithm" statement would be trivially true. The ratio is stated against every feasible schedule rather than an infimum.
import Mathlib import Definitions.Def_AvgCompletionSched_InTree_Model import Definitions.Def_AvgCompletionSched_InTree_ListScheduling
namespace AvgCompletionSched.InTree
/-- Theorem 4.17 (p. 162): list scheduling on `m` machines, using an optimal one-machine
schedule as the list, is a 2-approximation for minimizing weighted completion time with in-tree
precedence and no release dates: its value is at most twice that of every feasible `m`-machine
schedule. -/
theorem list_schedule_two_approx {n : ℕ} (I : Instance n) (m : ℕ) (hm : 1 ≤ m)
(π : Fin n ≃ Fin n) (hπ : IsOptimalOneMachine I π) (G : Schedule I m)
(hG : IsListSchedule I π G) (N : Schedule I m) :
G.wct ≤ 2 * N.wct := by sorry
end AvgCompletionSched.InTree
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix a natural number and an object of type Instance n. Instance comes from the imported bundle AvgCompletionSched.InTree, and its definition is not included in the code I was given. All I can say about is that it is an "instance" indexed by . Let denote the finite type of indices.
The statement takes the following inputs, all universally quantified:
- , an implicit argument.
- An instance of type
Instance n. - A natural number and a hypothesis .
- A bijection , which is a permutation of the indices.
- A hypothesis that the predicate
IsOptimalOneMachineholds of and . This predicate is defined in the imported bundle and its definition is not visible here. By its name it says is an optimal one-machine order for , but that meaning is not checked here. The predicate does not involve . - A schedule of type
Schedule I mand a hypothesis that the predicateIsListScheduleholds of , and . BothScheduleandIsListScheduleare imported definitions whose contents are not visible here. By their names they suggest that is an -machine schedule for produced by list scheduling with list , but that is not checked here. - A second schedule of type
Schedule I m, with no hypothesis on it. It is any object of that type, with the same and the same as .
For a schedule , write for the quantity S.wct from the imported bundle. Its definition and its value type (for example , or ) are not visible here. By its name it is a weighted completion time. Under all of the hypotheses above, the conclusion is
where and multiplication by are those of that unseen value type. The inequality is non-strict, and the factor is exactly .
The conclusion holds for every of type Schedule I m. There is no separate hypothesis that is feasible or optimal. Any feasibility conditions (precedence constraints, machine capacity, no release dates) apply only if they are built into the type Schedule I m itself, which cannot be seen from this code. The same is true of any in-tree structure on the precedences, which would have to come from Instance. No hypothesis here states it.
The docstring above the theorem describes it as "Theorem 4.17 (p. 162)", a 2-approximation for weighted completion time under in-tree precedence. That text is a comment and adds nothing to the formal statement.
Degenerate cases:
- : excluded by the hypothesis .
- : allowed. Then and are both one-machine schedules and the claim is still .
- : allowed. The index type is empty and is the unique empty bijection. Whether
IsOptimalOneMachineandIsListSchedulecan be satisfied then, and whatwctequals (presumably an empty sum, but not verifiable here), depend on the unseen definitions. - Hypotheses that cannot be satisfied: if
IsOptimalOneMachine I πfails for every , orIsListSchedule I π Gfails for every , for some and , the statement is vacuously true for those and . The code does not show whether such cases exist. - Empty schedule type: if
Schedule I mhas no elements for some and , the statement is also vacuous there. - Division, truncated subtraction and similar defaults: no division, truncated subtraction, integral or supremum appears in the statement itself. Any such default values could only enter through the unseen definitions of
wct,ScheduleorInstance.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.