Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eqs. (3)–(5) — when (3) is consistent, αj+λβj≤0\alpha_j + \lambda\beta_j \le 0αj​+λβj​≤0 for all jjj iff λ‾≤λ≤λˉ\underline\lambda \le \lambda \le \bar\lambdaλ​≤λ≤λˉ

Proved
GassSaaty.ParametricPivot.ineq3_iff_interval

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 and αj,βj\alpha_j, \beta_jαj​,βj​ (j=1,…,nj = 1, \dots, nj=1,…,n) the coefficients of zj−cj=αj+λβjz_j - c_j = \alpha_j + \lambda\beta_jzj​−cj​=αj​+λβj​ for the parametric cost d+λd′d + \lambda d'd+λd′. Let

λ‾=max⁡βj<0(−αjβj) ( −∞ if all βj≥0),λˉ=min⁡βj>0(−αjβj) ( +∞ if all βj≤0).(5)\underline\lambda = \max_{\beta_j < 0}\Big(-\frac{\alpha_j}{\beta_j}\Big) \ (\,-\infty \text{ if all } \beta_j \ge 0), \qquad \bar\lambda = \min_{\beta_j > 0}\Big(-\frac{\alpha_j}{\beta_j}\Big) \ (\,+\infty \text{ if all } \beta_j \le 0). \qquad (5)λ​=βj​<0max​(−βj​αj​​) (−∞ if all βj​≥0),λˉ=βj​>0min​(−βj​αj​​) (+∞ if all βj​≤0).(5)

Suppose the inequalities (3) are consistent, that is, some λ0\lambda_0λ0​ satisfies αj+λ0βj≤0\alpha_j + \lambda_0 \beta_j \le 0αj​+λ0​βj​≤0 for all jjj (Case A). Then for every real λ\lambdaλ,

αj+λβj≤0  (j=1,…,n)  ⟺  λ‾≤λ≤λˉ.(4)\alpha_j + \lambda\beta_j \le 0 \ \ (j = 1,\dots,n) \iff \underline\lambda \le \lambda \le \bar\lambda. \qquad (4)αj​+λβj​≤0  (j=1,…,n)⟺λ​≤λ≤λˉ.(4)

This is the "i.e." of p. 40: the set of λ\lambdaλ satisfying (3) is the closed interval (4) with endpoints (5). The consistency hypothesis is needed: an index with βj=0\beta_j = 0βj​=0 and αj>0\alpha_j > 0αj​>0 makes (3) empty while (5) is unaffected.

Formalization Note λ‾\underline\lambdaλ​ is lamLower in WithBot ℝ and λˉ\bar\lambdaλˉ is lamBar in WithTop ℝ; the comparisons are made after casting λ\lambdaλ into these types, so the infinite cases of (5) are represented exactly. The statement holds for any basis indices and needs no feasibility: it is a fact about the numbers αj,βj\alpha_j, \beta_jαj​,βj​.

Preamble
import Mathlib
import Definitions.Def_GassSaaty_ParametricPivot_Parametric

open LinearOptimization
Formal statement
namespace GassSaaty.ParametricPivot

theorem ineq3_iff_interval {m n : ℕ}
    (A : Matrix (Fin m) (Fin n) ℝ) (d d' : Fin n → ℝ) (B : Fin m ↪ Fin n)
    (hcons : ∃ t₀ : ℝ, ∀ j, alpha A d B j + t₀ * beta A d' B j ≤ 0) (t : ℝ) :
    (∀ j, alpha A d B j + t * beta A d' B j ≤ 0) ↔
      (lamLower A d d' B ≤ (t : WithBot ℝ) ∧ (t : WithTop ℝ) ≤ lamBar A d d' B) := by sorry

end GassSaaty.ParametricPivot
Source
Gass and Saaty, The computational algorithm for the parametric objective function, Naval Res. Logist. Quart. 2 (1955), p. 40, Section 2, Case A, Eqs. (3), (4), (5)
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