Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1 — a skew-symmetric program is self-dual and, if feasible, has optimal value zero

Proved
SelfDualLP.Complexity.proposition_1

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

dualitylinear-programmingp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1self-dual-embedding

Let A~∈Rp×p\tilde A\in\mathbb R^{p\times p}A~∈Rp×p be skew-symmetric (A~T=−A~\tilde A^T=-\tilde AA~T=−A~) and let b~=−c~∈Rp\tilde b=-\tilde c\in\mathbb R^pb~=−c~∈Rp. Consider

(SDP)min⁡ c~Tu~s.t.A~u~≥b~,  u~≥0,\text{(SDP)}\qquad \min\ \tilde c^T\tilde u\quad\text{s.t.}\quad \tilde A\tilde u\ge\tilde b,\ \ \tilde u\ge0,(SDP)min c~Tu~s.t.A~u~≥b~,  u~≥0,

whose linear-programming dual is max⁡ b~Tv\max\ \tilde b^Tvmax b~Tv s.t. A~Tv≤c~\tilde A^Tv\le\tilde cA~Tv≤c~, v≥0v\ge0v≥0. Then:

  1. (SDP) is equivalent to its dual: the dual has exactly the feasible set of (SDP), and its objective is b~Tv=−c~Tv\tilde b^Tv=-\tilde c^Tvb~Tv=−c~Tv, so maximizing it is minimizing c~Tv\tilde c^Tvc~Tv;
  2. every feasible u~\tilde uu~ of (SDP) is feasible in the dual, and the two objective values c~Tu~\tilde c^T\tilde uc~Tu~ and b~Tu~\tilde b^T\tilde ub~Tu~ sum to zero;
  3. if (SDP) has a feasible solution, then it has an optimal solution, and its optimal value is zero.

This is the self-duality principle behind the homogeneous program (HLP), whose constraint matrix is skew-symmetric.

Formalization Note "Equivalent to its dual" is stated as: the two feasible sets coincide and the dual objective is the negative of the primal one. The optimal solution in part 3 is a feasible u~\tilde uu~ with c~Tu~=0\tilde c^T\tilde u=0c~Tu~=0 and c~Tu~≤c~Tu~′\tilde c^T\tilde u\le\tilde c^T\tilde u'c~Tu~≤c~Tu~′ for every feasible u~′\tilde u'u~′.

Preamble
import Mathlib

open Matrix
Formal statement
namespace SelfDualLP.Complexity

/-- Proposition 1 (Ye–Todd–Mizuno 1994, p. 55). Let `Ã ∈ ℝ^{p×p}` be skew-symmetric and
`b̃ = −c̃`. Consider (SDP) `minimize c̃ᵀũ subject to Ãũ ≥ b̃, ũ ≥ 0`, whose LP dual is
`maximize b̃ᵀv subject to Ãᵀv ≤ c̃, v ≥ 0`. Then (a) the dual has exactly the same feasible set
as (SDP), and its objective `b̃ᵀv = −c̃ᵀv`, so maximizing it is minimizing `c̃ᵀv` (the dual is
(SDP) itself); (b) every feasible `ũ` is dual feasible and the two objective values
`c̃ᵀũ + b̃ᵀũ` sum to zero; (c) if (SDP) is feasible, it has an optimal solution and its
optimal value is zero. -/
theorem proposition_1 {p : ℕ} (At : Matrix (Fin p) (Fin p) ℝ) (bt ct : Fin p → ℝ)
    (hskew : Atᵀ = -At) (hbc : bt = -ct) :
    (∀ u : Fin p → ℝ,
        ((∀ i, bt i ≤ (At *ᵥ u) i) ∧ ∀ i, 0 ≤ u i) ↔
          ((∀ i, (Atᵀ *ᵥ u) i ≤ ct i) ∧ ∀ i, 0 ≤ u i)) ∧
    (∀ u : Fin p → ℝ, bt ⬝ᵥ u = -(ct ⬝ᵥ u)) ∧
    (∀ u : Fin p → ℝ, ((∀ i, bt i ≤ (At *ᵥ u) i) ∧ ∀ i, 0 ≤ u i) →
        ((∀ i, (Atᵀ *ᵥ u) i ≤ ct i) ∧ ∀ i, 0 ≤ u i) ∧ ct ⬝ᵥ u + bt ⬝ᵥ u = 0) ∧
    ((∃ u : Fin p → ℝ, (∀ i, bt i ≤ (At *ᵥ u) i) ∧ ∀ i, 0 ≤ u i) →
      ∃ u : Fin p → ℝ, ((∀ i, bt i ≤ (At *ᵥ u) i) ∧ ∀ i, 0 ≤ u i) ∧ ct ⬝ᵥ u = 0 ∧
        ∀ u' : Fin p → ℝ, ((∀ i, bt i ≤ (At *ᵥ u') i) ∧ ∀ i, 0 ≤ u' i) →
          ct ⬝ᵥ u ≤ ct ⬝ᵥ u') := by sorry

end SelfDualLP.Complexity
Source
Ye, Todd, Mizuno, An O(√nL)-Iteration Homogeneous and Self-Dual Linear Programming Algorithm, Math. Oper. Res. 19(1) (1994), p. 55, Proposition 1
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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