Lemma 2 — reordering A by due-dates keeps an optimal (A, R) schedule optimal
ProvedMooreLateJobs.NumLate.lemma2p2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingsingle-machine
Let be a finite set of jobs with and . Let be an optimal schedule for of the form , and let be re-ordered according to the due-date rule ( non-decreasing, ties arbitrary). Then
is an optimal schedule for , with the same late set as (the jobs of are early and those of are late).
Formalization Note "Of the form " is the equation (list concatenation). The conclusion includes that the late set of equals that of , which is what the notation asserts. is added.
Preamble
import Mathlib import Definitions.Def_MooreLateJobs_NumLate_lateSet import Definitions.Def_MooreLateJobs_NumLate_IsOptimal import Definitions.Def_MooreLateJobs_NumLate_earlyPart
Formal statement
namespace MooreLateJobs.NumLate
theorem lemma2 {ι : Type*} [DecidableEq ι] (J : Finset ι) (t D : ι → ℝ)
(ht : ∀ i ∈ J, 0 ≤ t i) (htD : ∀ i ∈ J, t i ≤ D i)
(S : List ι) (hS : IsOptimal t D J S) (hform : S = earlyPart t D S ++ latePart t D S)
(AD : List ι) (hAD : AD.Perm (earlyPart t D S)) (hdd : AD.Pairwise (fun a b => D a ≤ D b)) :
IsOptimal t D J (AD ++ latePart t D S) ∧
lateSet t D (AD ++ latePart t D S) = lateSet t D S := by sorry
end MooreLateJobs.NumLate
Source
Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1), 1968, p. 105, Lemma 2
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.