Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(15), p. 427 — optimum controls the list finishing time minus residual imbalance

Proved
GrahamAnomaly.KLongest.optFinish_ge_sub

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

list-schedulingload-balancingmakespanp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling

Under the independent-task list rule, suppose k<rk<rk<r and the complete list finishes after the first kkk tasks. Write ω(k)\omega(k)ω(k) for its finishing time, ω0\omega_0ω0​ for the minimum finishing time over all assignments, and α∗\alpha^*α∗ for the longest task after the prefix. For n>0n>0n>0 processors and positive task lengths,

ω0≥ω(k)−n−1nα∗.\omega_0\ge\omega(k)-\frac{n-1}{n}\alpha^*.ω0​≥ω(k)−nn−1​α∗.

This is the right inequality of Graham's display (15), together with the average-load comparison shown there.

Formalization Note The theorem states the resulting right inequality; the average-load left inequality is a separate milestone. Prefix optimality and longest-first order are not needed for this bound.

Preamble
import Mathlib
import Definitions.Def_GrahamAnomaly_KLongest_Model
Formal statement
namespace GrahamAnomaly.KLongest

theorem optFinish_ge_sub {r n k : ℕ} (hn : 0 < n)
    (μ : Fin r → ℝ) (hμ : ∀ j, 0 < μ j)
    (L : Fin r ≃ Fin r) (σ : Fin r → Fin n)
    (hσ : IsListAssignment μ L σ) (hkr : k < r)
    (hgt : prefixFinish μ L σ k < WilliamsonShmoys.makespan μ σ) :
    WilliamsonShmoys.makespan μ σ - ((n : ℝ) - 1) / n * alphaStar μ L k ≤
      optFinish μ n := by sorry

end GrahamAnomaly.KLongest
Source
Graham, Bounds on multiprocessing timing anomalies, SIAM J. Appl. Math. 17 (1969), p. 427, proof of Theorem 3, (15), right inequality
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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