Proof of Theorem 3, p. 427 — equality with the optimal prefix implies global optimality
ProvedGrahamAnomaly.KLongest.eq_optFinish_of_eq_prefixFinishlist-schedulingmakespanp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling
Consider tasks of positive lengths on identical processors. Choose longest tasks first in a list , assign each successive task to a least-loaded processor, and require the resulting first- finishing time to be minimal among assignments of those tasks. If the full finishing time already equals , then
where is the minimum finishing time for all tasks. This is the first case separated in the proof of Theorem 3.
Formalization Note The order of equal-length tasks and ties among least-loaded processors are unrestricted. The explicit condition makes the prefix meaningful.
Preamble
import Mathlib import Definitions.Def_GrahamAnomaly_KLongest_Model
Formal statement
namespace GrahamAnomaly.KLongest
theorem eq_optFinish_of_eq_prefixFinish {r n k : ℕ} (hr : 0 < r) (hn : 0 < n)
(hk : k ≤ r) (μ : Fin r → ℝ) (hμ : ∀ j, 0 < μ j)
(L : Fin r ≃ Fin r) (σ : Fin r → Fin n)
(hlong : ∀ i j, (L.symm i : ℕ) < k → k ≤ (L.symm j : ℕ) → μ j ≤ μ i)
(hσ : IsListAssignment μ L σ)
(hopt : ∀ τ : Fin r → Fin n, prefixFinish μ L σ k ≤ prefixFinish μ L τ k) :
WilliamsonShmoys.makespan μ σ = prefixFinish μ L σ k →
WilliamsonShmoys.makespan μ σ = optFinish μ n := by sorry
end GrahamAnomaly.KLongest
Source
Graham, Bounds on multiprocessing timing anomalies, SIAM J. Appl. Math. 17 (1969), p. 427, first sentence of proof of Theorem 3
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.