Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

THEOREM (Gass–Saaty) — the basis entered at λˉ\bar\lambdaλˉ yields a minimum, and the least such λ\lambdaλ is λˉ\bar\lambdaλˉ

Proved
GassSaaty.ParametricPivot.theorem_new_basis_interval_starts_at_lambdaBar

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

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

Consider the parametric linear program of Gass and Saaty,

minimize ∑j=1n(dj+λdj′) xjsubject to xj≥0,  ∑j=1naijxj=ai0 (i=1,…,m),\text{minimize } \sum_{j=1}^n (d_j + \lambda d'_j)\, x_j \quad \text{subject to } x_j \ge 0,\ \ \sum_{j=1}^n a_{ij} x_j = a_{i0}\ (i = 1, \dots, m),minimize j=1∑n​(dj​+λdj′​)xj​subject to xj​≥0,  j=1∑n​aij​xj​=ai0​ (i=1,…,m),

where the rows of A=(aij)A = (a_{ij})A=(aij​) are linearly independent and the problem is nondegenerate (no basic feasible solution has more than n−mn - mn−m zero components). Let BBB be a basis with basic feasible solution xxx, and write zj−cj=αj+λβjz_j - c_j = \alpha_j + \lambda\beta_jzj​−cj​=αj​+λβj​ for this basis. Assume:

  1. (Case A) the inequalities αj+λβj≤0\alpha_j + \lambda\beta_j \le 0αj​+λβj​≤0, j=1,…,nj = 1, \dots, nj=1,…,n, are consistent;
  2. sss is an index with βs>0\beta_s > 0βs​>0 attaining λˉ=min⁡βj>0(−αj/βj)=−αs/βs\bar\lambda = \min_{\beta_j > 0}(-\alpha_j/\beta_j) = -\alpha_s/\beta_sλˉ=minβj​>0​(−αj​/βj​)=−αs​/βs​ (so λˉ\bar\lambdaλˉ is finite);
  3. r=B(ℓ)r = B(\ell)r=B(ℓ) is a basic column with yrs>0y_{rs} > 0yrs​>0 chosen by the simplex ratio test: xr/yrs≤xB(i)/yisx_r / y_{rs} \le x_{B(i)} / y_{is}xr​/yrs​≤xB(i)​/yis​ for every iii with yis>0y_{is} > 0yis​>0;
  4. B′B'B′ is the basis obtained by bringing AsA_sAs​ in and taking ArA_rAr​ out, and x′=x+(xr/yrs) d(s)x' = x + (x_r / y_{rs})\, d^{(s)}x′=x+(xr​/yrs​)d(s), with d(s)d^{(s)}d(s) the sss-th basic direction, is its basic solution.

Then λˉ\bar\lambdaλˉ is the least λ\lambdaλ for which x′x'x′ minimizes the cost:

λˉ=min⁡{λ∈R:x′ minimizes (d+λd′)⊤x over {x:Ax=b, x≥0}}.\bar\lambda = \min \big\{ \lambda \in \mathbb R : x' \text{ minimizes } (d + \lambda d')^{\top} x \text{ over } \{x : Ax = b,\ x \ge 0\} \big\}.λˉ=min{λ∈R:x′ minimizes (d+λd′)⊤x over {x:Ax=b, x≥0}}.

The paper's THEOREM reads: "The new basis yields a minimum for at least one value of λ\lambdaλ. If λ‾′≤λ≤λˉ′\underline\lambda' \le \lambda \le \bar\lambda'λ​′≤λ≤λˉ′ is the entire set of values of λ\lambdaλ for which the new basis yields a minimum, then λ‾′=λˉ\underline\lambda' = \bar\lambdaλ​′=λˉ." The displayed statement contains both sentences: λˉ\bar\lambdaλˉ belongs to the set, and nothing smaller does. This is what makes the parametric procedure move from one interval of optimality to the next without a gap: the new basis takes over exactly where the old one stops.

Formalization Note "Yields a minimum" is IsLpOptimal of the new basic solution over the whole feasible set; "least" is Mathlib's IsLeast, so the statement does not presuppose that the set is an interval (that is the milestone on (3)–(5)). λ\lambdaλ is the Lean variable t; λˉ\bar\lambdaλˉ is the real number −αs/βs-\alpha_s/\beta_s−αs​/βs​ with sss attaining the minimum in (5), which is the paper's finite case ("Assume then that λˉ\bar\lambdaλˉ is finite, λˉ=−αs/βs\bar\lambda = -\alpha_s/\beta_sλˉ=−αs​/βs​, βs>0\beta_s > 0βs​>0"). Ties in the minimum and in the ratio test are allowed. Nondegeneracy is stated for every basic feasible solution, as in the paper's standing assumption; linear independence of the rows is implied by the existence of a basis and is required by the platform's criteria. The coordinates yisy_{is}yis​ are pivotColumn A B s i, α,β\alpha, \betaα,β are the negatives of the platform's reduced costs, and indices are 0-based. The proof printed in the paper contains a slip in (8) (see the corresponding milestone); the theorem itself is correct.

Preamble
import Mathlib
import Definitions.Def_GassSaaty_ParametricPivot_Parametric

open LinearOptimization
Formal statement
namespace GassSaaty.ParametricPivot

theorem theorem_new_basis_interval_starts_at_lambdaBar {m n : ℕ}
    (A : Matrix (Fin m) (Fin n) ℝ) (b : Fin m → ℝ) (d d' : Fin n → ℝ)
    (hA : LinearIndependent ℝ (fun i => A i))
    (hnd : ∀ y, IsBasicFeasibleSolution (stdFormSystem A b) y →
      ¬ IsStdDegenerateBasicSolution A b y)
    (B B' : Fin m ↪ Fin n) (x : Fin n → ℝ) (hx : IsSimplexState A b B x)
    (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 ℓ)
    (hratio : ∀ i, 0 < pivotColumn A B s i →
      x (B ℓ) / pivotColumn A B s ℓ ≤ x (B i) / pivotColumn A B s i)
    (hB'ℓ : B' ℓ = s) (hB'ne : ∀ i, i ≠ ℓ → B' i = B i) :
    IsLeast
      {t : ℝ | IsLpOptimal (d + t • d') (stdPolyhedron A b)
        (x + (x (B ℓ) / pivotColumn A B s ℓ) • basicDirection A B s)}
      (-alpha A d B s / beta A d' 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, THEOREM (with the standing assumptions of Section 2, p. 40, and Eqs. (5), (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