Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix A — the optimal dual matrix Z: Z ⪰ 0, Z ≠ 0, stationarity and τ²_opt Tr LLᵀZ = Tr R(x_opt)ᵀR(x_opt)Z

Proved
RobustSDP.Uniqueness.dual_multiplier

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

dualityp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1robust-optimizationsemidefinite-programming

Assume c≠0c \neq 0c=0, F0,…,FmF_0, \dots, F_mF0​,…,Fm​ symmetric, and hypotheses H1, H2 and H3(a). Let (x,τ)(x,\tau)(x,τ) be optimal for the SDP (15) (so τ>0\tau > 0τ>0). Then there is a matrix Z∈Rn×nZ \in \mathbb{R}^{n\times n}Z∈Rn×n, the dual variable of the constraint G(y)⪰0G(y) \succeq 0G(y)⪰0 of (16), such that

  1. Z⪰0Z \succeq 0Z⪰0 and Z≠0Z \neq 0Z=0;
  2. (complementarity) Tr⁡Z G(x,τ)=0\operatorname{Tr} Z\, G(x,\tau) = 0TrZG(x,τ)=0;
  3. (stationarity in xxx) for i=1,…,mi = 1, \dots, mi=1,…,m,
Tr⁡Z(Fi−1τ(R(x)TRi+RiTR(x)))=ci;\operatorname{Tr} Z\Bigl(F_i - \frac{1}{\tau}\bigl(R(x)^T R_i + R_i^T R(x)\bigr)\Bigr) = c_i ;TrZ(Fi​−τ1​(R(x)TRi​+RiT​R(x)))=ci​;
  1. (stationarity in τ\tauτ)
τ2 Tr⁡LLTZ=Tr⁡R(x)TR(x)Z.\tau^2\, \operatorname{Tr} LL^T Z = \operatorname{Tr} R(x)^T R(x) Z .τ2TrLLTZ=TrR(x)TR(x)Z.

The matrices in item 3 are the partial derivatives ∂G/∂xi\partial G/\partial x_i∂G/∂xi​ computed in Appendix A, and item 4 is Tr⁡Z ∂G/∂τ=dm+1=0\operatorname{Tr} Z\, \partial G/\partial \tau = d_{m+1} = 0TrZ∂G/∂τ=dm+1​=0 multiplied by τ2\tau^2τ2. These dual conditions are the input to the second-order argument that proves Theorem 4.2.

Formalization Note The paper's dual variable is Y=diag(Z,μ)Y = \mathrm{diag}(Z, \mu)Y=diag(Z,μ) for (16), and it observes that μ=0\mu = 0μ=0 by complementarity; the statement gives ZZZ directly. Dual attainment is SDP strong duality under the Slater condition H1.

Preamble
import Mathlib
import Definitions.Def_RobustSDP_Uniqueness_Model
import Definitions.Def_RobustSDP_Uniqueness_Hypotheses

open Matrix
Formal statement
namespace RobustSDP.Uniqueness

/-- Appendix A, p. 49: under `c ≠ 0`, H1, H2 and H3(a), at every optimal `(x, τ)` of (15) there is a
dual matrix `Z ⪰ 0`, `Z ≠ 0` (the multiplier of `G(y) ⪰ 0` in (16), with `μ = 0`) satisfying
complementarity `Tr Z G(y) = 0`, stationarity in `x`
(`Tr Z ∂G/∂xᵢ = cᵢ`, `∂G/∂xᵢ = Fᵢ − (1/τ)(R(x)ᵀRᵢ + RᵢᵀR(x))`), and, from stationarity in `τ`,
`τ² Tr LLᵀZ = Tr R(x)ᵀR(x)Z`. -/
theorem dual_multiplier {m n p q : ℕ} (D : SDPData m n p q) (c : Fin m → ℝ) (hc : c ≠ 0)
    (hsym : D.Symmetric) (h1 : D.Slater) (h2 : D.InfCompact c) (h3a : D.H3a)
    (x : Fin m → ℝ) (τ : ℝ) (hopt : D.IsOptimal c (x, τ)) :
    ∃ Z : Matrix (Fin n) (Fin n) ℝ, Z.PosSemidef ∧ Z ≠ 0 ∧
      (Z * D.G (x, τ)).trace = 0 ∧
      (∀ i : Fin m,
        (Z * (D.Fs i - τ⁻¹ • ((D.R x)ᵀ * D.Rs i + (D.Rs i)ᵀ * D.R x))).trace = c i) ∧
      τ ^ 2 * (D.L * D.Lᵀ * Z).trace = ((D.R x)ᵀ * D.R x * Z).trace := by sorry

