Property IV(G) — the job with jobs untardy completes at or (corrected labels)
ProvedBakerScudder1990.Tolerance.property_IV_GConsider an instance of the single-machine common-due-date model with tolerances and jobs in a fixed sequence, processed without inserted idle time, with completion times , tolerance windows and unit penalties . Then a least optimal due date exists. Let be the least optimal due date and let be the number of jobs that incur no tardiness penalty, i.e. with . Then and exactly one of the following holds:
In particular, whichever pair of inequalities holds determines at which end of its tolerance window job completes. This is Property IV(G) of Baker and Scudder, the tolerance generalization of the classical condition that the -th job completes exactly at the common due date; it identifies the candidate V-shaped sequences for optimality.
Formalization Note The printed statement (p. 30, repeated p. 35) pairs the first pair of inequalities with and the second with . The paper's own proof (p. 35) derives the first pair as the condition for , i.e. , and the second for , i.e. ; the statement here follows the proof. A single job with shows the printed labels are wrong: exactly on , so the least optimal due date is , , the first pair holds (, ), and . Positions are 0-based: the paper's job is position , and the count of untardy jobs equals . "In an optimal schedule" is read for a fixed sequence and its least optimal due date, which implies the paper's reading. Existence of the least optimal due date is part of the conclusion, so the statement is not vacuous.
import Mathlib import Definitions.Def_BakerScudder1990_Tolerance_Instance
namespace BakerScudder1990.Tolerance
open Instance
/-- Property IV(G) (Baker and Scudder 1990, p. 30), with the case labels as derived in its proof
(p. 35); the printed statement swaps them. For a fixed sequence of `n > 0` jobs processed without
inserted idle time, a least optimal common due date exists; at every least optimal due date `d`,
let `b = k + 1` be the number of jobs with zero tardiness `(C_j - d - v_j)^+ = 0`. Then either
`C_k = d + v_k` with `∑_{i<k} α_i < ∑_{i≥k} β_i` and `∑_{i<k} α_i ≥ ∑_{i>k} β_i`, or
`C_k = d - u_k` with `∑_{i<k} α_i < ∑_{i>k} β_i` and `∑_{i≤k} α_i ≥ ∑_{i>k} β_i`.
Positions are 0-based: the paper's job `b` is position `k` with `b = k + 1`. -/
theorem property_IV_G {n : ℕ} (I : Instance n) (hn : 0 < n) :
(∃ d : ℝ, I.IsLeastOptimalDueDate d) ∧
∀ d : ℝ, I.IsLeastOptimalDueDate d →
∃ k : Fin n,
(Finset.univ.filter (fun j : Fin n => I.tardiness d j = 0)).card = k.val + 1 ∧
((I.C k = d + I.v k ∧
(∑ i ∈ Finset.univ.filter (fun i : Fin n => i < k), I.α i) <
(∑ i ∈ Finset.univ.filter (fun i : Fin n => k ≤ i), I.β i) ∧
(∑ i ∈ Finset.univ.filter (fun i : Fin n => k < i), I.β i) ≤
(∑ i ∈ Finset.univ.filter (fun i : Fin n => i < k), I.α i)) ∨
(I.C k = d - I.u k ∧
(∑ i ∈ Finset.univ.filter (fun i : Fin n => i < k), I.α i) <
(∑ i ∈ Finset.univ.filter (fun i : Fin n => k < i), I.β i) ∧
(∑ i ∈ Finset.univ.filter (fun i : Fin n => k < i), I.β i) ≤
(∑ i ∈ Finset.univ.filter (fun i : Fin n => i ≤ k), I.α i))) := by sorry
end BakerScudder1990.Tolerance
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.