Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

THEOREM 1, p. 261 — for b ∈ K^B(l(D − 1)), z₂(b) = z₁(b) + φ^B(b), x(b) = (B⁻¹(b − Ny^B(b)), y^B(b)) is optimal, φ^B and y^B are periodic

Proved
GomoryGroup.Rel.theorem_1

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

group-relaxationinteger-programmingoptimal-basisp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1periodicity

Setting. Let A=(B,N)A=(B,N)A=(B,N) be an integer m×(m+n)m\times(m+n)m×(m+n) matrix rearranged so that B=(α1,…,αm)B=(\alpha_1,\dots,\alpha_m)B=(α1​,…,αm​) is a nonsingular basis and N=(αm+1,…,αm+n)N=(\alpha_{m+1},\dots,\alpha_{m+n})N=(αm+1​,…,αm+n​) (column jjj of NNN is αm+1+j\alpha_{m+1+j}αm+1+j​, j=0,…,n−1j=0,\dots,n-1j=0,…,n−1). Assume every unit vector of Zm\mathbb Z^mZm is a column of AAA (the paper's A=(A′,I)A=(A',I)A=(A′,I)). Let c=(cB,cN)c=(c_B,c_N)c=(cB​,cN​) be a real cost vector such that BBB is an optimal basis, i.e. every relative cost cm+1+j∗=cm+1+j−cBB−1αm+1+jc^*_{m+1+j}=c_{m+1+j}-c_BB^{-1}\alpha_{m+1+j}cm+1+j∗​=cm+1+j​−cB​B−1αm+1+j​ is ≤0\le0≤0. Let

l=max⁡i=m+1,…,m+n∥αi∥,D=∣det⁡B∣,l=\max_{i=m+1,\dots,m+n}\|\alpha_i\|,\qquad D=|\det B|,l=i=m+1,…,m+nmax​∥αi​∥,D=∣detB∣,

and let b∈Zmb\in\mathbb Z^mb∈Zm lie in the reduced cone KB(l(D−1))K^B(l(D-1))KB(l(D−1)). P1 is max⁡{cx:Ax=b,x≥0}\max\{cx: Ax=b, x\ge0\}max{cx:Ax=b,x≥0}, P2 is P1 with xxx integer, and (4) is the group problem max⁡∑ici+m∗yi\max\sum_i c^*_{i+m}y_imax∑i​ci+m∗​yi​ subject to ∑iαˉi+myi=bˉ\sum_i\bar\alpha_{i+m}y_i=\bar b∑i​αˉi+m​yi​=bˉ in M(I)/M(B)M(I)/M(B)M(I)/M(B), y∈Nny\in\mathbb N^ny∈Nn, whose value is φB(b)\varphi^B(b)φB(b).

Theorem 1. Then

  1. P1 and (4) attain their maxima z1(b)z_1(b)z1​(b) and φB(b)\varphi^B(b)φB(b);
  2. the maximum z2(b)z_2(b)z2​(b) of P2 is attained and
z2(b)=z1(b)+φB(b);(2)z_2(b)=z_1(b)+\varphi^B(b);\qquad (2)z2​(b)=z1​(b)+φB(b);(2)
  1. (4) has an optimal solution yB(b)y^B(b)yB(b) with ∑iyiB(b)≤D−1\sum_i y^B_i(b)\le D-1∑i​yiB​(b)≤D−1;
  2. for every such optimal solution y=yB(b)y=y^B(b)y=yB(b), the vector
x(b)=(xB(b),xN(b))=(B−1(b−NyB(b)), yB(b))(3)x(b)=(x_B(b),x_N(b))=(B^{-1}(b-Ny^B(b)),\,y^B(b))\qquad (3)x(b)=(xB​(b),xN​(b))=(B−1(b−NyB(b)),yB(b))(3)

