Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 403 — at least 12n(n+1)\frac12 n(n+1)21​n(n+1) and at most 1+n+n(n−1)+⋯+n!1+n+n(n-1)+\cdots+n!1+n+n(n−1)+⋯+n! nodes are created; at most n!n!n! are on the list

Proved
IgnallSchrage.Makespan.node_counts

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

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

Run the branch-and-bound procedure with the bound LBLBLB of p. 401 on n≥1n\ge1n≥1 jobs with real processing times. Write created(k)\mathrm{created}(k)created(k) for the number of nodes created in the first kkk steps (the root included) and run(k)\mathrm{run}(k)run(k) for the list after kkk steps.

  1. Whenever the first node of run(k)\mathrm{run}(k)run(k) is terminal,
created(k) ≥ 12 n(n+1).\mathrm{created}(k)\ \ge\ \tfrac12\,n(n+1).created(k) ≥ 21​n(n+1).
  1. For every kkk,
created(k) ≤ 1+n+n(n−1)+⋯+n!1!  =  ∑j=0n−1n!(n−j)!.\mathrm{created}(k)\ \le\ 1+n+n(n-1)+\cdots+\frac{n!}{1!} \;=\; \sum_{j=0}^{n-1}\frac{n!}{(n-j)!}.created(k) ≤ 1+n+n(n−1)+⋯+1!n!​=j=0∑n−1​(n−j)!n!​.
  1. For every kkk, the list run(k)\mathrm{run}(k)run(k) holds at most n!n!n! nodes.

These are the paper's best and worst cases for the effort of the procedure. Part 2 says the procedure never creates a node twice, so it creates at most every node of the tree down to depth n−1n-1n−1; together with the fact that every non-terminal step creates at least one node, it also shows that the procedure stops.

Formalization Note The paper writes 1+n+n(n−1)+⋯+n!1+n+n(n-1)+\cdots+n!1+n+n(n−1)+⋯+n!; its last term n!=n!/1!n!=n!/1!n!=n!/1! is the number of nodes at depth n−1n-1n−1, the depth at which the procedure stops. The minimum is stated as n(n+1)≤2 created(k)n(n+1)\le 2\,\mathrm{created}(k)n(n+1)≤2created(k) to avoid natural-number division. The paper's "in this case, 12n(n−1)+1\tfrac12 n(n-1)+121​n(n−1)+1 nodes will be on the list" for the minimal run is not formalized.

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

/-- p. 403, node counts of the branch-and-bound run with the bound `LB` of p. 401, for
`n ≥ 1` jobs:
(a) whenever the first node of the list is terminal, at least `½ n (n+1)` nodes have been
created;
(b) at every stage at most `1 + n + n(n-1) + ⋯ + n!/1! = ∑_{k<n} n!/(n-k)!` nodes have been
created;
(c) at every stage the list holds at most `n!` nodes. -/
theorem node_counts {n : ℕ} (hn : 1 ≤ n) (a b c : Fin n → ℝ) :
    (∀ k P, (run (lowerBound a b c) k).head? = some P → IsTerminal P →
      n * (n + 1) ≤ 2 * createdCount (lowerBound a b c) k) ∧
    (∀ k, createdCount (lowerBound a b c) k ≤ ∑ j ∈ Finset.range n, n.descFactorial j) ∧
    (∀ k, (run (lowerBound a b c) k).length ≤ n.factorial) := 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. 403, An Example, "In general, a minimum of ½n(n+1) nodes must be created ... The worst possible case would require the creation of all 1+n+n(n−1)+⋯+n! nodes while having n! of them on the list"
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