Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(16), p. 427 — pigeonhole lower bound from the long tasks

Proved
GrahamAnomaly.KLongest.optFinish_ge_alphaStar

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

makespanp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1pigeonhole-principlescheduling

Let n>0n>0n>0 processors and rrr positive-length tasks be given. The first k<rk<rk<r list positions hold kkk of the longest tasks, and α∗\alpha^*α∗ is the longest length among the remaining tasks. If ω0\omega_0ω0​ is the minimum finishing time among assignments, then

ω0≥(1+⌊k/n⌋)α∗.\omega_0\ge\bigl(1+\lfloor k/n\rfloor\bigr)\alpha^*.ω0​≥(1+⌊k/n⌋)α∗.

This is Graham's display (16): there are at least k+1k+1k+1 tasks of length at least α∗\alpha^*α∗, so some processor must receive at least 1+⌊k/n⌋1+\lfloor k/n\rfloor1+⌊k/n⌋ of them.

Formalization Note The list order is constrained only by the longest-first condition; no particular list assignment is needed. The natural-number quotient k/nk/nk/n is the paper's greatest-integer function.

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

theorem optFinish_ge_alphaStar {r n k : ℕ} (hn : 0 < n) (hk : k ≤ r)
    (μ : Fin r → ℝ) (hμ : ∀ j, 0 < μ j)
    (L : Fin r ≃ Fin r)
    (hlong : ∀ i j, (L.symm i : ℕ) < k → k ≤ (L.symm j : ℕ) → μ j ≤ μ i)
    (hkr : k < r) :
    (1 + ((k / 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, (16)
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