betaFeedback

WorksMathematics

A note on approximate projection onto the semidefinite complementarity set

Abstract

The proximal slack update in an augmented Lagrangian method for semidefinite complementarity constraints requires a joint matrix projection. Given real symmetric matrices AA and BB, we seek the nearest pair (X,Z)(X,Z) with XX positive semidefinite, ZZ negative semidefinite, and XZ=0XZ=0. To approximate this projection, we replace the orthogonal projector onto the subspace allowed for XX by a symmetric matrix TT with eigenvalues in [0,1][0,1]. From an optimal solution of the resulting semidefinite program, we form candidate subspaces by starting at the zero subspace and adding the eigenspaces of TT in decreasing order of eigenvalue. For each candidate, we compress AA to that subspace and BB to its orthogonal complement. We keep the positive eigenvalues of the first compression and the negative eigenvalues of the second. The best pair has squared loss at most 1.1891.189 times the minimum for arbitrary inputs and at most 1.154871.15487 times the minimum when AA is positive semidefinite and BB is negative semidefinite. For arbitrary inputs the factor improves to 1.181.18 if TT has at most two distinct eigenvalues in (0,1)(0,1). The proofs average over a uniform spectral threshold and use computer-assisted bounds for the resulting scalar inequalities.

The projection problem

Let Sn\mathbb{S}^{n} denote the real symmetric n×nn \times n matrices and II the identity matrix. For real matrices of the same size we use the Frobenius inner product ⟨H,K⟩=tr⁡(HTK)\langle H, K\rangle= \operatorname{tr}(H^{\mathsf{T}}K) and norm ∥H∥F=⟨H,H⟩\lVert H\rVert_{F} = \sqrt{\langle H, H\rangle}. For symmetric matrices, H⪯KH \preceq K means that K−HK-H is positive semidefinite. For H⪰0H \succeq0, H1/2H^{1/2} denotes its positive semidefinite square root. We write ran⁡H\operatorname{ran} H and ker⁡H\operatorname{ker} H for the range and null space of HH. Given A,B∈SnA, B \in\mathbb{S}^{n}, we seek the squared distance from (A,B)(A, B) to the graph of the normal-cone mapping of the positive semidefinite cone,

{(X,Z)∈Sn×Sn:X⪰0, Z⪯0, XZ=0}.\{(X,Z)\in\mathbb{S}^{n}\times\mathbb{S}^{n}:X\succeq0,\ Z\preceq0,\ XZ=0\}.

A matrix ZZ is normal to the positive semidefinite cone at X⪰0X \succeq0 if and only if ⟨Z,H−X⟩≤0\langle Z, H-X\rangle\leq0 for every H⪰0H \succeq0. Taking H=0H=0 and H=2XH=2X gives ⟨Z,X⟩=0\langle Z, X\rangle= 0. Taking H=vvTH=vv^{\mathsf{T}} then gives vTZv≤0v^{\mathsf{T}}Zv \leq0 for every v∈Rnv \in\mathbb{R}^{n}, so Z⪯0Z \preceq0. Since −⟨Z,X⟩=∥X1/2(−Z)1/2∥F2-\langle Z, X\rangle= \lVert X^{1/2}(-Z)^{1/2}\rVert_{F}^{2}, orthogonality of XX and ZZ is equivalent to XZ=0XZ=0 under these sign conditions. Conversely, Z⪯0Z \preceq0 and XZ=0XZ=0 give ⟨Z,H−X⟩=⟨Z,H⟩≤0\langle Z, H-X\rangle= \langle Z, H\rangle\leq0 for every H⪰0H \succeq0.

Set Y=−ZY=-Z and write C=AC=A, D=−BD=-B. Reflection preserves the Frobenius distance. For a fitted pair (X,Y)(X,Y), let E(X,Y)\mathcal{E}(X,Y) denote its squared loss and v∗v_{\ast} the minimum over complementary pairs. Thus

E(X,Y)=∥C−X∥F2+∥D−Y∥F2,v∗=min⁡X,Y⪰0, XY=0E(X,Y).(1)\mathcal{E}(X,Y)=\lVert C-X\rVert_{F}^{2}+\lVert D-Y\rVert_{F}^{2},\qquad v_{\ast}=\min_{X,Y\succeq0,\ XY=0}\mathcal{E}(X,Y). \tag*{(1)}

A feasible pair (X,Y)(X,Y) in (1) gives (X,−Y)(X,-Y) in the original variables. The case C,D⪰0C,D\succeq0 corresponds to A⪰0A\succeq0 and B⪯0B\preceq0. The ranges of CC and DD may overlap, and the matrices need not commute. For H∈SnH\in\mathbb{S}^{n}, let H+H_{+} denote its positive part, obtained by replacing each eigenvalue λ\lambda by max⁡{λ,0}\max\{\lambda,0\} in an orthonormal eigenbasis of HH.

For a primal–dual feasible pair in a linear semidefinite program, the duality gap is the trace inner product of the primal matrix and the dual slack. Both matrices are positive semidefinite, so a zero gap requires their ranges to be orthogonal. Wu et al. [10] use this complementarity condition in an inverse problem that adjusts the objective and right-hand-side data of a linear semidefinite program. A rank bound gives another example. Ding, Sun and Ye [2 eqs. (2)–(3)] use a complementary matrix to impose a rank bound on a correlation matrix XX. For an integer 0≤r≤n0 \le r \le n, the condition rank⁡X≤r\operatorname{rank} X \le r is equivalent to the existence of YY with 0⪯Y⪯I0 \preceq Y \preceq I, tr⁡Y=n−r\operatorname{tr} Y = n-r, and XY=0XY = 0. Indeed, if rank⁡X≤r\operatorname{rank} X \le r, we can take YY to project onto an (n−r)(n-r)-dimensional subspace of ker⁡X\ker X. Conversely, any such YY has rank⁡Y≥tr⁡Y=n−r\operatorname{rank} Y \ge\operatorname{tr} Y = n-r and ran⁡Y⊆ker⁡X\operatorname{ran} Y \subseteq\ker X.

The projection itself occurs in the augmented Lagrangian method of Hou, Peng and Ding [6 eqs. (33)–(34), (57)]. The method introduces a separate pair of slack matrices constrained to be complementary. With the other variables fixed, the slack objective contains a squared distance to the multiplier-shifted constraint values and a proximal squared distance to the previous slack pair. If their weights are ρ/2\rho/2 and b/2b/2, respectively, with ρ,b>0\rho,b>0, completing the square gives (ρ+b)E(X,Y)/2(\rho+b)\mathcal{E}(X,Y)/2 up to an additive constant. Here (C,D)(C,D) is the weighted average of the two centers in the reflected variables. Thus an exact slack update solves (1). A feasible pair of loss at most cv∗cv_\ast, for c≥1c \ge1, has slack objective at most (ρ+b)(c−1)v∗/2(\rho+b)(c-1)v_\ast/2 above the exact block minimum. Such a pair can be used as a trial update in the inexact method, which also tests descent and a limiting-normal residual before acceptance [6 Algorithm 2, eqs. (39)–(40)].

When nn is part of the input, deciding whether v∗v_\ast is at most a given rational threshold is NP-hard, even for rational positive definite CC and DD [6 Remark 4 and Appendix E].

Remark 1.1 (No fully polynomial-time approximation scheme). A fully polynomial-time approximation scheme (FPTAS) for (1) would, for any rational 0<ε<10<\varepsilon<1, return a feasible pair of loss v^≤(1+ε)v∗\widehat{v}\le(1+\varepsilon)v_\ast in time polynomial in the input bit length and 1/ε1/\varepsilon. Even for rational C,D≻0C,D\succ0, such a scheme would imply P=NP\mathrm{P}=\mathrm{NP}. To see this, take a simple unweighted graph on n≥2n\ge2 vertices and let mm be its maximum cut size. The reduction in [6 Appendix E] constructs the matrices in polynomial time. With δ=(1024n16)−1\delta=(1024n^{16})^{-1} and c0=∥D∥F2c_0=\lVert D\rVert_F^2, its final estimate is ∣v∗−c0+δδ2m∣≤12δ2|v_\ast-c_0+\delta\delta^2m|\le\frac{1}{2}\delta^2. The diagonal entries of DD are 12,…,n21^2,\ldots,n^2, and its off-diagonal part has Frobenius norm less than one. Hence c0≤n5+1c_0\le n^5+1. The feasible pair (C,0)(C,0) gives v∗≤c0v_\ast\le c_0. Choose ε=δ2/c0\varepsilon=\delta^2/c_0, so that 1/ε=O(n37)1/\varepsilon=O(n^{37}) and 0≤v^−v∗≤δ20\le\widehat{v}-v_\ast\le\delta^2. It follows that (c0−v^)/(8δ2)(c_0-\widehat{v})/(8\delta^2) differs from mm by at most 3/163/16. Rounding this rational integer would recover the maximum cut size in polynomial time and hence solve the NP-complete Simple Max-Cut decision problem [3]. The same conclusion holds for the Frobenius distance itself, since a distance factor of 1+ε/31+\varepsilon/3 gives a squared-loss factor at most 1+ε1+\varepsilon for 0<ε<10<\varepsilon<1.

