An Exact Duality Theory for Semidefinite Programming and Its Complexity Implications: The Extended Lagrange–Slater Dual Has Zero Duality Gap and Attains Its OptimumResearch Paper
Motivation
Semidefinite programming (SDP) optimizes a linear function over the intersection of the cone of positive semidefinite matrices with an affine subspace. It contains linear programming as the diagonal case and is the computational core of relaxations in combinatorial optimization, control theory and polynomial optimization. Its standard duality theory, however, is weaker than that of linear programming. The Lagrangian dual of an SDP can have a strictly positive duality gap, can fail to attain its optimal value, and an infeasible semidefinite system need not have a certificate of infeasibility of the naive Farkas form. All the classical strong duality theorems for SDP therefore assume a constraint qualification such as Slater's condition (a strictly feasible point).
M. V. Ramana (1997, Math. Program. 77, 129–162) constructed a dual, the Extended Lagrange–Slater Dual (ELSD), whose size is polynomial in the data and which enjoys every property of linear programming duality for every SDP, with no constraint qualification. The same construction yields an exact theorem of the alternative for semidefinite feasibility and the complexity consequence that semidefinite feasibility lies in NP if and only if it lies in co-NP in the Turing model.
Timeline:
- 1980s–1990s: Lagrangian (Slater-type) duality for SDP, with strong duality under strict feasibility (see e.g. the surveys of Vandenberghe and Boyd, SIAM Rev. 38 (1996)).
- 1981: Borwein and Wolkowicz, facial reduction for general convex programs, which regularizes a problem by passing to the minimal face containing the feasible set; not of polynomial size in the SDP data (J. Math. Anal. Appl. 83 (1981)).
- 1997: Ramana, the ELSD, an explicit polynomial-size dual with zero gap and dual attainment for every SDP.
- 1997: Ramana, Tunçel and Wolkowicz relate the ELSD to facial reduction (SIAM J. Optim. 7 (1997)).
Setting
Let be natural numbers, the space of real matrices, and the symmetric ones. On the inner product is . For symmetric , means is positive semidefinite. The data are symmetric and . The primal SDP is
with feasible region , a spectrahedron. Define by and write for " and ".
For let be the set of tuples of real matrices with and, for ,
The need not be symmetric. and are the sets of last components and ; . The ELSD is
and Weak-ELSD is the same program with . For the milestones: the polar , the algebraic polar , and .
Formalization targets
Goal: Theorem 6 (Duality Theorem)
For all data :
- weak duality: for and feasible for ELSD or Weak-ELSD;
- if , then iff ELSD is feasible, iff Weak-ELSD is feasible;
- if and ELSD (or Weak-ELSD) is feasible, there is with
- if and the primal is bounded, ELSD attains .
Milestones
Propositions 7(vi) and 7(vii) (facts on PSD matrices), Lemma 9 (annihilation ), weak duality over every , Lemma 10 (nested subspaces), Lemma 13 (), Corollary 14, Claims 17 and 16, the central Theorem 12,
the translation invariance of (§2.5), and system (14) (dual attainment at value 0). Theorems 19–21 (Farkas lemma for SDP, optimality condition, primal attainment) are further items stated on the same definitions.
Significance
The Duality Theorem gives SDP a dual with the full strength of linear programming duality for every instance, at polynomial size. Consequences in the paper: an exact theorem of the alternative for semidefinite feasibility (Theorem 19); semidefinite characterizations of optimality of a given point and of primal attainment (Theorems 20, 21); and the complexity results that semidefinite feasibility is in NP iff it is in co-NP in the Turing model and in NP ∩ co-NP in the Blum–Shub–Smale model (Theorem 25, not part of this mission). Theorem 12 separately gives an exact semidefinite description of the polar of any spectrahedron containing the origin.
The results are proved on paper and are classical. No machine-checked version is known to exist; the platform's existing SDP duality theorem assumes Slater's condition. A formalization would provide the first constraint-qualification-free SDP duality in Lean, together with reusable infrastructure on PSD matrices (range inclusion, ) and on polars of convex sets.
Difficulty
The obvious route to SDP strong duality separates the primal's value from the image of the PSD cone under a linear map and invokes a closed-cone Farkas lemma. That step fails: the linear image of the PSD cone need not be closed, which is exactly why Lagrangian duality has gaps. In this mission the obstruction reappears as the non-closedness of the algebraic polar (Lemma 13 only gives ). The difficulty is to show that finitely many, and at most , corrections by the sets close (Claims 16, 17), and to control dimensions in doing so. A proof by assuming closedness, strict feasibility or a Slater point is a different theorem.
Formalization scope
Everything lives in the namespace ExactSDPDuality.ELSD, in one definition file. Matrices are Matrix (Fin n) (Fin n) ℝ, vectors Fin m → ℝ; "" is Mathlib's PosSemidef (which over ℝ includes symmetry); is the entrywise sum on all of ; is the dot product. The data carry symmetry hypotheses in every statement, as the paper assumes throughout. is encoded by sequences with , so ; for the index is . Optimal values are least upper and greatest lower bounds of the value sets, never real sSup/sInf. The polar is the one-sided polar. In §2.4 statements the standing assumption is a hypothesis. In Claim 16 the index satisfies , the range where is introduced, and is the rank of the span of .
Theorems 20 and 21 are printed with ; both are false as printed (counterexamples in the items) and are stated with the corrected that the paper's derivation from Theorem 6 gives.
Trivializing formalizations are ruled out: no Slater or other constraint qualification appears; the dual is the ELSD built from the recursively defined , not the Lagrangian dual or an arbitrary subspace; the range over all of , not only symmetric matrices (the paper's Example 4 needs a nonsymmetric ).
Needed infrastructure: PSD matrix facts (Proposition 7), bipolar theorem for closed convex sets containing the origin (Proposition 11), closedness arguments for linear images of cones, and dimension counting of subspaces of . Contributions of any milestone, of these general lemmas, and of alternative proofs (for instance via facial reduction) are welcome.
Selected references
- M. V. Ramana, An exact duality theory for semidefinite programming and its complexity implications, Mathematical Programming 77 (1997) 129–162. https://doi.org/10.1007/BF02614433
- M. V. Ramana, L. Tunçel, H. Wolkowicz, Strong duality for semidefinite programming, SIAM Journal on Optimization 7 (1997) 641–662. https://doi.org/10.1137/S1052623495288350
- J. M. Borwein, H. Wolkowicz, Regularizing the abstract convex program, Journal of Mathematical Analysis and Applications 83 (1981) 495–530. https://doi.org/10.1016/0022-247X(81)90138-4
- L. Vandenberghe, S. Boyd, Semidefinite programming, SIAM Review 38 (1996) 49–95. https://doi.org/10.1137/1038003
- R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173