Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, p. 7 — an optimal sequence of a module extends to an optimal sequence of N consistent with it

Proved
LawlerWCT.SeriesPar.theorem_1

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

modulesp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingsidney-decomposition

Throughout, NNN is a finite set of jobs to be sequenced on a single machine, G=(N,A)G=(N,A)G=(N,A) is an acyclic digraph on NNN (job iii must precede job jjj when there is a directed path from iii to jjj), job jjj has a processing time pj>0p_j>0pj​>0 and a real weight wjw_jwj​, and the cost of a feasible sequence is ∑jwjCj\sum_{j} w_j C_j∑j​wj​Cj​, where CjC_jCj​ is the completion time of jjj when the machine starts at time 000 and never idles.

Let M⊆NM\subseteq NM⊆N be a job module of GGG (Definition 1) and let σ\sigmaσ be an optimal sequence for MMM, i.e. a sequence of the jobs of MMM that respects the precedence constraints among them and minimizes ∑j∈MwjCj\sum_{j\in M}w_jC_j∑j∈M​wj​Cj​ among such sequences. Then there is an optimal sequence τ\tauτ for NNN consistent with σ\sigmaσ: the jobs of MMM appear in τ\tauτ in the same order as in σ\sigmaσ,

τ optimal for Nandτ∣M=σ.\tau\ \text{optimal for } N\quad\text{and}\quad \tau|_M=\sigma .τ optimal for Nandτ∣M​=σ.

This is Sidney's Lemma 23. It allows the subproblem on a module to be solved independently of the rest of the problem.

Formalization Note "Optimal sequence for MMM" is IsOptimalSchedule G p w M σ: feasibility only constrains pairs of jobs that both lie in the sequence, so this is the subproblem on MMM with the induced constraints. "Consistent with σ\sigmaσ" is τ.filter (· ∈ M) = σ. GGG is an arbitrary acyclic digraph, not necessarily series parallel, as on the page.

Preamble
import Mathlib
import Definitions.Def_LawlerWCT_SeriesPar_Model
Formal statement
namespace LawlerWCT.SeriesPar

theorem theorem_1 {ι : Type*} [DecidableEq ι] (N : Finset ι) (G : ι → ι → Prop)
    (hGN : ∀ i j, G i j → i ∈ N ∧ j ∈ N) (hacyc : ∀ j, ¬ Relation.TransGen G j j)
    (p w : ι → ℝ) (hp : ∀ j ∈ N, 0 < p j)
    (M : Finset ι) (hM : IsModule G N M)
    (σ : List ι) (hσ : SingleMachinePrec.Biclique.IsOptimalSchedule G p w M σ) :
    ∃ τ : List ι, SingleMachinePrec.Biclique.IsOptimalSchedule G p w N τ ∧
      τ.filter (· ∈ M) = σ := by sorry

end LawlerWCT.SeriesPar
Source
Lawler, Sequencing jobs to minimize total weighted completion time subject to precedence constraints, IRIA-LABORIA Rapport de Recherche No. 205 (Dec. 1976), HAL hal-04716371v1, p. 7, Theorem 1
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