The two-phase simplex technique terminates with a correct outcome
ProvedDantzigSimplex.Technique.simplex_technique_terminatesFor the equality-form maximization problem (5)–(6), assume , Dantzig's independence of every among , an initial strictly positive Phase I representation of a fixed reference point , and general position of . Run any sequence of the paper's admissible Phase I pivots, hand-off (39), and Phase II pivots. There is no infinite sequence of these transitions. Every state with no outgoing transition has one of the following outcomes:
- It is in Phase I with for all , and the original problem is infeasible.
- It is in Phase II with an improving column such that and for all basic ; feasible objective values are unbounded above: for every , some feasible has .
- It is in Phase II with for all , and its current weights attain the maximum objective over all feasible weights.
This states the full two-phase outcome independent of the choice of an admissible entering column or minimizing leaving index. Formalization Note The general-position assumption is added because the printed Phase I argument requires strict positive basic weights after each pivot. Termination means absence of an infinite admissible run; infeasibility, unboundedness, and optimality concern the original linear program, not just a tableau.
import Mathlib import Definitions.Def_DantzigSimplex_Technique_Process
namespace DantzigSimplex.Technique
/-- Sections 1--2: the complete Phase I/II procedure, (44)--(45) then (17)--(18). -/
theorem simplex_technique_terminates {m n : ℕ} (p : Problem m n)
(hm : 1 ≤ m) (hmn : m ≤ n) (hnd : p.Nondegenerate)
(G : Fin m → ℝ) (hgp : GeneralPosition p G)
(initial : PhaseIState p G) :
(¬ ∃ f : ℕ → SimplexState p G,
∀ k, SimplexStep (f k) (f (k + 1))) ∧
(∀ s : SimplexState p G, Terminal s →
(∃ u : PhaseIState p G, s = Sum.inl u ∧
(∀ j, u.frame.y0 j ≤ 0) ∧ (∀ w, ¬ p.Feasible w)) ∨
(∃ u : PhaseIIState p, s = Sum.inr u ∧
∃ j : Fin n, p.cost j > u.frame.z j ∧
(∀ i ∈ u.frame.B, u.frame.x i j ≤ 0) ∧ p.Unbounded) ∨
(∃ u : PhaseIIState p, s = Sum.inr u ∧
(∀ j, p.cost j ≤ u.frame.z j) ∧ p.MaximumFeasible u.weight)) := by sorry
end DantzigSimplex.Technique
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.