Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(14), p. 427 — volume bound from the longest remaining task

Proved
GrahamAnomaly.KLongest.sum_ge_of_prefixFinish_lt

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

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

Let n>0n>0n>0 processors execute positive-length tasks by the least-loaded list rule. Suppose some task remains after the first kkk positions, and the full finishing time ω(k)\omega(k)ω(k) exceeds the prefix finishing time ωk\omega_kωk​. Let α∗\alpha^*α∗ be the largest length among tasks after position kkk. Then

∑jμj≥n(ω(k)−α∗)+α∗.\sum_j\mu_j\ge n\bigl(\omega(k)-\alpha^*\bigr)+\alpha^*.j∑​μj​≥n(ω(k)−α∗)+α∗.

This is Graham's display (14), which measures the total task volume needed for a run with that finishing time.

Formalization Note This statement uses only the list rule, positive lengths, k<rk<rk<r, and the strict comparison ωk<ω(k)\omega_k<\omega(k)ωk​<ω(k). The later longest-prefix and prefix-optimality assumptions are not needed for (14).

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

theorem sum_ge_of_prefixFinish_lt {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 μ σ) :
    (n : ℝ) * (WilliamsonShmoys.makespan μ σ - alphaStar μ L k) +
      alphaStar μ L k ≤ ∑ j, μ j := by sorry

end GrahamAnomaly.KLongest
Source
Graham, Bounds on multiprocessing timing anomalies, SIAM J. Appl. Math. 17 (1969), p. 427, proof of Theorem 3, (14)
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