The constraint XY=0XY=0 requires the ranges of XX and YY to be orthogonal. Projecting CC and DD separately onto the positive semidefinite cone can leave their fitted ranges overlapping. Once a subspace for XX and its orthogonal complement for YY have been chosen, two positive semidefinite projections give the best fit. We relax the projector onto the subspace for XX to a matrix 0⪯T⪯I0\preceq T\preceq I. Thresholding its eigenvalues gives the candidate subspaces. Table 1 gives the loss bounds. Whether the bounds for threshold rounding are sharp remains open (Remark 2.2).

HypothesisSquared-loss factor
C,D∈SnC,D\in\mathbb{S}^{n}1.189
C,D⪰0C,D\succeq01.15487
TT has at most two distinct eigenvalues in (0,1)(0,1)1.18

Table 1. Squared-loss factors for spectral threshold rounding from an optimal solution of (4). For v∗>0v_{\ast}>0, each factor bounds the squared loss divided by v∗v_{\ast}. Its square root bounds the corresponding distance ratio.

Semidefinite relaxation and spectral threshold rounding

Let PP be an orthogonal projector and set Q=I−PQ=I-P. Write v(P)v(P) for the minimum of E(X,Y)\mathcal{E}(X,Y) subject to X,Y⪰0X,Y\succeq0, X=PXPX=PXP, and Y=QYQY=QYQ. The last two conditions place the ranges in orthogonal subspaces, so every such pair is complementary. Decomposing the inputs into blocks relative to ran PP and ran QQ gives

(XP,YP)=((PCP)+,(QDQ)+),v(P)=∥C∥F2+∥D∥F2−∥(PCP)+∥F2−∥(QDQ)+∥F2.(2)(X_P,Y_P)=((PCP)_+,(QDQ)_+),\qquad v(P)=\lVert C\rVert_F^2+\lVert D\rVert_F^2-\lVert(PCP)_+\rVert_F^2-\lVert(QDQ)_+\rVert_F^2. \tag*{(2)}

For the first matrix, only the PP-block can vary. By the Frobenius projection formula for the positive semidefinite cone [4 Theorem 2.1], truncating the negative eigenvalues of PCPPCP gives the least loss on that block. The same argument applies to QDQQDQ on ran QQ. These two compressed projections also appear in the fixed-subspace slack fit in [6 Sec. 6.1]. Conversely, for any complementary pair one may take PP to be the projector onto ran XX, since ran Y⊆ker⁡XY\subseteq\ker X. It follows that v∗=min⁡P=PT=P2v(P)v_{\ast}=\min_{P=P^{\mathsf T}=P^2}v(P). The minimum is attained because v(P)v(P) is continuous on the compact set of orthogonal projectors.

The relaxation

At a projector PP, the map Z↦PZPZ\mapsto PZP keeps precisely the block on ran PP. To extend this map to 0⪯T⪯I0\preceq T\preceq I, work on the full space Rn×n\mathbb{R}^{n\times n} with the Frobenius inner product. Define three linear operators by their action on a matrix ZZ,

ST(Z)=12(TZ+ZT),JT(Z)=TZ−ZT,HT(Z)=2Z−TZ−ZT.S_T(Z)=\tfrac{1}{2}(TZ+ZT),\qquad J_T(Z)=TZ-ZT,\qquad H_T(Z)=2Z-TZ-ZT.

Let †\dagger denote the Moore–Penrose inverse, and set KT=ST−12JTHT†JTK_T=S_T-\tfrac{1}{2}J_TH_T^\dagger J_T. Choose an orthonormal eigenbasis (ei)(e_i) of TT. If ei,eje_i,e_j have eigenvalues x,yx,y, the matrix unit eiejTe_ie_j^{\mathsf T} is a common eigenvector of STS_T, JTJ_T, HTH_T, with eigenvalues (x+y)/2(x+y)/2, x−yx-y, and 2−x−y2-x-y, respectively. These matrix units form an orthonormal basis of Rn×n\mathbb{R}^{n\times n}, so the three operators are self-adjoint and commute. The eigenvalue of KTK_T on eiejTe_ie_j^{\mathsf T} is

k(x,y)=x(1−x)+y(1−y)2−x−y((x,y)≠(1,1)),k(1,1)=1.(3)k(x,y)=\frac{x(1-x)+y(1-y)}{2-x-y}\quad((x,y)\ne(1,1)),\qquad k(1,1)=1. \tag*{(3)}

Since 1−k(x,y)=(1−x)2+(1−y)22−x−y1-k(x,y)=\frac{(1-x)^2+(1-y)^2}{2-x-y} away from (1,1)(1,1), and k(x,y)k(x,y) is a weighted average of xx and yy with weights 1−x,1−y1-x,1-y, we have 0≤k≤10\le k\le1 on [0,1]2[0,1]^2. The weighted-average formula also gives continuity at (1,1)(1,1). Hence KTK_T is positive semidefinite and all its eigenvalues lie in [0,1][0,1]. At a projector PP, the multiplier is one when both eigenvalues are one and zero otherwise, so KP(Z)=PZPK_P(Z)=PZP. For U∈Rn×nU\in\mathbb{R}^{n\times n}, define the extended-real quadratic form

