Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Existence of the least feasible cost level y∗y^*y∗

Proved
MooreLateJobs.MaxDeferral.exists_ystar

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 finite set of jobs with processing times tj≥0t_j\ge 0tj​≥0 and continuous non-decreasing deferral costs PjP_jPj​. 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). Assume

  1. some level y1>0y_1>0y1​>0 has SD(y1)S_D(y_1)SD​(y1​) without late jobs, and
  2. some level y0>0y_0>0y0​>0 has SD(y0)S_D(y_0)SD​(y0​) with at least one late job.

Then there is y∗>0y^*>0y∗>0 such that

SD(y∗) has no late jobs, and SD(y) has at least one late job for every 0<y<y∗.S_D(y^*) \text{ has no late jobs, and } S_D(y) \text{ has at least one late job for every } 0<y<y^*.SD​(y∗) has no late jobs, and SD​(y) has at least one late job for every 0<y<y∗.

The level y∗y^*y∗ is the least cost level at which the due-date schedule is feasible; the main theorem shows that SD(y∗)S_D(y^*)SD​(y∗) minimizes the maximum deferral cost.

Formalization Note Hypothesis 1 is the paper's footnote 3, which replaces boundedness ("It is sufficient if there exists y>0y>0y>0 such that SD(y)S_D(y)SD​(y) has no late jobs"); this is the stronger of the paper's two versions, and the bounded version follows from the milestone bounded_exists_feasible_level. Hypothesis 2 is added: without it the statement is false (with all costs identically 000, Pj∗(y)=+∞P_j^*(y)=+\inftyPj∗​(y)=+∞ for every y>0y>0y>0, every SD(y)S_D(y)SD​(y) is on time, and no y∗>0y^*>0y∗>0 has the second property). "For all y<y∗y<y^*y<y∗" is read as 0<y<y∗0<y<y^*0<y<y∗, because SD(y)S_D(y)SD​(y) is defined only for y>0y>0y>0. tj≥0t_j\ge 0tj​≥0 is added.

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

theorem exists_ystar {ι : Type*} [DecidableEq ι] (J : Finset ι) (t : ι → ℝ)
    (P : ι → ℝ → ℝ) (ht : ∀ i ∈ J, 0 ≤ t i)
    (hcont : ∀ i ∈ J, Continuous (P i)) (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))
    (hfeas : ∃ y₁, 0 < y₁ ∧ NoLateAt t P y₁ (SD y₁))
    (hinf : ∃ y₀, 0 < y₀ ∧ ¬ NoLateAt t P y₀ (SD y₀)) :
    ∃ ystar, 0 < ystar ∧ NoLateAt t P ystar (SD ystar) ∧
      ∀ y, 0 < y → y < ystar → ¬ NoLateAt t P y (SD y) := 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, first paragraph (conditions 1) and 2) on y*) and footnote 3
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