THEOREM (Gass–Saaty) — the basis entered at yields a minimum, and the least such is
ProvedGassSaaty.ParametricPivot.theorem_new_basis_interval_starts_at_lambdaBarConsider the parametric linear program of Gass and Saaty,
where the rows of are linearly independent and the problem is nondegenerate (no basic feasible solution has more than zero components). Let be a basis with basic feasible solution , and write for this basis. Assume:
- (Case A) the inequalities , , are consistent;
- is an index with attaining (so is finite);
- is a basic column with chosen by the simplex ratio test: for every with ;
- is the basis obtained by bringing in and taking out, and , with the -th basic direction, is its basic solution.
Then is the least for which minimizes the cost:
The paper's THEOREM reads: "The new basis yields a minimum for at least one value of . If is the entire set of values of for which the new basis yields a minimum, then ." The displayed statement contains both sentences: 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)). is the Lean variable t; is the real number with attaining the minimum in (5), which is the paper's finite case ("Assume then that is finite, , "). 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 are pivotColumn A B s i, 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.
import Mathlib import Definitions.Def_GassSaaty_ParametricPivot_Parametric open LinearOptimization
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
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.