Lemma 4.19 — the better of list scheduling and Delay List from is a -approximation
ProvedAvgCompletionSched.ParallelRelease.two_sqrt_two_approxLet be an instance of nonpreemptive scheduling on identical machines with release dates, minimizing total completion time. Let be an optimal preemptive schedule of the one-machine relaxation (processing times , release dates ), and let list the jobs in nondecreasing order of . Let be the strict-order list schedule of , and let be a schedule produced by the continuous-time Delay List algorithm on with parameter
Then for every feasible nonpreemptive schedule of with completion times ,
This is Lemma 4.19: running both algorithms and keeping the better schedule is a -approximation for average completion time on parallel machines with release dates, improving the ratio of Chakrabarti et al. and the of Lemma 3.2.
Formalization Note The printed lemma states the constant ; its proof establishes , which is stated here and implies the printed bound. "An appropriate choice of " is the single value that the proof's algorithm runs. The running time is not part of the statement. ranges over every feasible schedule instead of an optimal one, which is equivalent. For the list schedule alone meets the bound.
import Mathlib import Definitions.Def_AvgCompletionSched_ParallelRelease_Model import Definitions.Def_AvgCompletionSched_ParallelRelease_DelayList
namespace AvgCompletionSched.ParallelRelease
/-- Lemma 4.19 (with the constant `2√2 ≈ 2.8284 < 2.83` of its proof): let `P1` be an optimal
preemptive schedule of the one-machine relaxation, `π` the list of jobs in order of completion in
`P1`, `N` the strict-order list schedule of `π`, and `D` a Delay List schedule on `π` with
`β = √(3 - 2√2)`. Then the better of `N` and `D` has total completion time at most `2√2` times
that of every feasible nonpreemptive schedule. -/
theorem two_sqrt_two_approx {n m : ℕ} (I : Instance n m) (P1 : RelaxSchedule I)
(hP1 : P1.IsOptimal) (π : Fin n ≃ Fin n) (hπ : IsCompletionOrder P1 π)
(D : DelayListRun I) (hD : IsDelayListSchedule I π (Real.sqrt (3 - 2 * Real.sqrt 2)) D)
(Nstar : Schedule I) :
min (∑ j, listCompletion I π j) (∑ j, D.C j) ≤ 2 * Real.sqrt 2 * ∑ j, Nstar.C j := by sorry
end AvgCompletionSched.ParallelRelease
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix an instance with jobs and machines ( are implicit arguments). belongs to the type Instance n m. That type, and every other named notion below, is defined in the imported modules Def_AvgCompletionSched_ParallelRelease_Model and Def_AvgCompletionSched_ParallelRelease_DelayList. Those modules are not shown here, so this read-back gives each notion's meaning only as far as its name and its use in the statement reveal it. The declaration's doc comment describes the objects in words, but the code does not check that description, and it is not relied on here.
The statement takes the following arguments and hypotheses:
- is a "relaxation schedule" for (type
RelaxSchedule I). The hypothesis says satisfies the predicateIsOptimaldefined for such schedules. - is a bijection from to itself, so a permutation of the jobs. The hypothesis says satisfies
IsCompletionOrder: is a completion order of , in the sense of that definition. - is a "Delay List run" for (type
DelayListRun I), with completion times . The hypothesis saysIsDelayListScheduleholds for , , parameter and , where
Note that , so no truncation of the real square root is involved.
- is an arbitrary schedule for (type
Schedule I), with completion times . No hypothesis at all is placed on . Any restriction on it, such as feasibility, nonpreemption or respecting release dates, holds only if it is built into the typeSchedule Iitself.
Let denote listCompletion I π j, the completion time of job under the list-schedule construction applied to (as given by that definition). The conclusion is
All three sums are unweighted totals of completion times over all jobs, and the constant is exactly .
The hypothesis on affects the conclusion only through the requirement that is a completion order of . Neither nor its optimal value appears in the inequality. The list schedule is not an argument: it is determined by and through listCompletion. The Delay List run , by contrast, is any object satisfying IsDelayListSchedule. If that predicate allows more than one run, the bound is claimed for every one of them.
Degenerate cases:
- : all three sums are empty and equal , so the conclusion reads , which is true.
- or no admissible objects: whether any
Instance n 0,RelaxSchedule,DelayListRunorScheduleexists depends on the unseen definitions. If no relaxation schedule is optimal, no permutation is a completion order, or no run satisfiesIsDelayListSchedule, the hypotheses cannot be met and the statement holds vacuously. The same happens ifSchedule Iis empty: there is then no to quantify over. - : is the identity, and the claim compares the single job's list completion time and Delay List completion time against times its completion time in .
- Total-function defaults: the constant has a positive argument and is ordinary, so neither hits a default value. Any defaults hidden inside
listCompletion,C, or the optimality and completion-order predicates cannot be seen from this statement.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.