Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of the THEOREM, [1] — λˉ\bar\lambdaλˉ satisfies (3') for the new basis

Proved
GassSaaty.ParametricPivot.lambdaBar_satisfies_ineq3_prime

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, αj,βj\alpha_j, \beta_jαj​,βj​ its coefficients of zj−cj=αj+λβjz_j - c_j = \alpha_j + \lambda\beta_jzj​−cj​=αj​+λβj​, and suppose (Case A) that the inequalities (3), αj+λβj≤0\alpha_j + \lambda\beta_j \le 0αj​+λβj​≤0 for all jjj, are consistent. Let sss be an index with βs>0\beta_s > 0βs​>0 attaining

λˉ=min⁡βj>0(−αjβj)=−αsβs.\bar\lambda = \min_{\beta_j > 0}\Big(-\frac{\alpha_j}{\beta_j}\Big) = -\frac{\alpha_s}{\beta_s}.λˉ=βj​>0min​(−βj​αj​​)=−βs​αs​​.

Let r=B(ℓ)r = B(\ell)r=B(ℓ) be a basic column with yrs>0y_{rs} > 0yrs​>0, where yrsy_{rs}yrs​ is the coefficient of ArA_rAr​ in the expansion of AsA_sAs​ in the basis, and let B′B'B′ be the basis obtained by bringing AsA_sAs​ in and taking ArA_rAr​ out. Write αj′+λβj′\alpha'_j + \lambda\beta'_jαj′​+λβj′​ for the quantities zj−cjz_j - c_jzj​−cj​ of B′B'B′. Then λ=λˉ\lambda = \bar\lambdaλ=λˉ satisfies

αj′+λˉ βj′≤0(j=1,…,n).(3′)\alpha'_j + \bar\lambda\,\beta'_j \le 0 \qquad (j = 1, \dots, n). \qquad (3')αj′​+λˉβj′​≤0(j=1,…,n).(3′)

In the paper: at λ=λˉ\lambda = \bar\lambdaλ=λˉ the entering column has zs−cs=αs+λˉβs=0z_s - c_s = \alpha_s + \bar\lambda\beta_s = 0zs​−cs​=αs​+λˉβs​=0, and "by [1], the new basis will still be a minimum for λ=λˉ\lambda = \bar\lambdaλ=λˉ, i.e., λˉ\bar\lambdaλˉ satisfies (3')". Combined with the optimality criterion this gives the first sentence of the THEOREM.

Formalization Note The conclusion is stated as the inequalities (3'), not as optimality; optimality at λˉ\bar\lambdaλˉ follows with the referenced optimality criterion and feasibility of the new basic solution. λˉ\bar\lambdaλˉ is written as the real number −αs/βs-\alpha_s/\beta_s−αs​/βs​ with sss attaining the minimum (finite case of (5)). The ratio test, feasibility and nondegeneracy are not needed for this step and are not assumed; only yrs>0y_{rs} > 0yrs​>0 (0 < pivotColumn A B s ℓ), which makes B′B'B′ a basis. r=B(ℓ)r = B(\ell)r=B(ℓ) is the column index of the leaving vector and ℓ\ellℓ its row.

Preamble
import Mathlib
import Definitions.Def_GassSaaty_ParametricPivot_Parametric

open LinearOptimization
Formal statement
namespace GassSaaty.ParametricPivot

theorem lambdaBar_satisfies_ineq3_prime {m n : ℕ}
    (A : Matrix (Fin m) (Fin n) ℝ) (d d' : Fin n → ℝ)
    (B B' : Fin m ↪ Fin n) (hB : IsStdBasis A B)
    (hcons : ∃ t₀ : ℝ, ∀ j, alpha A d B j + t₀ * beta A d' B j ≤ 0)
    (s : Fin n) (hβs : 0 < beta A d' B s)
    (hsmin : ∀ j, 0 < beta A d' B j →
      -alpha A d B s / beta A d' B s ≤ -alpha A d B j / beta A d' B j)
    (ℓ : Fin m) (hℓ : 0 < pivotColumn A B s ℓ)
    (hB'ℓ : B' ℓ = s) (hB'ne : ∀ i, i ≠ ℓ → B' i = B i) :
    ∀ j, alpha A d B' j + (-alpha A d B s / beta A d' B s) * beta A d' B' j ≤ 0 := 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. (3') ("By [1], the new basis will still be a minimum for λ = λ̄")
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