Theorem 4(b) — KNAPSACK has a solution iff the constructed instance has value
ProvedSchedComplexity.OneMachine.theorem_4b_equivalenceLet be positive integers with . Consider the single-machine instance of reduction (b): jobs, all released at ; for , and ; for the last job , , . Put
Then KNAPSACK has a solution iff some feasible schedule meets every due date and has small weighted completion time:
This is the equivalence behind KNAPSACK . The paper computes, for the processing order , that with , and concludes "The equivalence follows immediately."
Formalization Note is the proof's standing assumption (p. 16). The double sum runs over ordered pairs of indices (diagonal included). Schedules may contain idle time and any processing order; the paper's computation covers idle-free orders of the displayed shape, and the statement asserts the equivalence over all feasible schedules.
import Mathlib import Definitions.Def_SchedComplexity_OneMachine_Knapsack import Definitions.Def_SchedComplexity_OneMachine_Constructions
namespace SchedComplexity.OneMachine
/-- Theorem 4(b), equivalence (Brucker, Lenstra & Rinnooy Kan, Report BW 43/75, p. 19): for
positive integers `a_1, …, a_t, b` with `0 < b < A = ∑ a_j`, KNAPSACK has a solution iff the
constructed `n|1|L_max≤0|∑w_jC_j` instance has a feasible schedule meeting every due date
(`C_j ≤ d_j` for all `j`) with `∑ w_j C_j ≤ y = ∑_{j,k∈T, j≤k} a_j a_k + A - b`. -/
theorem theorem_4b_equivalence (a : List ℕ) (b : ℕ) (ha : ∀ v ∈ a, 0 < v) (hb : 0 < b)
(hbA : b < a.sum) :
KnapsackYes a b ↔
∃ B, (instB a b).IsFeasible B ∧ (∀ j, (instB a b).C B j ≤ (instB a b).d j) ∧
(instB a b).sumWC B ≤ yB a b := by sorry
end SchedComplexity.OneMachine
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.