Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 2.2 — the LP schedule's slot vector yLPy^{LP}yLP is optimal for (D)

Proved
SingleMachineSched.LPRelax.theorem_2_2

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

linear-programminglp-relaxationp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingtime-indexed

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​​,

and let the horizon T∈NT \in \mathbb NT∈N bound the makespan of some feasible nonpreemptive schedule. Let yjτLP=1y^{LP}_{j\tau} = 1yjτLP​=1 if the LP schedule processes jjj in [τ,τ+1)[\tau, \tau+1)[τ,τ+1) and 000 otherwise. Then

  1. yLPy^{LP}yLP is feasible for (D) with horizon TTT;
  2. for every feasible yyy, ∑jwjCj(yLP)≤∑jwjCj(y)\sum_j w_j C_j(y^{LP}) \le \sum_j w_j C_j(y)∑j​wj​Cj​(yLP)≤∑j​wj​Cj​(y), where Cj(⋅)C_j(\cdot)Cj​(⋅) is given by (2.1).

So an optimal solution of (D), which has a pseudopolynomial number of variables, is read off the LP schedule.

Formalization Note Jobs are Fin n, 0-based, and the sortedness is the hypothesis j ≤ k → w_k/p_k ≤ w_j/p_j. Feasibility includes that yLPy^{LP}yLP vanishes from slot TTT on, i.e. that the LP schedule finishes by TTT. 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_LPRelax_RelaxationD
Formal statement
namespace SingleMachineSched.LPRelax

/-- Theorem 2.2: with the jobs indexed by nonincreasing `w_j / p_j`, the slot vector `y^LP` of
the LP schedule is an optimal solution to (D). -/
theorem theorem_2_2 {n : ℕ} (p r : Fin n → ℕ) (w : Fin n → ℝ) (T : ℕ)
    (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)
    (hT : IsMakespanBound p r T) :
    FeasibleD p r T (yLP p r) ∧
      ∀ y : Fin n → ℕ → ℝ, FeasibleD p r T y → objD p r w T (yLP p r) ≤ objD p r w T y := 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. 171, Theorem 2.2 (yLPy^{LP}yLP defined on p. 170)
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