Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 2.7 — Best-α\alphaα is an e/(e−1)e/(e-1)e/(e−1)-approximation for 1∣rj∣∑Cj1|r_j|\sum C_j1∣rj​∣∑Cj​

Proved
AvgCompletionSched.BestAlpha.best_alpha_approximation

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

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

Consider nonpreemptive scheduling on one machine with release dates to minimize total (equivalently, average) completion time: processing times pj>0p_j>0pj​>0 and release dates rj≥0r_j\ge0rj​≥0. Let PPP be a preemptive schedule that is optimal among all preemptive schedules for ∑jCj\sum_jC_j∑j​Cj​ (for example the SRPT schedule). Then there is an α∈(0,1]\alpha\in(0,1]α∈(0,1] such that every α\alphaα-schedule derived from PPP (list scheduling in any nondecreasing order of the α\alphaα-points CjP(α)C^P_j(\alpha)CjP​(α)) satisfies, for every feasible nonpreemptive schedule with completion times CjC_jCj​,

∑jCjα≤ee−1∑jCj.\sum_j C^\alpha_j\le\frac{e}{e-1}\sum_j C_j .j∑​Cjα​≤e−1e​j∑​Cj​.

Algorithm Best-α\alphaα outputs the α\alphaα-schedule of smallest total completion time, whose value is at most that of this α\alphaα; hence Best-α\alphaα is an e/(e−1)e/(e-1)e/(e−1)-approximation algorithm (e/(e−1)≈1.58e/(e-1)\approx1.58e/(e−1)≈1.58).

Formalization Note The existential form over α\alphaα replaces the minimum over α\alphaα taken by Best-α\alphaα; α\alphaα is chosen before the comparison schedule, so a single α\alphaα works against every feasible nonpreemptive schedule. The running-time claim O(n2)O(n^2)O(n2) is not formalized. The optimality of PPP among preemptive schedules is the paper's standing assumption for its upper bounds (p. 151); the paper obtains PPP from SRPT.

Preamble
import Mathlib
import Definitions.Def_AvgCompletionSched_BestAlpha_Model
Formal statement
namespace AvgCompletionSched.BestAlpha
theorem best_alpha_approximation {n : ℕ} {I : Instance n} (P : PreemptiveSchedule I)
    (hP : ∀ P' : PreemptiveSchedule I, ∑ j, P.CP j ≤ ∑ j, P'.CP j) :
    ∃ α ∈ Set.Ioc (0 : ℝ) 1, ∀ π : Fin n ≃ Fin n, IsAlphaOrder P α π →
      ∀ N : NonpreemptiveSchedule I,
        ∑ j, listCompletion I π j ≤ Real.exp 1 / (Real.exp 1 - 1) * ∑ j, N.C 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. 155, Corollary 2.7; Best-α defined p. 155; standing assumption p. 151
Read-back

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

Let n∈Nn \in \mathbb{N}n∈N be a number of jobs and III an instance on nnn jobs, i.e. a term of type Instance n. Several notions below come from the imported module Definitions.Def_AvgCompletionSched_BestAlpha_Model, whose code is not shown here. They are described only by how this statement uses them, and their exact content is fixed by that module:

  • Preemptive schedules. A preemptive schedule for III is a term of type PreemptiveSchedule I. Each one assigns every job jjj a quantity CjPC^{P}_jCjP​ (the field CP), which by its name is the job's completion time in that schedule.
  • Non-preemptive schedules. A non-preemptive schedule for III is a term of type NonpreemptiveSchedule I. Each one assigns every job jjj a real number CjNC^{N}_jCjN​ (the field C), which by its name is the job's completion time.
  • α\alphaα-orders. IsAlphaOrder(P,α,π)\mathrm{IsAlphaOrder}(P, \alpha, \pi)IsAlphaOrder(P,α,π) is a predicate on a preemptive schedule PPP, a real number α\alphaα and a permutation π\piπ of the job indices {0,…,n−1}\{0, \dots, n-1\}{0,…,n−1}.
  • List completion times. LπI(j)L^{I}_{\pi}(j)LπI​(j) (listCompletion I π j) is a real number attached to the instance III, the permutation π\piπ and the job jjj.

