Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 2.4 — the shifted parallel inequalities (2.3) and their equality case

Proved
SingleMachineSched.LPRelax.lemma_2_4

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

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

Let nnn jobs have integral processing times pj>0p_j > 0pj​>0 and integral release dates rj≥0r_j \ge 0rj​≥0. Let (Aj)j(A_j)_j(Aj​)j​ be any preemptive schedule, with mean busy times Mj=1pj∫Ajt dtM_j = \frac{1}{p_j}\int_{A_j} t\,dtMj​=pj​1​∫Aj​​tdt, and let SSS be a nonempty set of jobs, with p(S)=∑j∈Spjp(S) = \sum_{j\in S} p_jp(S)=∑j∈S​pj​ and rmin⁡(S)=min⁡j∈Srjr_{\min}(S) = \min_{j \in S} r_jrmin​(S)=minj∈S​rj​. Then

∑j∈SpjMj≥p(S)(rmin⁡(S)+12p(S)),(2.3)\sum_{j \in S} p_j M_j \ge p(S)\Big(r_{\min}(S) + \frac12 p(S)\Big), \tag{2.3}j∈S∑​pj​Mj​≥p(S)(rmin​(S)+21​p(S)),(2.3)

and equality holds if and only if the jobs of SSS occupy the machine without interruption from rmin⁡(S)r_{\min}(S)rmin​(S) to rmin⁡(S)+p(S)r_{\min}(S) + p(S)rmin​(S)+p(S), that is, ⋃j∈SAj\bigcup_{j \in S} A_j⋃j∈S​Aj​ coincides with [rmin⁡(S),rmin⁡(S)+p(S))[r_{\min}(S), r_{\min}(S) + p(S))[rmin​(S),rmin​(S)+p(S)) up to a set of measure zero.

The inequality shows that the mean busy time vector of every preemptive schedule is feasible for (R), so ZRZ_RZR​ is a lower bound; the equality case is what makes the LP schedule's mean busy times attain it.

Formalization Note Processing sets are determined only up to null sets as far as MjM_jMj​ is concerned, so "scheduled without interruption" is rendered as almost-everywhere equality of sets for Lebesgue measure. The paper's statement ranges over all sets SSS; for S=∅S = \emptysetS=∅ it is 0≥00 \ge 00≥0 and rmin⁡(∅)r_{\min}(\emptyset)rmin​(∅) is undefined, so SSS is nonempty here.

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

/-- Lemma 2.4: in every preemptive schedule, every nonempty job set `S` satisfies the shifted
parallel inequality (2.3), with equality iff the jobs of `S` occupy the machine without
interruption from `r_min(S)` to `r_min(S) + p(S)` (up to a null set of times). -/
theorem lemma_2_4 {n : ℕ} (p r : Fin n → ℕ) (hp : ∀ j, 0 < p j) (A : Fin n → Set ℝ)
    (hA : Shared.IsPreemptiveSchedule p r A) (S : Finset (Fin n)) (hS : S.Nonempty) :
    Shared.pSum p S * (Shared.rmin r S hS + Shared.pSum p S / 2) ≤ ∑ j ∈ S, (p j : ℝ) * Shared.meanBusyTime p A j ∧
      (∑ j ∈ S, (p j : ℝ) * Shared.meanBusyTime p A j = Shared.pSum p S * (Shared.rmin r S hS + Shared.pSum p S / 2) ↔
        (⋃ j ∈ S, A j) =ᵐ[MeasureTheory.volume]
          Set.Ico (Shared.rmin r S hS) (Shared.rmin r S hS + Shared.pSum p S)) := 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. 172, Lemma 2.4 and inequality (2.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