Theorem 4(e) — KNAPSACK has a solution iff the constructed instance has
ProvedSchedComplexity.OneMachine.theorem_4e_equivalenceknapsacklate-jobsnp-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingsingle-machine
Let be positive integers with . Consider the single-machine instance of reduction (e): jobs, all released at time , with and common due date . Then
This is the equivalence behind KNAPSACK ; the paper cites Karp and Figure 7 ( in , in ).
Formalization Note is the proof's standing assumption (p. 16); under it the threshold is a natural number. Idle time is allowed. The paper gives no argument beyond the construction; the statement makes the equivalence explicit.
Preamble
import Mathlib import Definitions.Def_SchedComplexity_OneMachine_Knapsack import Definitions.Def_SchedComplexity_OneMachine_Constructions
Formal statement
namespace SchedComplexity.OneMachine
/-- Theorem 4(e), 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||∑w_jU_j` instance (`p_{j1} = w_j = a_j`, `d_j = b`) has a feasible schedule
with `∑ w_j U_j ≤ y = A - b`. -/
theorem theorem_4e_equivalence (a : List ℕ) (b : ℕ) (ha : ∀ v ∈ a, 0 < v) (hb : 0 < b)
(hbA : b < a.sum) :
KnapsackYes a b ↔
∃ B, (instE a b).IsFeasible B ∧ (instE a b).sumWU B ≤ yE a b := by sorry
end SchedComplexity.OneMachine
Source
Brucker, Lenstra & Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum Report BW 43/75 (1975), p. 19, Theorem 4(e)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.