Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (7) — after the pivot, αr′=−αs/yrs\alpha'_r = -\alpha_s/y_{rs}αr′​=−αs​/yrs​ and βr′=−βs/yrs\beta'_r = -\beta_s/y_{rs}βr′​=−βs​/yrs​

Proved
GassSaaty.ParametricPivot.eq7_leaving_column_coefficients

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

linear-programmingp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1parametric-programmingsimplex-method

Let BBB be a basis, sss a column index and r=B(ℓ)r = B(\ell)r=B(ℓ) a basic column with yrs>0y_{rs} > 0yrs​>0, where As=∑iyisAB(i)A_s = \sum_i y_{is} A_{B(i)}As​=∑i​yis​AB(i)​. Let B′B'B′ be obtained from BBB by replacing ArA_rAr​ with AsA_sAs​. Write αj+λβj\alpha_j + \lambda\beta_jαj​+λβj​ and αj′+λβj′\alpha'_j + \lambda\beta'_jαj′​+λβj′​ for the quantities zj−cjz_j - c_jzj​−cj​ of BBB and B′B'B′ under the cost d+λd′d + \lambda d'd+λd′. Then the leaving column rrr has, in the new basis,

αr′=−αsyrs,βr′=−βsyrs.(7)\alpha'_r = -\frac{\alpha_s}{y_{rs}}, \qquad \beta'_r = -\frac{\beta_s}{y_{rs}}. \qquad (7)αr′​=−yrs​αs​​,βr′​=−yrs​βs​​.(7)

These formulas are the step of the proof of the THEOREM that turns the sign of zr′−cr′z'_r - c'_rzr′​−cr′​ into the sign of zs−csz_s - c_szs​−cs​.

Formalization Note yrsy_{rs}yrs​ is pivotColumn A B s ℓ, the ℓ\ellℓ-th coordinate of B−1AsB^{-1}A_sB−1As​; the paper indexes it by the column rrr, Lean by the row ℓ\ellℓ with B(ℓ)=rB(\ell) = rB(ℓ)=r. Since α,β\alpha, \betaα,β are minus the platform's reduced costs, (7) is equivalently cˉr′=−cˉs/yrs\bar c'_r = -\bar c_s / y_{rs}cˉr′​=−cˉs​/yrs​ for both cost vectors. The hypothesis yrs>0y_{rs} > 0yrs​>0 is the paper's (6); only yrs≠0y_{rs} \neq 0yrs​=0 is used.

Preamble
import Mathlib
import Definitions.Def_GassSaaty_ParametricPivot_Parametric

open LinearOptimization
Formal statement
namespace GassSaaty.ParametricPivot

theorem eq7_leaving_column_coefficients {m n : ℕ}
    (A : Matrix (Fin m) (Fin n) ℝ) (d d' : Fin n → ℝ)
    (B B' : Fin m ↪ Fin n) (hB : IsStdBasis A B)
    (s : Fin n) (ℓ : Fin m) (hℓ : 0 < pivotColumn A B s ℓ)
    (hB'ℓ : B' ℓ = s) (hB'ne : ∀ i, i ≠ ℓ → B' i = B i) :
    alpha A d B' (B ℓ) = -alpha A d B s / pivotColumn A B s ℓ ∧
      beta A d' B' (B ℓ) = -beta A d' B s / pivotColumn A B s ℓ := by sorry

end GassSaaty.ParametricPivot
Source
Gass and Saaty, The computational algorithm for the parametric objective function, Naval Res. Logist. Quart. 2 (1955), p. 41, proof of the THEOREM, Eq. (7) (with (6))
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