Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(3.3) — ∑jCjN≤2∑jCjP1+(1−1/m)∑jpj\sum_j C^N_j\le 2\sum_j C^{P1}_j+(1-1/m)\sum_j p_j∑j​CjN​≤2∑j​CjP1​+(1−1/m)∑j​pj​

Proved
AvgCompletionSched.ParallelRelease.list_schedule_sum_bound

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

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

Let P1P1P1 be any preemptive schedule of the one-machine relaxation I1I1I1 (processing times pj/mp_j/mpj​/m, release dates rjr_jrj​), let π\piπ be a list of the jobs in nondecreasing order of their completion times CjP1C^{P1}_jCjP1​, and let NNN be the schedule produced by strict-order list scheduling of π\piπ on the mmm machines. Then

∑jCjN≤2∑jCjP1+(1−1m)∑jpj.\sum_j C^N_j\le 2\sum_j C^{P1}_j+\Bigl(1-\frac1m\Bigr)\sum_j p_j.j∑​CjN​≤2j∑​CjP1​+(1−m1​)j∑​pj​.

This is inequality (3.3), obtained by summing the per-job bound (3.2) over all jobs. Together with Lemma 3.1 it yields the (3−1/m)(3-1/m)(3−1/m)-approximation of Lemma 3.2, and it is re-used as (4.1) in the proof of Lemma 4.19.

Formalization Note P1P1P1 need not be optimal here. Ties in the completion order are arbitrary: the statement holds for every list consistent with the completion times.

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

/-- (3.3): for any preemptive schedule `P1` of `I1` and any list `π` ordering the jobs by their
completion times in `P1`, the strict-order list schedule `N` satisfies
`∑ C^N_j ≤ 2 ∑ C^{P1}_j + (1 - 1/m) ∑ p_j`. -/
theorem list_schedule_sum_bound {n m : ℕ} (I : Instance n m) (P1 : RelaxSchedule I)
    (π : Fin n ≃ Fin n) (hπ : IsCompletionOrder P1 π) :
    ∑ j, listCompletion I π j ≤
      2 * ∑ j, P1.CP j + (1 - (1 : ℝ) / m) * ∑ j, I.p j := by sorry

end AvgCompletionSched.ParallelRelease
Source
Chekuri, Motwani, Natarajan, Stein, Approximation Techniques for Average Completion Time Scheduling, SIAM J. Comput. 31(1), 2001, p. 157, proof of Lemma 3.2, eq. (3.3) (with (3.1), (3.2))
Read-back

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

Let III be an instance with nnn jobs, m≥1m\ge1m≥1 machines, pj>0p_j>0pj​>0 and rj≥0r_j\ge0rj​≥0.

Let P1P_1P1​ be any relaxation schedule of III; it need not be optimal. It consists of measurable, integrable, nonnegative rates ρj\rho_jρj​ with:

  • ∑jρj(t)≤1\sum_j\rho_j(t)\le 1∑j​ρj​(t)≤1 at every ttt;
  • ρj=0\rho_j=0ρj​=0 before rjr_jrj​;
  • ∫ρj=pj/m\int\rho_j=p_j/m∫ρj​=pj​/m;
  • each ρj\rho_jρj​ vanishes eventually.

Its completion times are CjP1=inf⁡{t:pj/m≤∫(−∞,t)ρj}C^{P_1}_j=\inf\{t:p_j/m\le\int_{(-\infty,t)}\rho_j\}CjP1​​=inf{t:pj​/m≤∫(−∞,t)​ρj​}.

Let π\piπ be a bijection of the jobs listing them in nondecreasing order of CP1C^{P_1}CP1​: k≤lk\le lk≤l implies Cπ(k)P1≤Cπ(l)P1C^{P_1}_{\pi(k)}\le C^{P_1}_{\pi(l)}Cπ(k)P1​​≤Cπ(l)P1​​.

Let CjNC^N_jCjN​ be the completion time of jjj in the list schedule for π\piπ. This schedule processes jobs in list order. Job π(k)\pi(k)π(k) starts at the maximum of three quantities:

  • its release date;
  • the start time of the previous list job (with 000 for the first job);
  • the earliest free time among the machines, all initially free at 000.

It then occupies a machine attaining that earliest free time.

The theorem asserts

∑jCjN≤2∑jCjP1+(1−1m)∑jpj.\sum_j C^N_j\le 2\sum_j C^{P_1}_j+\Bigl(1-\frac1m\Bigr)\sum_j p_j.j∑​CjN​≤2j∑​CjP1​​+(1−m1​)j∑​pj​.

Degenerate cases.

  • If n=0n=0n=0, both sides are 000.
  • Because m≥1m\ge1m≥1, 1/m1/m1/m is an ordinary real division.
  • When m=1m=1m=1, the last term vanishes.
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