p. 108 — Moore's algorithm terminates
ProvedMooreLateJobs.NumLate.moore_terminatesgreedy-algorithmp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingsingle-machine
Let be a finite set of jobs with and , and let be a schedule of in shortest-processing-time order. There is no infinite sequence of states
in which each is obtained from by a pass of Steps 2–3 of Moore's algorithm.
Formalization Note Every tie-breaking choice is covered: the statement rules out an infinite run for all choices. is added.
Preamble
import Mathlib import Definitions.Def_MooreLateJobs_Shared_completionTime import Definitions.Def_MooreLateJobs_NumLate_lateSet import Definitions.Def_MooreLateJobs_NumLate_MooreStep
Formal statement
namespace MooreLateJobs.NumLate
theorem moore_terminates {ι : Type*} [DecidableEq ι] (J : Finset ι) (t D : ι → ℝ)
(ht : ∀ i ∈ J, 0 ≤ t i) (htD : ∀ i ∈ J, t i ≤ D i)
(l₀ : List ι) (hl₀ : Shared.IsSchedule J l₀) (hspt : l₀.Pairwise (fun a b => t a ≤ t b)) :
¬ ∃ f : ℕ → List ι × List ι, f 0 = (l₀, []) ∧ ∀ n, MooreStep t D (f n) (f (n + 1)) := 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. 108, paragraph after the proof of case 3) ("This process continues ...")
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.