Proof of weak duality and complementary slackness for semidefinite programs
Full proofs of weak duality and complementary slackness from the positivity of the trace of a product of positive semidefinite operators; Slater's theorem for semidefinite programs is cited, not proved.
Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.
Items 1 and 2 are proved in full below. Item 3 (Slater's theorem) is not proved here; it is a
separating-hyperplane argument in the space of Hermitian operators, analogous to the proof
of strong duality under Slater's condition; it is
stated without proof as Theorem 1.18 in section 1.2.3 of Watrous.
Lemma. If P,Q≥0 then Tr(PQ)≥0, with equality only if PQ=0. Indeed
Tr(PQ)=Tr(P1/2QP1/2)=Tr((Q1/2P1/2)†(Q1/2P1/2))=∥Q1/2P1/2∥22,
the squared Hilbert–Schmidt norm. If it vanishes, Q1/2P1/2=0, and then
QP=Q1/2(Q1/2P1/2)P1/2=0 and PQ=(QP)†=0.
Weak duality. Let X be primal feasible and Y dual feasible. Then
using B=Φ(X), the definition of the adjoint (all quantities are real because the
operators are Hermitian and Φ preserves Hermiticity), and the lemma with
P=Φ∗(Y)−A≥0 and Q=X≥0. Taking the supremum over X and the infimum
over Y gives α≤β.
Complementary slackness. If ⟨A,X⟩=⟨B,Y⟩ then, by weak
duality, ⟨A,X⟩≤α≤β≤⟨B,Y⟩=⟨A,X⟩, so X
and Y are optimal. The displayed difference is zero, so Tr((Φ∗(Y)−A)X)=0
and the lemma gives (Φ∗(Y)−A)X=0.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Proof of items 1-2 checked line by line against theorem/semidefinite-programming-duality (trace-positivity lemma via Hilbert-Schmidt norm, weak duality from Phi(X)=B and the adjoint, complementary slackness); standard form, Theorem 1.18 and Proposition 1.19 compared with Watrous, The Theory of Quantum Information, section 1.2.3 (author's open PDF from cs.uwaterloo.ca).
The draft said Slater's theorem is proved in section 1.2 of Watrous (2018); the book states it there (Theorem 1.18) without proof. Corrected the sentence.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
Current revision dbfe132ca4c78b04. Source file knowledge/records/proof/semidefinite-programming-duality.md in the content repository (readable there once it is public).