Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2*, p. 713 — if k←A_k, d_j > d_k and d_j + p_j ≥ Σ_{A_k′} p_i, then k←j

Proved
EmmonsTardiness.EDD.theorem_2_star

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

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

Consider nnn jobs on one machine, job JiJ_iJi​ with processing time pi≥0p_i\ge 0pi​≥0 and due date did_idi​, indexed so that j<kj<kj<k implies pj<pkp_j<p_kpj​<pk​, or pj=pkp_j=p_kpj​=pk​ and dj≤dkd_j\le d_kdj​≤dk​. 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​).

Theorem 2*. Let JjJ_jJj​ and JkJ_kJk​ be two jobs with j<kj<kj<k, and let Ak⊆JA_k\subseteq JAk​⊆J be a set of jobs not containing JkJ_kJk​, with complement Ak′={i:i∉Ak}A_k'=\{i: i\notin A_k\}Ak′​={i:i∈/Ak​} in JJJ. If

  1. k←Akk\leftarrow A_kk←Ak​: some optimal schedule has JkJ_kJk​ before every job of AkA_kAk​;
  2. dj>dkd_j>d_kdj​>dk​; and
dj+pj  ≥  ∑i∈Ak′pi,d_j+p_j\;\ge\;\sum_{i\in A_k'}p_i,dj​+pj​≥i∈Ak′​∑​pi​,

then k←jk\leftarrow jk←j: some optimal schedule has JkJ_kJk​ before every job of AkA_kAk​ and before JjJ_jJj​.

This rule lets a longer job precede a shorter one, and the information it produces enlarges the sets AkA_kAk​ used by later applications. With Ak=∅A_k=\emptysetAk​=∅ it gives Corollary 2.1*.

Formalization Note The notation k←Akk\leftarrow A_kk←Ak​ and k←jk\leftarrow jk←j is read existentially: hypothesis (1) is the existence of an optimal schedule (optimal against every schedule of JJJ) with JkJ_kJk​ before all of AkA_kAk​, and the conclusion keeps that property and adds JkJ_kJk​ before JjJ_jJj​. The paper's wider cumulative reading (p. 703) is not part of the statement. Hypothesis (2) is strict, as printed. Processing times are assumed nonnegative (durations); the reduction di<∑Jpid_i<\sum_J p_idi​<∑J​pi​ of p. 703 is not assumed.

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

/-- Emmons 1969, p. 713, Theorem 2*: for any two jobs `J_j`, `J_k` with `j < k`, if
(1) `k ← A_k`, (2) `d_j > d_k`, and (3) `d_j + p_j ≥ Σ_{A_k′} p_i` with `A_k′ = J \ A_k`,
then `k ← j`. Hypothesis (1) and the conclusion are read existentially over optimal schedules:
if some optimal schedule has `J_k` before every job of `A_k`, then some optimal schedule has
`J_k` before every job of `A_k` and before `J_j`. -/
theorem theorem_2_star {ι : Type*} [LinearOrder ι] (g : ℝ → ℝ) (p d : ι → ℝ) (J : Finset ι)
    (hg : ConvexOn ℝ (Set.Ici 0) g) (hgm : MonotoneOn g (Set.Ici 0))
    (hp : ∀ i ∈ J, 0 ≤ p i) (hidx : EmmonsTardiness.SPT.IsSPTIndexed p d J)
    (j k : ι) (hj : j ∈ J) (hk : k ∈ J) (hjk : j < k)
    (A : Finset ι) (hAJ : A ⊆ J) (hkA : k ∉ A)
    (h1 : ∃ l : List ι, IsOptimal g p d J l ∧ ∀ i ∈ A, EmmonsTardiness.SPT.Precedes l k i)
    (h2 : d k < d j)
    (h3 : ∑ i ∈ J \ A, p i ≤ d j + p j) :
    ∃ l : List ι, IsOptimal g p d J l ∧ (∀ i ∈ A, EmmonsTardiness.SPT.Precedes l k i) ∧ EmmonsTardiness.SPT.Precedes l k 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, Theorem 2* (generalizing Theorem 2, p. 705)
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