Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3, p. 175 — no profitable nonbasic variable implies an absolute minimum

Proved
BealeConvexMin.QuadSimplex.optimality_criterion

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

optimality-conditionsp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1quadratic-programmingsimplex-method

Consider a tableau whose objective C=∑k,l=0NcklzkzlC=\sum_{k,l=0}^{N}c_{kl}z_kz_lC=∑k,l=0N​ckl​zk​zl​ (z0=1z_0=1z0​=1) is convex: (ckl)(c_{kl})(ckl​) is symmetric and its quadratic block (ckl)k,l=1N(c_{kl})_{k,l=1}^{N}(ckl​)k,l=1N​ is positive semidefinite. Suppose no nonbasic variable can profitably be altered, i.e.

  1. ck0=0c_{k0}=0ck0​=0 for every nonbasic free variable zkz_kzk​, and
  2. ck0≥0c_{k0}\ge0ck0​≥0 for every nonbasic restricted variable zkz_kzk​.

Then the associated solution is an absolute minimum of CCC over the feasible region: for every zzz with z0=1z_0=1z0​=1, zk≥0z_k\ge0zk​≥0 for every restricted nonbasic zkz_kzk​, and xh=∑lahlzl≥0x_h=\sum_{l}a_{hl}z_l\ge0xh​=∑l​ahl​zl​≥0 for every restricted variable xhx_hxh​,

C(z)=∑k,l=0Ncklzkzl ≥ c00.C(z)=\sum_{k,l=0}^{N}c_{kl}z_kz_l\ \ge\ c_{00}.C(z)=k,l=0∑N​ckl​zk​zl​ ≥ c00​.

This is the optimality criterion at which the iteration stops: a tableau from which no nonbasic variable can profitably be altered solves the problem.

Formalization Note Convexity of CCC is stated in tableau coordinates as positive semidefiniteness of the quadratic block. The feasible region is written in the current nonbasic coordinates: all restricted variables nonnegative.

Preamble
import Mathlib
import Definitions.Def_BealeConvexMin_QuadSimplex_pivotC
import Definitions.Def_BealeConvexMin_QuadSimplex_Tableau
import Definitions.Def_BealeConvexMin_QuadSimplex_BealeStep
Formal statement
namespace BealeConvexMin.QuadSimplex

/-- Beale (1955), §3, p. 175, paragraph after (3.1): if no nonbasic variable can profitably be
altered (no free slot with `c_k0 ≠ 0`, no restricted slot with `c_k0 < 0`) and `C` is convex
(symmetric `(c_kl)` whose quadratic block `(c_kl)_{k,l ≥ 1}` is positive semidefinite), then the
associated solution is an absolute minimum: every feasible point `z` (with `z_0 = 1`, every
restricted nonbasic variable `≥ 0` and every restricted variable `x_j = Σ_l row j l · z_l ≥ 0`)
has `C(z) ≥ c_00`. -/
theorem optimality_criterion {n N : ℕ} (T : Tableau n N) (hsymm : T.c.IsSymm)
    (hpsd : (T.c.submatrix Fin.succ Fin.succ).PosSemidef)
    (hopt : ∀ k : Fin N, ¬ IsProfitable T k)
    (z : Fin (N + 1) → ℝ) (hz0 : z 0 = 1)
    (hzres : ∀ k : Fin N, T.lab k ≠ none → 0 ≤ z k.succ)
    (hrow : ∀ j : Fin n, 0 ≤ ∑ l, T.row j l * z l) :
    T.c 0 0 ≤ quadValue T.c z := by sorry

end BealeConvexMin.QuadSimplex
Source
Beale, On Minimizing a Convex Function Subject to Linear Inequalities, J. R. Statist. Soc. B 17(2), 1955, https://doi.org/10.1111/j.2517-6161.1955.tb00191.x, p. 175 (PDF p. 3), §3, paragraph after (3.1)
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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