Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 7 (feasibility), p. 15 — (α^f/a, β^f/b) is feasible for (D_r) when af ≥ 2(2+c), 1/c ≤ f(a−1), af ≥ b

Proved
GreedWorks.OnlineTime.lemma_7

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

dual-fittinglp-dualityonline-algorithmsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1speed-augmentation

Consider deterministic processing times pij≥1p_{ij}\ge1pij​≥1 on eligible pairs, integer release dates rjr_jrj​ with jobs indexed in release order, weights wj≥0w_j\ge0wj​≥0, and an outcome (m,s)(m,s)(m,s) of the online-time greedy algorithm with parameter c>0c>0c>0. Let αj=cost⁡(j→m(j))\alpha_j=\operatorname{cost}(j\to m(j))αj​=cost(j→m(j)), βi,t=∑k: m(k)=i, rk≤t, Ck≥twk\beta_{i,t}=\sum_{k:\,m(k)=i,\ r_k\le t,\ C_k\ge t}w_kβi,t​=∑k:m(k)=i, rk​≤t, Ck​≥t​wk​, and, for a speed f≥1f\ge1f≥1, αjf=αj/f\alpha^f_j=\alpha_j/fαjf​=αj​/f and βisf=βi,f⋅s\beta^f_{is}=\beta_{i,f\cdot s}βisf​=βi,f⋅s​ as in (12). If a,b>0a,b>0a,b>0 and

af≥2(2+c),1c≤f(a−1),af≥b,af\ge 2(2+c),\qquad \frac1c\le f(a-1),\qquad af\ge b,af≥2(2+c),c1​≤f(a−1),af≥b,

then (αf/a,  βf/b)(\alpha^f/a,\;\beta^f/b)(αf/a,βf/b) is a feasible solution of the dual (Dr)(\mathrm D_r)(Dr​) of the deterministic instance: βisf/b≥0\beta^f_{is}/b\ge0βisf​/b≥0, ∑sβisf/b\sum_s\beta^f_{is}/b∑s​βisf​/b converges, and

αjfa pij≤βisfb+wj(s+12pij+12)for every eligible (i,j) and every integer s≥rj.\frac{\alpha^f_j}{a\,p_{ij}}\le\frac{\beta^f_{is}}{b}+w_j\Big(\frac{s+\frac12}{p_{ij}}+\frac12\Big)\qquad\text{for every eligible }(i,j)\text{ and every integer }s\ge r_j.apij​αjf​​≤bβisf​​+wj​(pij​s+21​​+21​)for every eligible (i,j) and every integer s≥rj​.

Feasibility of this dual point is the lower bound on the relaxation's optimum that the dual-fitting proofs of Theorems 3 and 4 use.

Formalization Note f≥1f\ge1f≥1 is the paper's standing assumption on speeds (p. 10, and "as long as f≥1f\ge1f≥1", p. 16). The lemma's second sentence, the objective bound zDr(αf/a,βf/b)≥(ALG/f)(1/a−1/b)z^{D_r}(\alpha^f/a,\beta^f/b)\ge(\mathsf{ALG}/f)(1/a-1/b)zDr​(αf/a,βf/b)≥(ALG/f)(1/a−1/b) at c=23c=\frac23c=32​, a=3223a=\frac{32}{23}a=2332​, b=163b=\frac{16}3b=316​, f=236f=\frac{23}6f=623​, is not stated: it fails on a one-machine instance with four jobs (see the mission description).

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

/-- Lemma 7, feasibility part (p. 15). Deterministic processing times `p_ij ≥ 1` on eligible
pairs, integer release dates in index order, weights `w ≥ 0`, and an outcome `(m, s)` of the
online-time greedy algorithm with parameter `c > 0`. With `α^f_j = α_j / f` and
`β^f_{is} = β_{i, f·s}` as in (12), `(α^f / a, β^f / b)` is feasible for the dual (D_r) of the
deterministic instance whenever `a, b > 0`, the speed is `f ≥ 1`, and
`af ≥ 2(2 + c)`, `1/c ≤ f(a − 1)`, `af ≥ b`. -/
theorem lemma_7 {M : Type*} [Fintype M] [Nonempty M] {n : ℕ}
    (elig : M → Fin n → Prop) (hElig : ∀ j, ∃ i, elig i j)
    (r : Fin n → ℕ) (hr : Monotone r)
    (p : M → Fin n → ℝ) (hp : ∀ i j, elig i j → 1 ≤ p i j)
    (w : Fin n → ℝ) (hw : ∀ j, 0 ≤ w j)
    (c a b f : ℝ) (hc : 0 < c) (ha : 0 < a) (hb : 0 < b) (hf : 1 ≤ f)
    (h₁ : 2 * (2 + c) ≤ a * f) (h₂ : 1 / c ≤ f * (a - 1)) (h₃ : b ≤ a * f)
    (m : Fin n → M) (s : Fin n → ℝ) (hG : IsGreedy c r p w elig m s) :
    IsFeasibleD elig r p w (fun j => alphaF c r p w m s f j / a)
      (fun i t => betaF r p w m s f i t / b) := by sorry

end GreedWorks.OnlineTime
Source
Gupta, Moseley, Uetz & Xie, Greed Works – Online Algorithms For Unrelated Machine Stochastic Scheduling, arXiv:1703.01634v4, p. 15, Lemma 7 (first sentence); p. 14, (12)
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