qT(U)={⟨U,KT†U⟩,U∈ran⁡KT,+∞,otherwise.q_T(U)= \begin{cases} \langle U,K_T^\dagger U\rangle, & U\in\operatorname{ran}K_T,\\ +\infty, & \text{otherwise}. \end{cases}

For a symmetric input HH, let ΦH(T,U)\Phi_H(T,U) be the contribution of UU to the relaxed loss. We write L(T,U,W)L(T,U,W) for the total and ℓ∗\ell_{\ast} for its minimum,

ΦH(T,U)=∥H∥F2−2⟨H,U⟩+qT(U),L(T,U,W)=ΦC(T,U)+ΦD(I−T,W),ℓ∗=min⁡0⪯T⪯I, U,W⪰0L(T,U,W).(4)\begin{aligned} \Phi_H(T,U)&=\lVert H\rVert_F^2-2\langle H,U\rangle+q_T(U),\\ L(T,U,W)&=\Phi_C(T,U)+\Phi_D(I-T,W),\\ \ell_{\ast}&=\min_{\substack{0\preceq T\preceq I,\ U,W\succeq0}}L(T,U,W). \tag*{(4)} \end{aligned}

A feasible triple (T,U,W)(T,U,W) is finite if L(T,U,W)<∞L(T,U,W)<\infty, equivalently if both qT(U)q_T(U) and qI−T(W)q_{I-T}(W) are finite. Write xix_i for the eigenvalues of TT and use the corresponding eigenbasis for the entries UijU_{ij}. The range condition in the definition of qTq_T requires Uij=0U_{ij}=0 whenever k(xi,xj)=0k(x_i,x_j)=0. On this domain,

qT(U)=∑k(xi,xj)>0Uij2k(xi,xj).q_T(U)=\sum_{k(x_i,x_j)>0}\frac{U_{ij}^2}{k(x_i,x_j)}.

For the linear matrix inequality, use the fixed standard matrix-unit basis of Rn×n\mathbb{R}^{n\times n}, independently of TT. Let z∈Rn2z\in\mathbb{R}^{n^2} be the vector formed by stacking the columns of UU, using the same order for the basis. For τ∈R\tau\in\mathbb{R}, the epigraph condition qT(U)≤τq_T(U)\leq\tau is equivalent to

\begin{pmatrix} \tau& z^\top& 0\\ z & S_T & J_T\\ 0 & J_T & 2H_T \end{pmatrix}\succeq0. \tag*{(5)}\end{pmatrix}

Simultaneous diagonalization gives ker⁡HT⊆ker⁡JT\ker H_T\subseteq\ker J_T. By the generalized Schur complement criterion [1 Appendix A.5.5], eliminating 2HT2H_T leaves a block matrix with diagonal blocks τ,KT\tau,K_T and off-diagonal block zz. Positive semidefiniteness requires zz to be orthogonal to ker⁡KT\ker K_T. Completing the square on ran⁡KT\operatorname{ran}K_T then gives qT(U)≤τq_T(U)\leq\tau. All entries in (5) are affine in (T,U,τ)(T,U,\tau). Use a second scalar variable to bound qI−T(W)q_{I-T}(W), with (I−T,W)(I-T,W) in place of (T,U)(T,U) in (5). Minimizing the sum of the two scalar bounds and the affine terms in (4) gives a semidefinite program with two linear matrix inequalities of order 2n2+12n^2+1. When T=PT=P is a projector, KPK_P projects onto the matrices U=PUPU=PUP. On this subspace qP(U)=∥U∥F2q_P(U)=\lVert U\rVert_F^2. Similarly, qI−P(W)q_{I-P}(W) is finite precisely when W=(I−P)W(I−P)W=(I-P)W(I-P) and then equals ∥W∥F2\lVert W\rVert_F^2. Minimizing the relaxed objective at T=PT=P therefore gives v(P)v(P), so ℓ∗≤v∗\ell_*\leq v_*. For every admissible TT, the bound qT(U)≥∥U∥F2q_T(U)\geq\lVert U\rVert_F^2 gives L(T,U,W)≥∥C−U∥F2+∥D−W∥F2L(T,U,W)\geq\lVert C-U\rVert_F^2+\lVert D-W\rVert_F^2. Thus 0≤ℓ∗0\leq\ell_* and U,WU,W are bounded on every finite lower level set. The epigraph in (5) is closed and the admissible set for TT is compact, so the relaxation attains its minimum.

Threshold rounding

Let λ1>⋯>λm\lambda_1>\cdots>\lambda_m be the distinct eigenvalues of TT, with eigenspaces E1,…,EmE_1,\ldots,E_m. Start with the zero subspace and successively add E1,…,EmE_1,\ldots,E_m, ending with Rn\mathbb{R}^n. After step jj the subspace contains exactly the eigenspaces with eigenvalues at least λj\lambda_j. Each repeated eigenvalue enters with its entire eigenspace. Let P(T)\mathcal{P}(T) consist of the orthogonal projectors onto these m+1≤n+1m+1\leq n+1 subspaces. The least loss over this family is

V(T)=min⁡P∈P(T)v(P).(6)V(T)=\min_{P\in\mathcal{P}(T)}v(P). \tag*{(6)}

Algorithm 1 Semidefinite relaxation and spectral threshold rounding

Require: Real symmetric inputs C,DC,D.

  1. Choose an optimal triple (T,U,W)(T,U,W) for (4).

  2. Order the distinct eigenvalues of TT and form the nested projectors P(T)\mathcal{P}(T).

  3. for P∈P(T)P\in\mathcal{P}(T) do

  4. &nbsp;&nbsp;&nbsp;&nbsp;Set Q=I−PQ=I-P, compute (PCP)+(PCP)_+ and (QDQ)+(QDQ)_+, and evaluate v(P)v(P) by (2).

  5. end for

  6. return a pair (XP,YP)(X_P,Y_P) with the least value of v(P)v(P).

For fixed TT, Algorithm 1 returns a pair of loss V(T)V(T), even if several projectors attain the minimum. For any threshold s∈[0,1]s\in[0,1], write Ps(T)P_s(T) for the projector onto the sum of the eigenspaces of TT with eigenvalues at least ss. For fixed TT abbreviate it to PsP_s. In the proofs ss is uniform on [0,1][0,1], and E\mathbb{E} denotes expectation with respect to the random threshold. Every PsP_s belongs to P(T)\mathcal{P}(T), so V(T)≤v(Ps)V(T)\leq v(P_s) at each threshold and hence V(T)≤E v(Ps)V(T)\leq\mathbb{E}\,v(P_s).

Theorem 2.1. For every finite feasible triple (T,U,W)(T,U,W) of (4),

V(T)≤1.189L(T,U,W)(C,D∈Sn),V(T)≤1.15487L(T,U,W)(C,D⪰0).V(T) \le1.189L(T,U,W) \quad(C,D \in\mathbb{S}^n), \qquad V(T) \le1.15487L(T,U,W) \quad(C,D \succeq0).

Let cc be the constant in the applicable inequality. Algorithm 1 returns a pair of squared loss V(T)≤cv∗V(T) \le cv_*. More generally, for an absolute tolerance η≥0\eta\ge0, if a finite feasible triple satisfies L(T,U,W)≤ℓ∗+ηL(T,U,W) \le\ell_*+\eta, threshold rounding gives V(T)≤c(v∗+η)V(T) \le c(v_*+\eta).

For an optimal triple, L(T,U,W)=ℓ∗≤v∗L(T,U,W)=\ell_* \le v_*. For the last claim, use L(T,U,W)≤ℓ∗+η≤v∗+ηL(T,U,W) \le\ell_*+\eta\le v_*+\eta. Here η\eta measures absolute error in the relaxation objective. Both claims assume exact eigenspaces and exact fits on the selected subspaces. A bit-complexity bound for relative error would also require an estimate of the cost of solving the relaxation to that accuracy. If v∗=0v_*=0, an optimal relaxed solution gives V(T)=0V(T)=0, so the returned pair equals the input pair in (1).

Remark 2.2. The bounds 1.189 and 1.15487 in Theorem 2.1 and 59/50 in Proposition 5.1 come from upper estimates of the expected loss at a uniform threshold. The rounding rule returns the least loss over all its candidate subspaces. For v∗>0v_*>0, how close V(T)/v∗V(T)/v_* can come to these bounds at an optimal relaxed solution remains open here.

The bound for arbitrary symmetric inputs

Fix a finite feasible triple (T0,U,W)(T_0,U,W). We first vary the eigenvalues of T0T_0 in a fixed basis, keeping U,WU,W fixed. If the eigenvalues stay in order and each original eigenspace stays intact, every threshold projector of the new matrix already belongs to P(T0)\mathcal{P}(T_0). We use this freedom to minimize LL over the admissible eigenvalues. The derivative at the minimizer gives an identity that cancels two terms in the expected loss estimate.

Stationarity with respect to the eigenvalues

Choose an eigenbasis of T0T_0 in decreasing order of eigenvalue. Minimize L(T,U,W)L(T,U,W) over matrices TT diagonal in this basis, keeping U,WU,W fixed. Require the diagonal entries of TT to lie in [0,1][0,1] in nonincreasing order, with equal entries wherever the corresponding eigenvalues of T0T_0 are equal. This compact set contains T0T_0, so lower semicontinuity gives a minimizer T‾\overline{T} with finite loss. Adjacent distinct eigenvalues may become equal at T‾\overline{T}. A threshold then includes both original eigenspaces or neither of them. Hence P(T‾)⊆P(T0)\mathcal{P}(\overline{T}) \subseteq\mathcal{P}(T_0) and

V(T0)≤V(T‾),L(T‾,U,W)≤L(T0,U,W).(7)V(T_0) \le V(\overline{T}), \qquad L(\overline{T},U,W) \le L(T_0,U,W). \tag*{(7)}

Use the chosen eigenbasis throughout this section, and write xix_i for the eigenvalues of T‾\overline{T}. To differentiate along an admissible perturbation, we use the polynomial

λ(x)=x(1−x)(2x−1)[−0.001447+0.213196(2x−1)2−0.166343(2x−1)4].\lambda(x)=x(1-x)(2x-1)\left[-0.001447+0.213196(2x-1)^2-0.166343(2x-1)^4\right].

Throughout, terminating decimals used as coefficients denote exact rational numbers. The perturbation x↦x+ϵλ(x)x\mapsto x+\epsilon\lambda(x) fixes both endpoints. Since λ′\lambda' is bounded, the map is strictly increasing for all sufficiently small ∣ϵ∣|\epsilon|. Thus an interior eigenvalue stays in (0,1)(0,1) and the eigenvalues retain their order and ties. By (3), zero multipliers occur only at pairs of endpoints, so the positions of all zero multipliers k(xi,xj)k(x_i,x_j) are preserved. Write ∂1k,∂2k\partial_1 k,\partial_2 k for the partial derivatives with respect to the first and second arguments. For k(x,y)>0k(x,y)>0 and (x,y)≠(1,1)(x,y)\ne(1,1), define

Jλ(x,y)=λ(x)∂1k(x,y)+λ(y)∂2k(x,y)k(x,y)2.J_\lambda(x,y)=\frac{\lambda(x)\partial_1 k(x,y)+\lambda(y)\partial_2 k(x,y)}{k(x,y)^2}.

Set Jλ(1,1)=0J_\lambda(1,1)=0 because the perturbation fixes 1. Set Jλ(x,y)=0J_\lambda(x,y)=0 also when $k(x,y)=0, solely to include those indices in the sums below. The corresponding matrix entries vanish by finiteness of the quadratic form, and the zero multipliers stay zero along the perturbation. For k>0k > 0, the derivative of 1/k1/k along the perturbation at ϵ=0\epsilon= 0 is −Jλ(x,y)-J_\lambda(x,y). Also, 1−(x+ϵλ(x))=(1−x)+ϵλ(1−x)1-(x+\epsilon\lambda(x))=(1-x)+\epsilon\lambda(1-x) because λ(1−x)=−λ(x)\lambda(1-x)=-\lambda(x). Both signs of ϵ\epsilon are feasible at the minimizer Tˉ\bar{T}. The derivative of LL along this curve at ϵ=0\epsilon= 0 therefore vanishes. Only the two quadratic terms vary, giving

∑ijJλ(xi,xj)Uij2+∑ijJλ(1−xi,1−xj)Wij2=0.(8)\sum_{ij} J_\lambda(x_i,x_j)U_{ij}^{2}+\sum_{ij}J_\lambda(1-x_i,1-x_j)W_{ij}^{2}=0. \tag*{(8)}

Set c=1.189c=1.189 for the remainder of this section. By (7), it suffices to prove V(Tˉ)≤cL(Tˉ,U,W)V(\bar{T})\le cL(\bar{T},U,W).

Expected loss after thresholding and diagonal scaling

Choose ss uniformly on [0,1][0,1] and put Ps=Ps(Tˉ)P_s=P_s(\bar{T}) in this section. We construct a fit for CC by scaling UU on ran⁡Ps\operatorname{ran}P_s. For x,s∈[0,1]x,s\in[0,1], define

p(x)=0.743787−0.486537x+0.627925x2−0.392282x3,p(x)=0.743787-0.486537x+0.627925x^{2}-0.392282x^{3},
g(x)=(0.426605−2.315288x+2.696582x2)/(0.12+x),g(x)=(0.426605-2.315288x+2.696582x^{2})/(0.12+x),
ρs(x)=1+(1−x)g(x)(x−2s)1−(1−x)p(x).\rho_s(x)=\frac{1+(1-x)g(x)(x-2s)}{1-(1-x)p(x)}.

Let RsR_s be diagonal in the chosen eigenbasis. Its entry at eigenvalue xx is ρs(x)\rho_s(x) if x≥sx\ge s and zero otherwise. The denominator of ρs(x)\rho_s(x) is positive because pp decreases on [0,1][0,1] and p(0)<1p(0)<1. Then RsURsR_sUR_s is positive semidefinite and has range in ran⁡Ps\operatorname{ran}P_s. For DD, apply the same rule to WW using I−TˉI-\bar{T} and threshold 1−s1-s. Unless ss is an eigenvalue of Tˉ\bar{T}, the condition 1−x≥1−s1-x\ge1-s is equivalent to x<sx<s. The subspace selected for WW is therefore ran⁡(I−Ps)\operatorname{ran}(I-P_s) almost surely.

For the entry (i,j)(i,j) with xi,xj>0x_i,x_j>0, put x=max⁡(xi,xj)x=\max(x_i,x_j) and y=min⁡(xi,xj)y=\min(x_i,x_j). For this pair let hs=ρs(x)ρs(y)h_s=\rho_s(x)\rho_s(y). The (i,j)(i,j) entry of RsURsR_sUR_s is hsUijh_sU_{ij} for s≤ys\le y and zero otherwise. Its contribution to E∥C−RsURs∥F2\mathbb{E}\lVert C-R_sUR_s\rVert_F^2 is

Cij2−2CijUij∫0yhs ds+Uij2∫0yhs2 ds.C_{ij}^{2}-2C_{ij}U_{ij}\int_{0}^{y}h_s\,ds+U_{ij}^{2}\int_{0}^{y}h_s^{2}\,ds.

Subtract this expected loss from the scaled relaxed loss c(Cij2−2CijUij+Uij2/k(x,y))c(C_{ij}^{2}-2C_{ij}U_{ij}+U_{ij}^{2}/k(x,y)). For fixed UijU_{ij}, the minimum of the difference over Cij∈RC_{ij}\in\mathbb{R} is M(x,y)Uij2M(x,y)U_{ij}^{2}, where

M(x,y)=ck(x,y)−∫0yhs2 ds−(c−∫0yhs ds)2c−1.(9)M(x,y)=\frac{c}{k(x,y)}-\int_{0}^{y}h_s^{2}\,ds-\frac{\left(c-\int_{0}^{y}h_s\,ds\right)^{2}}{c-1}. \tag*{(9)}

For almost every ss, the two scaled matrices are feasible on ran⁡Ps\operatorname{ran}P_s and ran⁡(I−Ps)\operatorname{ran}(I-P_s). Their loss therefore bounds v(Ps)v(P_s) from above by (2).

Lemma 3.1 (A pointwise lower bound for M+JλM+J_\lambda). Define ff on [0,1][0,1] and θ\theta on [0,1)[0,1) by

f(x)=(−0.398243+0.543957x−0.533234x2)/(0.057958+x),f(x)=(-0.398243+0.543957x-0.533234x^{2})/(0.057958+x),
θ(x)=2.191072log⁡(1−x)−1.031425x−0.481436x2.\theta(x)=2.191072\log(1-x)-1.031425x-0.481436x^{2}.

For x,y∈[0,1)x,y\in[0,1), put

G(x,y)=(1−x)(1−y) f(x)f(y)cos⁡(θ(x)−θ(y)).G(x,y)=\sqrt{(1-x)(1-y)}\,f(x)f(y)\cos(\theta(x)-\theta(y)).

Set G(x,y)=0G(x,y)=0 if x=1x=1 or y=1y=1. Then for 0<y≤x≤10<y\le x\le1,

M(x,y)+Jλ(x,y)≥G(x,y).(10)M(x,y)+J_\lambda(x,y)\ge G(x,y). \tag*{(10)}

Proof. For y<1y<1, set b=1−yb=1-y and t=(1−x)/(1−y)t=\sqrt{(1-x)/(1-y)}. Since b,k(x,y)>0b,k(x,y)>0, the desired inequality is equivalent to (k(x,y)/b)(M+Jλ−G)≥0(k(x,y)/b)(M+J_{\lambda}-G)\ge0. Appendix A.1 gives a positive lower bound for this scaled difference on each rectangle in a cover of [0,1]2[0,1]^2. At x=y=1x=y=1 we have k=hs=1k=h_s=1, so (9) gives M=0M=0. By definition Jλ=G=0J_{\lambda}=G=0 there as well.

Proof of Theorem 2.1 for arbitrary inputs. The matrix [G(xi,xj)][G(x_i,x_j)] is a Gram matrix. Take the zero vector at x=1x=1 and the vector 1−xf(x)(cos⁡θ(x),sin⁡θ(x))\sqrt{1-x}f(x)(\cos\theta(x),\sin\theta(x)) at x<1x<1. The inner product of the vectors at xi,xjx_i,x_j equals G(xi,xj)G(x_i,x_j). For matrices of equal size let ∘\circ denote the entrywise product. By the Schur product theorem [5 Sec. 7.5], U∘U=[Uij2]U\circ U=[U_{ij}^2] is also positive semidefinite. To see this directly, let uiu_i be row ii of U1/2U^{1/2}. Then Uij=uiTujU_{ij}=u_i^\mathsf{T}u_j and Uij2=⟨uiuiT,ujujT⟩U_{ij}^2=\langle u_i u_i^\mathsf{T},u_j u_j^\mathsf{T}\rangle. The trace inner product of two positive semidefinite matrices A,BA,B is nonnegative, since tr⁡(AB)=tr⁡(A1/2BA1/2)≥0\operatorname{tr}(AB)=\operatorname{tr}(A^{1/2}BA^{1/2})\ge0. Hence ∑ijG(xi,xj)Uij2≥0\sum_{ij}G(x_i,x_j)U_{ij}^2\ge0.

If xi=0x_i=0, finiteness of qT‾(U)q_{\overline{T}}(U) forces Uii=0U_{ii}=0. The inequality Uij2≤UiiUjjU_{ij}^2\le U_{ii}U_{jj} then gives Uij=0U_{ij}=0 for every jj. Each entry in that row or column contributes (c−1)Cij2≥0(c-1)C_{ij}^2\ge0 to cΦC(T‾,U)−E∥C−RsURs∥F2c\Phi_C(\overline{T},U)-\mathbb{E}\lVert C-R_sUR_s\rVert_F^2. For entries with both eigenvalues positive, multiply (10) by Uij2U_{ij}^2 and sum. Since the sum involving GG is nonnegative, the loss difference for CC is at least −∑ijJλ(xi,xj)Uij2-\sum_{ij}J_{\lambda}(x_i,x_j)U_{ij}^2. The corresponding lower bound for DD uses WW and the eigenvalues 1−xi1-x_i. The two sums involving JλJ_{\lambda} cancel by (8). Thus the expected loss of the constructed pair is at most cL(T‾,U,W)cL(\overline{T},U,W). Since V(T‾)≤E v(Ps)V(\overline{T})\le\mathbb{E}\,v(P_s), (7) gives V(T0)≤V(T‾)≤cL(T‾,U,W)≤cL(T0,U,W)V(T_0)\le V(\overline{T})\le cL(\overline{T},U,W)\le cL(T_0,U,W).

Positive semidefinite inputs after reflection

Fix a finite feasible triple (T,U,W)(T,U,W) and suppose C,D⪰0C,D\succeq0. Choose ss uniformly on [0,1][0,1] and write Ps=Ps(T)P_s=P_s(T). The compressions PsCPsP_sCP_s and (I−Ps)D(I−Ps)(I-P_s)D(I-P_s) are positive semidefinite and are therefore the minimizing pair in (2).

Fix an eigenbasis of TT, write xix_i for its eigenvalues, and put ai=1−xia_i=1-x_i. The compression PsCPsP_sCP_s retains entry CijC_{ij} precisely when s≤min⁡(xi,xj)s\le\min(x_i,x_j). The expected squared loss from this entry is therefore max⁡(ai,aj)Cij2\max(a_i,a_j)C_{ij}^2. For k=k(xi,xj)>0k=k(x_i,x_j)>0, completing the square gives the corresponding term in ΦC(T,U)\Phi_C(T,U) as

Cij2−2CijUij+Uij2/k=(1−k)Cij2+(Uij−kCij)2/k.C_{ij}^2-2C_{ij}U_{ij}+U_{ij}^2/k=(1-k)C_{ij}^2+(U_{ij}-kC_{ij})^2/k.

If k=0k=0, finiteness of qT(U)q_T(U) requires Uij=0U_{ij}=0. In both cases the contribution to the relaxed loss is at least (1−k)Cij2(1-k)C_{ij}^2. Equation (3) gives 1−k=β(ai,aj)1-k=\beta(a_i,a_j), where

β(a,b)=a2+b2a+b(a+b>0),β(0,0)=0.\beta(a,b)=\frac{a^2+b^2}{a+b}\quad(a+b>0),\qquad\beta(0,0)=0.

For a,b>0a,b>0, put t=∣log⁡(a/b)∣t=\lvert\log(a/b)\rvert and c+=1.15487c_+=1.15487. Dividing c+β(a,b)−max⁡(a,b)c_+\beta(a,b)-\max(a,b) by ab\sqrt{ab} yields a function of tt alone,

c+β(a,b)−max⁡(a,b)ab=F(t):=c+cosh⁡tcosh⁡(t/2)−et/2.(11)\frac{c_+\beta(a,b)-\max(a,b)}{\sqrt{ab}}=F(t):=c_+\frac{\cosh t}{\cosh(t/2)}-e^{t/2}. \tag*{(11)}

Lemma 4.1 (A lower bound by a cosine sum). Let (ωm,dm)(\omega_m,d_m), m=1,…,98m=1,\ldots,98, be the nonnegative rational frequency and weight pairs in Table 2. Then

F(t)≥∑m=198dmcos⁡(ωmt)(t≥0).(12)F(t)\ge\sum_{m=1}^{98}d_m\cos(\omega_m t)\qquad(t\ge0). \tag*{(12)}
100ωm100\omega_m1010dm10^{10}d_m100ωm100\omega_m1010dm10^{10}d_m100ωm100\omega_m1010dm10^{10}d_m100ωm100\omega_m1010dm10^{10}d_m100ωm100\omega_m1010dm10^{10}d_m
2971325302243127276103795785398789159320485430886632656035
88184909950896659902115645136331118622232023144729884142
1477131135411737205687171767921398920281563773720586156926
232012938571235036559842611105716972641247065929028812243
293216886863193743956332231184365348565923223515596429
37765682429380639982940674904453409730187143594391955
438910062246503810937468010457749423422173497210216
523329836135263504485525269087558162349846583151934
610720518896122102072639919288336429892566901719182
672032956698215856087012177172731418523730326625
7565131760578561183139788621876814811012168439995000
846915422873192575990228379079052112909314778576
960570044796351510198976536429927318010188588757
1021815274104805539201077150578710801312111063466742
11354411623113691478911646389134119373438071195211385
122283145341225889561252029164812811258416128414092
13103235801133942006681340996191368618578613977157653
14007368514269138679145601098881457563761485295887
151437405215173246115435541101546532571572627727
15756102031601811849160487260

Table 2. Data for the cosine bound (12). Each adjacent pair of columns gives the scaled frequency and weight shown in its heading. Read the pairs from left to right in each row.

Proof. Let δ(t)=F(t)−∑mdmcos⁡(ωmt)\delta(t)=F(t)-\sum_m d_m\cos(\omega_m t). Appendix A.2 gives δ(j/4000)≥2535846/1012\delta(j/4000)\ge2535846/10^{12} for j=0,…,12000j=0,\ldots,12000 and ∣δ′′(t)∣≤54|\delta''(t)|\le54 on [0,3][0,3]. The linear interpolant of δ\delta between adjacent nodes is at least the smaller endpoint value. On a node interval [a,b][a,b], the linear interpolation remainder is δ′′(ξ)(t−a)(t−b)/2\delta^{\prime\prime}(\xi)(t-a)(t-b)/2 for some ξ∈(a,b)\xi\in(a,b) [8 eq. (3.3.5)]. Its magnitude is at most 54/(8⋅40002)54/(8\cdot4000^2), less than the lower bound for δ\delta at the nodes. Thus δ≥0\delta\geq0 on [0,3][0,3]. For t≥3t\geq3, Appendix A.2 gives F(t)>∑mdm≥∑mdmcos⁡(ωmt)F(t) > \sum_m d_m \geq\sum_m d_m\cos(\omega_m t).

Proof of Theorem 2.1 when C,D⪰0C,D\succeq0. For each ai>0a_i>0, form a vector by concatenating the coordinate pairs

aidm(cos⁡(ωmlog⁡ai),sin⁡(ωmlog⁡ai))\sqrt{a_i d_m}\bigl(\cos(\omega_m\log a_i),\sin(\omega_m\log a_i)\bigr)

over the frequencies mm. For ai=0a_i=0 take the zero vector. Let KK be the Gram matrix of these vectors. If ai,aj>0a_i,a_j>0, the cosine difference identity and (11)–(12) give Kij≤c+β(ai,aj)−max⁡(ai,aj)K_{ij}\leq c_+\beta(a_i,a_j)-\max(a_i,a_j). If aia_i or aja_j is zero, then Kij=0K_{ij}=0 and the right side equals (c+−1)max⁡(ai,aj)≥0(c_+-1)\max(a_i,a_j)\geq0.

Multiply the bound on KijK_{ij} by Cij2C_{ij}^2 and sum. As C⪰0C\succeq0, the argument for U∘UU\circ U in § 3 gives C∘C⪰0C\circ C\succeq0. Its trace inner product with KK is nonnegative. It follows that ∑ijmax⁡(ai,aj)Cij2≤c+∑ijβ(ai,aj)Cij2\sum_{ij}\max(a_i,a_j)C_{ij}^2\leq c_+\sum_{ij}\beta(a_i,a_j)C_{ij}^2. The lower bound for ΦC(T,U)\Phi_C(T,U) now gives

E∥C−PsCPs∥F2≤c+ΦC(T,U).\mathbb{E}\left\|C-P_sCP_s\right\|_F^2\leq c_+\Phi_C(T,U).

Apply the same estimate to D,WD,W using I−TI-T and threshold 1−s1-s. The corresponding projector is I−PsI-P_s almost surely. Summing the two estimates gives E v(Ps)≤c+L(T,U,W)\mathbb{E}\,v(P_s)\leq c_+L(T,U,W), and V(T)≤E v(Ps)V(T)\leq\mathbb{E}\,v(P_s) by (6).

The bound for at most two distinct interior eigenvalues

For two distinct eigenvalues in (0,1)(0,1), we use a separate scaling on each interior eigenspace. Positive semidefiniteness then bounds the Frobenius norm of the block between the two eigenspaces in terms of the norms of the diagonal blocks.

Proposition 5.1. Suppose that TT has at most two distinct eigenvalues in (0,1)(0,1). For every finite feasible triple (T,U,W)(T,U,W) one has V(T)≤(59/50)L(T,U,W)V(T)\leq(59/50)L(T,U,W). Eigenvalues 00 and 11 may both be present, and their multiplicities and those of the interior eigenvalues are unrestricted.

Proof. Set c=59/50c=59/50 and α=c−1\alpha=c-1. First suppose there are two distinct interior eigenvalues 0<y<x<10<y<x<1, and let r=y/xr=y/x. Choose σ\sigma uniformly on [0,1][0,1] and write Pσ=Pσ(T)P_\sigma=P_\sigma(T). For a parameter κ∈{0,12,1}\kappa\in\{0,\frac{1}{2},1\}, put

u=1+κ(1−r)(1−x),b=1−rκ(1−x)[2+κ(1−r)(1−x)].u=1+\kappa(1-r)(1-x),\qquad b=1-r\kappa(1-x)\bigl[2+\kappa(1-r)(1-x)\bigr].

For b≥0b\geq0, define a diagonal matrix RR in an eigenbasis of TT. On the yy-eigenspace its diagonal entry is 1/y1/\sqrt{y} if σ≤y\sigma\leq y and zero otherwise. On the xx-eigenspace the entry is u/xu/\sqrt{x} for σ≤y\sigma\leq y, b/x\sqrt{b/x} for y<σ≤xy<\sigma\leq x, and zero for σ>x\sigma>x. On the eigenspaces at 00 and 11 use zero and one, respectively, for every σ\sigma. Then RURRUR is positive semidefinite with range in ran⁡Pσ\operatorname{ran}P_\sigma. Finiteness of qT(U)q_T(U) and positive semidefiniteness of UU force its rows and columns at eigenvalue 00 to vanish.

Fix ξ,η∈{x,y,1}\xi,\eta\in\{x,y,1\} with k(ξ,η)>0k(\xi,\eta)>0. Let hσh_\sigma be the product of the diagonal entries of RR assigned to ξ\xi and η\eta at threshold σ\sigma. Define

mξη=ck(ξ,η)−Ehσ2−(c−Ehσ)2α.m_{\xi\eta}=\frac{c}{k(\xi,\eta)}-\mathbb{E}h_\sigma^2-\frac{(c-\mathbb{E}h_\sigma)^2}{\alpha}.

For an entry UijU_{ij} whose row and column correspond to eigenvalues ξ\xi and η\eta, minimization over CijC_{ij} as in (9) gives mξηUij2m_{\xi\eta}U_{ij}^2 as a lower bound on the entry’s contribution to $c\Phi_C(T,U)E ∥C−RUR∥F2\mathbb{E}\,\lVert C-RUR\rVert_F^2. Appendix § 7.§ 3 uses Bernstein coefficients to show that for every pair (x,y)(x,y) one can choose κ\kappa so that b≥0b \ge0 and

mxx,myy,m1x,m1y≥0,mxy+mxxmyy≥0.(13)m_{xx},m_{yy},m_{1x},m_{1y} \ge0,\qquad m_{xy}+\sqrt{m_{xx}m_{yy}} \ge0. \tag*{(13)}

Entries involving a zero eigenvalue contribute (c−1)Cij2≥0(c-1)C_{ij}^2 \ge0 to the loss difference. For the eigenspace at 11, both multipliers are one, so m11=0m_{11}=0. The bounds on m1xm_{1x} and m1ym_{1y} in (13) cover the other entries involving 11. For ξ,η∈{x,y}\xi,\eta\in\{x,y\} let UξηU_{\xi\eta} denote the block between those eigenspaces. The two off-diagonal blocks are transposes, so their combined contribution is 2mxy∥Uxy∥F22m_{xy}\lVert U_{xy}\rVert_F^2. When mxy<0m_{xy}<0, factor U=ΓΓ⊤U=\Gamma\Gamma^\top and let Γx,Γy\Gamma_x,\Gamma_y be the corresponding row blocks. Then ∥Uxy∥F2=⟨Γx⊤Γy,Γx⊤Γy⟩\lVert U_{xy}\rVert_F^2=\langle\Gamma_x^\top\Gamma_y,\Gamma_x^\top\Gamma_y\rangle, so Cauchy–Schwarz gives ∥Uxy∥F2≤∥Uxx∥F∥Uyy∥F\lVert U_{xy}\rVert_F^2\le\lVert U_{xx}\rVert_F\lVert U_{yy}\rVert_F. By (13), the total contribution from the four blocks on the xx- and yy-eigenspaces is at least

(mxx∥Uxx∥F−myy∥Uyy∥F)2.\left(\sqrt{m_{xx}}\lVert U_{xx}\rVert_F-\sqrt{m_{yy}}\lVert U_{yy}\rVert_F\right)^2.

If mxy≥0m_{xy}\ge0, all four block contributions are nonnegative. If xx is the only interior eigenvalue, choose any y∈(0,x)y\in(0,x) and take the auxiliary yy-subspace to be zero-dimensional. Every term involving that subspace vanishes. If T=PT=P is a projector, then P∈P(P)P\in\mathcal{P}(P), and finiteness of qP(U)q_P(U) and qI−P(W)q_{I-P}(W) gives U=PUPU=PUP and W=(I−P)W(I−P)W=(I-P)W(I-P). Hence V(P)≤v(P)≤L(P,U,W)V(P)\le v(P)\le L(P,U,W).

For D,WD,W, apply the construction to I−TI-T with threshold 1−σ1-\sigma. The two scalings may use different values of κ\kappa because κ\kappa affects only the multipliers within the selected subspaces. These subspaces are complementary almost surely. Adding the two loss bounds gives V(T)≤E v(Pσ)≤(59/50)L(T,U,W)V(T)\le\mathbb{E}\,v(P_\sigma)\le(59/50)L(T,U,W).

For n≤2n\le2, TT automatically has at most two distinct eigenvalues in (0,1)(0,1). In higher dimensions the spectral constraint 0⪯T⪯I0\preceq T\preceq I allows more. For arbitrary symmetric inputs it remains open whether V(T∗)≤1.18v∗V(T_*)\le1.18v_* for every T∗T_* occurring in an optimal solution of (4).

Acknowledgments

At the author’s research talk on 21 November 2026, Houduo Qi (Department of Applied Mathematics, The Hong Kong Polytechnic University) asked whether an approximation algorithm was available for this projection problem. The author thanks him for the question, which led him to write this note later that evening. The author used generative AI in preparing the note and takes full responsibility for its content.

Verification of the scalar inequalities

Interval bounds for the pointwise inequality

Fix c=1.189c=1.189, with p,g,λp,g,\lambda as in § 3 and f,θf,\theta as in Lemma 3.1. For 0<y<10<y<1 and y≤x≤1y\le x\le1, set b=1−yb=1-y, t=(1−x)/(1−y)t=\sqrt{(1-x)/(1-y)}, and u=t2u=t^2. Then y=1−by=1-b, x=1−bux=1-bu, 0<b<10<b<1, and 0≤t≤10\le t\le1. We evaluate interval bounds on the closed square [0,1]2[0,1]^2 in (b,t)(b,t). In this calculation kk, MM, JλJ_\lambda, GG without arguments denote their values at (x,y)(x,y). With v=y+uxv=y+ux, we have

k=v1+u=1−b1+u21+u.k=\frac{v}{1+u}=1-b\frac{1+u^2}{1+u}.

For the product hsh_s in (9), write hs=1+bHsh_s=1+bH_s. With as=uyg(x)(x−2s)a_s=uyg(x)(x-2s), bs=g(y)(y−2s)b_s=g(y)(y-2s), and D0=(1−bup(x))(1−bp(y))D_0=(1-bup(x))(1-bp(y)), we have

Hs=up(x)+p(y)(1−bup(x))D0+as+bs(1+bas)D0.H_s=\frac{up(x)+p(y)(1-bup(x))}{D_0}+\frac{a_s+b_s(1+ba_s)}{D_0}.

The polynomial pp decreases on [0,1][0,1] because its derivative is a quadratic with negative leading coefficient and negative discriminant. Since p(0)<1p(0)<1, both factors of D0D_0 are positive. Use the three-point Gauss–Legendre rule on [0,1][0,1] [8 Sec. 3.5(v)], with nodes (r1,r2,r3)=(12−320,12,12+320)(r_1,r_2,r_3)=\left(\frac{1}{2}-\sqrt{\frac{3}{20}},\frac{1}{2},\frac{1}{2}+\sqrt{\frac{3}{20}}\right) and weights (w1,w2,w3)=(5/18,4/9,5/18)(w_1,w_2,w_3)=(5/18,4/9,5/18). For i=1,2i=1,2 put mi=∑j=13wj(Hyrj)im_i=\sum_{j=1}^3 w_j(H_{y r_j})^i. The moment identities ∑jwjrjℓ=1/(ℓ+1)\sum_j w_j r_j^\ell=1/(\ell+1) for ℓ=0,…,4\ell=0,\ldots,4 give ∫0yHsi ds=ymi\int_0^y H_s^i\,ds=ym_i, since HsH_s is quadratic in ss.

For t>0t>0 take ω=2.191072\omega=2.191072 and use the phase

−2ωlog⁡t+(y−x)[−1.031425−0.481436(x+y)].-2\omega\log t+(y-x)[-1.031425-0.481436(x+y)].

Define G0G_0 to be tf(x)f(y)tf(x)f(y) times the cosine of this phase for t>0t>0, and set G0=0G_0=0 at t=0t=0. When b,t>0b,t>0, the phase equals θ(y)−θ(x)\theta(y)-\theta(x), because (1−x)/(1−y)=t2(1-x)/(1-y)=t^2. Hence G=bG0G=bG_0. The explicit phase also defines G0G_0 on b=0b=0 for t>0t>0 without evaluating θ(1)\theta(1).

Put C0=ym2+(ym1−1)2/(c−1)C_0=ym_2+(ym_1-1)^2/(c-1) and, for b,k>0b,k>0, put Dλ=(k/b)JλD_\lambda=(k/b)J_\lambda. Substituting hs=1+bHsh_s=1+bH_s into (9) and collecting powers of bb gives

kb(M+Jλ−G)=c1+u21+u−k−k(bC0+G0)+Dλ.(14)\frac{k}{b}(M+J_\lambda-G)=c\frac{1+u^2}{1+u}-k-k(bC_0+G_0)+D_\lambda. \tag*{(14)}

Let ℓ\ell be the polynomial obtained by removing the factor x(1−x)x(1-x) from λ(x)\lambda(x), so that ℓ\ell is defined also at 00 and 11. For the derivative term put

dx=ℓ(x)u2+2u−11+u,dy=ℓ(y)1+2u−u21+u.d_x=\ell(x)\frac{u^2+2u-1}{1+u},\qquad d_y=\ell(y)\frac{1+2u-u^2}{1+u}.

Differentiating kk gives Dλ=(uxdx+ydy)/vD_\lambda=(uxd_x+yd_y)/v wherever b,k>0b,k>0. Use this expression wherever v>0v>0. Its value is then a convex combination of dxd_x and dyd_y. On each rectangle the smaller of the lower bounds for dx,dyd_x,d_y therefore bounds DλD_\lambda from below at every point with v>0v>0. This remains valid when the interval for vv contains zero and division by that interval is unavailable. Equation (14) is needed only for b,k>0b,k>0. The case b=0b=0 gives x=y=1x=y=1, treated directly in Lemma 3.1.

Let [t0,t1][t_0,t_1] be the tt-interval of a rectangle. If t0<0.28t_0<0.28, bound the cosine in G0G_0 by [−1,1][-1,1]. Otherwise t0>0t_0>0 and we bound the logarithm in the explicit phase as follows. At the midpoint mm of [t0,t1][t_0,t_1], put z=(1−m)/(1+m)≤9/16z=(1-m)/(1+m)\le9/16. The series for log⁡((1+z)/(1−z))=−log⁡m\log((1+z)/(1-z))=-\log m gives the approximation 4ω∑j=055z2j+1/(2j+1)4\omega\sum_{j=0}^{55}z^{2j+1}/(2j+1) to −2ωlog⁡m-2\omega\log m. The omitted tail is bounded by 4ωz113/[113(1−z2)]<10−164\omega z^{113}/[113(1-z^2)]<10^{-16}. For t∈[t0,t1]t\in[t_0,t_1], the mean value theorem gives ∣2ω(log⁡t−log⁡m)∣≤ω(t1−t0)/t0|2\omega(\log t-\log m)|\le\omega(t_1-t_0)/t_0. Adding this bound to the truncation error encloses −2ωlog⁡t-2\omega\log t throughout the interval.

For the cosine, let aa be the nearest multiple of 2−152^{-15} to the midpoint of the interval for its argument. These values satisfy ∣a∣<10|a|<10. Starting with the constant term of the Maclaurin series, multiply the preceding term by −a2/[(2j)(2j−1)]-a^2/[(2j)(2j-1)] at step jj, beginning with j=1j=1. Sum through degree 46 and enclose the remainder by 1048/48!<10−1210^{48}/48!<10^{-12} in absolute value. To bound the cosine on the whole argument interval, enlarge the enclosure for cos⁡a\cos a by the distance from aa to the farther endpoint, using the 1-Lipschitz property. Intersect the result with [−1,1][-1,1].

Use interval arithmetic for sums, differences and products so that each computed interval contains all attainable values [7 Chs. 2–4]. When squaring an interval containing zero, take zero as the lower endpoint. Divide by a positive interval by multiplying by its reciprocal. Evaluate the coefficient polynomials and truncated logarithm series by Horner’s rule. Adjust each computed binary64 endpoint aa outward by (1+∣a∣)2−49(1+|a|)2^{-49} to allow for rounding of the endpoint and the adjustment itself. Use the same allowance for the input constants and Gauss nodes. Squaring shows that the error in approximating 3/20\sqrt{3/20} by 0.38729833462074170.3872983346207417 is below 10−1610^{-16}.

Start with the square [0,1]2[0,1]^2. On each rectangle compute k=v/(1+u)k=v/(1+u). If the interval for D0D_0 has a nonpositive lower endpoint, bisect the rectangle. Otherwise form 1/D01/D_0 once for the two terms of HsH_s. For DλD_\lambda, first use the smaller of the lower endpoints for dx,dyd_x,d_y. If the lower endpoint for vv is positive, evaluate (uxdx+ydy)/v(u_xd_x+y d_y)/v as well and keep the larger of the two lower bounds. Accept the rectangle if the lower bound on the right of (14) is strictly positive. Otherwise bisect it. Each bisection is at the midpoint, alternating bb and tt and starting with bb. The 11 839 610 accepted rectangles cover the square. Their maximum depth is 31, and the smallest lower bound exceeds 1.7×10−101.7 \times10^{-10}.

Verification of the cosine lower bound

Let δ(t)=F(t)−∑mdmcos⁡(ωmt)\delta(t)=F(t)-\sum_m d_m\cos(\omega_m t), with FF given by (11) and c+=1.15487c_+=1.15487. The frequencies and weights in Table 2 give μ:=∑mdm<4/25\mu:=\sum_m d_m<4/25 and ∑mdmωm2<50\sum_m d_m\omega_m^2<50. The total weight μ\mu bounds the cosine sum from above for t≥3t\ge3. The second sum bounds the absolute second derivative of the cosine sum on [0,3][0,3]. We use it to extend a lower bound on δ\delta at the nodes to the intervals between them.

On [0,3][0,3], set N=4000N=4000 and use the nodes tj=j/Nt_j=j/N for j=0,…,3Nj=0,\ldots,3N. Write ii for the imaginary unit and Re⁡\operatorname{Re} for the real part. Put ζm=ωm/N\zeta_m=\omega_m/N. At successive nodes eiωmtje^{i\omega_m t_j} is multiplied by eiζme^{i\zeta_m}. To approximate that multiplier, fix S=1024S=10^{24} and let RSR_S round each of the real and imaginary parts down to a multiple of 1/S1/S. Define

qm=RS(∑ℓ=017(iζm)ℓℓ!),zm,0=1,zm,j+1=RS(qmzm,j).q_m=R_S\left(\sum_{\ell=0}^{17}\frac{(i\zeta_m)^\ell}{\ell!}\right),\qquad z_{m,0}=1,\qquad z_{m,j+1}=R_S(q_mz_{m,j}).

The exponential remainder is at most ζm18/18!<1/S\zeta_m^{18}/18!<1/S, and the error from rounding both coordinates is below 2/S2/S. Hence ∣qm−eiζm∣<3/S|q_m-e^{i\zeta_m}|<3/S. Suppose ∣zm,j−eijζm∣≤8j/S|z_{m,j}-e^{ij\zeta_m}|\le8j/S. Since j≤3Nj\le3N and 8(3N)/S<18(3N)/S<1, we have ∣zm,j∣≤2|z_{m,j}|\le2. At the next step the multiplier error contributes at most 2(3/S)2(3/S) and rounding contributes at most 2/S2/S. Starting from zm,0=1z_{m,0}=1, this proves ∣zm,j−eijζm∣≤8j/S|z_{m,j}-e^{ij\zeta_m}|\le8j/S for all j≤3Nj\le3N. Taking real parts and summing with weights dmd_m gives the upper bound ∑mdmRe⁡(zm,j)+8jμ/S\sum_m d_m\operatorname{Re}(z_{m,j})+8j\mu/S for the cosine sum at node jj. Let LjL_j be ∑ℓ=032(tj/2)ℓ/ℓ!\sum_{\ell=0}^{32}(t_j/2)^\ell/\ell! rounded down to a multiple of 1/S1/S, and put Uj=Lj+2/SU_j=L_j+2/S. On this interval the ratio of successive omitted terms is less than one half, so the positive remainder is bounded by 2(3/2)33/33!<1/S2(3/2)^{33}/33!<1/S. Thus Lj≤etj/2≤UjL_j\le e^{t_j/2}\le U_j. Substitution of z=et/2z=e^{t/2} into (11) gives

F(t)=(c+−1)z+c+z−2c+zz2+1(15)F(t)=(c_+-1)z+\frac{c_+}{z}-\frac{2c_+z}{z^2+1} \tag*{(15)}

For z≥1z\ge1 the fraction z/(z2+1)z/(z^2+1) decreases. Replacing zz by LjL_j in the last term of (15) therefore bounds that term from below. Subtracting the upper bound on the cosine sum gives a rational lower bound for δ(tj)\delta(t_j). For j=0,…,3Nj=0,\ldots,3N, this lower bound satisfies

(c+−1)Lj+c+Uj−2c+LjLj2+1−∑mdmRezm,j−8jμS≥25358461012.(c_+-1)L_j+\frac{c_+}{U_j}-\frac{2c_+L_j}{L_j^2+1}-\sum_m d_m\mathop{\mathrm{Re}}z_{m,j}-\frac{8j\mu}{S}\ge\frac{2535846}{10^{12}}.

Write sech⁡u=1/cosh⁡u\operatorname{sech}u=1/\cosh u. On [0,3][0,3] we have cosh⁡(t/2)<3\cosh(t/2)<3, et/2<5e^{t/2}<5, and ∣sech⁡′′(t/2)∣≤1\lvert\operatorname{sech}''(t/2)\rvert\le1, where the primes denote derivatives with respect to the argument of sech. Differentiating cosh⁡t/cosh⁡(t/2)=2cosh⁡(t/2)−sech⁡(t/2)\cosh t/\cosh(t/2)=2\cosh(t/2)-\operatorname{sech}(t/2) twice gives an absolute bound of 7/47/4 on the second derivative of the ratio. The second derivative of et/2e^{t/2} is at most 5/45/4. Together with ∑mdmωm2<50\sum_m d_m\omega_m^2<50, these bounds give ∣δ′′∣<54\lvert\delta''\rvert<54, as needed for the interpolation estimate in Lemma 4.1.

For t≥3t\ge3, z=et/2>4z=e^{t/2}>4. Equation (15) gives F(t)≥(c+−1)z−c+/z≥4(c+−1)−c+/4>4/25>μF(t)\ge(c_+-1)z-c_+/z\ge4(c_+-1)-c_+/4>4/25>\mu. Since ∑mdmcos⁡(ωmt)≤μ\sum_m d_m\cos(\omega_m t)\le\mu, this proves (12) on [3,∞)[3,\infty).

Polynomial bounds for two interior eigenvalues

Fix 0<y<x<10<y<x<1 and κ∈{0,12,1}\kappa\in\{0,\frac{1}{2},1\}. Set c=59/50c=59/50, α=c−1\alpha=c-1, r=y/xr=y/x, and s=rs=\sqrt{r}, and take u,bu,b as in the proof of Proposition 5.1. The coefficients mξηm_{\xi\eta} involve b\sqrt{b} and require b≥0b\ge0. The polynomial tests below are defined for every candidate κ\kappa and include b≥0b\ge0 among the conditions to be checked.

For b≥0b\ge0, multiplying the three interior coefficients by xx gives

d=xmxx=α(1−x)−r(1−r)κ2(1−x)2[2+κ(1−r)(1−x)]2,d=xm_{xx}=\alpha(1-x)-r(1-r)\kappa^2(1-x)^2[2+\kappa(1-r)(1-x)]^2,
xmyy=α(1−y)/r,xm_{yy}=\alpha(1-y)/r,
xmxy=cx/k(x,y)−u2−x(c−us)2/α.xm_{xy}=cx/k(x,y)-u^2-x(c-us)^2/\alpha.

Put n0=1−x+r(1−y)>0n_0=1-x+r(1-y)>0. Then x/k(x,y)=(2−x−y)/n0x/k(x,y)=(2-x-y)/n_0. To check the mixed coefficient, form the polynomials

χ=αc(2−x−y)−n0[αu2+x(c−us)2],Δ=α(1−y)d(αn0)2−rχ2.\chi=\alpha c(2-x-y)-n_0[\alpha u^2+x(c-us)^2], \qquad \Delta=\alpha(1-y)d(\alpha n_0)^2-r\chi^2.

Since χ=αn0xmxy\chi=\alpha n_0xm_{xy}, it has the sign of mxym_{xy}. Once d≥0d\ge0, both mxxm_{xx} and myym_{yy} are nonnegative. If χ≥0\chi\ge0, mxy+mxxmyy≥0m_{xy}+\sqrt{m_{xx}m_{yy}}\ge0 follows immediately. If χ<0\chi<0, the inequality Δ≥0\Delta\ge0 suffices because Δ=r(αn0x)2(mxxmyy−mxy2)\Delta=r(\alpha n_0x)^2(m_{xx}m_{yy}-m_{xy}^2). For the coefficient m1xm_{1x} put

m0=1−12{r(u−1)2+(1−r)(b−1)2}.m_0=1-\frac{1}{2}\{r(u-1)^2+(1-r)(b-1)^2\}.

Conditional on σ≤x\sigma\le x, the event σ≤y\sigma\le y has probability r=y/xr=y/x. Thus the diagonal entry of x R\sqrt{x}\,R on the xx-eigenspace equals uu or b\sqrt{b} with probabilities rr and 1−r1-r, respectively. Direct expansion gives ru2+(1−r)b=1ru^2+(1-r)b=1. Expanding the squared deviations from one and using (b−1)2≤(b−1)2(\sqrt{b}-1)^2\le(b-1)^2 gives the lower bound in m0≤ru+(1−r)b≤1m_0\le ru+(1-r)\sqrt{b}\le1. The upper bound follows from Cauchy–Schwarz. In the definition of m1xm_{1x} we have k(1,x)=xk(1,x)=x, Ehσ2=1E h_\sigma^2=1, and Ehσ=x[ru+(1−r)b]E h_\sigma=\sqrt{x}[ru+(1-r)\sqrt{b}]. Define E=α(c−x)−x(c−xm0)2E=\alpha(c-x)-x(c-\sqrt{x}m_0)^2. Then E≥0E\ge0 suffices for m1x≥0m_{1x}\ge0. For m1ym_{1y} evaluate EE at r=1r=1 with xx replaced by yy. Then m0=1m_0=1 and this bound is independent of κ\kappa.

Substituting x=t2x=t^2 with t=xt=\sqrt{x} and r=s2r=s^2 makes b,d,χ,Δ,Eb,d,\chi,\Delta,E polynomials in (t,s)(t,s). Parametrize the triangle t≥st\ge s by t=1−(1−s)zt=1-(1-s)z and the triangle s≥ts\ge t by s=1−(1−t)zs=1-(1-t)z, with z∈[0,1]z\in[0,1] in both cases. Divide out all factors 1−s1-s in the first parametrization and 1−t1-t in the second. Since these factors are nonnegative on the square, nonnegativity of a quotient implies nonnegativity of the original polynomial.

Rescale each dyadic subrectangle to [0,1]2[0,1]^2 with coordinates (ξ,η)(\xi,\eta). For a polynomial ∑p=0m∑q=0napqξpηq\sum_{p=0}^{m}\sum_{q=0}^{n}a_{pq}\xi^p\eta^q of bidegree (m,n)(m,n), the power-to-Bernstein conversion [9 Sec. 3, eq. (9)] gives the following coefficient at indices 0≤i≤m0\le i\le m, 0≤j≤n0\le j\le n,

∑p=0i∑q=0japq(ip)(jq)(mp)(nq)\sum_{p=0}^{i}\sum_{q=0}^{j}a_{pq}\frac{\binom{i}{p}\binom{j}{q}}{\binom{m}{p}\binom{n}{q}}

The univariate Bernstein basis functions (mi)ξi(1−ξ)m−i\binom{m}{i}\xi^i(1-\xi)^{m-i} are nonnegative and sum to one by the binomial theorem. Their tensor products do likewise, so each polynomial is bounded below by its smallest Bernstein coefficient [9 eq. (10)]. For a given κ\kappa, check that all Bernstein coefficients of the reduced polynomials for bb, dd, EE are nonnegative. The same must hold for at least one of the reduced polynomials for χ\chi and Δ\Delta. Accept a rectangle if both conditions hold for one κ∈{0,12,1}\kappa\in\{0,\frac{1}{2},1\}. Bisect the remaining rectangles at their midpoints, alternating the coordinates in the orders (z,s)(z,s) and (t,z)(t,z) for the two parametrizations. Exact rational arithmetic gives 62 accepted rectangles of depth at most 11.

References

References

  1. [1]S. Boyd and L. Vandenberghe. Convex Optimization. Cambridge University Press, 2004.
  2. [2]C. Ding, D. Sun, and J. J. Ye. First order optimality conditions for mathematical programs with semidefinite cone complementarity constraints. Mathematical Programming 147 (2014), 539–579.DOI
  3. [3]M. R. Garey, D. S. Johnson, and L. Stockmeyer. Some simplified NP-complete graph problems. Theoretical Computer Science 1 (1976), 237–267.DOI
  4. [4]N. J. Higham. Computing a nearest symmetric positive semidefinite matrix. Linear Algebra and its Applications 103 (1988), 103–118.DOI
  5. [5]R. A. Horn and C. R. Johnson. Matrix Analysis, 2nd ed. Cambridge University Press, 2013.
  6. [6]W. Hou, Y. Peng, and C. Ding. An Inexact Augmented Lagrangian Method for Semidefinite Complementarity Optimization. arXiv:2611.14885v1, 2026.arxiv.org/abs/2611.14885
  7. [7]R. E. Moore, R. B. Kearfott, and M. J. Cloud. Introduction to Interval Analysis. Society for Industrial and Applied Mathematics, 2009.DOI
  8. [8]N. M. Temme. Numerical methods. Chapter 3 in NIST Digital Library of Mathematical Functions, National Institute of Standards and Technology. Accessed 22 November 2026.
  9. [9]J. Titi and J. Garloff. Matrix methods for the tensorial Bernstein form. Applied Mathematics and Computation 346 (2019), 254–271.DOI
  10. [10]J. Wu, Y. Zhang, L. Zhang, and Y. Lu. A sequential convex program approach to an inverse linear semidefinite programming problem. Asia-Pacific Journal of Operational Research 33 (2016), 1650025.

Paper details

vlnc:W_xkqhbjhx
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

generative AI

View statement
Looking for related papers…
Contents