g(B_1,...,B_k) = max_{||x||_2=1} sum_{i=1}^k (x^T B_i x)^2.
G = triangle (K_3), n = 3, c = 3
Vertices: {1, 2, 3}
Edges: {(1,2), (1,3), (2,3)}
omega(G) = 3 >= c = 3 => CLIQUE YES
l = n = 3, k = n(n-1)/2 = 3
B_{(1,2)}: only (1,2) and (2,1) = 1 (edge exists)
B_{(1,2)} = [[0, 1, 0],
[1, 0, 0],
[0, 0, 0]]
B_{(1,3)}: only (1,3) and (3,1) = 1
B_{(1,3)} = [[0, 0, 1],
[0, 0, 0],
[1, 0, 0]]
B_{(2,3)}: only (2,3) and (3,2) = 1
B_{(2,3)} = [[0, 0, 0],
[0, 0, 1],
[0, 1, 0]]
Motzkin-Straus: max over simplex (sum y_i = 1) = (1/2)(1 - 1/3) = 1/3
Achieved at y = [1/3, 1/3, 1/3].
By substituting y_i = x_i^2, we map this to the unit sphere (sum x_i^2 = 1).
On unit sphere x = [1/sqrt(3), 1/sqrt(3), 1/sqrt(3)]:
x^T B_{(1,2)} x = 2 * (1/sqrt(3)) * (1/sqrt(3)) = 2/3
x^T B_{(1,3)} x = 2/3
x^T B_{(2,3)} x = 2/3
g = (2/3)^2 + (2/3)^2 + (2/3)^2 = 3 * 4/9 = 4/3
Check: g = 2(1 - 1/omega) = 2(1 - 1/3) = 4/3. Consistent.
For c = 3: YES threshold = 2(1 - 1/c) = 4/3.
Since g = 4/3 >= 4/3, RSDF answers YES.
Source: MaximumClique
Target: RobustSemidefiniteFeasibility (RSDF)
Motivation: Establishes NP-hardness of RSDF via a many-one reduction from the NP-complete problem CLIQUE, using the Motzkin-Straus theorem to encode clique number as a quartic optimization on the unit sphere.
Reference:
Reduction Algorithm
Notation:
Gonnvertices with adjacency matrixA_G, and clique-size thresholdc; question: doesGcontain a complete subgraph of size>= c?ksymmetric rationall × lmatricesB_1, ..., B_k, and rationalszeta, eta >= 0, withPromise:
g >= zeta + etag <= zeta - etaDirect Mapping (CLIQUE -> RSDF):
Set
k = n(n - 1)/2andl = n.Matrix construction:
For each pair
1 <= s < t <= n, construct one matrixB_{(s,t)}of sizen × n:(s, t)and(t, s), which are set toA_G[s, t](the adjacency entry).(s, t)is an edge, these entries are1; otherwise0.This gives
k = n(n-1)/2matrices, one per vertex pair.Threshold construction:
Using the Motzkin-Straus theorem, the maximum clique number
omega(G)satisfies:Since
g = 4 * max_{simplex} sum y_i y_j(via substitutiony_i = x_i^2), we have:The RSDF thresholds are set as:
Correctness (Theorem 2 in Gharibian):
The quartic form
gover the unit sphere encodes the same combinatorial optimization as the Motzkin-Straus quadratic form over the simplex. TheB_imatrices extract cross termsx_s x_tfor each edge, and squaring produces a quartic whose maximum reflects the clique number. The promise gapeta in Omega(n^{-2})is polynomially bounded, ensuring the reduction is polynomial-time.Size Overhead
num_matrices(k)n(n - 1)/2matrix_dim(l)nbit_sizeof entriesO(n^2)(eachB_ihas at most 2 nonzero entries, each 0 or 1)etaOmega(n^{-2})Validation Method
n <= 10), brute-force CLIQUE and compare with numerical evaluation ofgon the constructed RSDF instanceB_imatrix structure: exactly one matrix per vertex pair, nonzero entries only at(s,t)and(t,s)gvalue against Motzkin-Straus formula:gshould equal exactly4 * (1/2)(1 - 1/omega) = 2(1 - 1/omega)(sinceg = 4 * sum y_i y_jwherey_i = x_i^2maps the unit sphere to the simplex)omega = 2, complete graphK_5:omega = 5)Example
Source CLIQUE instance
Target RSDF image