Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 2.5 — the LP schedule's mean busy times are optimal for (R)

Proved
SingleMachineSched.LPRelax.theorem_2_5

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

linear-programminglp-relaxationmean-busy-timep2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling

Let nnn jobs have integral processing times pj>0p_j > 0pj​>0, integral release dates rj≥0r_j \ge 0rj​≥0 and weights wj≥0w_j \ge 0wj​≥0, indexed so that

w1p1≥w2p2≥⋯≥wnpn.\frac{w_1}{p_1} \ge \frac{w_2}{p_2} \ge \cdots \ge \frac{w_n}{p_n}.p1​w1​​≥p2​w2​​≥⋯≥pn​wn​​.

Let MjLPM^{LP}_jMjLP​ be the mean busy time of job jjj in the LP schedule. Then MLPM^{LP}MLP is an optimal solution to the relaxation (R):

  1. MLPM^{LP}MLP satisfies every constraint ∑j∈SpjMjLP≥p(S)(rmin⁡(S)+12p(S))\sum_{j \in S} p_j M^{LP}_j \ge p(S)\big(r_{\min}(S) + \tfrac12 p(S)\big)∑j∈S​pj​MjLP​≥p(S)(rmin​(S)+21​p(S)), ∅≠S⊆N\emptyset \ne S \subseteq N∅=S⊆N;
  2. for every feasible MMM,
∑jwj(MjLP+12pj)≤∑jwj(Mj+12pj).\sum_{j} w_j \Big(M^{LP}_j + \tfrac12 p_j\Big) \le \sum_j w_j \Big(M_j + \tfrac12 p_j\Big).j∑​wj​(MjLP​+21​pj​)≤j∑​wj​(Mj​+21​pj​).

Consequently ZR=∑jwj(MjLP+12pj)Z_R = \sum_j w_j (M^{LP}_j + \tfrac12 p_j)ZR​=∑j​wj​(MjLP​+21​pj​).

Formalization Note Jobs are Fin n, 0-based, and the sortedness is the hypothesis j ≤ k → w_k/p_k ≤ w_j/p_j. Optimality is stated for the objective of (R), ∑jwj(Mj+12pj)\sum_j w_j(M_j + \tfrac12 p_j)∑j​wj​(Mj​+21​pj​); it differs from ∑jwjMj\sum_j w_j M_j∑j​wj​Mj​ by the constant 12∑jwjpj\tfrac12\sum_j w_j p_j21​∑j​wj​pj​, so the two forms are equivalent. The statement is made for wj≥0w_j \ge 0wj​≥0 (the paper's standing assumption is wj>0w_j > 0wj​>0).

Preamble
import Mathlib
import Definitions.Def_SingleMachineSched_LPRelax_LPSchedule
import Definitions.Def_SingleMachineSched_Shared_RelaxationR
Formal statement
namespace SingleMachineSched.LPRelax

/-- Theorem 2.5: with the jobs indexed by nonincreasing `w_j / p_j`, the mean busy time vector
`M^LP` of the LP schedule is an optimal solution to (R). -/
theorem theorem_2_5 {n : ℕ} (p r : Fin n → ℕ) (w : Fin n → ℝ)
    (hp : ∀ j, 0 < p j) (hw : ∀ j, 0 ≤ w j)
    (hsort : ∀ j k : Fin n, j ≤ k → w k / p k ≤ w j / p j) :
    Shared.FeasibleR p r (mLP p r) ∧
      ∀ M : Fin n → ℝ, Shared.FeasibleR p r M → Shared.objR p w (mLP p r) ≤ Shared.objR p w M := by sorry

end SingleMachineSched.LPRelax
Source
Goemans, Queyranne, Schulz, Skutella & Wang, Single Machine Scheduling with Release Dates, SIAM J. Discrete Math. 15(2) (2002), p. 173, Theorem 2.5
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