Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

pp. 854–855, step (4) — no profitable column makes the basic cutting solution optimal

Proved
GilmoreGomory61.CuttingStock.step4_current_solution_is_minimum

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

column-generationcutting-stockknapsackp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1simplex-method

Let BBB be the bordered matrix of a feasible cutting-stock basis, Nˉ=B−1N′\bar N=B^{-1}N'Nˉ=B−1N′, and bib_ibi​ the noninitial entries in the first row of B−1B^{-1}B−1. Suppose every nonbasic surplus column has bi≥0b_i\ge0bi​≥0, and no stock length LjL_jLj​ of cost cjc_jcj​ admits a nonnegative integer cutting pattern with

∑iℓiai≤Lj,∑ibiai>cj.\sum_i\ell_i a_i\le L_j,\qquad \sum_i b_i a_i>c_j.i∑​ℓi​ai​≤Lj​,i∑​bi​ai​>cj​.

Then the current basic solution satisfies all demand equations, has cost equal to the first entry of Nˉ\bar NNˉ, and is a minimum of the real cutting-stock linear program: every feasible solution using any finitely many activities and surplus columns has cost at least that value.

This is the stopping test of routine step (4). It certifies optimality against the full activity set, even though the current tableau contains only mmm basic columns.

Formalization Note The paper's one-based (i+1)(i+1)(i+1)st bordered row is Lean's demand coordinate iii. Only nonbasic surplus columns are tested. The theorem needs neither positive piece lengths nor nondegeneracy; its conclusion compares with every feasible finitely supported solution.

Preamble
import Mathlib
import Definitions.Def_GilmoreGomory61_CuttingStock_Basis
Formal statement
namespace GilmoreGomory61.CuttingStock

/-- Routine step (4): no improving surplus or cutting pattern makes the current basis globally optimal. -/
theorem step4_current_solution_is_minimum {m k : ℕ} (I : Instance m k)
    (β : Fin m → Col I) (hβ : IsFeasibleBasis I β)
    (h3 : ∀ i, Sum.inr i ∉ Set.range β → 0 ≤ mult I β i)
    (h4 : ∀ j : Fin k, ¬ ∃ a : Fin m → ℕ,
      patLen I a ≤ I.L j ∧ I.c j < ∑ i, mult I β i * (a i : ℝ)) :
    Feasible I (basicSol I β) ∧
    cost I (basicSol I β) = Nbar I β (Sum.inl ()) ∧
    ∀ z : Col I →₀ ℝ, Feasible I z → Nbar I β (Sum.inl ()) ≤ cost I z := by sorry

end GilmoreGomory61.CuttingStock
Source
Gilmore and Gomory, A linear programming approach to the cutting-stock problem, Oper. Res. 9(6) (1961), pp. 854–855, step (4)
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