Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(13), §6.2, p. 15 — z^{P_r} ≤ (1 + ∆/2) z^{S_r} ≤ (1 + ∆/2) OPT for the relaxations with release dates

Proved
GreedWorks.OnlineTime.eq_13

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

coefficient-of-variationlp-relaxationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-schedulingtime-indexed-lp

Consider a stochastic unrelated-machine instance with integer release dates, weights wj≥0w_j\ge0wj​≥0, and squared coefficients of variation bounded by Δ\DeltaΔ, and the time-indexed relaxations (Sr)(\mathrm S_r)(Sr​) and (Pr)(\mathrm P_r)(Pr​) built from its means E[Pij]\mathbb E[P_{ij}]E[Pij​] and squared coefficients of variation CV[Pij]2\mathbb{CV}[P_{ij}]^2CV[Pij​]2. Then

zPr  ≤  (1+Δ2)zSr  ≤  (1+Δ2)OPT,z^{P_r}\;\le\;\Big(1+\frac\Delta2\Big)z^{S_r}\;\le\;\Big(1+\frac\Delta2\Big)\mathsf{OPT},zPr​≤(1+2Δ​)zSr​≤(1+2Δ​)OPT,

in the following form.

  1. For every point yyy feasible for (Sr)(\mathrm S_r)(Sr​) there is a point y′y'y′ feasible for (Pr)(\mathrm P_r)(Pr​) with zPr(y′)≤(1+Δ2) zSr(y)z^{P_r}(y')\le(1+\frac\Delta2)\,z^{S_r}(y)zPr​(y′)≤(1+2Δ​)zSr​(y).
  2. For every admissible (feasible, nonanticipatory) scheduling policy Π\PiΠ there is a point yyy feasible for (Sr)(\mathrm S_r)(Sr​) with zSr(y)≤E[∑jwjCjΠ]z^{S_r}(y)\le\mathbb E\big[\sum_jw_jC^\Pi_j\big]zSr​(y)≤E[∑j​wj​CjΠ​].

Together the two parts bound the deterministic relaxation (Pr)(\mathrm P_r)(Pr​), on which the dual fitting is done, by (1+Δ2)(1+\frac\Delta2)(1+2Δ​) times the expected cost of any nonanticipatory policy.

Formalization Note Optimal values are not formed: part 1 implies inf⁡zPr≤(1+Δ2)inf⁡zSr\inf z^{P_r}\le(1+\frac\Delta2)\inf z^{S_r}infzPr​≤(1+2Δ​)infzSr​ and part 2 implies inf⁡zSr≤OPT\inf z^{S_r}\le\mathsf{OPT}infzSr​≤OPT. Comparators choose machines at start time, may idle, and start at real times. Integer release dates are essential: with r=12r=\frac12r=21​, one job and P≡1P\equiv1P≡1, OPT=32\mathsf{OPT}=\frac32OPT=23​ but every point of (Sr)(\mathrm S_r)(Sr​) has value 222.

Preamble
import Mathlib
import Definitions.Def_GreedWorks_OnlineTime_Model
import Definitions.Def_GreedWorks_OnlineTime_TimeIndexedLP
Formal statement
namespace GreedWorks.OnlineTime

open MeasureTheory

/-- (13), §6.2, p. 15: `z^{P_r} ≤ (1 + Δ/2) z^{S_r} ≤ (1 + Δ/2) OPT`, stated without infima.
(a) Every point `y` feasible for (S_r) yields a point feasible for (P_r) whose value is at most
`(1 + Δ/2) z^{S_r}(y)`. (b) (S_r) is a relaxation: for every admissible nonanticipatory policy
there is a point feasible for (S_r) whose value is at most the policy's expected total weighted
GreedWorks.OnlineList.completion time. -/
theorem eq_13 {M : Type*} [Fintype M] [Nonempty M] {n : ℕ} {Ω : Type*} [MeasurableSpace Ω]
    (I : StochasticInstance M n Ω) :
    (∀ y, IsFeasibleS I.eligible I.release (mean I) (cvSquared I) y →
      ∃ y', IsFeasibleP I.eligible I.release (mean I) y' ∧
        valueP I.eligible (mean I) I.weight y' ≤
          (1 + I.Delta / 2) * valueS I.eligible (mean I) (cvSquared I) I.weight y) ∧
    (∀ pol : GreedWorks.OnlineList.Policy M n, IsAdmissible I pol →
      ∃ y, IsFeasibleS I.eligible I.release (mean I) (cvSquared I) y ∧
        valueS I.eligible (mean I) (cvSquared I) I.weight y ≤ policyCost I pol) := by sorry

end GreedWorks.OnlineTime
Source
Gupta, Moseley, Uetz & Xie, Greed Works – Online Algorithms For Unrelated Machine Stochastic Scheduling, arXiv:1703.01634v4, p. 15, §6.2, (13); Lemma 2 and Corollary 1, p. 8
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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