end RobustSDP.Uniqueness
Source
El Ghaoui, Oustry and Lebret, Robust Solutions to Uncertain Semidefinite Programs, SIAM J. Optim. 9(1) (1998), p. 49, Appendix A, first paragraph and displays; p. 48, Appendix A, opening paragraph
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Take any natural numbers m,n,p,qm,n,p,qm,n,p,q, any datum DDD of real matrices F0,FiF_0,F_iF0​,Fi​ (n×nn\times nn×n), LLL (n×pn\times pn×p), R0,RiR_0,R_iR0​,Ri​ (q×nq\times nq×n), and a vector c∈Rmc\in\mathbb R^mc∈Rm. Write F(x)=F0+∑ixiFiF(x)=F_0+\sum_ix_iF_iF(x)=F0​+∑i​xi​Fi​, R(x)=R0+∑ixiRiR(x)=R_0+\sum_ix_iR_iR(x)=R0​+∑i​xi​Ri​, and let F(x,τ)\mathcal F(x,\tau)F(x,τ) be the block matrix (F(x)−τLL⊤R(x)⊤R(x)τIq)\begin{pmatrix}F(x)-\tau LL^\top & R(x)^\top\\ R(x)&\tau I_q\end{pmatrix}(F(x)−τLL⊤R(x)​R(x)⊤τIq​​).

Hypotheses.

  1. c≠0c\ne0c=0.
  2. F0,…,FmF_0,\dots,F_mF0​,…,Fm​ are symmetric.
  3. Slater: there exists some (x,τ)(x,\tau)(x,τ) at which F(x,τ)\mathcal F(x,\tau)F(x,τ) is positive definite.
  4. Inf-compactness: for every MMM, the set {(x,τ):F(x,τ)⪰0, c⊤x≤M}\{(x,\tau) : \mathcal F(x,\tau)\succeq0,\ c^\top x\le M\}{(x,τ):F(x,τ)⪰0, c⊤x≤M} is bounded.
  5. H3a: there is a proper subspace N⊊RnN\subsetneq\mathbb R^nN⊊Rn with ker⁡(λR0+∑ixiRi)=N\ker(\lambda R_0+\sum_ix_iR_i)=Nker(λR0​+∑i​xi​Ri​)=N for all (λ,x)≠(0,0)(\lambda,x)\ne(0,0)(λ,x)=(0,0).
  6. (x,τ)(x,\tau)(x,τ) is optimal. That is, F(x,τ)⪰0\mathcal F(x,\tau)\succeq0F(x,τ)⪰0, and c⊤x≤c⊤x′c^\top x\le c^\top x'c⊤x≤c⊤x′ for every (x′,τ′)(x',\tau')(x′,τ′) with F(x′,τ′)⪰0\mathcal F(x',\tau')\succeq0F(x′,τ′)⪰0.

Claim. There exists a real n×nn\times nn×n matrix ZZZ with all of the following properties:

  • ZZZ is symmetric positive semidefinite, and Z≠0Z\ne0Z=0;
  • tr⁡(Z G(x,τ))=0\operatorname{tr}\big(Z\,G(x,\tau)\big)=0tr(ZG(x,τ))=0, where
G(x,τ)=F(x)−τLL⊤−τ−1R(x)⊤R(x);G(x,\tau)=F(x)-\tau LL^\top-\tau^{-1}R(x)^\top R(x);G(x,τ)=F(x)−τLL⊤−τ−1R(x)⊤R(x);
  • for every i=1,…,mi=1,\dots,mi=1,…,m,
tr⁡(Z(Fi−τ−1(R(x)⊤Ri+Ri⊤R(x))))=ci;\operatorname{tr}\Big(Z\big(F_i-\tau^{-1}(R(x)^\top R_i+R_i^\top R(x))\big)\Big)=c_i;tr(Z(Fi​−τ−1(R(x)⊤Ri​+Ri⊤​R(x))))=ci​;
  • τ2 tr⁡(LL⊤Z)=tr⁡(R(x)⊤R(x)Z)\tau^2\,\operatorname{tr}(LL^\top Z)=\operatorname{tr}(R(x)^\top R(x)Z)τ2tr(LL⊤Z)=tr(R(x)⊤R(x)Z).

Degenerate cases.

  • The hypothesis c≠0c\ne0c=0 forces m≥1m\ge1m≥1.
  • If n=0n=0n=0 or q=0q=0q=0, H3a is unsatisfiable, so the statement is vacuous. (Separately, for n=0n=0n=0 no nonzero ZZZ could exist.)
  • τ−1\tau^{-1}τ−1 is read as 000 if τ=0\tau=0τ=0. Nothing in the statement itself excludes τ=0\tau=0τ=0 explicitly.
  • If p=0p=0p=0, then LL⊤=0LL^\top=0LL⊤=0 and the last condition reads tr⁡(R(x)⊤R(x)Z)=0\operatorname{tr}(R(x)^\top R(x)Z)=0tr(R(x)⊤R(x)Z)=0.
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