Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 10.6 — strictly complementary feasible solutions

Open
VanderbeiLP.StrictComp.strictly_complementary_feasible

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

dualitylinear-programmingp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1strict-complementarity

Consider the linear program with explicit slacks

maximize cTx  subject to Ax+w=b, x,w≥0(10.9)\text{maximize } c^T x \ \text{ subject to } Ax + w = b,\ x, w \ge 0 \qquad (10.9)maximize cTx  subject to Ax+w=b, x,w≥0(10.9)

and its dual

minimize bTy  subject to ATy−z=c, y,z≥0,(10.10)\text{minimize } b^T y \ \text{ subject to } A^T y - z = c,\ y, z \ge 0, \qquad (10.10)minimize bTy  subject to ATy−z=c, y,z≥0,(10.10)

with A∈Rm×nA \in \mathbb{R}^{m \times n}A∈Rm×n, b∈Rmb \in \mathbb{R}^mb∈Rm, c∈Rnc \in \mathbb{R}^nc∈Rn. If both the primal and the dual have feasible solutions, then there exist a primal feasible solution (xˉ,wˉ)(\bar x, \bar w)(xˉ,wˉ) and a dual feasible solution (yˉ,zˉ)(\bar y, \bar z)(yˉ​,zˉ) such that

xˉ+zˉ>0andyˉ+wˉ>0,\bar x + \bar z > 0 \qquad \text{and} \qquad \bar y + \bar w > 0,xˉ+zˉ>0andyˉ​+wˉ>0,

where ξ>0\xi > 0ξ>0 means that every component of the vector ξ\xiξ is strictly positive. Since all four vectors are nonnegative, this says that for each jjj at least one of xˉj\bar x_jxˉj​, zˉj\bar z_jzˉj​ is positive, and for each iii at least one of yˉi\bar y_iyˉ​i​, wˉi\bar w_iwˉi​ is positive.

This is the feasible-solution version of strict complementarity; the Strict Complementary Slackness Theorem strengthens it to optimal solutions.

Formalization Note The slacks are determined by the solutions: wˉ=b−Axˉ\bar w = b - A\bar xwˉ=b−Axˉ and zˉ=ATyˉ−c\bar z = A^T \bar y - czˉ=ATyˉ​−c.

Preamble
import Mathlib
import Definitions.Def_VanderbeiLP_StrictComp_PrimalDualPair

open Matrix
Formal statement
namespace VanderbeiLP.StrictComp

/-- **Vanderbei, Theorem 10.6 (p. 148).** If both the primal (10.9) and the dual (10.10) have
feasible solutions, then there are a primal feasible `x̄` (slack `w̄ = b - Ax̄`) and a dual
feasible `ȳ` (slack `z̄ = Aᵀȳ - c`) with `x̄ + z̄ > 0` and `ȳ + w̄ > 0` componentwise. -/
theorem strictly_complementary_feasible {m n : ℕ} (A : Matrix (Fin m) (Fin n) ℝ)
    (b : Fin m → ℝ) (c : Fin n → ℝ)
    (hP : ∃ x : Fin n → ℝ, PrimalFeasible A b x) (hD : ∃ y : Fin m → ℝ, DualFeasible A c y) :
    ∃ (xbar : Fin n → ℝ) (ybar : Fin m → ℝ),
      PrimalFeasible A b xbar ∧ DualFeasible A c ybar ∧
      (∀ j, 0 < xbar j + dualSlack A c ybar j) ∧
      (∀ i, 0 < ybar i + primalSlack A b xbar i) := by sorry

end VanderbeiLP.StrictComp
Source
Vanderbei, Linear Programming: Foundations and Extensions, 4th ed., Springer 2014, p. 148, Theorem 10.6 and footnote 2 (PDF p. 161); Eqs. (10.9)–(10.10), p. 147
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 2, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me