Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 402 — branch and bound with the bound of p. 401 stops, and its sequence minimizes the makespan

Proved
IgnallSchrage.Makespan.branch_and_bound_optimal

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

branch-and-boundflow-shopoptimalityp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling

Let n≥1n\ge1n≥1 jobs have real processing times ai,bi,cia_i,b_i,c_iai​,bi​,ci​ on machines A,B,CA,B,CA,B,C, and run the branch-and-bound procedure of p. 402 with the lower bound LBLBLB of p. 401. Then:

  1. Termination. For some number of steps kkk, the first node of the list run(k)\mathrm{run}(k)run(k) is terminal (has scheduled n−1n-1n−1 jobs).
  2. Optimality. Whenever the first node PPP of run(k)\mathrm{run}(k)run(k) is terminal, the full sequence σ∗\sigma^*σ∗ that begins with PPP (that is, PPP followed by its one unscheduled job) satisfies
makespan(σ∗) ≤ makespan(σ)for every permutation σ of the n jobs.\mathrm{makespan}(\sigma^*)\ \le\ \mathrm{makespan}(\sigma)\qquad\text{for every permutation }\sigma\text{ of the }n\text{ jobs.}makespan(σ∗) ≤ makespan(σ)for every permutation σ of the n jobs.

This is the paper's stopping rule: "The first time that a node that has scheduled all nnn jobs is first on the list, the problem is solved: that node's sequence is an optimal one." It is the correctness theorem of the Ignall–Schrage algorithm for the three-machine permutation flow shop.

Formalization Note "The problem is solved" is made explicit as termination (part 1) together with optimality over all n!n!n! permutations (part 2), not only over the nodes the run created. A node is terminal at depth n−1n-1n−1, whose sequence is completed by the forced last job (see the procedure's definition for why the paper forces this reading). Part 2 is stated for every kkk with a terminal first node, not only the first: once the first node is terminal the procedure leaves the list unchanged. The children of a node are inserted one at a time in increasing job index with the paper's tie rule, but the statement holds for this deterministic rule and its proof does not rely on how ties are broken. No sign condition on processing times is assumed.

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

/-- p. 402, stopping rule, with the bound of p. 401: for `n ≥ 1` jobs and any real processing
times, (i) the branch-and-bound run reaches a list whose first node is terminal, and (ii)
whenever the first node `P` of the list is terminal, `P` is the beginning of a full sequence
`σ*` (namely `P` followed by its one unscheduled job) whose makespan is at most the makespan of
every one of the `n!` sequences. -/
theorem branch_and_bound_optimal {n : ℕ} (hn : 1 ≤ n) (a b c : Fin n → ℝ) :
    (∃ k P, (run (lowerBound a b c) k).head? = some P ∧ IsTerminal P) ∧
    ∀ k P, (run (lowerBound a b c) k).head? = some P → IsTerminal P →
      ∃ σstar : Equiv.Perm (Fin n), BeginsWith σstar P ∧
        ∀ σ : Equiv.Perm (Fin n), makespan a b c σstar ≤ 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), p. 402, "The Branch-and-Bound Technique", stopping rule, with the lower bound of p. 401
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