Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 1, conditions (17)–(18) — Phase II termination

Proved
DantzigSimplex.Technique.section_1_termination

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

linear-programmingp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1simplex-methodtermination

Assume 1≤m≤n1\le m\le n1≤m≤n and Dantzig's nondegeneracy condition. For the strictly positive mmm-column Phase II states and the pivots determined by (11), (13), and (16), there is no infinite sequence of pivots. At any state with no admissible pivot, either some improving column jjj has xij≤0x_{ij}\le0xij​≤0 for every basic index iii, as in (17), or cj≤zjc_j\le z_jcj​≤zj​ for every column jjj, as in (18):

(∃j: cj>zj ∧ ∀i∈B, xij≤0)∨(∀j, cj≤zj).\bigl(\exists j:\ c_j>z_j\ \land\ \forall i\in B,\ x_{ij}\le0\bigr) \quad\lor\quad \bigl(\forall j,\ c_j\le z_j\bigr).(∃j: cj​>zj​ ∧ ∀i∈B, xij​≤0)∨(∀j, cj​≤zj​).

Formalization Note The entering index in (17) must also satisfy (11); otherwise a basic column could make the condition misleading.

Preamble
import Mathlib
import Definitions.Def_DantzigSimplex_Technique_Process
Formal statement
namespace DantzigSimplex.Technique

/-- Section 1, pp. 342--343: no basis can recur and terminal states satisfy (17) or (18). -/
theorem section_1_termination {m n : ℕ} (p : Problem m n)
    (hm : 1 ≤ m) (hmn : m ≤ n) (hnd : p.Nondegenerate) :
    (¬ ∃ f : ℕ → PhaseIIState p, ∀ k, PhaseIIStep (f k) (f (k + 1))) ∧
    (∀ s : PhaseIIState p,
      (¬ ∃ t : PhaseIIState p, PhaseIIStep s t) →
      (∃ j : Fin n, p.cost j > s.frame.z j ∧
        (∀ i ∈ s.frame.B, s.frame.x i j ≤ 0)) ∨
      (∀ j, p.cost j ≤ s.frame.z j)) := by sorry

end DantzigSimplex.Technique
Source
Dantzig, Maximization of a Linear Function of Variables Subject to Linear Inequalities, in Koopmans (ed.), Activity Analysis of Production and Allocation, Wiley 1951, Ch. XXI, pp. 342–343, Section 1, conditions (17)–(18)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 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