Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.9 (no precedence) — Ci≤(1+β)p(Bi)/m+(1+1/β)(ri+pi)−pi/βC_i\le(1+\beta)p(B_i)/m+(1+1/\beta)(r_i+p_i)-p_i/\betaCi​≤(1+β)p(Bi​)/m+(1+1/β)(ri​+pi​)−pi​/β

Proved
AvgCompletionSched.ParallelRelease.delay_list_completion_bound

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

approximation-algorithmsp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling

Let m≥2m\ge2m≥2, let β>0\beta>0β>0, let π\piπ be a list of the jobs, and let DDD be a schedule produced by the continuous-time Delay List algorithm with parameter β\betaβ on the list π\piπ, for jobs with release dates and no precedence constraints. For a job JiJ_iJi​ let BiB_iBi​ be the set of jobs at or before JiJ_iJi​ in the list (including JiJ_iJi​) and p(Bi)=∑k∈Bipkp(B_i)=\sum_{k\in B_i}p_kp(Bi​)=∑k∈Bi​​pk​. Then every job satisfies

CiD≤(1+β) p(Bi)m+(1+1β)(ri+pi)−piβ.C^D_i\le\frac{(1+\beta)\,p(B_i)}{m}+\Bigl(1+\frac1\beta\Bigr)(r_i+p_i)-\frac{p_i}{\beta}.CiD​≤m(1+β)p(Bi​)​+(1+β1​)(ri​+pi​)−βpi​​.

This is Theorem 4.9 specialised to an instance without precedence constraints. There, the critical-path quantity κi\kappa_iκi​ of Definition 4.1 is ri+pir_i+p_iri​+pi​, and the path Pi′P'_iPi′​ of Definition 4.4 consists of JiJ_iJi​ alone, so κi′=κi=ri+pi\kappa'_i=\kappa_i=r_i+p_iκi′​=κi​=ri​+pi​ (Fact 4.5 holds with equality). The theorem is the per-job guarantee from which Lemma 4.18 follows by summation.

Formalization Note Delay List is the continuous-time version of §4.1, with case-2 charges taken from the most recent uncharged idle time (see the definition file). The hypothesis m≥2m\ge2m≥2 is the setting of §4.1 ("a schedule for m≥2m\ge2m≥2 machines").

Preamble
import Mathlib
import Definitions.Def_AvgCompletionSched_ParallelRelease_Model
import Definitions.Def_AvgCompletionSched_ParallelRelease_DelayList
Formal statement
namespace AvgCompletionSched.ParallelRelease

/-- Theorem 4.9 without precedence constraints (`κ_i = r_i + p_i`): in a Delay List schedule with
parameter `β > 0` on the list `π`, every job satisfies
`C_i ≤ (1 + β) p(B_i)/m + (1 + 1/β)(r_i + p_i) - p_i/β`, where `B_i` is the set of jobs at or
before `i` in the list. -/
theorem delay_list_completion_bound {n m : ℕ} (I : Instance n m) (hm : 2 ≤ m)
    (π : Fin n ≃ Fin n) (β : ℝ) (hβ : 0 < β) (D : DelayListRun I)
    (hD : IsDelayListSchedule I π β D) (i : Fin n) :
    D.C i ≤ (1 + β) * (∑ k ∈ Finset.univ.filter (fun k => π.symm k ≤ π.symm i), I.p k) / m
      + (1 + 1 / β) * (I.r i + I.p i) - I.p i / β := by sorry

end AvgCompletionSched.ParallelRelease
Source
Chekuri, Motwani, Natarajan, Stein, Approximation Techniques for Average Completion Time Scheduling, SIAM J. Comput. 31(1), 2001, p. 160, Theorem 4.9 (with Definitions 4.1, 4.3, 4.4 and Fact 4.5, pp. 158–159)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let III be an instance with nnn jobs and mmm machines, with processing times pj>0p_j>0pj​>0 and release dates rj≥0r_j\ge0rj​≥0. Assume additionally m≥2m\ge2m≥2.

Let π\piπ be a list of the jobs, with pos(j)=π−1(j)\mathrm{pos}(j)=\pi^{-1}(j)pos(j)=π−1(j), and let β>0\beta>0β>0. Let DDD be a run satisfying the Delay List conditions for (I,π,β)(I,\pi,\beta)(I,π,β). These conditions are:

  • Feasibility. Start times are no earlier than release dates, start times are nondecreasing in the scheduling order ev\mathrm{ev}ev, and a job ordered earlier on the same machine finishes before a later one starts.
  • Scheduling cases. Each job is either:
    • (case 1) list-first among the jobs not ordered before it, with τj=rj\tau_j=r_jτj​=rj​; or
    • (case 2) the list-first remaining job is unreleased at SjS_jSj​, jjj is list-first among remaining jobs released by SjS_jSj​, the uncharged idle integral Uj≥βpjU_j\ge\beta p_jUj​≥βpj​, 0≤τj≤Sj0\le\tau_j\le S_j0≤τj​≤Sj​, and the idle integral over its uncharged window (τj,Sj)(\tau_j,S_j)(τj​,Sj​) equals βpj\beta p_jβpj​.
  • No delay. Whenever t≥0t\ge0t≥0 and some machine index is free, the list-first job starting after ttt is unreleased at ttt, and the list-first released job starting after ttt has U(t)<βpkU(t)<\beta p_kU(t)<βpk​.

Here idle time is mmm minus the number of running jobs.

Let iii be any job and write Ci=Si+piC_i=S_i+p_iCi​=Si​+pi​. The theorem asserts

Ci≤(1+β)∑k: pos(k)≤pos(i)pkm+(1+1β)(ri+pi)−piβ.C_i\le\frac{(1+\beta)\sum_{k:\ \mathrm{pos}(k)\le\mathrm{pos}(i)}p_k}{m}+\Bigl(1+\frac1\beta\Bigr)(r_i+p_i)-\frac{p_i}{\beta}.Ci​≤m(1+β)∑k: pos(k)≤pos(i)​pk​​+(1+β1​)(ri​+pi​)−βpi​​.

The sum includes iii itself.

Degenerate cases.

  • m=1m=1m=1 is excluded.
  • β>0\beta>0β>0, so there is no division by zero.
  • If n=0n=0n=0, there is no job iii, so the statement is vacuous.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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