Theorem 4(a), equivalence: KNAPSACK has a solution iff the constructed instance has
ProvedSchedComplexity.TotalCompletion.theorem_4a_equivalenceknapsacknp-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingtotal-completion-time
Let be positive integers with , where . Let the instance with jobs and the threshold be those of the construction of Theorem 4(a). Then
This is the correctness of the reduction in Theorem 4(a); the proof combines the forward direction with claims (A)–(D).
Formalization Note The paper ends the converse with "This implies that KNAPSACK has a solution, as is easily seen"; the Lean statement asserts the full equivalence. The hypothesis is the paper's "We may assume that " (p. 16). Class membership of the constructed instance (unit weights, release date for every job but ) is part of the right-hand side. Starting times are natural numbers.
Preamble
import Mathlib import Definitions.Def_SchedComplexity_TotalCompletion_Knapsack import Definitions.Def_SchedComplexity_TotalCompletion_SingleMachine import Definitions.Def_SchedComplexity_TotalCompletion_Construction
Formal statement
namespace SchedComplexity.TotalCompletion
/-- Theorem 4(a), the equivalence of the reduction (pp. 22–23): for positive integers
`a_1, …, a_t, b` with `0 < b < A`, KNAPSACK has a solution if and only if the constructed
instance belongs to the class `n|1|r_n≥0,w_j=1|Σw_jC_j` and has a feasible schedule with
`Σ_j C_j ≤ y`. -/
theorem theorem_4a_equivalence {t : ℕ} (a : Fin t → ℕ) (b : ℕ)
(ha : ∀ i, 0 < a i) (hb : 0 < b) (hbA : b < sumA a) :
SchedComplexity.Tardiness.KnapsackYes a b ↔
IsYes (procTime a b) (weight a b) (release a b) (yThreshold a b) := by sorry
end SchedComplexity.TotalCompletion
Source
Brucker, Lenstra & Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum Report BW 43/75 (1975), pp. 22–23, proof of Theorem 4(a); p. 16 (0 < b < A)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.