All sums ∑j\sum_j∑j​ run over the nnn jobs j∈{0,…,n−1}j \in \{0, \dots, n-1\}j∈{0,…,n−1}.

Hypotheses. PPP is a preemptive schedule for III whose total completion time is at most that of every preemptive schedule for III:

∑jCjP  ≤  ∑jCjP′for every preemptive schedule P′ of I.\sum_{j} C^{P}_j \;\le\; \sum_{j} C^{P'}_j \qquad \text{for every preemptive schedule } P' \text{ of } I.j∑​CjP​≤j∑​CjP′​for every preemptive schedule P′ of I.

Conclusion. There exists a real number α\alphaα with 0<α≤10 < \alpha \le 10<α≤1 that satisfies the following. For every permutation π\piπ of the jobs such that IsAlphaOrder(P,α,π)\mathrm{IsAlphaOrder}(P, \alpha, \pi)IsAlphaOrder(P,α,π) holds, and for every non-preemptive schedule NNN of III,

∑jLπI(j)  ≤  ee−1 ∑jCjN,\sum_{j} L^{I}_{\pi}(j) \;\le\; \frac{e}{e-1}\,\sum_{j} C^{N}_j,j∑​LπI​(j)≤e−1e​j∑​CjN​,

where e=exp⁡(1)e = \exp(1)e=exp(1), so ee−1≈1.582\frac{e}{e-1} \approx 1.582e−1e​≈1.582.

The quantifiers are ordered as follows:

  • α\alphaα is chosen once, after PPP is fixed, and may depend on PPP and III.
  • α\alphaα must work for every α\alphaα-order π\piπ and every non-preemptive schedule NNN at once.
  • The statement does not claim that any permutation satisfying IsAlphaOrder(P,α,π)\mathrm{IsAlphaOrder}(P, \alpha, \pi)IsAlphaOrder(P,α,π) exists.
  • The statement does not claim that π\piπ is computed in any particular way.
  • Because the inequality must hold for every NNN, the bound is against every non-preemptive schedule. In particular it is against the least total completion time among them, if one exists.

Degenerate cases.

  • n=0n = 0n=0. Every sum is empty and equals 000, so the conclusion reads 0≤ee−1⋅00 \le \frac{e}{e-1} \cdot 00≤e−1e​⋅0. This holds for any α∈(0,1]\alpha \in (0,1]α∈(0,1], so the theorem is trivially true.
  • No suitable permutation. If, for the chosen α\alphaα, no permutation satisfies IsAlphaOrder(P,α,π)\mathrm{IsAlphaOrder}(P, \alpha, \pi)IsAlphaOrder(P,α,π), the conclusion holds vacuously. Whether an α∈(0,1]\alpha \in (0,1]α∈(0,1] with this property exists depends on the unshown definition of IsAlphaOrder. If one exists, the theorem says nothing about list completion times.
  • No non-preemptive schedule. If there are no non-preemptive schedules for III, the conclusion holds vacuously for every α\alphaα.
  • No minimizing preemptive schedule. If no preemptive schedule reaches the minimum total completion time, the hypothesis on PPP can never be met and the theorem says nothing.
  • Constant factor. The factor ee−1\frac{e}{e-1}e−1e​ involves no division by zero, since e−1≠0e - 1 \neq 0e−1=0.
  • Hidden default values. Any default values, truncated subtraction or similar edge behaviour inside CPC^{P}CP, CNC^{N}CN, LπIL^{I}_{\pi}LπI​ or IsAlphaOrder\mathrm{IsAlphaOrder}IsAlphaOrder are hidden in the imported definitions. They cannot be read off this statement.
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