Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 852, (4)–(5) — the entering-column pricing criterion

Proved
GilmoreGomory61.CuttingStock.pricing_criterion_4_5

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

cutting-stockp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1pricingsimplex-method

Let AAA be the invertible coefficient matrix of a current basic feasible solution, CCC its cost row, and PPP a nonbasic activity or surplus column of cost ccc. Let UUU be the unique vector satisfying

AU=P.A U=P.AU=P.

If a strictly cheaper feasible solution can be formed using only the basic columns and PPP, then C⋅U>cC\cdot U>cC⋅U>c. Conversely, if every current basic variable is strictly positive, C⋅U>cC\cdot U>cC⋅U>c yields such an improved solution.

This is the paper's test (4)–(5), extended to surplus columns as in routine step (2).

Formalization Note The paper later treats a zero minimum ratio as degeneracy (p. 855); strict basic positivity is therefore stated on the sufficient direction. Lean indexes the mmm coefficient rows from zero.

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

/-- The entering-column criterion (4)–(5), with strict basic positivity for its sufficiency. -/
theorem pricing_criterion_4_5 {m k : ℕ} (I : Instance m k)
    (β : Fin m → Col I) (hβ : IsFeasibleBasis I β)
    (j : Col I) (hj : j ∉ Set.range β) (U : Fin m → ℝ)
    (hU : Matrix.mulVec (basisMat I β) U = colVec I j) :
    (Improves I β j → colCost I j < ∑ r, costRow I β r * U r) ∧
    (IsNondegenerate I β →
      colCost I j < ∑ r, costRow I β r * U r → Improves I β j) := by sorry

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