Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.3 — Ciα≤Ti+(1+α)∑β≥αSiP(β)+∑β<αβSiP(β)C^\alpha_i \le T_i + (1+\alpha)\sum_{\beta\ge\alpha}S^P_i(\beta)+\sum_{\beta<\alpha}\beta S^P_i(\beta)Ciα​≤Ti​+(1+α)∑β≥α​SiP​(β)+∑β<α​βSiP​(β)

Proved
AvgCompletionSched.BestAlpha.alpha_schedule_completion_bound

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

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

Let PPP be any preemptive one-machine schedule of an instance with processing times pj>0p_j>0pj​>0 and release dates rj≥0r_j\ge0rj​≥0, and let α∈(0,1]\alpha\in(0,1]α∈(0,1]. Let π\piπ be any ordering of the jobs in nondecreasing order of their α\alphaα-points CjP(α)C^P_j(\alpha)CjP​(α), with ties in any order, and let CiαC^\alpha_iCiα​ be the completion time of job JiJ_iJi​ when the jobs are list-scheduled nonpreemptively in the order π\piπ. With TiT_iTi​ the idle time of PPP before CiPC^P_iCiP​ and xijx_{ij}xij​ the fraction of JjJ_jJj​ processed before CiPC^P_iCiP​,

Ciα≤Ti+(1+α)∑j: xij≥αpj+∑j: xij<αxij pj.C^\alpha_i\le T_i+(1+\alpha)\sum_{j:\,x_{ij}\ge\alpha}p_j+\sum_{j:\,x_{ij}<\alpha}x_{ij}\,p_j .Ciα​≤Ti​+(1+α)j:xij​≥α∑​pj​+j:xij​<α∑​xij​pj​.

In the paper's notation this is Ciα≤Ti+(1+α)∑β≥αSiP(β)+∑β<αβSiP(β)C^\alpha_i\le T_i+(1+\alpha)\sum_{\beta\ge\alpha}S^P_i(\beta)+\sum_{\beta<\alpha}\beta S^P_i(\beta)Ciα​≤Ti​+(1+α)∑β≥α​SiP​(β)+∑β<α​βSiP​(β).

This is the key structural bound of the mission: jobs that are at least an α\alphaα-fraction done by CiPC^P_iCiP​ may be charged up to 1+α1+\alpha1+α times their length, the others only their processed part. Averaging it over a random α\alphaα gives Lemma 2.5.

Formalization Note The bound is stated for every tie-breaking among equal α\alphaα-points. The sums over β\betaβ are reindexed as sums over jobs.

Preamble
import Mathlib
import Definitions.Def_AvgCompletionSched_BestAlpha_Model
Formal statement
namespace AvgCompletionSched.BestAlpha
theorem alpha_schedule_completion_bound {n : ℕ} {I : Instance n}
    (P : PreemptiveSchedule I) (α : ℝ) (hα : α ∈ Set.Ioc (0 : ℝ) 1)
    (π : Fin n ≃ Fin n) (hπ : IsAlphaOrder P α π) (i : Fin n) :
    listCompletion I π i ≤
      P.idle i + (1 + α) * ∑ j ∈ Finset.univ.filter (fun j => α ≤ P.frac i j), I.p j
        + ∑ j ∈ Finset.univ.filter (fun j => P.frac i j < α), P.frac i j * I.p j := by sorry
end AvgCompletionSched.BestAlpha
Source
Chekuri, Motwani, Natarajan, Stein, Approximation Techniques for Average Completion Time Scheduling, SIAM J. Comput. 31(1), 2001, p. 151, Lemma 2.3 (proof pp. 151–153)
Read-back

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

Take any instance III with nnn jobs (processing times pj>0p_j > 0pj​>0, release dates rj≥0r_j \ge 0rj​≥0) and any preemptive schedule PPP of III. Take a real α\alphaα with 0<α≤10 < \alpha \le 10<α≤1.

Take any permutation π\piπ of the jobs that is an α\alphaα-order for PPP. This means the α\alphaα-points are nondecreasing along the list: Cπ(k)P(α)≤Cπ(l)P(α)C^P_{\pi(k)}(\alpha) \le C^P_{\pi(l)}(\alpha)Cπ(k)P​(α)≤Cπ(l)P​(α) whenever k≤lk \le lk≤l, where CjP(α)=inf⁡{t:donej(t)≥αpj}C^P_j(\alpha) = \inf\{t : \mathrm{done}_j(t) \ge \alpha p_j\}CjP​(α)=inf{t:donej​(t)≥αpj​}. Ties may be ordered arbitrarily. Finally take any job iii.

Let CiπC^\pi_iCiπ​ be the completion time of iii under nonpreemptive list scheduling in order π\piπ. In that schedule each listed job starts at the later of its release date and the previous job's finish, starting from time 000.

The statement asserts:

Ciπ  ≤  Ti+(1+α) ⁣ ⁣∑j: xij≥α ⁣ ⁣pj  +  ∑j: xij<αxij pj.C^\pi_i \;\le\; T_i + (1+\alpha)\!\!\sum_{j:\ x_{ij}\ge\alpha}\!\! p_j \;+\; \sum_{j:\ x_{ij}<\alpha} x_{ij}\,p_j.Ciπ​≤Ti​+(1+α)j: xij​≥α∑​pj​+j: xij​<α∑​xij​pj​.

The symbols mean:

  • CiPC^P_iCiP​ is the completion time of iii in PPP.
  • TiT_iTi​ is the Lebesgue measure of idle time of PPP in [0,CiP)[0, C^P_i)[0,CiP​).
  • xijx_{ij}xij​ is the fraction of job jjj processed in PPP during [0,CiP)[0, C^P_i)[0,CiP​).

Both sums range over all jobs jjj, including iii.

Degenerate cases. Since a job iii exists, n≥1n \ge 1n≥1. At α=1\alpha = 1α=1, the condition xij≥1x_{ij}\ge 1xij​≥1 picks out the jobs completed by CiPC^P_iCiP​ (this always includes iii), and those enter with factor 222. The endpoint α=0\alpha = 0α=0 is excluded.

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