Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

pp. 402–403, An Example — the 4-job run stops with node 231 first, and 2-3-1-4 is optimal with makespan 62

Proved
IgnallSchrage.Makespan.example_run

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

branch-and-boundexampleflow-shopp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling

Consider the 4-job, 3-machine jobset of the paper:

job1234
aia_iai​137262
bib_ibi​31296
cic_ici​121671

Run the branch-and-bound procedure with the bound LBLBLB of p. 401 and the tie rule of p. 403. Then

  1. after each of the first 666 steps the first node of the list is not terminal;
  2. after 666 steps the first node is node 231231231 (jobs 2,3,12,3,12,3,1 in this order);
  3. LB(231)=62LB(231)=62LB(231)=62;
  4. the full sequence 231423142314 (the one sequence beginning with 231231231) has makespan 626262;
  5. every one of the 242424 sequences has makespan at least 626262, so 231423142314 is optimal.

In the paper's words, "node 231's lower bound, which is the makespan for sequence 2314, is less than or equal to the lower bound of any other 'unbranched from' node", "so 231 is optimal".

Formalization Note Jobs are numbered from 000, so the paper's job iii is i−1i-1i−1 and node 231231231 is the list [1,2,0][1,2,0][1,2,0]. The nodes branched are, in order, the root, 222, 212121, 111, 121212, 232323. The TIMEB/TIMEC columns of the paper's LIST table are not formalized.

Preamble
import Mathlib
import Definitions.Def_IgnallSchrage_Makespan_LowerBound
import Definitions.Def_IgnallSchrage_Makespan_Procedure
Formal statement
namespace IgnallSchrage.Makespan

/-- pp. 402–403, the example: for the 4-job jobset `a = (13, 7, 26, 2)`, `b = (3, 12, 9, 6)`,
`c = (12, 16, 7, 1)` (jobs `1, 2, 3, 4` of the paper are `0, 1, 2, 3` here), the run first has
a terminal node first on the list after 6 steps, that node is `231` (`[1, 2, 0]`), its lower
bound is `62`, the full sequence `2314` (the one sequence beginning with `[1, 2, 0]`) has
makespan `62`, and no sequence has makespan below `62`; so `2314` is optimal. -/
theorem example_run (a b c : Fin 4 → ℝ) (ha : a = ![13, 7, 26, 2]) (hb : b = ![3, 12, 9, 6])
    (hc : c = ![12, 16, 7, 1]) :
    (∀ k < 6, ∀ P, (run (lowerBound a b c) k).head? = some P → ¬ IsTerminal P) ∧
    (run (lowerBound a b c) 6).head? = some [1, 2, 0] ∧
    lowerBound a b c [1, 2, 0] = 62 ∧
    (∀ σ : Equiv.Perm (Fin 4), BeginsWith σ [1, 2, 0] → makespan a b c σ = 62) ∧
    ∀ σ : Equiv.Perm (Fin 4), 62 ≤ makespan a b c σ := by sorry

end IgnallSchrage.Makespan
Source
Ignall and Schrage, Application of the branch and bound technique to some flow-shop scheduling problems, Oper. Res. 13 (1965), pp. 402–403, An Example (jobset, tree, LIST, "231 is optimal")
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