Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 2, conditions (44)–(45) — Phase I termination

Proved
DantzigSimplex.Technique.section_2_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, every mmm among P0,P1,…,PnP_0,P_1,\ldots,P_nP0​,P1​,…,Pn​ are independent, and the fixed reference point GGG is in general position with P0P_0P0​ and the columns. Fix an initial Phase I state with positive basic weights. Then there is no infinite sequence of the Phase I ratio-test pivots (36)–(41). Every Phase I state admitting no further Phase I pivot has one of two outcomes:

  1. y0j≤0y_{0j}\le0y0j​≤0 for all jjj, and the original linear program has no feasible solution.
  2. Some jjj has y0j>0y_{0j}>0y0j​>0 and yij≤0y_{ij}\le0yij​≤0 for all current basic indices iii; the weights from (39) form a strictly positive mmm-column Phase II state.

This gives the complete termination and hand-off assertion of Section 2. Formalization Note The general-position hypothesis is additional to the printed assumptions: it rules out tied ratio minima that otherwise leave a zero weight and invalidate the stated increase of ρ\rhoρ. The printed condition (45) ranges over mmm indices, but the Phase I basis has m−1m-1m−1; the quantifier is over the current basis.

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

/-- Section 2, pp. 346--347: Phase I has no infinite pivot run and terminates in (44) or (45). -/
theorem section_2_termination {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 : ℕ → PhaseIState p G, ∀ k, PhaseIStep (f k) (f (k + 1))) ∧
    (∀ s : PhaseIState p G,
      (¬ ∃ t : PhaseIState p G, PhaseIStep s t) →
      ((∀ j, s.frame.y0 j ≤ 0) ∧ (∀ w, ¬ p.Feasible w)) ∨
      (∃ j : Fin n, 0 < s.frame.y0 j ∧
        (∀ i ∈ s.frame.S, s.frame.y i j ≤ 0) ∧
        ∃ t : PhaseIIState p, HandOff s t)) := 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. 346–347, Section 2, Eqs. (36)–(45)
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