Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The due-date schedule SD(y∗)S_D(y^*)SD​(y∗) has minimal maximum deferral cost

Proved
MooreLateJobs.MaxDeferral.SD_ystar_minimizes_max_cost

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingsingle-machine

Let JJJ be a nonempty finite set of jobs with processing times tj≥0t_j\ge 0tj​≥0, processed on one machine from time 000, and let each job have a continuous, bounded, non-decreasing deferral cost PjP_jPj​, where Pj(s)P_j(s)Pj​(s) is the cost of completing jjj at time sss. For each y>0y>0y>0 let SD(y)S_D(y)SD​(y) be a schedule of JJJ ordered by non-decreasing due-dates Dj=Pj∗(y)D_j=P_j^*(y)Dj​=Pj∗​(y) (ties broken arbitrarily). Let y∗>0y^*>0y∗>0 be such that

  1. SD(y∗)S_D(y^*)SD​(y∗) has no late jobs, and
  2. for all 0<y<y∗0<y<y^*0<y<y∗, SD(y)S_D(y)SD​(y) has at least one late job.

Then for every schedule SSS of JJJ,

max⁡j∈JPj(CjSD(y∗))  ≤  max⁡j∈JPj(CjS),\max_{j\in J} P_j\bigl(C_j^{S_D(y^*)}\bigr)\;\le\;\max_{j\in J} P_j\bigl(C_j^{S}\bigr),j∈Jmax​Pj​(CjSD​(y∗)​)≤j∈Jmax​Pj​(CjS​),

where CjSC_j^{S}CjS​ is the completion time of jjj in SSS: the schedule SD(y∗)S_D(y^*)SD​(y∗) has minimal maximum deferral cost.

This reduces the single-machine min–max deferral cost problem to a one-parameter family of due-date sorts, searched over the cost level yyy.

Formalization Note y∗y^*y∗ is given together with its two defining properties; its existence is the separate milestone exists_ystar. The minimum is over all schedules of JJJ, not only over the SD(y)S_D(y)SD​(y). The family y↦SD(y)y\mapsto S_D(y)y↦SD​(y) is arbitrary subject to the ordering condition, so every tie-break is covered. "For all y<y∗y<y^*y<y∗" is read as 0<y<y∗0<y<y^*0<y<y∗. Times are measured from 000, and Pj∗P_j^*Pj∗​ is computed over times s≥0s\ge0s≥0 (see the definition of P∗P^*P∗). tj≥0t_j\ge0tj​≥0 is added (processing times are durations).

Preamble
import Mathlib
import Definitions.Def_MooreLateJobs_Shared_completionTime
import Definitions.Def_MooreLateJobs_MaxDeferral_NoLateAt
import Definitions.Def_MooreLateJobs_MaxDeferral_maxCost
Formal statement
namespace MooreLateJobs.MaxDeferral

theorem SD_ystar_minimizes_max_cost {ι : Type*} [DecidableEq ι] (J : Finset ι)
    (hJ : J.Nonempty) (t : ι → ℝ) (P : ι → ℝ → ℝ) (ht : ∀ i ∈ J, 0 ≤ t i)
    (hcont : ∀ i ∈ J, Continuous (P i)) (hbdd : ∀ i ∈ J, ∃ M, ∀ s, |P i s| ≤ M)
    (hmono : ∀ i ∈ J, Monotone (P i)) (SD : ℝ → List ι)
    (hSD : ∀ y, 0 < y →
      Shared.IsSchedule J (SD y) ∧ (SD y).Pairwise (fun a b => Pstar (P a) y ≤ Pstar (P b) y))
    (ystar : ℝ) (hystar : 0 < ystar) (h1 : NoLateAt t P ystar (SD ystar))
    (h2 : ∀ y, 0 < y → y < ystar → ¬ NoLateAt t P y (SD y)) :
    ∀ l : List ι, Shared.IsSchedule J l → maxCost t P J hJ (SD ystar) ≤ maxCost t P J hJ l := by sorry

end MooreLateJobs.MaxDeferral
Source
Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1), 1968, p. 109, "Minimizing the Maximum Deferral Cost", last sentence ("The schedule S_D(y*) has minimal maximum deferral cost.")
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 1, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me