is integral, nonnegative and optimal for P2; 5. (4) is mmm-periodic in bbb: for i=1,…,mi=1,\dots,mi=1,…,m, (4) with right-hand side b+αib+\alpha_ib+αi​ has the same feasible solutions as with bbb, so φB(b+αi)=φB(b)\varphi^B(b+\alpha_i)=\varphi^B(b)φB(b+αi​)=φB(b) and yB(b+αi)=yB(b)y^B(b+\alpha_i)=y^B(b)yB(b+αi​)=yB(b).

The theorem says that for right-hand sides deep inside the cone of the LP-optimal basis, the integer program is solved by the LP solution corrected by a problem over a finite abelian group, and the correction depends only on bbb modulo the lattice of the basis.

Formalization Note The standing assumptions of pp. 260–262 (det⁡B≠0\det B\neq0detB=0, A=(A′,I)A=(A',I)A=(A′,I), BBB optimal) are hypotheses. Optimal values are greatest elements of the sets of objective values; parts 1–3 assert that they exist. yB(b)y^B(b)yB(b) is the optimal solution of (4) that the LEMMA and the dynamic program of p. 264 produce, which has ∑iyi≤D−1\sum_i y_i\le D-1∑i​yi​≤D−1; part 4 is stated for every optimal yyy with that bound, because an arbitrary optimal yyy (with zero-cost cycles) can make xBx_BxB​ negative. The group problem is written as b−Ny∈BZmb-Ny\in B\mathbb Z^mb−Ny∈BZm; xB=B−1(b−Ny)x_B=B^{-1}(b-Ny)xB​=B−1(b−Ny) is stated as BxB=b−NyBx_B=b-NyBxB​=b−Ny with xB∈Nmx_B\in\mathbb N^mxB​∈Nm. The norm is Euclidean, and KB(d)K^B(d)KB(d) is the set of points whose closed ball of radius ddd lies in KB={β:B−1β≥0}K^B=\{\beta:B^{-1}\beta\ge0\}KB={β:B−1β≥0}. D−1D-1D−1 is natural-number subtraction (D≥1D\ge1D≥1).

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

open Matrix

theorem theorem_1 {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) (hI : HasUnitColumns B N) (hopt : ∀ j, reducedCost B N cB cN j ≤ 0)
    (hb : (fun i => (b i : ℝ)) ∈ reducedCone B (ell N * ((detD B : ℝ) - 1))) :
    -- the optimal values z₁(b) of P1 and φ^B(b) of (4) exist
    ((∃ z₁ : ℝ, IsGreatest (lpValues B N cB cN (fun i => (b i : ℝ))) z₁) ∧
      (∃ φ : ℝ, IsGreatest (groupValues B N cB cN b) φ)) ∧
    -- (2): z₂(b) = z₁(b) + φ^B(b)
    (∀ z₁ φ : ℝ, IsGreatest (lpValues B N cB cN (fun i => (b i : ℝ))) z₁ →
      IsGreatest (groupValues B N cB cN b) φ → IsGreatest (ipValues B N cB cN b) (z₁ + φ)) ∧
    -- y^B(b): an optimal solution of (4) with Σ y_i ≤ D − 1
    (∃ y : Fin n → ℕ, IsGroupOptimal B N cB cN b y ∧ ∑ j, y j ≤ detD B - 1) ∧
    -- (3): (B⁻¹(b − N y), y) is integral, nonnegative and optimal for P2
    (∀ y : Fin n → ℕ, IsGroupOptimal B N cB cN b y → ∑ j, y j ≤ detD B - 1 →
      ∃ xB : Fin m → ℕ, B *ᵥ (fun i => (xB i : ℤ)) = b - N *ᵥ (fun j => (y j : ℤ)) ∧
        IsIPOptimal B N cB cN b xB y) ∧
    -- m-periodicity: (4) for b + α_i is (4) for b
    (∀ i : Fin m,
      (∀ y : Fin n → ℕ, IsGroupFeasible B N (b + fun r => B r i) y ↔ IsGroupFeasible B N b y) ∧
        groupValues B N cB cN (b + fun r => B r i) = groupValues B N cB cN b) := 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. 261, THEOREM 1, (2), (3); p. 262, (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