Convex Cones, Separation, Conic Duality, and Semidefinite Programs
A finite-dimensional linear feasibility problem has a strict separating certificate when its target lies outside the closure of the relevant conic image. If that image is closed—as it is for the nonnegative orthant and every polyhedral cone—this is exactly an infeasibility certificate. For semidefinite cones, however, a linear image need not be closed: a problem can be infeasible but arbitrarily close to feasible, with no certificate of the elementary strict-separation form.
Primal–dual conic formulations always give weak duality: every dual feasible point supplies a lower bound on every primal feasible point. Equality of optimal values and attainment require additional hypotheses, such as an applicable primal or dual Slater condition. A floating-point residual is evidence about a nearby numerical problem, not by itself a proof of exact feasibility, positivity, infeasibility, or optimality. These distinctions are what make conic certificates useful in QFT rather than merely persuasive.
Required background. Bilinear and Hermitian Forms, Adjoints, and Isometries supplies dual pairings and Hermitian adjoints; Normal Forms, Spectra, and Projectors supplies the finite spectral theorem and the eigenvalue test for positive semidefiniteness.
Finite-dimensional conic certification
Section titled “Finite-dimensional conic certification”The argument below is finite dimensional. It does not develop infinite-dimensional convex duality, general nonlinear or nonconvex optimization, algorithms, solver implementation, or production numerics.
The basic setting is a pair of finite-dimensional real vector spaces and , with algebraic duals and . The pairing is written
For a linear map , its dual map is
This is a canonical dual map; it does not require an inner product. When Hermitian matrices appear later, they are regarded as a real vector space and paired by . Thus there is no hidden choice between the site’s conjugate-linear bra convention and a complex-bilinear optimization pairing.
Norms enter only when numerical residuals and distances are discussed. Every finite-dimensional norm gives the same topology, but it gives different numerical values, so a reported residual must name its norm and scaling.
Convex sets, cones, duals, and faces
Section titled “Convex sets, cones, duals, and faces”A set is convex when
A convex cone is closed under nonnegative linear combinations:
Unless stated otherwise, conic programs on this page use a closed convex cone. A cone is pointed if and solid if its interior is nonempty. A closed, convex, pointed, solid cone is often called proper. Weak duality does not need all of these adjectives, so they should not be added silently.
The dual cone is
The negative polar cone is
Naming the sign avoids a common source mismatch: some references call the polar, while others reserve “polar” for . The dual cone is always closed and convex. The finite-dimensional bipolar theorem gives
for a convex cone after the natural identification . Consequently, a closed convex cone is recovered exactly from all of its dual inequalities.
The relative interior is the interior taken inside the affine hull of . It is the correct notion when a feasible set or a cone has already been restricted to a lower-dimensional affine space. A convex subcone is a face of when
Faces matter because feasible points may be forced onto the boundary of the ambient cone. In that case an ambient-interior Slater point is impossible, even though the problem may have a relative-interior point in a smaller face. Identifying that face can restore an appropriate regularity statement; the algorithms for doing so are outside this page.
Three reference examples are:
- is a closed, proper, self-dual polyhedral cone under the standard pairing;
- a nonzero linear subspace is a closed convex cone with lineality, so it is not pointed; a proper subspace also has empty ambient interior; and
- the positive-semidefinite cone is closed, proper, and self-dual, but its linear images need not be closed.
Separation turns geometry into a certificate
Section titled “Separation turns geometry into a certificate”Strong separation of a point. Let be a nonempty closed convex subset of a finite-dimensional real vector space, and let . Then there is a nonzero and a real number such that
One proof chooses any Euclidean inner product, lets be a closest point of to , and differentiates the squared distance along the segment . Minimality at gives
The vector defines the separating covector. Moreover,
which produces the strict gap. The inner product is only a proof device: the existence of a separating covector is independent of that choice.
For two arbitrary disjoint closed convex sets, strict separation does not follow from closedness alone. The point-versus-closed-set theorem works because a closest point exists in finite dimension. Likewise, applying it to a conic image requires that the image itself be closed.
Farkas alternatives and the closure condition
Section titled “Farkas alternatives and the closure condition”Consider the feasibility problem
where is a closed convex cone. Its attainable right-hand sides form the convex cone
Separation gives the always-correct alternative
Exactly one line can hold. Indeed, if , then
so continuity rules out for every . Conversely, if lies outside the closed cone , strong separation supplies such a .
This becomes a feasibility alternative only when is closed:
For , the image is a finitely generated polyhedral cone and is closed. This is the familiar Farkas lemma: exactly one of
is solvable.
As a concrete sign check, let
The equations require and , which are incompatible with . The covector
satisfies
The certificate is independently checkable by two matrix products. Its strict negative sign is the contradiction.
It is useful to distinguish two kinds of conic infeasibility:
- strongly infeasible: ; a strict separating certificate exists;
- weakly infeasible: ; the exact system is infeasible, but its distance from feasibility is zero and the elementary strict certificate does not exist.
Polyhedral systems have no weakly infeasible case. Semidefinite systems can, as an explicit example below will show.
One declared primal–dual conic pair
Section titled “One declared primal–dual conic pair”Let . The standard primal problem used here is
Introduce for the equality constraint. With the sign convention
the Lagrangian becomes
Its infimum over is finite precisely when . Writing this dual slack as , the dual is
This derivation fixes every sign. For any primal feasible and dual feasible ,
This is weak duality. It needs neither strict feasibility nor attainment. It proves all of the following:
- every dual feasible objective is a lower bound on every primal feasible objective;
- every primal feasible objective is an upper bound on every dual feasible objective;
- an exactly feasible pair with zero gap is optimal on both sides; and
- for a pure feasibility problem with , a dual feasible point with positive objective proves primal infeasibility.
The last item matches the earlier Farkas signs. If and , set and . Then while , contradicting the zero primal objective that any feasible point would have.
Weak duality does not say that either optimum is attained, that , or that infeasibility on one side automatically produces a certificate of the simplest form.
Strong duality and attainment are separate conclusions
Section titled “Strong duality and attainment are separate conclusions”The optimal values are extended real numbers. The primal is infeasible when and unbounded below when ; the dual uses the corresponding maximization conventions. When both sides are feasible, weak duality gives
Strong duality means equality of the two values. Primal attainment means that some feasible realizes ; dual attainment means that some feasible realizes . These are three different statements.
For a proper cone, the familiar one-sided Slater results can be stated cleanly:
- If there is an with , and is finite, then and the dual optimum is attained.
- If there is a dual feasible with , and is finite, then and the primal optimum is attained.
- If both strict-feasibility conditions hold, both optima are finite, equal, and attained.
For a lower-dimensional cone, or after the constraints force all feasible points into a proper face, one first works in the span of the relevant minimal face and then uses the corresponding relative-interior condition. Merely replacing every occurrence of “interior” by “relative interior” without specifying that reduction can hide an incorrect ambient problem.
Slater conditions are sufficient, not necessary. Linear programs have stronger polyhedral duality theorems, and many nonpolyhedral programs enjoy zero gap without a strict point. Conversely, convexity, feasibility, and even attainment on both sides do not force zero gap, as the examples below show.
If feasible have zero gap, then
This is complementary slackness. It is an exact optimality certificate when combined with primal and dual feasibility. It should not be used as a substitute for either feasibility check. The one-sided attainment statements are the conic specialization of Boyd and Vandenberghe 2004, §5.2.3, PDF; Vandenberghe and Boyd 1996, §3 gives the corresponding SDP formulation.
The positive-semidefinite cone
Section titled “The positive-semidefinite cone”Let denote the Hermitian matrices, regarded as a real vector space. Its pairing is
For Hermitian and , this trace is real because
A Hermitian matrix is positive semidefinite, written , when
By the finite spectral theorem, this is equivalent to every eigenvalue of being nonnegative. Positive definiteness, , means every eigenvalue is strictly positive; these matrices form the interior of the PSD cone.
The cone is self-dual under the trace pairing. If , then
Conversely, if is not positive semidefinite, there is a with . Taking gives
so is not in the dual cone. Hence
Real symmetric matrices form the usual SDP special case, denoted . The Hermitian formulation changes neither the conic logic nor weak duality; all linear maps on are understood as real-linear.
The faces of the PSD cone have a concrete spectral description. For a subspace ,
is a face, exposed by the orthogonal projector :
Thus a constraint that forces a common kernel can confine every feasible matrix to a proper face. That is the geometric reason ambient Slater can fail.
Linear matrix inequalities and standard SDP form
Section titled “Linear matrix inequalities and standard SDP form”A linear matrix inequality is
where the are fixed Hermitian matrices and are real variables. Its feasible set is convex because the PSD cone is convex and is affine.
The example
is the epigraph of a convex quadratic. The equivalence follows from the Schur complement using the positive pivot . A Schur-complement formula with a singular pivot needs an additional range condition; the invertible formula must not be applied unchanged.
The equality-form semidefinite program is
Define
Under the Euclidean pairing on and the trace pairing on matrices,
The dual is therefore
For feasible , the conic gap identity becomes
Although the product need not itself be Hermitian, its trace is real and nonnegative. Moreover,
Thus zero SDP gap makes the ranges of and orthogonal. It does not assert entrywise complementarity and does not imply strict complementarity.
A complete two-by-two certificate
Section titled “A complete two-by-two certificate”Consider the exact problem
over real symmetric matrices. In standard form,
The dual is
An exact primal–dual pair is
Both matrices are PSD: their eigenvalues are respectively and . The equality constraints hold, the dual slack identity holds, and
Weak duality now proves that both points are optimal and that for every feasible . This is a certificate, not just a candidate solution: every required equality and eigenvalue can be checked by hand.
The hypotheses for the stronger theorem are also visible. The primal has the strictly feasible point , and gives
Both Slater conditions hold, so zero gap and attainment were guaranteed before the optimizer was found.
What the missing hypotheses can change
Section titled “What the missing hypotheses can change”Primal Slater does not guarantee primal attainment
Section titled “Primal Slater does not guarantee primal attainment”Let
and consider
The constraint is . The matrices
are PSD because their determinant is zero and their diagonal entries are positive. They show that the infimum is . It is not attained: if a PSD matrix had , its first row and column would vanish, contradicting .
The primal nevertheless has a strict point, for example
Its scalar dual has slack
which forces . The dual attains value zero, exactly as the one-sided Slater theorem predicts. It makes no promise that the strictly feasible primal side attains.
Feasibility and attainment do not force zero gap
Section titled “Feasibility and attainment do not force zero gap”For a real symmetric matrix , consider
PSD together with forces the second row and column to vanish. Hence , every feasible point has , and the primal attains at .
With
the dual maximizes subject to
The entry of is zero, so PSD forces its third row and column to vanish. In particular, . Thus , attained for . Both problems are feasible and attain, but
Neither side has a strict point: the primal always has , while the dual slack always has . This exact counterexample is why a named qualification must precede any strong-duality claim.
Weak infeasibility can hide behind vanishing residuals
Section titled “Weak infeasibility can hide behind vanishing residuals”Define a linear map on the real symmetric matrix space by
Its image is
To verify this description, if choose , producing a rank-one PSD matrix. If , PSD forces the first row and column to vanish, so . The image is therefore not closed.
Take . There is no with , but
Thus the equality residual tends to zero while the cone constraint is satisfied exactly. At the same time, . The target lies in the closure of the conic image but not in the image itself: this is weak infeasibility, and no strict ordinary Farkas separator exists.
This example is a complete warning against the rule “tiny residual plus PSD means feasible.” It also shows why variable magnitude, scaling, and distance to ill-posedness belong beside the residual. The failure of the ordinary SDP Farkas alternative and the role of smaller faces are developed in Liu and Pataki 2015, §§1–3.
Reading finite-precision output
Section titled “Reading finite-precision output”Suppose a numerical procedure returns . With the exact problem data held fixed, define
The computed objective difference obeys the exact identity
When and both cone-membership tests pass, this reduces to the nonnegative weak-duality gap . With residuals present, cancellation can even make a reported objective difference negative.
A minimally informative report keeps the following quantities separate:
- the primal equality residual ;
- the dual stationarity residual ;
- the cone distances and ;
- the primal and dual objective values;
- the complementarity pairing ;
- the chosen absolute and relative scalings;
- variable magnitudes and an applicable conditioning or distance-to-ill-posedness estimate; and
- arithmetic precision and the independent verification method.
For example, after nondimensionalizing every coordinate with declared reference units and choosing compatible norms and their induced operator norms, one possible dimensionless normalization is
and
A relative objective difference can be reported as
These formulas are declared choices, not universal definitions. If the data retain physical units, each bare must be replaced by a declared same-unit reference scale before unlike quantities are added. Multiplying one constraint by a small number can make its raw residual small without changing its exact solution set. Scaling used internally should therefore be recorded, while final residuals should also be recomputed against the original data.
For an approximate Hermitian matrix , the spectral-norm distance to the PSD cone is
The Frobenius distance instead combines all negative eigenvalues:
The numbers
are PSD margins. A rigorously positive lower bound certifies positive definiteness; a rigorously negative upper bound certifies failure of PSD. A value close to zero without an eigenvalue error bound is inconclusive. Raw margins are scale dependent, and congruence transformations can change them while preserving exact PSD.
Small backward error means that the candidate exactly solves a nearby problem. Small forward error means that it is close to a solution of the stated problem. Ill-conditioning can separate these notions by many orders of magnitude. The weakly infeasible example above makes the distinction visible without any floating-point arithmetic. Jansson 2009, §§3–4, PDF is the numerical authority used here for verified bounds, conditioning, and rigorous infeasibility checks.
From a numerical candidate to a checked certificate
Section titled “From a numerical candidate to a checked certificate”A proof-oriented verification sequence is:
- Freeze the intended input data, basis, pairing, cone, objective direction, and primal–dual sign convention.
- Re-evaluate all primal and dual equalities from serialized certificate data rather than trusting a solver status string.
- Verify cone membership independently. For rational matrices this can use exact arithmetic and an exact Gram or semidefinite-safe factorization; for analytic or irrational data it can use outward-rounded interval bounds or another justified enclosure.
- Recompute objective values, the gap identity, complementarity, and PSD margins against the original, unscaled data.
- Check the qualification actually invoked for strong duality or attainment. If strict feasibility fails, determine whether a smaller face or an extended certificate theorem is required.
- Preserve the data, precision, tolerances, transformations, and independent result needed to reproduce the conclusion.
For a matrix on the PSD boundary, an ordinary floating-point Cholesky attempt is not a proof. With exact rational data, one can instead exhibit an exact factorization , verify all principal minors, or use an equivalent exact semidefinite test. With interval data, the enclosure must account for rounding in both the equalities and the spectral bound.
The resulting claim ladder is strict:
| Verified object | Licensed conclusion |
|---|---|
| Exact primal feasible point | Feasibility and an exact primal upper bound |
| Exact dual feasible point | An exact dual lower bound |
| Exact feasible primal–dual pair with equal objectives | Optimality of both points |
| Exact strict Farkas separator | Strong infeasibility of the stated conic system |
| Outward-rounded interval verification with all errors enclosed | The theorem supported by that enclosure |
| Solver status, small residual, small gap, or nearly nonnegative eigenvalues alone | Numerical evidence only |
An exact certificate for rounded input data proves a statement about those rounded data. It transfers to intended analytic data only after the data error itself has been bounded in the correct direction.
Stop rules for a finite problem
Section titled “Stop rules for a finite problem”Stop with an exact finite conclusion only after every datum and certificate condition used in the implication has been verified exactly or with rigorous enclosures. Stop with a bounded numerical statement when only finite-precision residuals, margins, and convergence checks are available. Stop without a feasibility or infeasibility conclusion when the problem is close to ill-posed, the certificate theorem’s hypotheses are unmet, or refinement changes the status without a controlled bound.
The cost of checking a supplied certificate is often much smaller than the cost of finding it, but this is not automatic. Degeneracy, weak infeasibility, large dynamic range, and a feasible set confined to a small face can make both search and verification difficult. Algorithm selection and production solver engineering require specialist optimization methods beyond this page.
From conic certificates to conformal bootstrap
Section titled “From conic certificates to conformal bootstrap”The reusable mathematical pattern behind a scalar crossing exclusion is
Here the nonnegative coefficients are supplied physically by unitarity and the chosen normalization; this page does not derive those facts. For a finite declared reduction, setting turns feasibility into membership in its conic image. For the exact OPE sum, the function-space topology and convergence are part of the statement: in general lies in the closure or completion of the algebraic conic hull, and replacing that closure by the cone itself requires a closedness theorem. A separating functional with
gives a contradiction. Equivalently, normalize and obtain
Matrix-valued positive sectors replace some coefficients by PSD matrices and lead to semidefinite rather than purely polyhedral constraints. The conic meaning is unchanged: a correctly verified dual functional is an exclusion certificate for the declared assumptions. A convex-cone crossing formulation appears in Rattazzi, Rychkov, Tonni, and Vichi 2008, §§4–5.2; the polynomial-matrix to SDP translation appears in Simmons-Duffin 2015, §§2.1–2.4.
The finite reduction still has a direction that must be checked:
- Applying finitely many exact continuous linear functionals, with their termwise action on the convergent crossing sum justified, gives a necessary finite system. If that system is rigorously infeasible and positivity has been verified over the entire declared allowed sector, the assumptions are excluded.
- Replacing an infinite generator set by a finite sample usually gives an inner approximation. Failure of membership in that smaller cone does not by itself exclude membership in the full cone.
- An outer approximation can support exclusion when the target lies outside it, but membership in the outer cone does not prove membership in the exact cone.
- Rational, polynomial, derivative, spin, or spectral truncations inherit exact claim language only when their approximation errors and tail directions are controlled.
Even an exactly feasible finite crossing problem does not construct a CFT. It does not supply an operator algebra, all correlators, OPE convergence, crossing in every channel, or consistency at all truncation orders. Likewise, failure to find a separator is not an existence theorem.
From Crossing Equations to Convex Optimization develops the positivity gate, normalization, truncation, and physical claim boundary. Linear Functionals and Positivity develops the functional domain and sector-by-sector sign check, while Solver Certificates and Independent Verification develops the physical workflow for preserving and rechecking solver outputs.
Common pitfalls
Section titled “Common pitfalls”Omitting the closure in conic Farkas. A closed cone can have a nonclosed linear image. The ordinary strict certificate detects , not every point of .
Treating convexity as strong duality. Convexity gives the geometry behind duality, and weak duality follows directly from cone positivity. Zero gap and attainment need a separate theorem with verified hypotheses.
Reversing the one-sided Slater conclusion. Primal strict feasibility guarantees dual attainment under the finite-value hypothesis; it does not guarantee primal attainment. The dual statement is reversed.
Checking only the objective gap. With nonzero primal or dual residuals, the reported objective difference contains residual terms. Feasibility, cone membership, and complementarity must be checked separately.
Calling a small negative eigenvalue “PSD within tolerance.” That phrase is a numerical policy, not an exact cone statement. Report the eigenvalue enclosure, scale, norm, and implication actually justified.
Using determinant alone as a PSD test. For a Hermitian matrix, principal minors give a short test. In higher dimension, a nonnegative determinant alone says almost nothing about the signs of the individual eigenvalues.
Promoting nonexclusion to existence. A primal point for one finite relaxation shows only what the declared finite system supports. It does not construct a quantum field theory.
What this method now permits
Section titled “What this method now permits”Given finite-dimensional data, one can now:
- put the problem into the declared conic pair , and , ;
- derive weak duality without guessing a transpose or sign;
- specialize the pair to the PSD cone and verify an exact SDP certificate;
- determine whether a Farkas separator addresses infeasibility or only strong infeasibility;
- state the exact Slater condition used for zero gap and the side whose optimum it guarantees to attain; and
- separate residuals, cone violations, gaps, PSD margins, scaling, conditioning, and finite-precision limitations before drawing a conclusion.
The physical continuation is the conformal-crossing optimization problem. The independent Hilbert-space branch begins instead at Banach and Hilbert Spaces, Completion, and Riesz Representation; it is not a prerequisite for this finite-dimensional route.
Exercises
Section titled “Exercises”Recover the dual and its sign
Section titled “Recover the dual and its sign”Starting from
derive the dual using the Lagrangian . Explain why the condition is rather than its negative.
Solution
The Lagrangian is
If , its pairing with every is nonnegative, and the infimum over the cone is attained at with value . If the covector is outside , there is an with negative pairing; scaling sends the infimum to . Hence the dual maximizes subject to .
Diagnose the weakly infeasible matrix system
Section titled “Diagnose the weakly infeasible matrix system”For
show directly that is not in but is in its closure. Why can no covector satisfy both and ?
Solution
If in a PSD matrix, its first row and column vanish, so ; therefore is not in the image. The rank-one matrices
map to , which converges to , so the target is in the closure.
Writing gives
PSD with a zero lower-right diagonal entry forces . But , so it cannot be negative.
Transfer the certificate to a crossing equation
Section titled “Transfer the certificate to a crossing equation”Suppose an exact finite projection of a normalized unitary crossing equation has the form
State a functional condition that excludes the assumed spectrum. Then state two facts that this exclusion does not prove.
Solution
A functional satisfying
would turn the crossing equation into
a contradiction. The sign condition must cover every allowed sector, not only sampled generators.
The certificate does not prove that a spectrum not excluded by this projection belongs to a CFT, and it does not control the continuum problem unless the projection, positivity representation, approximation, and tails have the required one-sided error bounds.
References
Section titled “References”- Stephen Boyd and Lieven Vandenberghe, Convex Optimization, PDF, Chapters 2, 4, and 5 and §§11.7.1–11.7.3, Cambridge University Press, 2004. These chapters and sections develop convex sets and cones, separation, semidefinite programs, Lagrange duality, theorems of alternatives, Slater conditions, and residual-aware optimization language. Its real-coordinate notation is translated to the typed dual pairings used here.
- Christian Jansson, “On Verified Numerical Computations in Convex Programming”, PDF, Japan Journal of Industrial and Applied Mathematics 26 (2009), 337–363. This is the numerical reliability source for rounding error, conditioning, interval verification, rigorous bounds, and the distinction between an approximate solver result and a verified conic conclusion.
- Minghui Liu and Gábor Pataki, “Exact Duality in Semidefinite Programming Based on Elementary Reformulations”, SIAM Journal on Optimization 25 (2015), 1441–1454, especially §§1–3. This is the specialist source for nonpolyhedral duality pathologies, weak infeasibility, facial reduction, and why the simplest SDP Farkas certificate can fail.
- Riccardo Rattazzi, Vyacheslav S. Rychkov, Erik Tonni, and Alessandro Vichi, “Bounding Scalar Operator Dimensions in 4D CFT”, Journal of High Energy Physics 2008(12), 031, especially §§4–5.2. These sections formulate the crossing sum rule, positivity of squared OPE coefficients, the convex-cone geometry, and finite functional projections. Its physical formulation is only summarized here and is developed in Volume 9.
- David Simmons-Duffin, “A Semidefinite Program Solver for the Conformal Bootstrap”, Journal of High Energy Physics 2015(06), 174, especially §§2.1–2.4. This is a QFT-application and computational source for translating polynomial matrix positivity into SDP form, primal–dual gaps, and finite-precision termination quantities. Solver design and the paper’s application-specific status language are not imported into this theorem-led page.
- Lieven Vandenberghe and Stephen Boyd, “Semidefinite Programming”, SIAM Review 38 (1996), 49–95, especially §§1 and 3. This is the structural SDP authority for LMIs, the PSD trace pairing, primal–dual formulations, complementarity, and strict-feasibility qualifications.