Lemma 1 — the sum (1) is minimized (maximized) by ordering by increasing (decreasing)
ProvedDeterioratingJobs.Makespan.lemma1_interchangeLet be real numbers and real numbers with for every . For a permutation of write
for the sum (1). Then:
- if lists the jobs by increasing values of , that is, , then for every permutation ;
- if lists the jobs by decreasing values of , then for every permutation .
This is the lemma (attributed to Rau 1971) on which all index rules of the paper rest: each deterioration model has an objective of the form (1), and the lemma turns it into an index policy.
Formalization Note The paper says "the permutation ordered by increasing (decreasing) values"; with ties several permutations qualify, so the statement is made for every permutation along which the index is (non-strictly) monotone. The hypothesis is not printed in the lemma; the paper applies it only with or , and without it the lemma is false (and divides by zero at ). is unrestricted. Positions are 0-based.
import Mathlib import Definitions.Def_DeterioratingJobs_Makespan_InterchangeSum
namespace DeterioratingJobs.Makespan
/-- Lemma 1 (Browne–Yechiali 1990, p. 495). For `γ_i > 1`, the sum (1)
`∑_i μ_{π(i)} ∏_{r>i} γ_{π(r)}` is minimized over all permutations by any permutation that lists the
jobs by increasing `μ_i / (γ_i - 1)`, and maximized by any that lists them by decreasing values. -/
theorem lemma1_interchange {N : ℕ} (μ γ : Fin N → ℝ) (hγ : ∀ i, 1 < γ i)
(π : Equiv.Perm (Fin N)) :
(Monotone (fun k : Fin N => μ (π k) / (γ (π k) - 1)) →
∀ σ : Equiv.Perm (Fin N), lemma1Sum μ γ π ≤ lemma1Sum μ γ σ) ∧
(Antitone (fun k : Fin N => μ (π k) / (γ (π k) - 1)) →
∀ σ : Equiv.Perm (Fin N), lemma1Sum μ γ σ ≤ lemma1Sum μ γ π) := by sorry
end DeterioratingJobs.Makespan
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.