Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 2.1*, p. 713 — if d_j = max_i d_i and d_j + p_j ≥ p, then J_j is last in an optimal schedule

Proved
EmmonsTardiness.EDD.corollary_2_1_star

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

convex-penaltyp2o-batch-pfp1ap2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingtardiness

Consider a finite set JJJ of jobs on one machine, job JiJ_iJi​ with processing time pi≥0p_i\ge 0pi​≥0 and due date did_idi​, and write p=∑i∈Jpip=\sum_{i\in J}p_ip=∑i∈J​pi​ for the total processing time. Let ggg be convex and nondecreasing on [0,∞)[0,\infty)[0,∞); a schedule is optimal if it minimizes ∑Jg(Ti)\sum_J g(T_i)∑J​g(Ti​), Ti=max⁡(0,Ci−di)T_i=\max(0,C_i-d_i)Ti​=max(0,Ci​−di​).

Corollary 2.1*. If Jj∈JJ_j\in JJj​∈J has the latest due date, dj=max⁡i{di}d_j=\max_i\{d_i\}dj​=maxi​{di​}, and

dj+pj ≥ p,d_j+p_j\ \ge\ p,dj​+pj​ ≥ p,

then JjJ_jJj​ is last: there is an optimal schedule whose last job is JjJ_jJj​.

The corollary removes one job from the end of the sequence; repeated together with the last-job reduction it proves Corollary 2.2*.

Formalization Note "JjJ_jJj​ is last" is stated as the existence of an optimal schedule (optimal against every schedule of JJJ) ending in JjJ_jJj​. Ties for the maximum due date are allowed, as on the page (djd_jdj​ is a maximum, not the unique one). The statement does not use the job indices. Processing times are assumed nonnegative (durations); the reduction di<pd_i<pdi​<p of p. 703 is not assumed.

Preamble
import Mathlib
import Definitions.Def_EmmonsTardiness_EDD_Model
Formal statement
namespace EmmonsTardiness.EDD

/-- Emmons 1969, p. 713, Corollary 2.1*: if `d_j = max_i {d_i}` and `d_j + p_j ≥ p = Σ_J p_i`,
then `J_j` is last in some schedule minimizing `Σ_J g(T_i)`. -/
theorem corollary_2_1_star {ι : Type*} [DecidableEq ι] (g : ℝ → ℝ) (p d : ι → ℝ)
    (J : Finset ι)
    (hg : ConvexOn ℝ (Set.Ici 0) g) (hgm : MonotoneOn g (Set.Ici 0))
    (hp : ∀ i ∈ J, 0 ≤ p i)
    (j : ι) (hj : j ∈ J) (hmax : ∀ i ∈ J, d i ≤ d j)
    (hlast : ∑ i ∈ J, p i ≤ d j + p j) :
    ∃ l : List ι, IsOptimal g p d J l ∧ l.getLast? = some j := by sorry

end EmmonsTardiness.EDD
Source
Emmons, One-Machine Sequencing to Minimize Certain Functions of Job Tardiness, Operations Research 17(4), 1969, p. 713, Corollary 2.1* (generalizing Corollary 2.1, p. 706)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me