Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Basic solutions of standard-form polyhedra via basis columns

Proved
LinearOptimization.lp_standard_form_basic_iff

by Shuze Chen · Aug 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

linear-programmingpolyhedrasimplex

(Theorem 2.4) Consider the constraints Ax=bAx = bAx=b and x≥0x \ge 0x≥0 and assume that the m×nm \times nm×n matrix AAA has linearly independent rows. A vector x∈Rnx \in \mathbb{R}^nx∈Rn is a basic solution if and only if we have Ax=bAx = bAx=b, and there exist indices B(1),…,B(m)B(1), \dots, B(m)B(1),…,B(m) such that:

  • (a) The columns AB(1),…,AB(m)A_{B(1)}, \dots, A_{B(m)}AB(1)​,…,AB(m)​ are linearly independent;
  • (b) If i≠B(1),…,B(m)i \ne B(1), \dots, B(m)i=B(1),…,B(m), then xi=0x_i = 0xi​=0.
Preamble
import Mathlib.LinearAlgebra.LinearIndependent.Defs
import Definitions.Def_BasicSolution


open Matrix

/-- **B&T Theorem 2.4 (p. 53).** Characterization of basic solutions of the
standard-form system: under the book's explicit hypothesis that the rows of
`A` are linearly independent, `x` is a basic solution iff `Ax = b` and the
nonzero coordinates of `x` live inside some basis `B` (injective basic
indices with linearly independent basic columns). -/
Formal statement
theorem LinearOptimization.lp_standard_form_basic_iff {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ)
    (b : Fin m → ℝ) (hA : LinearIndependent ℝ (fun i => A i))
    (x : Fin n → ℝ) :
    IsBasicSolution (stdFormSystem A b) x ↔
      A.mulVec x = b ∧ ∃ B : Fin m ↪ Fin n, IsStdBasis A B ∧
        ∀ j, j ∉ Set.range B → x j = 0 := by
  sorry
Source
Bertsimas & Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, Theorem 2.4, p. 53

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