Theorem 4(d), inequality (7) — upper bound on the weighted tail sum for some order
ProvedSchedComplexity.Tardiness.ineq_7Let be positive integers and an integer with , where and (the paper's standing assumption "we may assume that ", p. 16). Put
let be any integer with , and consider the single-machine instance of Theorem 4(d) with jobs: for , , , ; for the dummy jobs , , , . Setting for , every job has and . The threshold is
For a processing order the jobs are processed without idle time from time , so the job in position completes at , and
Then for every processing order there is a processing order with for (so ) such that
The paper writes "for some "; the proof of claim (A) applies (7) to a given order with and reorders the late jobs, so the statement keeps the first positions fixed. With the left side splits as in (1).
Formalization Note The paper prints , which is a half-integer when is odd although counts jobs; the Lean takes its ceiling (tPrime), and (yThr, an exact natural-number division since is even) is computed from the same . Jobs are Fin (t + t'), the items of being the indices (aExt is the convention for ). Positions are 0-based in Lean: π i is the paper's , and posCompletion p π k is the paper's for the 1-based position (the total processing time of the first positions). Sums run over the 0-based positions (tailWeighted). is quantified over all naturals with , as in the paper. With the ceiling, , which is the inequality the paper's derivation of (7) from (2), (3), (5) needs.
import Mathlib import Definitions.Def_SchedComplexity_Tardiness_Construction
namespace SchedComplexity.Tardiness
/-- Inequality (7) of the proof of Theorem 4(d), p. 21: for every processing order `π` there is an
order `π'` with the same jobs in the first `t` positions (hence `c_π' = c_π`) such that
`Σ_{j>t} w_π'(j)(C_π'(j) − C_π'(t)) ≤ y − (t'+1)τc_π − ½(t+1)c_π`. -/
theorem ineq_7 {t : ℕ} (a : Fin t → ℕ) (b τ : ℕ)
(ha : ∀ j, 0 < a j) (hb : 0 < b) (hbA : b < bigA a)
(hτ : 2 * tPrime a b + bigA a < τ)
(π : Equiv.Perm (Fin (t + tPrime a b))) :
∃ π' : Equiv.Perm (Fin (t + tPrime a b)),
(∀ i : Fin (t + tPrime a b), i.val < t → π' i = π i) ∧
(tailWeighted (wtP a b τ) (wtW a b τ) π' t : ℝ) ≤
(yThr a b τ : ℝ) - (tPrime a b + 1) * (τ : ℝ) * cPi a b τ π
- (1 / 2 : ℝ) * (t + 1) * cPi a b τ π := by sorry
end SchedComplexity.Tardiness
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.