PROOF, p. 689 — scheduling j and k by SRPT over σ minimizes min[C(k), C(j)]
ProvedSchrageSRPT.Opt.srpt_reassign_min_leLet be a schedule of an arrival stream, let , and let be two jobs in system at time under with
Let be the SRPT reassignment of the pair after time : from time on, the capacity goes to until has received , and to afterwards. Let be any schedule of the same stream that agrees with on and before and gives the pair the same capacity, for all . Then
This is the letter's claim that " is minimized if we schedule and according to SRPT", i.e. that the earliest time at which one of the two jobs can finish is attained by giving all the capacity to the job with the shorter remaining time.
Formalization Note. Completion times take values in . That is a schedule follows from the hypotheses and is not assumed. The competitor may spend capacity on a completed job; that only delays its completions, so no restriction is placed on it. Other jobs play no role and are not constrained.
import Mathlib import Definitions.Def_SchrageSRPT_Opt_Model
namespace SchrageSRPT.Opt
theorem srpt_reassign_min_le (A P : ℕ → ℝ) (δo δr : ℕ → ℝ → ℝ)
(hδo : IsSchedule A δo) (hδr : IsSchedule A δr) (j k : ℕ) (t : ℝ) (hjk : j ≠ k)
(hj : j ∈ inSystem A P δo t) (hk : k ∈ inSystem A P δo t)
(hbefore : ∀ x, x < t → δr j x = δo j x ∧ δr k x = δo k x)
(hsum : ∀ x, δr j x + δr k x = δo j x + δo k x)
(hS : remaining A P δo j t < remaining A P δo k t) :
min (completion A P (srptReassign A P δo j k t) k)
(completion A P (srptReassign A P δo j k t) j) ≤
min (completion A P δr k) (completion A P δr j) := by sorry
end SchrageSRPT.Opt
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.