Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(1), proof of Theorem 1, p. 420 — a precedence chain covers idle times

Proved
GrahamAnomaly.General.covering_chain

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

list-schedulingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1precedence-constraintsschedulingtiming-anomalies

Let r≥1r\ge1r≥1 tasks with positive durations μ′(Tj)\mu'(T_j)μ′(Tj​) be scheduled by Graham's list rule on n′≥1n'\ge1n′≥1 identical processors under a strict precedence order ≺′\prec'≺′ and any priority list. Write Sj′S'_jSj′​ for their start times and ω′\omega'ω′ for the finishing time. There is a finite chain C=(Tjm,…,Tj1)C=(T_{j_m},\ldots,T_{j_1})C=(Tjm​​,…,Tj1​​) in increasing ≺′\prec'≺′ order, containing a task that finishes at ω′\omega'ω′, such that

∀t∈[0,ω′),(some processor is idle at t)⟹(some task of C runs at t).\forall t\in[0,\omega'),\quad \bigl(\text{some processor is idle at }t\bigr)\Longrightarrow\bigl(\text{some task of }C\text{ runs at }t\bigr).∀t∈[0,ω′),(some processor is idle at t)⟹(some task of C runs at t).

This chain is the link between idle processor time in the second run and a path of precedence-constrained work.

Formalization Note The paper's set BBB excludes times when every processor is idle. Under the list rule, all processors cannot be idle before the last task finishes, so the formula uses failure of “all processors busy” to describe BBB. Running intervals are half-open.

Preamble
import Mathlib
import Definitions.Def_GrahamAnomaly_General_Model
Formal statement
namespace GrahamAnomaly.General

/-- Display (1) in the proof of Theorem 1: a precedence chain ending at a
last-finishing task covers each time when a processor is idle. -/
theorem covering_chain {r n' : ℕ} (hr : 0 < r) (hn' : 0 < n')
    (μ' : Fin r → ℝ) (hμ' : ∀ j, 0 < μ' j)
    (prec' : Fin r → Fin r → Prop) [IsStrictOrder (Fin r) prec']
    (L' : Fin r ≃ Fin r) (G' : Schedule n' μ' prec')
    (hG' : IsListSchedule L' G') :
    ∃ c : List (Fin r), c.Chain' prec' ∧
      (∃ j ∈ c, G'.S j + μ' j = G'.finish) ∧
      ∀ t : ℝ, 0 ≤ t → t < G'.finish → ¬ AllBusy G' t →
        ∃ a ∈ c, G'.S a ≤ t ∧ t < G'.S a + μ' a := by sorry

end GrahamAnomaly.General
Source
Graham, Bounds on multiprocessing timing anomalies, SIAM J. Appl. Math. 17 (1969), pp. 419–420, display (1) and following sentence in proof of Theorem 1; https://doi.org/10.1137/0117039
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