Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

proof of THEOREM 1, p. 263 — x_B = B⁻¹(b − Ny) is integral; if also x_B ≥ 0, (x_B, y) is optimal for P2 with cost z₁ + φ

Proved
GomoryGroup.Rel.extend_group_solution

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

group-relaxationinteger-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let BBB be a nonsingular integer m×mm\times mm×m matrix, NNN an integer m×nm\times nm×n matrix, cB∈Rmc_B\in\mathbb R^mcB​∈Rm, cN∈Rnc_N\in\mathbb R^ncN​∈Rn, b∈Zmb\in\mathbb Z^mb∈Zm, and let y∈Nny\in\mathbb N^ny∈Nn be an optimal solution of the group problem (4). Then:

  1. xB=B−1(b−Ny)x_B=B^{-1}(b-Ny)xB​=B−1(b−Ny) is integral: there is k∈Zmk\in\mathbb Z^mk∈Zm with Bk=b−NyBk=b-NyBk=b−Ny;
  2. if moreover k≥0k\ge0k≥0, then (xB,y)=(k,y)(x_B,y)=(k,y)(xB​,y)=(k,y) is an optimal solution of P2, and its cost is
cBk+cNy=cBB−1b+∑i=1nci+m∗yi.c_Bk+c_Ny=c_BB^{-1}b+\sum_{i=1}^nc^*_{i+m}y_i .cB​k+cN​y=cB​B−1b+i=1∑n​ci+m∗​yi​.

This is the extension step of the proof of THEOREM 1: a solution of the group problem whose basic part comes out nonnegative is already an optimal integer solution.

Formalization Note The nonnegative integer vector kkk is turned into a vector of natural numbers coordinatewise. The paper's z1(b)z_1(b)z1​(b) appears as cBB−1bc_BB^{-1}bcB​B−1b, and its φ(b)\varphi(b)φ(b) as the objective value of the given optimal yyy.

Preamble
import Mathlib
import Definitions.Def_GomoryGroup_Rel_Setting
Formal statement
namespace GomoryGroup.Rel

open Matrix

theorem extend_group_solution {m n : ℕ} (B : Matrix (Fin m) (Fin m) ℤ)
    (N : Matrix (Fin m) (Fin n) ℤ) (cB : Fin m → ℝ) (cN : Fin n → ℝ) (b : Fin m → ℤ)
    (hB : B.det ≠ 0) :
    ∀ y : Fin n → ℕ, IsGroupOptimal B N cB cN b y →
      ∃ k : Fin m → ℤ, B *ᵥ k = b - N *ᵥ (fun j => (y j : ℤ)) ∧
        (0 ≤ k →
          IsIPOptimal B N cB cN b (fun i => (k i).toNat) y ∧
            ipCost cB cN (fun i => (k i).toNat) y =
              cB ⬝ᵥ ((Br B)⁻¹ *ᵥ (fun i => (b i : ℝ))) + groupObj B N cB cN y) := by sorry

end GomoryGroup.Rel
Source
Gomory, On the relation between integer and noninteger solutions to linear programs, Proc. Natl. Acad. Sci. USA 53 (1965), p. 263, after (7)
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