Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

SPT heuristic (pp. 46–47) — the list schedule is a feasible non-preemptive job-shop schedule

Proved
FlowJobShop.SPT.listSchedule_feasible

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

job-shoplist-schedulingp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingspt

Let a job shop with mmm processors and nnn jobs be given, and let σ\sigmaσ be any order of the jobs. The list schedule SσS_\sigmaSσ​ that processes the jobs σ(0),σ(1),…\sigma(0),\sigma(1),\dotsσ(0),σ(1),… in turn (each task starting as soon as its job's previous task and every task already placed on its processor have completed) is a feasible non-preemptive schedule of all jobs:

  1. every task starts at a time ≥0\ge 0≥0;
  2. every task of a job other than its first starts no earlier than the completion of the preceding task of the same job;
  3. two distinct tasks on the same processor do not overlap: one of them completes no later than the other starts.

In particular the SPT schedule is a feasible schedule, so Lemma 9 compares two feasible schedules.

Formalization Note The statement holds for every order σ\sigmaσ, not only SPT orders. Feasibility uses the local IsPaperFeasibleSchedule, which excludes zero-time tasks from the machine-overlap condition. The paper assumes m≥1m\ge1m≥1.

Preamble
import Mathlib
import Definitions.Def_JobShopLTAS_Core_Instance
import Definitions.Def_FlowJobShop_SPT_MeanFlowTime
import Definitions.Def_FlowJobShop_SPT_ListSchedule

open JobShopLTAS.Core
Formal statement
namespace FlowJobShop.SPT

/-- The list schedule that processes the jobs in the order `σ` is a feasible non-preemptive
schedule of all jobs: starts are nonnegative, the tasks of a job are processed in order, and two
positive-time tasks on the same processor do not overlap. -/
theorem listSchedule_feasible {m n : ℕ} (inst : Instance m n) (hm : 0 < m)
    (σ : Fin n ≃ Fin n) :
    IsPaperFeasibleSchedule inst (listSchedule inst σ) := by sorry

end FlowJobShop.SPT
Source
Gonzalez, Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1) (1978), pp. 46–47 (the SPT heuristic, 'processing jobs in order of nondecreasing L_i')
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