Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4(d), proof p. 20 — removal of idle machine time

Proved
SchedComplexity.Tardiness.idle_time_removal

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

p2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingweighted-tardiness

Consider a single-machine instance with jobs 1,…,n1,\dots,n1,…,n, processing times pjp_jpj​, weights wjw_jwj​ and due dates djd_jdj​ (nonnegative integers, release dates 000). Then:

  1. for every processing order π\piπ, the schedule that processes the jobs in the order π\piπ without idle time from time 000 is feasible;
  2. for every feasible schedule SSS there is a processing order π\piπ whose schedule without idle time satisfies
∑jwjTj(π)  ≤  ∑jwjTj(S).\sum_j w_jT_j(\pi)\;\le\;\sum_j w_jT_j(S).j∑​wj​Tj​(π)≤j∑​wj​Tj​(S).

The paper states this in the proof of Theorem 4(d): "Given a processing order π\piπ, we may assume that the jobs are scheduled without interruption from 000 to ∑jpj1\sum_jp_{j1}∑j​pj1​; any other schedule can be improved by removal of the idle machine time." It lets the proof work with processing orders only.

Formalization Note The statement is made for an arbitrary single-machine instance, not only the constructed one; the paper's argument does not use the construction. "Improved" is read as "not worsened". Schedules have start times in N\mathbb NN; the objective is computed in Z\mathbb ZZ.

Preamble
import Mathlib
import Definitions.Def_SchedComplexity_Tardiness_Model
Formal statement
namespace SchedComplexity.Tardiness

/-- Idle-time removal (proof of Theorem 4(d), p. 20): for a single-machine instance with
processing times `p`, weights `w` and due dates `d`, the schedule without idle time of every
processing order is feasible, and every feasible schedule `S` is improved (not worsened) in
`Σ w_j T_j` by the schedule without idle time of some processing order. -/
theorem idle_time_removal {n : ℕ} (p w d : Fin n → ℕ) :
    (∀ π : Equiv.Perm (Fin n), IsFeasible p (noIdleStart p π)) ∧
    ∀ S : Fin n → ℕ, IsFeasible p S →
      ∃ π : Equiv.Perm (Fin n), orderTWT p w d π ≤ totalWeightedTardiness p w d S := by sorry

end SchedComplexity.Tardiness
Source
Brucker, Lenstra & Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum Report BW 43/75 (1975), p. 20, proof of Theorem 4(d)
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