Computer-aided Lyapunov analyses in optimization

Many con­ver­gence proofs for first-order meth­ods in op­ti­mi­za­tion follow a common pattern: construct a Lyapunov function, establish an inequality describing its decrease, and use this inequality to show that a performance measure converges to zero. Within many standard problem classes and prescribed families of Lyapunov functions, these tasks can often be formulated exactly as semi­definite programs (SDPs). Existing solvers can then be used to search numerically for feasible solutions. Con­ver­gence analysis itself thus becomes a tractable op­ti­mi­za­tion problem.

Closely related is the performance estimation problem (PEP) methodology, introduced by Drori and Teboulle [DT14]. For many first-order meth­ods and problem classes, the search for a worst-case example can be reformulated as an SDP, giving tight worst-case guarantees [THG17]. The standard PEP methodology is now a mature technology for worst-case analysis, supported by software packages such as PEPit [GMG+24].

However, standard PEP formulations analyze a fixed number of iterations, with the number of variables and constraints typically growing quadratically with this horizon. Deriving closed-form guarantees valid for all iterations can also be challenging. Auto­mated Lyapunov anal­y­ses provide a complementary approach: restricting the search to prescribed families of Lyapunov anal­y­ses can give smaller SDPs whose number of variables and constraints is independent of the iteration horizon, or grows only linearly with it, facilitating concise, closed-form con­ver­gence proofs [TVSL18, TB19, UBTG25, UDGT+26]. A closely related framework uses integral quadratic constraints (IQCs), developed in robust control [MR97], to obtain con­ver­gence guarantees through linear matrix inequalities (LMIs) that can be checked by semi­definite programming [LRP16, MSE21]. Although searching over prescribed families of Lyapunov functions may give conservative bounds, these bounds can still match the actual worst-case behavior in many settings.

In this post, we derive the corresponding SDPs explicitly for two examples: an inexact gradient method, for which the Lyapunov function is fixed in advance, and a gradient method with memory, for which we search for a Lyapunov function within a prescribed family. The aim is to explain the main ideas in a simple setting and provide a starting point for anal­y­ses of other meth­ods and problem classes. For the first example, we also show how to extract a closed-form proof of a tight con­ver­gence guarantee from numerical SDP solutions. In the second example, we show how allowing a more flexible class of Lyapunov functions can give tighter con­ver­gence guarantees. This post assumes familiarity with smooth and strongly convex op­ti­mi­za­tion, basic matrix algebra, and Lagrangian duality. On a first reading, the expandable derivations and proofs can be skipped.

1. Problem setting

For simplicity, both examples use the familiar setting of smooth and strongly convex op­ti­mi­za­tion, although the tools developed here apply more broadly. We consider the unconstrained problem

(1)minimizex∈Rdf(x)\begin{equation} \label{eq:optimization-problem} \mathop{\text{minimize}}\limits_{x \in \mathbb{R}^d}\; f(x) \end{equation}

where f:Rd→Rf:\mathbb{R}^d\to\mathbb{R} is differentiable, has an LL-Lipschitz continuous gradient (that is, ff is LL-smooth), and is μ\mu-strongly convex, with 0<μ<L0<\mu<L. We denote this class of functions by Fμ,L(Rd)\mathcal{F}_{\mu,L}(\mathbb{R}^d). Equivalently, ff satisfies

(2)(∀x,y∈Rd)[f(x)⩽f(y)+⟨∇f(y),x−y⟩+L2‖x−y‖2,f(x)⩾f(y)+⟨∇f(y),x−y⟩+μ2‖x−y‖2,\begin{equation} \label{eq:quadratic-bounds} (\forall x,y\in\mathbb{R}^{d})\qquad \left[ \begin{aligned} f(x) &\leqslant f(y)+\langle\nabla f(y),x-y\rangle +\tfrac{L}{2}\lVert x-y\rVert^{2},\\ f(x) &\geqslant f(y)+\langle\nabla f(y),x-y\rangle +\tfrac{\mu}{2}\lVert x-y\rVert^{2}, \end{aligned} \right. \end{equation}

where ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle is the Euclidean inner product and ‖⋅‖\lVert\cdot\rVert is its induced norm. For the quadratic bounds above, see [Bec17, Theorems 5.8(ii) and 5.24(ii)]. Strong convexity ensures that problem (1) has a unique minimizer x⋆∈Rdx^\star\in\mathbb{R}^{d}, characterized by ∇f(x⋆)=0\nabla f(x^\star)=0 [Bec17, Theorems 3.63 and 5.25(a)]. Figure 1 illustrates these inequalities geometrically, showing how ff is globally bounded above and below by quadratic functions tangent to it at any chosen point.

A function with tangent quadratic lower and upper bounds at the point x.
Figure 1: Every function f∈Fμ,L(Rd)f\in\mathcal{F}_{\mu,L}(\mathbb{R}^d) has a global quadratic minorizer and majorizer tangent to ff at each x∈Rdx\in\mathbb{R}^{d}, with curvatures μ\mu and LL, respectively.

2. Fixed Lyapunov functions

Here we check a Lyapunov function chosen in advance, then use the tools developed here to search for one in Section 3.

2.1 The gradient method with inexact gradients

The standard gradient method provides a familiar starting point; here, we consider a slightly richer variant with inexact gradients. Given a constant step size γ>0\gamma>0 and an initial point x0∈Rdx^{0}\in\mathbb{R}^{d}, consider

(3)[Pick dk∈Rdsuch that‖∇f(xk)−dk‖⩽ε‖∇f(xk)‖,xk+1=xk−γdk,\begin{equation} \label{eq:relatively-inexact-gradient-method} \left[ \begin{aligned} &\text{Pick }d^{k}\in\mathbb{R}^{d}\;\text{such that}\; \|\nabla f(x^{k}) - d^{k}\| \leqslant \varepsilon \|\nabla f(x^{k})\|,\\ &x^{k+1} = x^{k} - \gamma d^{k}, \end{aligned} \right. \end{equation}

where ε∈[0,1)\varepsilon\in[0,1) bounds the relative error in the gradient approximation. We seek convergence guarantees that hold for every sequence of approximations dkd^k satisfying this bound. When ε=0\varepsilon=0, we recover the standard gradient method.

2.2 Lyapunov functions and contraction

To quantify convergence, we track a nonnegative scalar quantity such as squared distance to the solution ‖xk−x⋆‖2\|x^{k}-x^{\star}\|^2 or function-value suboptimality f(xk)−f(x⋆)f(x^{k})-f(x^{\star}). We call such a quantity a performance measure. Under the standing assumptions, it is natural to seek bounds of the form

(4)‖xk+1−x⋆‖2⩽ρnorm2(γ,ε,μ,L)‖xk−x⋆‖2orf(xk+1)−f(x⋆)⩽ρfunc(γ,ε,μ,L)(f(xk)−f(x⋆)),\begin{equation} \label{eq:contraction-examples} \|x^{k+1}-x^{\star}\|^2 \leqslant \rho_{\mathtt{norm}^2}(\gamma,\varepsilon,\mu,L)\|x^{k}-x^{\star}\|^2 \quad\text{or}\quad f(x^{k+1})-f(x^{\star}) \leqslant \rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L)(f(x^{k})-f(x^{\star})), \end{equation}

and to determine which choices of γ\gamma ensure that the corresponding factors satisfy

0⩽ρnorm2(γ,ε,μ,L)<1and0⩽ρfunc(γ,ε,μ,L)<1.\begin{equation*} 0\leqslant \rho_{\mathtt{norm}^2}(\gamma,\varepsilon,\mu,L) < 1 \quad\text{and}\quad 0\leqslant \rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L) < 1. \end{equation*}

In these examples, we use the performance measure itself as a Lyapunov function, establishing convergence by proving a contraction inequality for that same quantity. More generally, we consider nonnegative and nontrivial Lyapunov functions V\mathcal{V} satisfying

(5)V(k+1)⩽ρ(γ,ε,μ,L)V(k),\begin{equation} \label{eq:lyapunov-contraction} \mathcal{V}(k+1) \leqslant \rho(\gamma,\varepsilon,\mu,L)\mathcal{V}(k), \end{equation}

and seek conditions ensuring 0⩽ρ(γ,ε,μ,L)<10\leqslant\rho(\gamma,\varepsilon,\mu,L)<1. Iterating the contraction inequality (5) gives

V(k)⩽ρ(γ,ε,μ,L)kV(0)⟹V(k)∈O(ρ(γ,ε,μ,L)k)ask→∞,\begin{equation*} \mathcal{V}(k)\leqslant\rho(\gamma,\varepsilon,\mu,L)^{k}\mathcal{V}(0) \quad\Longrightarrow\quad \mathcal{V}(k)\in\mathcal{O}(\rho(\gamma,\varepsilon,\mu,L)^{k}) \quad\text{as}\quad k\to\infty, \end{equation*}

and we say that V\mathcal{V} converges linearly to zero with rate at most ρ(γ,ε,μ,L)\rho(\gamma,\varepsilon,\mu,L). In particular, we seek the smallest factor for which (5) holds.

We build on squared distance ‖xk−x⋆‖2\|x^{k}-x^{\star}\|^2 and function-value suboptimality f(xk)−f(x⋆)f(x^{k})-f(x^{\star}) in (4) by also using gradient information. Including the squared gradient norm ‖∇f(xk)‖2\|\nabla f(x^{k})\|^2 and the inner product ⟨xk−x⋆,∇f(xk)⟩\langle x^{k}-x^{\star},\nabla f(x^{k})\rangle allows us to account for the gradient’s magnitude and its alignment with xk−x⋆x^{k}-x^{\star}. We therefore consider the family

V(k)=Q1,1‖xk−x⋆‖2+2Q1,2⟨xk−x⋆,∇f(xk)⟩+Q2,2‖∇f(xk)‖2+q(f(xk)−f(x⋆)),\begin{align*} \mathcal{V}(k) &= Q_{1,1}\norm{x^{k}-x^{\star}}^{2} +2Q_{1,2}\inner{x^{k}-x^{\star}}{\nabla f(x^{k})} +Q_{2,2}\norm{\nabla f(x^{k})}^{2} +q(f(x^{k})-f(x^{\star})), \end{align*}

where Q=(Qi,j)1⩽i,j⩽2∈R2×2Q=(Q_{i,j})_{1\leqslant i,j\leqslant2}\in\mathbb{R}^{2\times2} is symmetric and q∈Rq\in\mathbb{R}.

For fixed QQ and qq, V\mathcal{V} is linear in the squared norms, inner products, and function-value differences that become variables of the SDP derived in Section 2.3. More general mixed terms need not admit a linear representation in those variables. For that derivation, we group the two vectors xk−x⋆x^{k}-x^{\star} and ∇f(xk)\nabla f(x^{k}) and write

V(k)=⟨(xk−x⋆,∇f(xk)),(Q⊗Id)(xk−x⋆,∇f(xk))⟩+q(f(xk)−f(x⋆)),\begin{align*} \mathcal{V}(k) &= \inner{(x^{k}-x^{\star},\nabla f(x^{k}))}{(Q \otimes I_{d})(x^{k}-x^{\star},\nabla f(x^{k}))} + q(f(x^{k})-f(x^{\star})), \end{align*}

where ⊗\otimes is the Kronecker product and IdI_{d} is the identity matrix in Rd×d\mathbb{R}^{d\times d}.

Here, we fix QQ and qq so that V\mathcal{V} is nonnegative and nontrivial. The two cases in (4) correspond to

(6)V(k)={‖xk−x⋆‖2,if Q=[1000]andq=0,f(xk)−f(x⋆),if Q=0andq=1.\begin{align} \label{eq:lyapunov-examples} \mathcal{V}(k) &= \begin{cases} \norm{x^{k}-x^{\star}}^{2}, &\text{if } Q=\mathord{\begin{bmatrix}1&0\\0&0\end{bmatrix}}\;\text{and}\; q=0,\\[0.5em] f(x^{k})-f(x^{\star}), &\text{if } Q=0\;\text{and}\; q=1. \end{cases} \end{align}
2.3 Optimal contraction via semidefinite programming

To verify (5) along every trajectory, it suffices to consider one step from an arbitrary point xkx^{k}. The update rule and the coefficients QQ and qq are the same at every iteration, and any such step can be realized as the first step by setting x0=xkx^{0}=x^{k}. We therefore define the optimal one-step contraction factor by

ρd⋆(Q,q,γ,ε,μ,L)=inf{ρ∈R|V(k+1)⩽ρV(k)for every f∈Fμ,L(Rd)andxk,dk∈Rd withxk+1=xk−γdkand‖∇f(xk)−dk‖⩽ε‖∇f(xk)‖}.\begin{equation*} \rho_d^{\star}(Q,q,\gamma,\varepsilon,\mu,L) =\inf\left\{ \rho\in\mathbb{R}\;\middle|\; \begin{array}{l} \mathcal{V}(k+1)\leqslant\rho\mathcal{V}(k)\\ \text{for every }f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{d}) \;\text{and}\; x^{k},d^{k}\in\mathbb{R}^{d}\text{ with}\\ x^{k+1}=x^{k}-\gamma d^{k}\quad\text{and}\quad \|\nabla f(x^{k})-d^{k}\|\leqslant\varepsilon\|\nabla f(x^{k})\| \end{array} \right\}. \end{equation*}

We will show, step by step, how semidefinite programming gives an upper bound on this quantity and under which conditions the bound equals the optimal one-step contraction factor. We first fix a candidate ρ\rho and derive a semidefinite feasibility test, then minimize ρ\rho in this test. This feasibility formulation will also let us search for valid Lyapunov functions in Section 3, where their coefficients become additional variables.

Worst-case Lyapunov difference. For a fixed candidate ρ\rho, we maximize the difference V(k+1)−ρV(k)\mathcal{V}(k+1)-\rho\mathcal{V}(k) over all admissible functions and updates:

Pd(Q,q,γ,ε,μ,L,ρ)=(maximizef∈Fμ,L(Rd)xk,xk+1,x⋆,dk∈RdV(k+1)−ρV(k)subject toxk+1=xk−γdk,‖∇f(xk)−dk‖⩽ε‖∇f(xk)‖,∇f(x⋆)=0).\begin{equation*} \mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho) = \left( \begin{array}{cl} \mathop{\text{maximize}}\limits_{\substack{ f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{d})\\ x^{k},x^{k+1},x^{\star},d^{k}\in\mathbb{R}^{d} }} & \mathcal{V}(k+1)-\rho\,\mathcal{V}(k)\\[0.3em] \text{subject to} & x^{k+1}=x^{k}-\gamma d^{k},\\ & \norm{\nabla f(x^{k})-d^{k}}\leqslant\varepsilon\norm{\nabla f(x^{k})},\\ & \nabla f(x^{\star})=0 \end{array} \right). \end{equation*}

The contraction inequality (5) holds for every admissible function and update exactly when Pd(Q,q,γ,ε,μ,L,ρ)⩽0\mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho)\leqslant0. The optimal one-step contraction factor is therefore

ρd⋆(Q,q,γ,ε,μ,L)=inf{ρ∈R∣Pd(Q,q,γ,ε,μ,L,ρ)⩽0}.\begin{equation*} \rho_d^{\star}(Q,q,\gamma,\varepsilon,\mu,L) =\inf\{\rho\in\mathbb{R}\mid\mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho)\leqslant0\}. \end{equation*}

We next derive a semidefinite test for the condition Pd(Q,q,γ,ε,μ,L,ρ)⩽0\mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho)\leqslant0. We will describe the possible function values and gradients using finitely many inequalities, collect vector inner products in a positive semidefinite matrix, and combine these inequalities to certify contraction.

Encoding inner products with a Gram matrix. Before we proceed, we introduce some convenient notation. Let Sn\mathbb{S}^{n} and S+n\mathbb{S}_{+}^{n} denote the sets of real-valued symmetric and positive semidefinite n×nn\times n matrices, respectively. We define the Gramian function Gram:(Rd)n→S+n\mathtt{Gram}:(\mathbb{R}^{d})^{n}\to\mathbb{S}^{n}_{+} by

(∀z=(z1,…,zn)∈(Rd)n)Gram(z)=(⟨zi,zj⟩)1⩽i,j⩽n.\begin{align*} (\forall \mathbf{z}=(z_{1},\ldots,z_{n})\in(\mathbb{R}^{d})^{n}) \qquad \mathtt{Gram}(\mathbf{z}) = (\inner{z_i}{z_j})_{1\leqslant i,j \leqslant n}. \end{align*}

In particular, (Gram(z))i,i=‖zi‖2(\mathtt{Gram}(\mathbf{z}))_{i,i}=\norm{z_i}^{2}, so squared norms appear as diagonal entries. With this, we can write the Lyapunov function as

V(k)=trace(QGram(xk−x⋆,∇f(xk)))+q(f(xk)−f(x⋆)).\begin{align*} \mathcal{V}(k) = \text{trace}(Q\,\mathtt{Gram}(x^{k}-x^{\star} , \nabla f(x^{k}))) + q(f(x^{k})-f(x^{\star})). \end{align*}

For A∈Rm×nA\in\mathbb{R}^{m\times n}, M∈SmM\in\mathbb{S}^{m}, and z∈(Rd)n\mathbf{z}\in(\mathbb{R}^{d})^{n}, we will use the identities

(7)Gram((A⊗Id)z)=AGram(z)A⊤,trace(MGram((A⊗Id)z))=trace(A⊤MAGram(z)).\begin{equation} \label{eq:gram-trace-identities} \begin{aligned} \mathtt{Gram}((A\otimes I_d)\mathbf{z}) &=A\,\mathtt{Gram}(\mathbf{z})A^{\top},\\ \text{trace}\bigl(M\,\mathtt{Gram}((A\otimes I_d)\mathbf{z})\bigr) &=\text{trace}\bigl(A^{\top}MA\,\mathtt{Gram}(\mathbf{z})\bigr). \end{aligned} \end{equation}
Show proofHide proof

For each 1⩽i,j⩽m1\leqslant i,j\leqslant m, bilinearity of the inner product gives

(Gram((A⊗Id)z))i,j=⟨∑ℓ=1nAi,ℓzℓ,∑r=1nAj,rzr⟩=∑ℓ=1n∑r=1nAi,ℓAj,r⟨zℓ,zr⟩=(AGram(z)A⊤)i,j.\begin{align*} (\mathtt{Gram}((A\otimes I_d)\mathbf{z}))_{i,j} &=\Biginner{\sum_{\ell=1}^{n}A_{i,\ell}z_{\ell}}{\sum_{r=1}^{n}A_{j,r}z_r}\\ &=\sum_{\ell=1}^{n}\sum_{r=1}^{n}A_{i,\ell}A_{j,r}\inner{z_{\ell}}{z_r}\\ &=(A\,\mathtt{Gram}(\mathbf{z})A^{\top})_{i,j}. \end{align*}

Substituting this identity and using cyclicity of the trace gives

trace(MGram((A⊗Id)z))=trace(MAGram(z)A⊤)=trace(A⊤MAGram(z)).\begin{align*} \text{trace}\bigl(M\,\mathtt{Gram}((A\otimes I_d)\mathbf{z})\bigr) &=\text{trace}\bigl(MA\,\mathtt{Gram}(\mathbf{z})A^{\top}\bigr)\\ &=\text{trace}\bigl(A^{\top}MA\,\mathtt{Gram}(\mathbf{z})\bigr). \end{align*}

Rewriting the objective. Our goal is to express the objective of Pd(Q,q,γ,ε,μ,L,ρ)\mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho) in terms of the function-value differences f(xk)−f(x⋆)f(x^{k})-f(x^{\star}) and f(xk+1)−f(x⋆)f(x^{k+1})-f(x^{\star}), together with the Gram matrix Gram(xk−x⋆,∇f(xk),∇f(xk+1),dk)\mathtt{Gram}(x^{k}-x^{\star},\nabla f(x^{k}),\nabla f(x^{k+1}),d^{k}). For this purpose, we introduce the following matrices, whose columns correspond, from left to right, to the four arguments of this Gramian:

S=[10000100],S+=[100−γ001−0].\begin{equation*} S= \begin{bmatrix} 1&0&0&0\\ 0&1&0&0 \end{bmatrix}, \qquad S_+= \begin{bmatrix} 1&0&0&-\gamma\\ 0&0&1&\phantom{-}0 \end{bmatrix}. \end{equation*}

Applying the trace identity in (7) with these matrices gives the objective in the desired form

V(k+1)−ρV(k)=trace((S+⊤QS+−ρS⊤QS)Gram(xk−x⋆,∇f(xk),∇f(xk+1),dk))+q[−ρ−1]⊤[f(xk)−f(x⋆)f(xk+1)−f(x⋆)].\begin{equation*} \mathcal{V}(k+1)-\rho\mathcal{V}(k) =\text{trace}\bigl((S_+^{\top}QS_+-\rho S^{\top}QS)\,\mathtt{Gram}(x^{k}-x^{\star},\nabla f(x^{k}),\nabla f(x^{k+1}),d^{k})\bigr) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top} \begin{bmatrix} f(x^{k})-f(x^{\star})\\ f(x^{k+1})-f(x^{\star}) \end{bmatrix}. \end{equation*}
Show proofHide proof

The map S⊗IdS\otimes I_d selects xk−x⋆x^{k}-x^{\star} and ∇f(xk)\nabla f(x^{k}), the two vectors in the Gramian term of V(k)\mathcal{V}(k), giving

(S⊗Id)(xk−x⋆,∇f(xk),∇f(xk+1),dk)=(xk−x⋆,∇f(xk)).\begin{equation*} (S\otimes I_d)(x^{k}-x^{\star},\nabla f(x^{k}),\nabla f(x^{k+1}),d^{k}) =(x^{k}-x^{\star},\nabla f(x^{k})). \end{equation*}

For V(k+1)\mathcal{V}(k+1), the map S+⊗IdS_+\otimes I_d recovers xk+1−x⋆x^{k+1}-x^{\star} and ∇f(xk+1)\nabla f(x^{k+1}) using the update xk+1=xk−γdkx^{k+1}=x^{k}-\gamma d^{k}, giving

(S+⊗Id)(xk−x⋆,∇f(xk),∇f(xk+1),dk)=(xk−x⋆−γdk,∇f(xk+1))=(xk+1−x⋆,∇f(xk+1)).\begin{equation*} (S_+\otimes I_d)(x^{k}-x^{\star},\nabla f(x^{k}),\nabla f(x^{k+1}),d^{k}) =(x^{k}-x^{\star}-\gamma d^{k},\nabla f(x^{k+1})) =(x^{k+1}-x^{\star},\nabla f(x^{k+1})). \end{equation*}

Applying the trace identity in (7) gives

V(k)=trace(QGram(xk−x⋆,∇f(xk)))+q(f(xk)−f(x⋆))=trace(QGram((S⊗Id)(xk−x⋆,∇f(xk),∇f(xk+1),dk)))+q(f(xk)−f(x⋆))=trace(S⊤QSGram(xk−x⋆,∇f(xk),∇f(xk+1),dk))+q(f(xk)−f(x⋆)).\begin{align*} \mathcal{V}(k) &=\text{trace}\bigl(Q\,\mathtt{Gram}(x^{k}-x^{\star},\nabla f(x^{k}))\bigr)+q(f(x^{k})-f(x^{\star}))\\ &=\text{trace}\bigl(Q\,\mathtt{Gram}((S\otimes I_d)(x^{k}-x^{\star},\nabla f(x^{k}),\nabla f(x^{k+1}),d^{k}))\bigr)+q(f(x^{k})-f(x^{\star}))\\ &=\text{trace}\bigl(S^{\top}QS\,\mathtt{Gram}(x^{k}-x^{\star},\nabla f(x^{k}),\nabla f(x^{k+1}),d^{k})\bigr)+q(f(x^{k})-f(x^{\star})). \end{align*}

Similarly, we obtain

V(k+1)=trace(QGram(xk+1−x⋆,∇f(xk+1)))+q(f(xk+1)−f(x⋆))=trace(QGram((S+⊗Id)(xk−x⋆,∇f(xk),∇f(xk+1),dk)))+q(f(xk+1)−f(x⋆))=trace(S+⊤QS+Gram(xk−x⋆,∇f(xk),∇f(xk+1),dk))+q(f(xk+1)−f(x⋆)).\begin{align*} \mathcal{V}(k+1) &=\text{trace}\bigl(Q\,\mathtt{Gram}(x^{k+1}-x^{\star},\nabla f(x^{k+1}))\bigr)+q(f(x^{k+1})-f(x^{\star}))\\ &=\text{trace}\bigl(Q\,\mathtt{Gram}((S_+\otimes I_d)(x^{k}-x^{\star},\nabla f(x^{k}),\nabla f(x^{k+1}),d^{k}))\bigr)+q(f(x^{k+1})-f(x^{\star}))\\ &=\text{trace}\bigl(S_+^{\top}QS_+\,\mathtt{Gram}(x^{k}-x^{\star},\nabla f(x^{k}),\nabla f(x^{k+1}),d^{k})\bigr)+q(f(x^{k+1})-f(x^{\star})). \end{align*}

Subtracting ρV(k)\rho\mathcal{V}(k) from V(k+1)\mathcal{V}(k+1) gives the stated expression.

Optimizing over functions. Using this trace representation of the objective gives the following equivalent formulation of the problem defining Pd(Q,q,γ,ε,μ,L,ρ)\mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho)

maximizef∈Fμ,L(Rd)xk,xk+1,x⋆,dk∈Rdtrace((S+⊤QS+−ρS⊤QS)Gram(xk−x⋆,∇f(xk),∇f(xk+1),dk))+q[−ρ−1]⊤[f(xk)−f(x⋆)f(xk+1)−f(x⋆)]subject toxk+1=xk−γdk,‖∇f(xk)−dk‖⩽ε‖∇f(xk)‖,∇f(x⋆)=0.\begin{equation*} \begin{array}{cl} \mathop{\text{maximize}}\limits_{\substack{ f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{d})\\ x^{k},x^{k+1},x^{\star},d^{k}\in\mathbb{R}^{d} }} &\text{trace}((S_+^{\top}QS_+-\rho S^{\top}QS)\,\mathtt{Gram}(x^{k}-x^{\star},\nabla f(x^{k}),\nabla f(x^{k+1}),d^{k})) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top} \begin{bmatrix} f(x^{k})-f(x^{\star})\\ f(x^{k+1})-f(x^{\star}) \end{bmatrix} \\[0.6em] \text{subject to} &x^{k+1}=x^{k}-\gamma d^{k},\\ &\lVert\nabla f(x^{k})-d^{k}\rVert \leqslant\varepsilon\lVert\nabla f(x^{k})\rVert,\\ &\nabla f(x^{\star})=0. \end{array} \end{equation*}

Here, ff is an infinite-dimensional optimization variable, even though only its values and gradients at xkx^{k}, xk+1x^{k+1}, and x⋆x^{\star} appear in the objective and constraints. Introducing corresponding variables fif^i and gig^i therefore gives the equivalent formulation

maximizexk,xk+1,x⋆,dk∈Rdgk,gk+1,g⋆∈Rdfk,fk+1,f⋆∈Rtrace((S+⊤QS+−ρS⊤QS)Gram(xk−x⋆,gk,gk+1,dk))+q[−ρ−1]⊤[fk−f⋆fk+1−f⋆]subject toxk+1=xk−γdk,‖gk−dk‖⩽ε‖gk‖,g⋆=0,there exists f∈Fμ,L(Rd)such thatf(xi)=fiand∇f(xi)=gifor eachi∈{k,k+1,⋆}.\begin{equation*} \begin{array}{cl} \mathop{\text{maximize}}\limits_{\substack{ x^{k},x^{k+1},x^{\star},d^{k}\in\mathbb{R}^{d}\\ g^{k},g^{k+1},g^{\star}\in\mathbb{R}^{d}\\ f^{k},f^{k+1},f^{\star}\in\mathbb{R} }} &\text{trace}((S_+^{\top}QS_+-\rho S^{\top}QS)\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top} \begin{bmatrix} f^{k}-f^{\star}\\ f^{k+1}-f^{\star} \end{bmatrix} \\[0.6em] \text{subject to} &x^{k+1}=x^{k}-\gamma d^{k},\\ &\lVert g^{k}-d^{k}\rVert\leqslant\varepsilon\lVert g^{k}\rVert,\\ &g^{\star}=0,\\ &\text{there exists }f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{d}) \;\text{such that}\; f(x^i)=f^i\;\text{and}\; \nabla f(x^i)=g^i \;\text{for each}\; i\in\{k,k+1,\star\}. \end{array} \end{equation*}

At first glance, this may not seem like progress: we have replaced the infinite-dimensional variable by an existence constraint over the same function class. Have we actually made the problem any easier?

Determining whether the prescribed values and gradients can come from a single function in Fμ,L(Rd)\mathcal{F}_{\mu,L}(\mathbb{R}^{d}) is an interpolation problem. For this class, interpolation conditions from the performance estimation literature let us replace the existence constraint by finitely many explicit inequalities [THG17]. The quadratic bounds (2), imposed only at the sampled points, are necessary but not sufficient for interpolation. Theorem 1 gives necessary and sufficient conditions for a function in Fμ,L(Rd)\mathcal{F}_{\mu,L}(\mathbb{R}^{d}) to match all the prescribed values and gradients.

Theorem 1 (Smooth and strongly convex interpolation). [THG17, Theorem 4]

Let JJ be a finite index set, and let xi,gi∈Rdx^i,g^i\in\mathbb{R}^{d} and fi∈Rf^i\in\mathbb{R} for each i∈Ji\in J. There exists a function f∈Fμ,L(Rd)f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{d}) satisfying

f(xi)=fiand∇f(xi)=gifor eachi∈J\begin{equation*} f(x^i)=f^i\;\text{and}\; \nabla f(x^i)=g^i\;\text{for each}\; i\in J \end{equation*}

if and only if

fi−fj−⟨gj,xi−xj⟩⩾μ2‖xi−xj‖2+12(L−μ)‖gi−gj−μ(xi−xj)‖2\begin{equation*} f^i-f^j-\inner{g^j}{x^i-x^j} \geqslant\tfrac{\mu}{2}\norm{x^i-x^j}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^i-g^j-\mu(x^i-x^j)}^{2} \end{equation*}

for each pair of distinct indices i,j∈Ji,j\in J.

For an intuitive explanation of interpolation in the convex, possibly nonsmooth case, corresponding to μ=0\mu=0 and L=+∞L=+\infty, see Adrien Taylor’s excellent post on Francis Bach’s blog [Tay20].

Applying Theorem 1 gives the following equivalent finite-dimensional formulation, where we have squared the relative-error bound and written each inequality with zero on the right

maximizexk,xk+1,x⋆,dk∈Rdgk,gk+1,g⋆∈Rdfk,fk+1,f⋆∈Rtrace((S+⊤QS+−ρS⊤QS)Gram(xk−x⋆,gk,gk+1,dk))+q[−ρ−1]⊤[fk−f⋆fk+1−f⋆]subject toxk+1=xk−γdk,‖gk−dk‖2−ε2‖gk‖2⩽0,g⋆=0,fj−fi+⟨gj,xi−xj⟩+μ2‖xi−xj‖2+12(L−μ)‖gi−gj−μ(xi−xj)‖2⩽0for each pair of distinct indices i,j∈{k,k+1,⋆}.\begin{equation*} \begin{array}{cl} \mathop{\text{maximize}}\limits_{\substack{ x^{k},x^{k+1},x^{\star},d^{k}\in\mathbb{R}^{d}\\ g^{k},g^{k+1},g^{\star}\in\mathbb{R}^{d}\\ f^{k},f^{k+1},f^{\star}\in\mathbb{R} }} &\text{trace}((S_+^{\top}QS_+-\rho S^{\top}QS)\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top} \begin{bmatrix} f^{k}-f^{\star}\\ f^{k+1}-f^{\star} \end{bmatrix} \\[0.6em] \text{subject to} &x^{k+1}=x^{k}-\gamma d^{k},\\ &\norm{g^{k}-d^{k}}^{2}-\varepsilon^{2}\norm{g^{k}}^{2}\leqslant0,\\ &g^{\star}=0,\\ &f^j-f^i+\inner{g^j}{x^i-x^j} +\tfrac{\mu}{2}\norm{x^i-x^j}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^i-g^j-\mu(x^i-x^j)}^{2}\leqslant0\\ &\text{for each pair of distinct indices }i,j\in\{k,k+1,\star\}. \end{array} \end{equation*}

We have now eliminated the unknown function: only finitely many vector and scalar variables remain. For the three indices in {k,k+1,⋆}\{k,k+1,\star\}, there are six interpolation inequalities: one for each ordered pair of distinct indices. Swapping ii and jj generally gives a different inequality.

Rewriting the constraints. Substituting xk+1=xk−γdkx^{k+1}=x^{k}-\gamma d^{k} and g⋆=0g^{\star}=0 eliminates xk+1x^{k+1} and g⋆g^{\star} as optimization variables. The relative-error constraint becomes

‖gk−dk‖2−ε2‖gk‖2=trace(AerrGram(xk−x⋆,gk,gk+1,dk))⩽0,Aerr=[0−00−00−1−ε20−10−00−00−10−1].\begin{equation*} \norm{g^{k}-d^{k}}^{2}-\varepsilon^{2}\norm{g^{k}}^{2} =\text{trace}(A_{\mathrm{err}}\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) \leqslant0, \qquad A_{\mathrm{err}}= \begin{bmatrix} 0&\phantom{-}0&0&\phantom{-}0\\ 0&\phantom{-}1-\varepsilon^{2}&0&-1\\ 0&\phantom{-}0&0&\phantom{-}0\\ 0&-1&0&\phantom{-}1 \end{bmatrix}. \end{equation*}

For each interpolation inequality, we use Ai,j∈S4A_{i,j}\in\mathbb{S}^{4} to represent the inner products and squared norms and ai,j∈R2a_{i,j}\in\mathbb{R}^{2} to select the function-value difference fj−fif^{j}-f^{i}. The six inequalities can then be written as

trace(Ai,jGram(xk−x⋆,gk,gk+1,dk))+ai,j⊤[fk−f⋆fk+1−f⋆]⩽0\begin{equation*} \text{trace}(A_{i,j}\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) +a_{i,j}^{\top} \begin{bmatrix} f^{k}-f^{\star}\\ f^{k+1}-f^{\star} \end{bmatrix} \leqslant0 \end{equation*}

for each pair of distinct indices i,j∈{k,k+1,⋆}i,j\in\{k,k+1,\star\}.

Show derivationHide derivation

For each of the six ordered pairs, we first write the interpolation inequality, then substitute xk+1=xk−γdkx^{k+1}=x^{k}-\gamma d^{k} and g⋆=0g^{\star}=0, expand the squared norms, and identify its trace representation.

For (i,j)=(k,⋆)(i,j)=(k,\star), we obtain

f⋆−fk+⟨g⋆,xk−x⋆⟩+μ2‖xk−x⋆‖2+12(L−μ)‖gk−g⋆−μ(xk−x⋆)‖2=f⋆−fk+μ2‖xk−x⋆‖2+12(L−μ)‖gk−μ(xk−x⋆)‖2=f⋆−fk+12(L−μ)(μL‖xk−x⋆‖2−2μ⟨xk−x⋆,gk⟩+‖gk‖2)=trace(Ak,⋆Gram(xk−x⋆,gk,gk+1,dk))+ak,⋆⊤[fk−f⋆fk+1−f⋆]⩽0,\begin{align*} &f^{\star}-f^{k}+\inner{g^{\star}}{x^{k}-x^{\star}} +\tfrac{\mu}{2}\norm{x^{k}-x^{\star}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{k}-g^{\star}-\mu(x^{k}-x^{\star})}^{2}\\ &=f^{\star}-f^{k} +\tfrac{\mu}{2}\norm{x^{k}-x^{\star}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{k}-\mu(x^{k}-x^{\star})}^{2}\\ &=f^{\star}-f^{k}+\tfrac{1}{2(L-\mu)}( \mu L\norm{x^{k}-x^{\star}}^{2} -2\mu\inner{x^{k}-x^{\star}}{g^{k}} +\norm{g^{k}}^{2})\\ &=\text{trace}(A_{k,\star}\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) +a_{k,\star}^{\top}\begin{bmatrix}f^{k}-f^{\star}\\f^{k+1}-f^{\star}\end{bmatrix}\leqslant0, \end{align*}

where

Ak,⋆=12(L−μ)[−μL−μ00−μ−100−0−000−0−000],ak,⋆=[−1−0].\begin{equation*} A_{k,\star}=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \phantom{-}\mu L&-\mu&0&0\\ -\mu&\phantom{-}1&0&0\\ \phantom{-}0&\phantom{-}0&0&0\\ \phantom{-}0&\phantom{-}0&0&0 \end{bmatrix}, \qquad a_{k,\star}=\begin{bmatrix}-1\\\phantom{-}0\end{bmatrix}. \end{equation*}

For (i,j)=(⋆,k)(i,j)=(\star,k), we obtain

fk−f⋆+⟨gk,x⋆−xk⟩+μ2‖x⋆−xk‖2+12(L−μ)‖g⋆−gk−μ(x⋆−xk)‖2=fk−f⋆−⟨gk,xk−x⋆⟩+μ2‖xk−x⋆‖2+12(L−μ)‖gk−μ(xk−x⋆)‖2=fk−f⋆+12(L−μ)(μL‖xk−x⋆‖2−2L⟨xk−x⋆,gk⟩+‖gk‖2)=trace(A⋆,kGram(xk−x⋆,gk,gk+1,dk))+a⋆,k⊤[fk−f⋆fk+1−f⋆]⩽0,\begin{align*} &f^{k}-f^{\star}+\inner{g^{k}}{x^{\star}-x^{k}} +\tfrac{\mu}{2}\norm{x^{\star}-x^{k}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{\star}-g^{k}-\mu(x^{\star}-x^{k})}^{2}\\ &=f^{k}-f^{\star}-\inner{g^{k}}{x^{k}-x^{\star}} +\tfrac{\mu}{2}\norm{x^{k}-x^{\star}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{k}-\mu(x^{k}-x^{\star})}^{2}\\ &=f^{k}-f^{\star}+\tfrac{1}{2(L-\mu)}( \mu L\norm{x^{k}-x^{\star}}^{2} -2L\inner{x^{k}-x^{\star}}{g^{k}} +\norm{g^{k}}^{2})\\ &=\text{trace}(A_{\star,k}\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) +a_{\star,k}^{\top}\begin{bmatrix}f^{k}-f^{\star}\\f^{k+1}-f^{\star}\end{bmatrix}\leqslant0, \end{align*}

where

A⋆,k=12(L−μ)[−μL−L00−L−100−0−000−0−000],a⋆,k=[10].\begin{equation*} A_{\star,k}=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \phantom{-}\mu L&-L&0&0\\ -L&\phantom{-}1&0&0\\ \phantom{-}0&\phantom{-}0&0&0\\ \phantom{-}0&\phantom{-}0&0&0 \end{bmatrix}, \qquad a_{\star,k}=\begin{bmatrix}1\\0\end{bmatrix}. \end{equation*}

For (i,j)=(k+1,⋆)(i,j)=(k+1,\star), we obtain

f⋆−fk+1+⟨g⋆,xk+1−x⋆⟩+μ2‖xk+1−x⋆‖2+12(L−μ)‖gk+1−g⋆−μ(xk+1−x⋆)‖2=f⋆−fk+1+μ2‖xk−x⋆−γdk‖2+12(L−μ)‖gk+1−μ(xk−x⋆−γdk)‖2=f⋆−fk+1+12(L−μ)(μL‖xk−x⋆‖2−2μ⟨xk−x⋆,gk+1⟩−2γμL⟨xk−x⋆,dk⟩+‖gk+1‖2+2γμ⟨gk+1,dk⟩+γ2μL‖dk‖2)=trace(Ak+1,⋆Gram(xk−x⋆,gk,gk+1,dk))+ak+1,⋆⊤[fk−f⋆fk+1−f⋆]⩽0,\begin{align*} &f^{\star}-f^{k+1}+\inner{g^{\star}}{x^{k+1}-x^{\star}} +\tfrac{\mu}{2}\norm{x^{k+1}-x^{\star}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{k+1}-g^{\star}-\mu(x^{k+1}-x^{\star})}^{2}\\ &=f^{\star}-f^{k+1} +\tfrac{\mu}{2}\norm{x^{k}-x^{\star}-\gamma d^{k}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{k+1}-\mu(x^{k}-x^{\star}-\gamma d^{k})}^{2}\\ &=f^{\star}-f^{k+1}+\tfrac{1}{2(L-\mu)}( \mu L\norm{x^{k}-x^{\star}}^{2} -2\mu\inner{x^{k}-x^{\star}}{g^{k+1}} -2\gamma\mu L\inner{x^{k}-x^{\star}}{d^{k}} +\norm{g^{k+1}}^{2} +2\gamma\mu\inner{g^{k+1}}{d^{k}} +\gamma^{2}\mu L\norm{d^{k}}^{2})\\ &=\text{trace}(A_{k+1,\star}\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) +a_{k+1,\star}^{\top}\begin{bmatrix}f^{k}-f^{\star}\\f^{k+1}-f^{\star}\end{bmatrix}\leqslant0, \end{align*}

where

Ak+1,⋆=12(L−μ)[−μL0−μ−γμL−00−0−0−μ0−1−γμ−γμL0−γμ−γ2μL],ak+1,⋆=[−0−1].\begin{equation*} A_{k+1,\star}=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \phantom{-}\mu L&0&-\mu&-\gamma\mu L\\ \phantom{-}0&0&\phantom{-}0&\phantom{-}0\\ -\mu&0&\phantom{-}1&\phantom{-}\gamma\mu\\ -\gamma\mu L&0&\phantom{-}\gamma\mu&\phantom{-}\gamma^{2}\mu L \end{bmatrix}, \qquad a_{k+1,\star}=\begin{bmatrix}\phantom{-}0\\-1\end{bmatrix}. \end{equation*}

For (i,j)=(⋆,k+1)(i,j)=(\star,k+1), we obtain

fk+1−f⋆+⟨gk+1,x⋆−xk+1⟩+μ2‖x⋆−xk+1‖2+12(L−μ)‖g⋆−gk+1−μ(x⋆−xk+1)‖2=fk+1−f⋆−⟨gk+1,xk−x⋆−γdk⟩+μ2‖xk−x⋆−γdk‖2+12(L−μ)‖gk+1−μ(xk−x⋆−γdk)‖2=fk+1−f⋆+12(L−μ)(μL‖xk−x⋆‖2−2L⟨xk−x⋆,gk+1⟩−2γμL⟨xk−x⋆,dk⟩+‖gk+1‖2+2γL⟨gk+1,dk⟩+γ2μL‖dk‖2)=trace(A⋆,k+1Gram(xk−x⋆,gk,gk+1,dk))+a⋆,k+1⊤[fk−f⋆fk+1−f⋆]⩽0,\begin{align*} &f^{k+1}-f^{\star}+\inner{g^{k+1}}{x^{\star}-x^{k+1}} +\tfrac{\mu}{2}\norm{x^{\star}-x^{k+1}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{\star}-g^{k+1}-\mu(x^{\star}-x^{k+1})}^{2}\\ &=f^{k+1}-f^{\star}-\inner{g^{k+1}}{x^{k}-x^{\star}-\gamma d^{k}} +\tfrac{\mu}{2}\norm{x^{k}-x^{\star}-\gamma d^{k}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{k+1}-\mu(x^{k}-x^{\star}-\gamma d^{k})}^{2}\\ &=f^{k+1}-f^{\star}+\tfrac{1}{2(L-\mu)}( \mu L\norm{x^{k}-x^{\star}}^{2} -2L\inner{x^{k}-x^{\star}}{g^{k+1}} -2\gamma\mu L\inner{x^{k}-x^{\star}}{d^{k}} +\norm{g^{k+1}}^{2} +2\gamma L\inner{g^{k+1}}{d^{k}} +\gamma^{2}\mu L\norm{d^{k}}^{2})\\ &=\text{trace}(A_{\star,k+1}\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) +a_{\star,k+1}^{\top}\begin{bmatrix}f^{k}-f^{\star}\\f^{k+1}-f^{\star}\end{bmatrix}\leqslant0, \end{align*}

where

A⋆,k+1=12(L−μ)[−μL0−L−γμL−00−0−0−L0−1−γL−γμL0−γL−γ2μL],a⋆,k+1=[01].\begin{equation*} A_{\star,k+1}=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \phantom{-}\mu L&0&-L&-\gamma\mu L\\ \phantom{-}0&0&\phantom{-}0&\phantom{-}0\\ -L&0&\phantom{-}1&\phantom{-}\gamma L\\ -\gamma\mu L&0&\phantom{-}\gamma L&\phantom{-}\gamma^{2}\mu L \end{bmatrix}, \qquad a_{\star,k+1}=\begin{bmatrix}0\\1\end{bmatrix}. \end{equation*}

For (i,j)=(k,k+1)(i,j)=(k,k+1), we obtain

fk+1−fk+⟨gk+1,xk−xk+1⟩+μ2‖xk−xk+1‖2+12(L−μ)‖gk−gk+1−μ(xk−xk+1)‖2=fk+1−fk+γ⟨gk+1,dk⟩+μγ22‖dk‖2+12(L−μ)‖gk−gk+1−μγdk‖2=fk+1−fk+12(L−μ)(‖gk‖2−2⟨gk,gk+1⟩−2γμ⟨gk,dk⟩+‖gk+1‖2+2γL⟨gk+1,dk⟩+γ2μL‖dk‖2)=trace(Ak,k+1Gram(xk−x⋆,gk,gk+1,dk))+ak,k+1⊤[fk−f⋆fk+1−f⋆]⩽0,\begin{align*} &f^{k+1}-f^{k}+\inner{g^{k+1}}{x^{k}-x^{k+1}} +\tfrac{\mu}{2}\norm{x^{k}-x^{k+1}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{k}-g^{k+1}-\mu(x^{k}-x^{k+1})}^{2}\\ &=f^{k+1}-f^{k}+\gamma\inner{g^{k+1}}{d^{k}} +\tfrac{\mu\gamma^{2}}{2}\norm{d^{k}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{k}-g^{k+1}-\mu\gamma d^{k}}^{2}\\ &=f^{k+1}-f^{k}+\tfrac{1}{2(L-\mu)}( \norm{g^{k}}^{2} -2\inner{g^{k}}{g^{k+1}} -2\gamma\mu\inner{g^{k}}{d^{k}} +\norm{g^{k+1}}^{2} +2\gamma L\inner{g^{k+1}}{d^{k}} +\gamma^{2}\mu L\norm{d^{k}}^{2})\\ &=\text{trace}(A_{k,k+1}\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) +a_{k,k+1}^{\top}\begin{bmatrix}f^{k}-f^{\star}\\f^{k+1}-f^{\star}\end{bmatrix}\leqslant0, \end{align*}

where

Ak,k+1=12(L−μ)[0−0−0−00−1−1−γμ0−1−1−γL0−γμ−γL−γ2μL],ak,k+1=[−1−1].\begin{equation*} A_{k,k+1}=\tfrac{1}{2(L-\mu)} \begin{bmatrix} 0&\phantom{-}0&\phantom{-}0&\phantom{-}0\\ 0&\phantom{-}1&-1&-\gamma\mu\\ 0&-1&\phantom{-}1&\phantom{-}\gamma L\\ 0&-\gamma\mu&\phantom{-}\gamma L&\phantom{-}\gamma^{2}\mu L \end{bmatrix}, \qquad a_{k,k+1}=\begin{bmatrix}-1\\\phantom{-}1\end{bmatrix}. \end{equation*}

For (i,j)=(k+1,k)(i,j)=(k+1,k), we obtain

fk−fk+1+⟨gk,xk+1−xk⟩+μ2‖xk+1−xk‖2+12(L−μ)‖gk+1−gk−μ(xk+1−xk)‖2=fk−fk+1−γ⟨gk,dk⟩+μγ22‖dk‖2+12(L−μ)‖gk+1−gk+μγdk‖2=fk−fk+1+12(L−μ)(‖gk‖2−2⟨gk,gk+1⟩−2γL⟨gk,dk⟩+‖gk+1‖2+2γμ⟨gk+1,dk⟩+γ2μL‖dk‖2)=trace(Ak+1,kGram(xk−x⋆,gk,gk+1,dk))+ak+1,k⊤[fk−f⋆fk+1−f⋆]⩽0,\begin{align*} &f^{k}-f^{k+1}+\inner{g^{k}}{x^{k+1}-x^{k}} +\tfrac{\mu}{2}\norm{x^{k+1}-x^{k}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{k+1}-g^{k}-\mu(x^{k+1}-x^{k})}^{2}\\ &=f^{k}-f^{k+1}-\gamma\inner{g^{k}}{d^{k}} +\tfrac{\mu\gamma^{2}}{2}\norm{d^{k}}^{2} +\tfrac{1}{2(L-\mu)}\norm{g^{k+1}-g^{k}+\mu\gamma d^{k}}^{2}\\ &=f^{k}-f^{k+1}+\tfrac{1}{2(L-\mu)}( \norm{g^{k}}^{2} -2\inner{g^{k}}{g^{k+1}} -2\gamma L\inner{g^{k}}{d^{k}} +\norm{g^{k+1}}^{2} +2\gamma\mu\inner{g^{k+1}}{d^{k}} +\gamma^{2}\mu L\norm{d^{k}}^{2})\\ &=\text{trace}(A_{k+1,k}\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) +a_{k+1,k}^{\top}\begin{bmatrix}f^{k}-f^{\star}\\f^{k+1}-f^{\star}\end{bmatrix}\leqslant0, \end{align*}

where

Ak+1,k=12(L−μ)[0−0−0−00−1−1−γL0−1−1−γμ0−γL−γμ−γ2μL],ak+1,k=[−1−1].\begin{equation*} A_{k+1,k}=\tfrac{1}{2(L-\mu)} \begin{bmatrix} 0&\phantom{-}0&\phantom{-}0&\phantom{-}0\\ 0&\phantom{-}1&-1&-\gamma L\\ 0&-1&\phantom{-}1&\phantom{-}\gamma\mu\\ 0&-\gamma L&\phantom{-}\gamma\mu&\phantom{-}\gamma^{2}\mu L \end{bmatrix}, \qquad a_{k+1,k}=\begin{bmatrix}\phantom{-}1\\-1\end{bmatrix}. \end{equation*}

Combining the rewritten objective and constraints gives the equivalent formulation

Pd(Q,q,γ,ε,μ,L,ρ)=(maximizexk,x⋆,dk∈Rdgk,gk+1∈Rdfk,fk+1,f⋆∈Rtrace((S+⊤QS+−ρS⊤QS)Gram(xk−x⋆,gk,gk+1,dk))+q[−ρ−1]⊤[fk−f⋆fk+1−f⋆]subject totrace(AerrGram(xk−x⋆,gk,gk+1,dk))⩽0,trace(Ai,jGram(xk−x⋆,gk,gk+1,dk))+ai,j⊤[fk−f⋆fk+1−f⋆]⩽0for each pair of distinct indices i,j∈{k,k+1,⋆}.).\begin{equation*} \mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho) =\left( \begin{array}{cl} \mathop{\text{maximize}}\limits_{\substack{ x^{k},x^{\star},d^{k}\in\mathbb{R}^{d}\\ g^{k},g^{k+1}\in\mathbb{R}^{d}\\ f^{k},f^{k+1},f^{\star}\in\mathbb{R} }} &\text{trace}((S_+^{\top}QS_+-\rho S^{\top}QS)\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top} \begin{bmatrix} f^{k}-f^{\star}\\ f^{k+1}-f^{\star} \end{bmatrix} \\[0.6em] \text{subject to} &\text{trace}(A_{\mathrm{err}}\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k}))\leqslant0,\\ &\text{trace}(A_{i,j}\,\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k})) +a_{i,j}^{\top} \begin{bmatrix} f^{k}-f^{\star}\\ f^{k+1}-f^{\star} \end{bmatrix} \leqslant0\\ &\text{for each pair of distinct indices }i,j\in\{k,k+1,\star\}. \end{array} \right). \end{equation*}

We have now obtained an equivalent quadratically constrained quadratic program (QCQP) for evaluating Pd(Q,q,γ,ε,μ,L,ρ)\mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho), but it is generally nonconvex. The following result lets us replace the vectors by their Gram matrix, with a rank constraint accounting for the dimension dd.

Which matrices are Gram matrices? For G∈SnG\in\mathbb{S}^{n}, we have that

(8)there exists z∈(Rd)nsuch thatGram(z)=Gif and only ifG∈S+nandrank⁡(G)⩽d.\begin{equation} \label{eq:gram-characterization} \text{there exists }\mathbf{z}\in(\mathbb{R}^{d})^{n}\;\text{such that}\; \mathtt{Gram}(\mathbf{z})=G \;\text{if and only if}\; G\in\mathbb{S}_{+}^{n}\;\text{and}\;\mathord{\mathop{\text{rank}}\nolimits(G)}\leqslant d. \end{equation}
Show proofHide proof

If Gram(z)=G\mathtt{Gram}(\mathbf{z})=G, let Z=[z1 ⋯ zn]∈Rd×nZ=[z_1\ \cdots\ z_n]\in\mathbb{R}^{d\times n}. Then G=Z⊤Z∈S+nG=Z^{\top}Z\in\mathbb{S}_{+}^{n}, and

rank⁡(G)⩽rank⁡(Z)⩽d.\begin{equation*} \mathop{\text{rank}}\nolimits(G) \leqslant\mathop{\text{rank}}\nolimits(Z) \leqslant d. \end{equation*}

Conversely, if G∈S+nG\in\mathbb{S}_{+}^{n} and rank⁡(G)⩽d\mathop{\text{rank}}\nolimits(G)\leqslant d, the Cholesky decomposition for positive semidefinite matrices [Gen98, p. 94] implies that there exists Z=[z1 ⋯ zn]∈Rd×nZ=[z_1\ \cdots\ z_n]\in\mathbb{R}^{d\times n} such that G=Z⊤ZG=Z^{\top}Z. Its columns therefore satisfy Gram(z)=G\mathtt{Gram}(\mathbf{z})=G.

Primal SDP. Writing G=Gram(xk−x⋆,gk,gk+1,dk)G=\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k}) and F=[fk−f⋆fk+1−f⋆]∈R2F=\begin{bmatrix}f^{k}-f^{\star}\\f^{k+1}-f^{\star}\end{bmatrix}\in\mathbb{R}^{2}, we obtain from (8) the equivalent formulation

Pd(Q,q,γ,ε,μ,L,ρ)=(maximizeG∈S+4,F∈R2trace((S+⊤QS+−ρS⊤QS)G)+q[−ρ−1]⊤Fsubject torank⁡(G)⩽d,trace(AerrG)⩽0,trace(Ai,jG)+ai,j⊤F⩽0for each pair of distinct indices i,j∈{k,k+1,⋆}.).\begin{equation*} \mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho) =\left( \begin{array}{cl} \mathop{\text{maximize}}\limits_{G\in\mathbb{S}_{+}^{4},\,F\in\mathbb{R}^{2}} &\text{trace}((S_+^{\top}QS_+-\rho S^{\top}QS)G) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top}F\\[0.6em] \text{subject to} &\mathop{\text{rank}}\nolimits(G)\leqslant d,\\ &\text{trace}(A_{\mathrm{err}}G)\leqslant0,\\ &\text{trace}(A_{i,j}G)+a_{i,j}^{\top}F\leqslant0\\ &\text{for each pair of distinct indices }i,j\in\{k,k+1,\star\}. \end{array} \right). \end{equation*}

The objective and scalar inequality constraints are linear in GG and FF. Positive semidefiniteness is a convex constraint, so dropping the rank constraint gives the SDP

PSDP(Q,q,γ,ε,μ,L,ρ)=(maximizeG∈S+4,F∈R2trace((S+⊤QS+−ρS⊤QS)G)+q[−ρ−1]⊤Fsubject totrace(AerrG)⩽0,trace(Ai,jG)+ai,j⊤F⩽0for each pair of distinct indices i,j∈{k,k+1,⋆}.),\begin{equation*} \mathcal{P}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho) =\left( \begin{array}{cl} \mathop{\text{maximize}}\limits_{G\in\mathbb{S}_{+}^{4},\,F\in\mathbb{R}^{2}} &\text{trace}((S_+^{\top}QS_+-\rho S^{\top}QS)G) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top}F\\[0.6em] \text{subject to} &\text{trace}(A_{\mathrm{err}}G)\leqslant0,\\ &\text{trace}(A_{i,j}G)+a_{i,j}^{\top}F\leqslant0\\ &\text{for each pair of distinct indices }i,j\in\{k,k+1,\star\}. \end{array} \right), \end{equation*}

and hence an upper bound valid in every dimension dd

Pd(Q,q,γ,ε,μ,L,ρ)⩽PSDP(Q,q,γ,ε,μ,L,ρ).\begin{equation*} \mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho) \leqslant\mathcal{P}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho). \end{equation*}

For d⩾4d\geqslant4, the rank constraint is automatic, so

Pd(Q,q,γ,ε,μ,L,ρ)=PSDP(Q,q,γ,ε,μ,L,ρ).\begin{equation*} \mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho) =\mathcal{P}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho). \end{equation*}

The SDP PSDP(Q,q,γ,ε,μ,L,ρ)\mathcal{P}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho) has one 4×44\times4 positive semidefinite matrix variable, two scalar variables, and seven scalar inequalities: six interpolation inequalities and one relative-error inequality. Its size is independent of dd.

Dual SDP. Next, we derive the Lagrange dual of PSDP(Q,q,γ,ε,μ,L,ρ)\mathcal{P}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho). We associate dual multipliers with the constraints as follows

trace(AerrG)⩽0:τ⩾0,trace(Ai,jG)+ai,j⊤F⩽0:λi,j⩾0\begin{align*} \text{trace}(A_{\mathrm{err}}G)\leqslant0 &\qquad:\qquad\tau\geqslant0,\\ \text{trace}(A_{i,j}G)+a_{i,j}^{\top}F\leqslant0 &\qquad:\qquad\lambda_{i,j}\geqslant0 \end{align*}

for each pair of distinct indices i,j∈{k,k+1,⋆}i,j\in\{k,k+1,\star\}. With the notation λ=(λi,j)i,j∈{k,k+1,⋆},i≠j\lambda=(\lambda_{i,j})_{i,j\in\{k,k+1,\star\},\,i\ne j}, the Lagrangian is

L(G,F,τ,λ)=trace((S+⊤QS+−ρS⊤QS)G)+q[−ρ−1]⊤F−τtrace(AerrG)−∑i,j∈{k,k+1,⋆}i≠jλi,j(trace(Ai,jG)+ai,j⊤F)=trace((S+⊤QS+−ρS⊤QS−τAerr−∑i,j∈{k,k+1,⋆}i≠jλi,jAi,j)G)+(q[−ρ−1]−∑i,j∈{k,k+1,⋆}i≠jλi,jai,j)⊤F.\begin{align*} \mathcal{L}(G,F,\tau,\lambda) &=\text{trace}((S_+^{\top}QS_+-\rho S^{\top}QS)G) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top}F -\tau\,\text{trace}(A_{\mathrm{err}}G) -\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j} (\text{trace}(A_{i,j}G)+a_{i,j}^{\top}F)\\ &=\text{trace}\left(\left(S_+^{\top}QS_+-\rho S^{\top}QS -\tau A_{\mathrm{err}}-\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}A_{i,j}\right)G\right) +\left(q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix} -\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}a_{i,j}\right)^{\top}F. \end{align*}

Taking the supremum of the Lagrangian over G∈S+4G\in\mathbb{S}_{+}^{4} and F∈R2F\in\mathbb{R}^{2} gives the dual objective

supG∈S+4,F∈R2⁡L(G,F,τ,λ)=supG∈S+4⁡trace((S+⊤QS+−ρS⊤QS−τAerr−∑i,j∈{k,k+1,⋆}i≠jλi,jAi,j)G)+supF∈R2⁡(q[−ρ−1]−∑i,j∈{k,k+1,⋆}i≠jλi,jai,j)⊤F={0,if S+⊤QS+−ρS⊤QS−τAerr−∑i,j∈{k,k+1,⋆}i≠jλi,jAi,j≼0andq[−ρ−1]−∑i,j∈{k,k+1,⋆}i≠jλi,jai,j=0,+∞,otherwise.\begin{align*} &\mathop{\text{sup}}\limits_{G\in\mathbb{S}_{+}^{4},\,F\in\mathbb{R}^{2}} \mathcal{L}(G,F,\tau,\lambda)\\ &=\mathop{\text{sup}}\limits_{G\in\mathbb{S}_{+}^{4}} \text{trace}\left(\left(S_+^{\top}QS_+-\rho S^{\top}QS -\tau A_{\mathrm{err}}-\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}A_{i,j}\right)G\right) +\mathop{\text{sup}}\limits_{F\in\mathbb{R}^{2}} \left(q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix} -\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}a_{i,j}\right)^{\top}F\\[0.4em] &=\begin{cases} 0,&\text{if }S_+^{\top}QS_+-\rho S^{\top}QS -\tau A_{\mathrm{err}}-\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}A_{i,j}\preccurlyeq0 \;\text{and}\; q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix} -\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}a_{i,j}=0,\\[0.4em] +\infty,&\text{otherwise}. \end{cases} \end{align*}

Minimizing this dual objective over the non­negative multipliers gives the dual SDP

DSDP(Q,q,γ,ε,μ,L,ρ)=(minimizeτ∈Rλi,j∈R, i,j∈{k,k+1,⋆}, i≠j0subject toτ⩾0,λi,j⩾0,τAerr+∑i,j∈{k,k+1,⋆}i≠jλi,jAi,j−(S+⊤QS+−ρS⊤QS)≽0,∑i,j∈{k,k+1,⋆}i≠jλi,jai,j−q[−ρ−1]=0.).\begin{equation*} \mathcal{D}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho) =\left( \begin{array}{cl} \mathop{\text{minimize}}\limits_{\substack{ \tau\in\mathbb{R}\\ \lambda_{i,j}\in\mathbb{R},\ i,j\in\{k,k+1,\star\},\ i\ne j }} &0\\[0.6em] \text{subject to} &\tau\geqslant0,\quad\lambda_{i,j}\geqslant0,\\ &\tau A_{\mathrm{err}} +\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}A_{i,j} -(S_+^{\top}QS_+-\rho S^{\top}QS)\succcurlyeq0,\\ &\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}a_{i,j} -q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}=0. \end{array} \right). \end{equation*}

Here, solving the dual SDP amounts to finding multipliers satisfying its constraints. The primal relaxation and weak duality (the primal SDP optimal value is no larger than the dual SDP optimal value) [BV04, Section 5.2.2] give

Pd(Q,q,γ,ε,μ,L,ρ)⩽PSDP(Q,q,γ,ε,μ,L,ρ)⩽DSDP(Q,q,γ,ε,μ,L,ρ).\begin{equation*} \mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho) \leqslant\mathcal{P}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho) \leqslant\mathcal{D}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho). \end{equation*}

Thus, if we find such multipliers, the right-hand side is zero and Pd(Q,q,γ,ε,μ,L,ρ)⩽0\mathcal{P}_{d}(Q,q,\gamma,\varepsilon,\mu,L,\rho)\leqslant0.

Optional: Strong duality. For ε>0\varepsilon>0, the primal and dual optimal values agree (known as strong duality),

PSDP(Q,q,γ,ε,μ,L,ρ)=DSDP(Q,q,γ,ε,μ,L,ρ).\begin{equation*} \mathcal{P}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho) =\mathcal{D}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho). \end{equation*}

This follows from the refined Slater condition [BV04, Section 5.2.3]. The verification is technical, so we include it below as optional reading for those interested in the details.

Show proofHide proof

All scalar constraints in the SDP defining PSDP(Q,q,γ,ε,μ,L,ρ)\mathcal{P}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho) are affine in (G,F)(G,F), so the refined Slater condition only requires a feasible pair with G≻0G\succ0; the scalar inequalities may hold with equality [BV04, Section 5.2.3]. We construct such a pair from the quadratic

f(x)=12x⊤diag⁡(μ,L,μ,L)x,x∈R4.\begin{equation*} f(x)=\tfrac12x^{\top}\mathop{\text{diag}}\nolimits(\mu,L,\mu,L)x, \qquad x\in\mathbb{R}^{4}. \end{equation*}

This function belongs to Fμ,L(R4)\mathcal{F}_{\mu,L}(\mathbb{R}^{4}) and has minimizer x⋆=0x^{\star}=0. Choose

xk=[1100],dk=[μLεμεL],xk+1=xk−γdk.\begin{equation*} x^{k}=\begin{bmatrix}1\\1\\0\\0\end{bmatrix},\qquad d^{k}=\begin{bmatrix}\mu\\L\\\varepsilon\mu\\\varepsilon L\end{bmatrix},\qquad x^{k+1}=x^{k}-\gamma d^{k}. \end{equation*}

Take gi=∇f(xi)g^i=\nabla f(x^i), and set

G=Gram(xk−x⋆,gk,gk+1,dk),F=[f(xk)−f(x⋆)f(xk+1)−f(x⋆)].\begin{equation*} G=\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1},d^{k}),\qquad F=\begin{bmatrix}f(x^{k})-f(x^{\star})\\f(x^{k+1})-f(x^{\star})\end{bmatrix}. \end{equation*}

The interpolation inequalities hold because these data come from ff. For the relative-error bound, we have

gk=∇f(xk)=[μL00],gk−dk=[−0−0−εμ−εL].\begin{equation*} g^{k}=\nabla f(x^{k})=\begin{bmatrix}\mu\\L\\0\\0\end{bmatrix},\qquad g^{k}-d^{k}=\begin{bmatrix}\phantom{-}0\\\phantom{-}0\\-\varepsilon\mu\\-\varepsilon L\end{bmatrix}. \end{equation*}

Hence the relative-error bound holds with equality:

‖gk−dk‖=εμ2+L2=ε‖gk‖.\begin{equation*} \|g^{k}-d^{k}\|=\varepsilon\sqrt{\mu^2+L^2} =\varepsilon\|g^{k}\|. \end{equation*}

It remains to check that G≻0G\succ0. Since x⋆=0x^{\star}=0, write

Z=[xkgkgk+1dk]=[1μ−μ(1−γμ)μ1L−L(1−γL)L00−γεμ2εμ00−γεL2εL].\begin{equation*} Z=\begin{bmatrix}x^{k}&g^{k}&g^{k+1}&d^{k}\end{bmatrix} = \begin{bmatrix} 1&\mu&\phantom{-}\mu(1-\gamma\mu)&\mu\\ 1&L&\phantom{-}L(1-\gamma L)&L\\ 0&0&-\gamma\varepsilon\mu^2&\varepsilon\mu\\ 0&0&-\gamma\varepsilon L^2&\varepsilon L \end{bmatrix}. \end{equation*}

This matrix is block upper triangular. Its diagonal blocks have determinants L−μL-\mu and γε2μL(L−μ)\gamma\varepsilon^2\mu L(L-\mu), respectively, so its determinant is γε2μL(L−μ)2>0\gamma\varepsilon^2\mu L(L-\mu)^2>0. Thus ZZ is nonsingular and G=Z⊤Z≻0G=Z^{\top}Z\succ0, as required.

When ε=0\varepsilon=0, we have dk=gkd^{k}=g^{k}, so the four-vector Gram matrix cannot be positive definite. We can use the smaller Gramian Gram(xk−x⋆,gk,gk+1)\mathtt{Gram}(x^{k}-x^{\star},g^{k},g^{k+1}) to obtain a different primal–dual SDP pair for which strong duality holds. We do not study this reduced formulation further here.

Dual certificates. A feasible dual point gives nonnegative weights that combine the relative-error and interpolation inequalities into a proof of the desired Lyapunov inequality. To make this proof explicit, let (τ,λ)(\tau,\lambda) be a feasible point of DSDP(Q,q,γ,ε,μ,L,ρ)\mathcal{D}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho). Consider any step of the method (3), and set

G=Gram(xk−x⋆,∇f(xk),∇f(xk+1),dk),F=[f(xk)−f(x⋆)f(xk+1)−f(x⋆)].\begin{equation*} G=\mathtt{Gram}(x^{k}-x^{\star},\nabla f(x^{k}),\nabla f(x^{k+1}),d^{k}), \qquad F=\begin{bmatrix}f(x^{k})-f(x^{\star})\\f(x^{k+1})-f(x^{\star})\end{bmatrix}. \end{equation*}

Since G≽0G\succcurlyeq0, the constraints of DSDP(Q,q,γ,ε,μ,L,ρ)\mathcal{D}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho) give L(G,F,τ,λ)⩽0\mathcal{L}(G,F,\tau,\lambda)\leqslant0. Thus, for this step,

(9)V(k+1)−ρV(k)=trace((S+⊤QS+−ρS⊤QS)G)+q[−ρ−1]⊤F=L(G,F,τ,λ)+τtrace(AerrG)+∑i,j∈{k,k+1,⋆}i≠jλi,j(trace(Ai,jG)+ai,j⊤F)⩽τtrace(AerrG)+∑i,j∈{k,k+1,⋆}i≠jλi,j(trace(Ai,jG)+ai,j⊤F)⩽0.\begin{equation} \label{eq:dual-certificate-bound} \begin{aligned} \mathcal{V}(k+1)-\rho\mathcal{V}(k) &=\text{trace}\left((S_+^{\top}QS_+-\rho S^{\top}QS)G\right) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top}F\\ &=\mathcal{L}(G,F,\tau,\lambda)+\tau\,\text{trace}(A_{\mathrm{err}}G) +\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j} \left(\text{trace}(A_{i,j}G)+a_{i,j}^{\top}F\right)\\ &\leqslant\tau\,\text{trace}(A_{\mathrm{err}}G) +\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j} \left(\text{trace}(A_{i,j}G)+a_{i,j}^{\top}F\right)\\ &\leqslant0. \end{aligned} \end{equation}

The last inequality uses primal feasibility and nonnegative multipliers. Since xkx^k and dkd^k were arbitrary subject to the relative-error condition, the same feasible point (τ,λ)(\tau,\lambda) certifies V(k+1)⩽ρV(k)\mathcal{V}(k+1)\leqslant\rho\mathcal{V}(k) at every iteration along every admissible trajectory, in every dimension. Conversely, for d⩾4d\geqslant4 and ε>0\varepsilon>0, if V(k+1)⩽ρV(k)\mathcal{V}(k+1)\leqslant\rho\mathcal{V}(k) holds for every admissible function and step, then DSDP(Q,q,γ,ε,μ,L,ρ)\mathcal{D}^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L,\rho) has a feasible point (τ,λ)(\tau,\lambda). This follows from exactness of the primal formulation and strong duality.

Formal result. With QQ and qq fixed, minimizing ρ\rho subject to the constraints of DSDP\mathcal{D}^{\mathrm{SDP}} is itself an SDP, since these constraints are affine in ρ,τ,λ\rho,\tau,\lambda. The derivation above gives Theorem 2.

Theorem 2 (Optimal one-step contraction via semi­definite programming).

Fix d∈Nd\in\mathbb{N}, 0<μ<L0<\mu<L, γ>0\gamma>0, ε⩾0\varepsilon\geqslant0, Q=(Qi,j)1⩽i,j⩽2∈S2Q=(Q_{i,j})_{1\leqslant i,j\leqslant2}\in\mathbb{S}^{2}, and q∈Rq\in\mathbb{R}. With S,S+∈R2×4S,S_+\in\mathbb{R}^{2\times4}, Aerr,Ai,j∈S4A_{\mathrm{err}},A_{i,j}\in\mathbb{S}^{4}, and ai,j∈R2a_{i,j}\in\mathbb{R}^{2} defined below, consider the SDP

(10)ρSDP(Q,q,γ,ε,μ,L)=(minimizeρ,τ∈Rλi,j∈R,i,j∈{k,k+1,⋆}, i≠jρsubject toτ⩾0,λi,j⩾0,τAerr+∑i,j∈{k,k+1,⋆}i≠jλi,jAi,j−(S+⊤QS+−ρS⊤QS)≽0,∑i,j∈{k,k+1,⋆}i≠jλi,jai,j−q[−ρ−1]=0,)\begin{equation} \label{eq:lyapunov-certificate} \rho^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L) =\left( \begin{array}{cl} \mathop{\text{minimize}}\limits_{\substack{ \rho,\tau\in\mathbb{R}\\ \lambda_{i,j}\in\mathbb{R},\\ i,j\in\{k,k+1,\star\},\ i\ne j }} &\rho\\[0.6em] \text{subject to} &\tau\geqslant0,\quad\lambda_{i,j}\geqslant0,\\ &\tau A_{\mathrm{err}} +\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}A_{i,j} -(S_+^{\top}QS_+-\rho S^{\top}QS)\succcurlyeq0,\\ &\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}a_{i,j} -q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}=0, \end{array} \right) \end{equation}

where k,k+1,⋆k,k+1,\star are just point labels (the SDP does not depend on kk).

The optimal one-step contraction factor satisfies

ρd⋆(Q,q,γ,ε,μ,L)=inf{ρ∈R|V(k+1)⩽ρV(k)for every f∈Fμ,L(Rd)andxk,dk∈Rd withxk+1=xk−γdkand‖∇f(xk)−dk‖⩽ε‖∇f(xk)‖}⩽ρSDP(Q,q,γ,ε,μ,L),\begin{equation*} \begin{aligned} \rho_d^{\star}(Q,q,\gamma,\varepsilon,\mu,L) &=\inf\left\{ \rho\in\mathbb{R}\;\middle|\; \begin{array}{l} \mathcal{V}(k+1)\leqslant\rho\mathcal{V}(k)\\ \text{for every }f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{d}) \;\text{and}\; x^{k},d^{k}\in\mathbb{R}^{d}\text{ with}\\ x^{k+1}=x^{k}-\gamma d^{k}\quad\text{and}\quad \|\nabla f(x^{k})-d^{k}\|\leqslant\varepsilon\|\nabla f(x^{k})\| \end{array} \right\}\\ &\leqslant\rho^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L), \end{aligned} \end{equation*}

where x⋆x^{\star} is the minimizer of ff and

V(k)=Q1,1‖xk−x⋆‖2+2Q1,2⟨xk−x⋆,∇f(xk)⟩+Q2,2‖∇f(xk)‖2+q(f(xk)−f(x⋆)).\begin{equation*} \mathcal{V}(k) =Q_{1,1}\|x^{k}-x^{\star}\|^{2} +2Q_{1,2}\langle x^{k}-x^{\star},\nabla f(x^{k})\rangle +Q_{2,2}\|\nabla f(x^{k})\|^{2} +q(f(x^{k})-f(x^{\star})). \end{equation*}

If d⩾4d\geqslant4 and ε>0\varepsilon>0, the inequality is an equality.

Show coefficient matricesHide coefficient matrices

The coefficient matrices and vectors are

S=[10000100],S+=[100−γ001−0],Aerr=[0−00−00−1−ε20−10−00−00−10−1],\begin{equation*} S=\begin{bmatrix}1&0&0&0\\0&1&0&0\end{bmatrix},\qquad S_+=\begin{bmatrix}1&0&0&-\gamma\\0&0&1&\phantom{-}0\end{bmatrix},\qquad A_{\mathrm{err}}=\begin{bmatrix}0&\phantom{-}0&0&\phantom{-}0\\0&\phantom{-}1-\varepsilon^{2}&0&-1\\0&\phantom{-}0&0&\phantom{-}0\\0&-1&0&\phantom{-}1\end{bmatrix}, \end{equation*}
Ak,⋆=12(L−μ)[−μL−μ00−μ−100−0−000−0−000],A⋆,k=12(L−μ)[−μL−L00−L−100−0−000−0−000],Ak+1,⋆=12(L−μ)[−μL0−μ−γμL−00−0−0−μ0−1−γμ−γμL0−γμ−γ2μL],A⋆,k+1=12(L−μ)[−μL0−L−γμL−00−0−0−L0−1−γL−γμL0−γL−γ2μL],Ak,k+1=12(L−μ)[0−0−0−00−1−1−γμ0−1−1−γL0−γμ−γL−γ2μL],Ak+1,k=12(L−μ)[0−0−0−00−1−1−γL0−1−1−γμ0−γL−γμ−γ2μL],\begin{equation*} \begin{alignedat}{2} A_{k,\star}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \phantom{-}\mu L&-\mu&0&0\\ -\mu&\phantom{-}1&0&0\\ \phantom{-}0&\phantom{-}0&0&0\\ \phantom{-}0&\phantom{-}0&0&0 \end{bmatrix},\qquad &A_{\star,k}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \phantom{-}\mu L&-L&0&0\\ -L&\phantom{-}1&0&0\\ \phantom{-}0&\phantom{-}0&0&0\\ \phantom{-}0&\phantom{-}0&0&0 \end{bmatrix},\\[0.8em] A_{k+1,\star}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \phantom{-}\mu L&0&-\mu&-\gamma\mu L\\ \phantom{-}0&0&\phantom{-}0&\phantom{-}0\\ -\mu&0&\phantom{-}1&\phantom{-}\gamma\mu\\ -\gamma\mu L&0&\phantom{-}\gamma\mu&\phantom{-}\gamma^{2}\mu L \end{bmatrix},\qquad &A_{\star,k+1}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \phantom{-}\mu L&0&-L&-\gamma\mu L\\ \phantom{-}0&0&\phantom{-}0&\phantom{-}0\\ -L&0&\phantom{-}1&\phantom{-}\gamma L\\ -\gamma\mu L&0&\phantom{-}\gamma L&\phantom{-}\gamma^{2}\mu L \end{bmatrix},\\[0.8em] A_{k,k+1}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} 0&\phantom{-}0&\phantom{-}0&\phantom{-}0\\ 0&\phantom{-}1&-1&-\gamma\mu\\ 0&-1&\phantom{-}1&\phantom{-}\gamma L\\ 0&-\gamma\mu&\phantom{-}\gamma L&\phantom{-}\gamma^{2}\mu L \end{bmatrix},\qquad &A_{k+1,k}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} 0&\phantom{-}0&\phantom{-}0&\phantom{-}0\\ 0&\phantom{-}1&-1&-\gamma L\\ 0&-1&\phantom{-}1&\phantom{-}\gamma\mu\\ 0&-\gamma L&\phantom{-}\gamma\mu&\phantom{-}\gamma^{2}\mu L \end{bmatrix}, \end{alignedat} \end{equation*}

and

ak,⋆=−a⋆,k=[−1−0],ak+1,⋆=−a⋆,k+1=[−0−1],ak,k+1=−ak+1,k=[−1−1].\begin{equation*} a_{k,\star}=-a_{\star,k}=\begin{bmatrix}-1\\\phantom{-}0\end{bmatrix},\qquad a_{k+1,\star}=-a_{\star,k+1}=\begin{bmatrix}\phantom{-}0\\-1\end{bmatrix},\qquad a_{k,k+1}=-a_{k+1,k}=\begin{bmatrix}-1\\\phantom{-}1\end{bmatrix}. \end{equation*}
2.4 Numerical results

The numerical results were obtained with MOSEK [Mos26].

We now compute ρSDP(Q,q,γ,ε,μ,L)\rho^{\mathrm{SDP}}(Q,q,\gamma,\varepsilon,\mu,L) in the case of the squared distance to the solution and the function-value suboptimality. Recall from (6) that

V(k)={‖xk−x⋆‖2,if Q=[1000]andq=0,f(xk)−f(x⋆),if Q=0andq=1.\mathcal{V}(k)=\begin{cases} \|x^{k}-x^{\star}\|^{2}, &\text{if }Q=\mathord{\begin{bmatrix}1&0\\0&0\end{bmatrix}}\;\text{and}\; q=0,\\[0.5em] f(x^{k})-f(x^{\star}), &\text{if }Q=0\;\text{and}\; q=1. \end{cases}

These two choices give

ρnorm2(γ,ε,μ,L)=ρSDP([1000],0,γ,ε,μ,L),ρfunc(γ,ε,μ,L)=ρSDP(0,1,γ,ε,μ,L).\begin{aligned} \rho_{\mathtt{norm}^{2}}(\gamma,\varepsilon,\mu,L) &=\rho^{\mathrm{SDP}}\left(\begin{bmatrix}1&0\\0&0\end{bmatrix},0,\gamma,\varepsilon,\mu,L\right),\\[0.5em] \rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L) &=\rho^{\mathrm{SDP}}(0,1,\gamma,\varepsilon,\mu,L). \end{aligned}

The resulting one-step guarantees are

‖xk+1−x⋆‖2⩽ρnorm2(γ,ε,μ,L)‖xk−x⋆‖2,f(xk+1)−f(x⋆)⩽ρfunc(γ,ε,μ,L)(f(xk)−f(x⋆)).\begin{aligned} \|x^{k+1}-x^{\star}\|^{2} &\leqslant\rho_{\mathtt{norm}^{2}}(\gamma,\varepsilon,\mu,L)\|x^{k}-x^{\star}\|^{2},\\ f(x^{k+1})-f(x^{\star}) &\leqslant\rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L)(f(x^{k})-f(x^{\star})). \end{aligned}

Figure 2 compares these factors as the step size γ\gamma varies.

Loading figure…

Contraction factor parameters
Both curvature sliders share a scale from 0 to 10. Each stops before μ reaches L.
Figure 2: Optimal one-step contraction factors obtained from (10) for the squared distance to the solution (dashed black, squares) and the function-value sub­optimality (solid black, circles), as the step size γ\gamma varies. The gray curve shows an expression obtained by fitting to the numerical data.

At the sampled parameter values, the numerical results suggest that function-value suboptimality gives a one-step contraction factor no larger than that for the squared distance to the solution. We therefore study the function-value case further by solving DSDP(0,1,γ,ε,μ,L,ρ)\mathcal{D}^{\mathrm{SDP}}(0,1,\gamma,\varepsilon,\mu,L,\rho) with the candidate factor suggested by fitting the numerical data in Figure 2:

(11)ρ=max⁡{(1−γμ(1−ε))2,(1−γL(1+ε))2}.\begin{equation} \label{eq:fitted-function-factor} \rho = \mathop{\text{max}}\{(1-\gamma\mu(1-\varepsilon))^{2},\,(1-\gamma L(1+\varepsilon))^{2}\}. \end{equation}

Figure 3 shows the multipliers returned by the solver. These need not be unique; we look for simple patterns that can guide an explicit proof.

Loading figure…

Multiplier parameters
Both curvature sliders share a scale from 0 to 10. Each stops before μ reaches L.
Set to zero
Figure 3: Multipliers returned by the solver for DSDP(0,1,γ,ε,μ,L,ρ)\mathcal{D}^{\mathrm{SDP}}(0,1,\gamma,\varepsilon,\mu,L,\rho), certifying f(xk+1)−f(x⋆)⩽ρ(f(xk)−f(x⋆))f(x^{k+1})-f(x^{\star})\leqslant\rho(f(x^{k})-f(x^{\star})), with ρ\rho given by (11). The numerical results suggest that λk,⋆=λk+1,⋆=λk+1,k=0\lambda_{k,\star}=\lambda_{k+1,\star}=\lambda_{k+1,k}=0 is the largest common zero pattern preserving feasibility throughout the parameter range explored here.
2.5 From numerical multipliers to an exact proof

Fixing all multipliers to the fitted expressions in Figure 3 preserves feasibility at the checked sample points. We now show directly that, for ε∈(0,1)\varepsilon\in(0,1) and γ∈(0,2L(1+ε))\gamma\in(0,\tfrac{2}{L(1+\varepsilon)}), the factor

ρfunc=ρfunc(γ,ε,μ,L)=max⁡{(1−γμ(1−ε))2,(1−γL(1+ε))2}∈[0,1)\rho_{\mathtt{func}} = \rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L) =\mathop{\text{max}}\{(1-\gamma\mu(1-\varepsilon))^{2},\,(1-\gamma L(1+\varepsilon))^{2}\}\in[0,1)

can be certified using the following multipliers, obtained by fitting the numerical data in Figure 3:

τ\tau λk,⋆\lambda_{k,\star} λ⋆,k\lambda_{\star,k} λk+1,⋆\lambda_{k+1,\star} λ⋆,k+1\lambda_{\star,k+1} λk,k+1\lambda_{k,k+1} λk+1,k\lambda_{k+1,k}
γρfunc2ε\tfrac{\gamma\sqrt{\rho_{\mathtt{func}}}}{2\varepsilon} 00 ρfunc(1−ρfunc)\sqrt{\rho_{\mathtt{func}}}(1-\sqrt{\rho_{\mathtt{func}}}) 00 1−ρfunc1-\sqrt{\rho_{\mathtt{func}}} ρfunc\sqrt{\rho_{\mathtt{func}}} 00

Indeed, following the dual-certificate argument in (9), we combine the relative-error condition and the three interpolation inequalities below, using the multipliers indicated on the right:

‖∇f(xk)−dk‖2−ε2‖∇f(xk)‖2⩽0: τ,f(xk)−f(x⋆)+⟨∇f(xk),x⋆−xk⟩+μ2‖x⋆−xk‖2+12(L−μ)‖∇f(x⋆)−∇f(xk)−μ(x⋆−xk)‖2⩽0: λ⋆,k,f(xk+1)−f(x⋆)+⟨∇f(xk+1),x⋆−xk+1⟩+μ2‖x⋆−xk+1‖2+12(L−μ)‖∇f(x⋆)−∇f(xk+1)−μ(x⋆−xk+1)‖2⩽0: λ⋆,k+1,f(xk+1)−f(xk)+⟨∇f(xk+1),xk−xk+1⟩+μ2‖xk−xk+1‖2+12(L−μ)‖∇f(xk)−∇f(xk+1)−μ(xk−xk+1)‖2⩽0: λk,k+1.\begin{equation*} \begin{alignedat}{2} \norm{\nabla f(x^k)-d^k}^2-\varepsilon^2\norm{\nabla f(x^k)}^2 &\leqslant0 &\;:\ &\tau,\\[0.5em] f(x^k)-f(x^{\star})+\inner{\nabla f(x^k)}{x^{\star}-x^k} +\tfrac{\mu}{2}\norm{x^{\star}-x^k}^2 +\tfrac{1}{2(L-\mu)}\norm{\nabla f(x^{\star})-\nabla f(x^k)-\mu(x^{\star}-x^k)}^2 &\leqslant0 &\;:\ &\lambda_{\star,k},\\[0.5em] f(x^{k+1})-f(x^{\star})+\inner{\nabla f(x^{k+1})}{x^{\star}-x^{k+1}} +\tfrac{\mu}{2}\norm{x^{\star}-x^{k+1}}^2 +\tfrac{1}{2(L-\mu)}\norm{\nabla f(x^{\star})-\nabla f(x^{k+1})-\mu(x^{\star}-x^{k+1})}^2 &\leqslant0 &\;:\ &\lambda_{\star,k+1},\\[0.5em] f(x^{k+1})-f(x^k)+\inner{\nabla f(x^{k+1})}{x^k-x^{k+1}} +\tfrac{\mu}{2}\norm{x^k-x^{k+1}}^2 +\tfrac{1}{2(L-\mu)} \norm{\nabla f(x^k)-\nabla f(x^{k+1})-\mu(x^k-x^{k+1})}^2 &\leqslant0 &\;:\ &\lambda_{k,k+1}. \end{alignedat} \end{equation*}

The function-value terms in the weighted sum give the difference on the left below. After substituting xk+1=xk−γdkx^{k+1}=x^k-\gamma d^k and ∇f(x⋆)=0\nabla f(x^\star)=0, we move the remaining quadratic terms to the right and complete squares to obtain

(12)f(xk+1)−f(x⋆)−ρfunc(f(xk)−f(x⋆))⩽−12(L−μ)12(L−μ)>0‖∇f(xk+1)−ρfunc∇f(xk)−L(1−ρfunc)(xk−x⋆)+γLdk‖2−γ2ε(ρfunc−εγL)γ2ε(ρfunc−εγL)>0‖(ρfunc−εγL)dk−ρfunc(1−ε)∇f(xk)+εL(1−ρfunc)(xk−x⋆)‖2−γLρfunc(1−ε)(1+ρfunc−γL(1+ε))2(L−μ)(ρfunc−εγL)γLρfunc(1−ε)(1+ρfunc−γL(1+ε))2(L−μ)(ρfunc−εγL)⩾0‖∇f(xk)−μ(xk−x⋆)‖2−ρfunc(1−ρfunc)(ρfunc−1+γμ(1−ε))2(L−μ)(ρfunc−εγL)ρfunc(1−ρfunc)(ρfunc−1+γμ(1−ε))2(L−μ)(ρfunc−εγL)⩾0‖∇f(xk)−L(xk−x⋆)‖2⩽0,\begin{equation} \label{eq:function-value-sos-bound} \begin{aligned} &f(x^{k+1})-f(x^{\star})-\rho_{\mathtt{func}}(f(x^k)-f(x^{\star}))\\ &\leqslant\begin{aligned}[t] &-\underbracket{\tfrac{1}{2(L-\mu)}}_{>0} \left\lVert\nabla f(x^{k+1})-\sqrt{\rho_{\mathtt{func}}}\nabla f(x^k)-L\left(1-\sqrt{\rho_{\mathtt{func}}}\right)(x^k-x^{\star})+\gamma Ld^k\right\rVert^2\\ &-\underbracket{\tfrac{\gamma}{2\varepsilon\left(\sqrt{\rho_{\mathtt{func}}}-\varepsilon\gamma L\right)}}_{>0} \left\lVert\left(\sqrt{\rho_{\mathtt{func}}}-\varepsilon\gamma L\right)d^k-\sqrt{\rho_{\mathtt{func}}}(1-\varepsilon)\nabla f(x^k)+\varepsilon L\left(1-\sqrt{\rho_{\mathtt{func}}}\right)(x^k-x^{\star})\right\rVert^2\\ &-\underbracket{\tfrac{\gamma L\sqrt{\rho_{\mathtt{func}}}(1-\varepsilon) \left(1+\sqrt{\rho_{\mathtt{func}}}-\gamma L(1+\varepsilon)\right)} {2(L-\mu)\left(\sqrt{\rho_{\mathtt{func}}}-\varepsilon\gamma L\right)}}_{\geqslant0} \norm{\nabla f(x^k)-\mu(x^k-x^{\star})}^2\\ &-\underbracket{\tfrac{\sqrt{\rho_{\mathtt{func}}} \left(1-\sqrt{\rho_{\mathtt{func}}}\right) \left(\sqrt{\rho_{\mathtt{func}}}-1+\gamma\mu(1-\varepsilon)\right)} {2(L-\mu)\left(\sqrt{\rho_{\mathtt{func}}}-\varepsilon\gamma L\right)}}_{\geqslant0} \norm{\nabla f(x^k)-L(x^k-x^{\star})}^2 \end{aligned}\\ &\leqslant0, \end{aligned} \end{equation}

which establishes f(xk+1)−f(x⋆)⩽ρfunc(f(xk)−f(x⋆))f(x^{k+1})-f(x^{\star})\leqslant\rho_{\mathtt{func}}(f(x^k)-f(x^{\star})). The key point is how nonnegative weights combine known inequalities into a contraction bound, following the argument in (9); the nonpositive sum of weighted squares in (12) explicitly represents L(G,F,τ,λ)\mathcal{L}(G,F,\tau,\lambda).

The function-value contraction factor

ρfunc(γ,ε,μ,L)=max⁡{(1−γμ(1−ε))2,(1−γL(1+ε))2}\rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L)=\mathop{\text{max}}\{(1-\gamma\mu(1-\varepsilon))^2,\,(1-\gamma L(1+\varepsilon))^2\}

is minimized when its two terms are equal, at

γ⋆=2μ(1−ε)+L(1+ε),\gamma_\star=\tfrac{2}{\mu(1-\varepsilon)+L(1+\varepsilon)},

with minimum value

ρfunc(γ⋆,ε,μ,L)=(L(1+ε)−μ(1−ε)L(1+ε)+μ(1−ε))2.\rho_{\mathtt{func}}(\gamma_\star,\varepsilon,\mu,L) =\left(\tfrac{L(1+\varepsilon)-\mu(1-\varepsilon)}{L(1+\varepsilon)+\mu(1-\varepsilon)}\right)^2.

Tightness. For every d∈Nd\in\mathbb{N} and γ∈(0,2L(1+ε))\gamma\in(0,\tfrac{2}{L(1+\varepsilon)}), there exist f∈Fμ,L(Rd)f\in\mathcal{F}_{\mu,L}(\mathbb{R}^d) and a step of (3) with xk≠x⋆x^k\ne x^\star such that

f(xk+1)−f(x⋆)=ρfunc(γ,ε,μ,L)(f(xk)−f(x⋆)).\begin{equation*} f(x^{k+1})-f(x^\star)=\rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L)(f(x^k)-f(x^\star)). \end{equation*}
Show proofHide proof

In both cases below, take xk≠0x^k\ne0.

  • For 0<γ⩽γ⋆0<\gamma\leqslant\gamma_\star, choose

    f=μ2‖⋅‖2∈Fμ,L(Rd),x⋆=0,dk=(1−ε)∇f(xk).\begin{equation*} f=\tfrac{\mu}{2}\norm{\cdot}^2\in\mathcal{F}_{\mu,L}(\mathbb{R}^d),\quad x^\star=0,\quad d^k=(1-\varepsilon)\nabla f(x^k). \end{equation*}

    Substituting into (3) gives

    ‖∇f(xk)−dk‖=ε‖∇f(xk)‖,xk+1=xk−γdk=(1−γμ(1−ε))xk,\begin{equation*} \norm{\nabla f(x^k)-d^k}=\varepsilon\norm{\nabla f(x^k)},\qquad x^{k+1}=x^k-\gamma d^k=(1-\gamma\mu(1-\varepsilon))x^k, \end{equation*}

    and hence

    f(xk+1)−f(x⋆)=(1−γμ(1−ε))2(f(xk)−f(x⋆))=ρfunc(γ,ε,μ,L)(f(xk)−f(x⋆)).\begin{equation*} f(x^{k+1})-f(x^\star)=(1-\gamma\mu(1-\varepsilon))^2(f(x^k)-f(x^\star))=\rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L)(f(x^k)-f(x^\star)). \end{equation*}
  • For γ⋆<γ<2L(1+ε)\gamma_\star<\gamma<\tfrac{2}{L(1+\varepsilon)}, choose

    f=L2‖⋅‖2∈Fμ,L(Rd),x⋆=0,dk=(1+ε)∇f(xk).\begin{equation*} f=\tfrac{L}{2}\norm{\cdot}^2\in\mathcal{F}_{\mu,L}(\mathbb{R}^d),\quad x^\star=0,\quad d^k=(1+\varepsilon)\nabla f(x^k). \end{equation*}

    Substituting into (3) gives

    ‖∇f(xk)−dk‖=ε‖∇f(xk)‖,xk+1=xk−γdk=(1−γL(1+ε))xk,\begin{equation*} \norm{\nabla f(x^k)-d^k}=\varepsilon\norm{\nabla f(x^k)},\qquad x^{k+1}=x^k-\gamma d^k=(1-\gamma L(1+\varepsilon))x^k, \end{equation*}

    and hence

    f(xk+1)−f(x⋆)=(1−γL(1+ε))2(f(xk)−f(x⋆))=ρfunc(γ,ε,μ,L)(f(xk)−f(x⋆)).\begin{equation*} f(x^{k+1})-f(x^\star)=(1-\gamma L(1+\varepsilon))^2(f(x^k)-f(x^\star))=\rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L)(f(x^k)-f(x^\star)). \end{equation*}

Optional: Exact gradients. For ε=0\varepsilon=0 and 0<γ<2L0<\gamma<\tfrac{2}{L}, we recover the known sharp function-value bound for the gradient method [THG18, Theorem 3.3]:

f(xk+1)−f(x⋆)⩽max⁡{(1−γμ)2,(1−γL)2}(f(xk)−f(x⋆)).f(x^{k+1})-f(x^\star)\leqslant\mathop{\text{max}}\{(1-\gamma\mu)^2,(1-\gamma L)^2\}(f(x^k)-f(x^\star)).

This follows by letting ε↓0\varepsilon\downarrow0 in the contraction bound while keeping the exact-gradient step fixed.

Related literature. Gannot [Gan22, Remark 1.6] states f(xk+1)−f(x⋆)⩽ρfunc(γ,ε,μ,L)(f(xk)−f(x⋆))f(x^{k+1})-f(x^\star)\leqslant\rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L)(f(x^k)-f(x^\star)), drawing on a proof by Etienne de Klerk, François Glineur, and Adrien B. Taylor [dKGT20, Appendix B]. A proof for γ∈(0,γ⋆]\gamma\in(0,\gamma_\star] is given by Uschmajew and Vandereycken [UV22, Theorem 4.2].

2.6 Optional: Reducing the certificate to two squared norms
Show proofHide proof

We can simplify the sum of squares in (12) by using weaker interpolation inequalities, while keeping the same contraction factor. We choose weaker curvature bounds that make the prescribed step size γ\gamma optimal for the larger function class. The same idea is used for exact gradients in [TUG+26, Section 4.1.2].

For ε∈(0,1)\varepsilon\in(0,1) and γ∈(0,2L(1+ε))\gamma\in(0,\tfrac{2}{L(1+\varepsilon)}), keep ρfunc=ρfunc(γ,ε,μ,L)\rho_{\mathtt{func}}=\rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L) from Section 2.5 and set

μγ=1−ρfuncγ(1−ε),Lγ=1+ρfuncγ(1+ε).\begin{equation*} \mu_\gamma=\tfrac{1-\sqrt{\rho_{\mathtt{func}}}}{\gamma(1-\varepsilon)}, \qquad L_\gamma=\tfrac{1+\sqrt{\rho_{\mathtt{func}}}}{\gamma(1+\varepsilon)}. \end{equation*}

These parameters satisfy

0<μγ⩽μ<L⩽Lγ,Fμ,L(Rd)⊆Fμγ,Lγ(Rd),\begin{equation*} 0<\mu_\gamma\leqslant\mu<L\leqslant L_\gamma, \qquad \mathcal{F}_{\mu,L}(\mathbb{R}^d)\subseteq\mathcal{F}_{\mu_\gamma,L_\gamma}(\mathbb{R}^d), \end{equation*}

so the interpolation inequalities remain valid with μγ,Lγ\mu_\gamma,L_\gamma. Moreover,

γ=2μγ(1−ε)+Lγ(1+ε),1−γμγ(1−ε)=γLγ(1+ε)−1=ρfunc.\begin{equation*} \gamma=\tfrac{2}{\mu_\gamma(1-\varepsilon)+L_\gamma(1+\varepsilon)}, \qquad 1-\gamma\mu_\gamma(1-\varepsilon)=\gamma L_\gamma(1+\varepsilon)-1=\sqrt{\rho_{\mathtt{func}}}. \end{equation*}

Thus γ\gamma minimizes the contraction factor for the larger class, and

ρfunc(γ,ε,μγ,Lγ)=ρfunc(γ,ε,μ,L).\begin{equation*} \rho_{\mathtt{func}}(\gamma,\varepsilon,\mu_\gamma,L_\gamma) =\rho_{\mathtt{func}}(\gamma,\varepsilon,\mu,L). \end{equation*}

We now combine the same four inequalities as in Section 2.5, using the same multipliers and replacing μ,L\mu,L by μγ,Lγ\mu_\gamma,L_\gamma in the three interpolation inequalities. After substituting xk+1=xk−γdkx^{k+1}=x^k-\gamma d^k and ∇f(x⋆)=0\nabla f(x^\star)=0, their weighted sum gives

(13)f(xk+1)−f(x⋆)−ρfunc(f(xk)−f(x⋆))⩽−12(Lγ−μγ)12(Lγ−μγ)>0‖∇f(xk+1)−ρfunc∇f(xk)−Lγ(1−ρfunc)(xk−x⋆)+γLγdk‖2−γ2ε(ρfunc−εγLγ)γ2ε(ρfunc−εγLγ)>0‖(ρfunc−εγLγ)dk−ρfunc(1−ε)∇f(xk)+εLγ(1−ρfunc)(xk−x⋆)‖2⩽0.\begin{equation} \label{eq:fitted-curvature-sos-bound} \begin{aligned} &f(x^{k+1})-f(x^{\star})-\rho_{\mathtt{func}}(f(x^k)-f(x^{\star}))\\ &\leqslant\begin{aligned}[t] &-\underbracket{\tfrac{1}{2(L_\gamma-\mu_\gamma)}}_{>0} \left\lVert\nabla f(x^{k+1})-\sqrt{\rho_{\mathtt{func}}}\nabla f(x^k)-L_\gamma\left(1-\sqrt{\rho_{\mathtt{func}}}\right)(x^k-x^{\star})+\gamma L_\gamma d^k\right\rVert^2\\ &-\underbracket{\tfrac{\gamma}{2\varepsilon\left(\sqrt{\rho_{\mathtt{func}}}-\varepsilon\gamma L_\gamma\right)}}_{>0} \left\lVert\left(\sqrt{\rho_{\mathtt{func}}}-\varepsilon\gamma L_\gamma\right)d^k-\sqrt{\rho_{\mathtt{func}}}(1-\varepsilon)\nabla f(x^k)+\varepsilon L_\gamma\left(1-\sqrt{\rho_{\mathtt{func}}}\right)(x^k-x^{\star})\right\rVert^2 \end{aligned}\\ &\leqslant0. \end{aligned} \end{equation}

Replacing μ,L\mu,L by μγ,Lγ\mu_\gamma,L_\gamma makes the final two coefficients in (12) vanish. The resulting proof is simpler in the sense that it establishes the same contraction inequality with two squared norms instead of four.

3. Searching for Lyapunov functions

In Section 2, we compared the one-step contraction factors obtained from squared distance to the solution and function-value suboptimality. A contracting Lyapunov function that bounds a performance measure from above can certify a faster asymptotic rate than a direct contraction bound for that measure, or establish convergence even when the measure does not contract at every iteration. Here we search for such a Lyapunov function within a chosen family. We illustrate this search using stationary gradient methods with memory to solve (1), i.e., to minimize a function f∈Fμ,L(Rd)f\in\mathcal{F}_{\mu,L}(\mathbb{R}^d).

3.1 Stationary gradient methods with memory

Given constants γ>0\gamma>0 and α,β∈R\alpha,\beta\in\mathbb{R}, and initial points x0,x−1∈Rdx^{0},x^{-1}\in\mathbb{R}^{d}, consider

(14)[yk=xk+α(xk−xk−1),xk+1=xk−γ∇f(yk)+β(xk−xk−1).\begin{equation} \label{eq:gradient-method-with-memory} \left[ \begin{aligned} y^{k} &= x^{k}+\alpha(x^{k}-x^{k-1}),\\ x^{k+1} &= x^{k}-\gamma\nabla f(y^{k})+\beta(x^{k}-x^{k-1}). \end{aligned} \right. \end{equation}

The method is called stationary because γ\gamma, α\alpha, and β\beta are constant across iterations. In the table below, we give some standard choices of γ\gamma, α\alpha, and β\beta.

Method γ\gamma β\beta α\alpha
Gradient method1 2L+μ\tfrac{2}{L+\mu} 00 00
Polyak's heavy-ball method2 4(L+μ)2\tfrac{4}{(\sqrt{L}+\sqrt{\mu})^{2}} (L−μL+μ)2\bigl(\tfrac{\sqrt{L}-\sqrt{\mu}}{\sqrt{L}+\sqrt{\mu}}\bigr)^{2} 00
Nesterov's method3 1L\tfrac{1}{L} L−μL+μ\tfrac{\sqrt{L}-\sqrt{\mu}}{\sqrt{L}+\sqrt{\mu}} L−μL+μ\tfrac{\sqrt{L}-\sqrt{\mu}}{\sqrt{L}+\sqrt{\mu}}
Triple momentum method4 2L−μLL\tfrac{2\sqrt{L}-\sqrt{\mu}}{L\sqrt{L}} (L−μ)2L(L+μ)\tfrac{(\sqrt{L}-\sqrt{\mu})^{2}}{\sqrt{L}(\sqrt{L}+\sqrt{\mu})} (L−μ)2(2L−μ)(L+μ)\tfrac{(\sqrt{L}-\sqrt{\mu})^{2}}{(2\sqrt{L}-\sqrt{\mu})(\sqrt{L}+\sqrt{\mu})}
  1. Gradient method: Optimal constant step size for worst-case distance contraction on Fμ,L(Rd)\mathcal{F}_{\mu,L}(\mathbb{R}^{d}) [Pol63, Theorem 6; Nes18, Theorem 2.1.15].
  2. Polyak's heavy-ball method: Optimal parameters for worst-case asymptotic convergence on quadratics in Fμ,L(Rd)\mathcal{F}_{\mu,L}(\mathbb{R}^{d}) [Pol64, Theorem 9(3) and the note on p. 15].
  3. Nesterov's method: Optimal dimension-independent decay exponent for convergence in distance on Fμ,L(Rd)\mathcal{F}_{\mu,L}(\mathbb{R}^{d}), up to constant factors [Nes18, Theorem 2.2.1 and Equation (2.2.22); DT22, Corollary 3].
  4. Triple momentum method [VSFL18, Definition 2]: Optimal dimension-independent decay exponent for convergence in distance on Fμ,L(Rd)\mathcal{F}_{\mu,L}(\mathbb{R}^{d}) [DT22, Corollary 3].
3.2 Choosing a family of Lyapunov functions

To establish a convergence rate for a nonnegative performance measure M\mathcal{M}, we look for a Lyapunov function V\mathcal{V} and a contraction factor ρ∈[0,1)\rho\in[0,1) satisfying

(C1)V(k+1)⩽ρV(k),(C2)V(k)⩾M(k)⩾0,\begin{align} \mathcal{V}(k+1)&\leqslant\rho\mathcal{V}(k), \tag{C1}\label{eq:memory-lyapunov-contraction}\\ \mathcal{V}(k)&\geqslant\mathcal{M}(k)\geqslant0, \tag{C2}\label{eq:memory-lyapunov-lower-bound} \end{align}

for every k⩾0k\geqslant0, every f∈Fμ,L(Rd)f\in\mathcal{F}_{\mu,L}(\mathbb{R}^d), and every trajectory of (14).

Condition (C1) requires the Lyapunov function to contract, but imposing it alone would allow the trivial choice V≡0\mathcal{V}\equiv0, regardless of M\mathcal{M}. Condition (C2) connects the Lyapunov function to the performance measure by requiring V\mathcal{V} to bound M\mathcal{M} from above. Iterating (C1) and applying (C2) then gives, for k⩾0k\geqslant0,

0⩽M(k)⩽V(k)⩽ρkV(0)⟹M(k)∈O(ρk)ask→∞.\begin{equation*} 0\leqslant\mathcal{M}(k)\leqslant\mathcal{V}(k)\leqslant\rho^k\mathcal{V}(0) \quad\Longrightarrow\quad \mathcal{M}(k)\in\mathcal{O}(\rho^k) \quad\text{as}\quad k\to\infty. \end{equation*}

Thus, the performance measure M\mathcal{M} converges linearly to zero with rate at most ρ\rho. We can therefore keep the performance measure M\mathcal{M} fixed and search for a contracting upper bound V\mathcal{V}.

We restrict V\mathcal{V} and M\mathcal{M} to the following forms:

(15)V(k)=⟨(xk−x⋆,xk−1−x⋆,∇f(yk)),(Q⊗Id)(xk−x⋆,xk−1−x⋆,∇f(yk))⟩+q(f(yk)−f(x⋆)),(16)M(k)=⟨(xk−x⋆,xk−1−x⋆,∇f(yk)),(P⊗Id)(xk−x⋆,xk−1−x⋆,∇f(yk))⟩+p(f(yk)−f(x⋆)),\begin{align} \mathcal{V}(k) &=\inner{(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k))}{(Q\otimes I_d)(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k))} +q(f(y^k)-f(x^\star)), \label{eq:memory-lyapunov-ansatz}\\ \mathcal{M}(k) &=\inner{(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k))}{(P\otimes I_d)(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k))} +p(f(y^k)-f(x^\star)), \label{eq:memory-performance-ansatz} \end{align}

where Q,P∈S3Q,P\in\mathbb{S}^3 and q,p∈Rq,p\in\mathbb{R}. We fix P,pP,p to specify a nonnegative performance measure, i.e., M(k)⩾0\mathcal{M}(k)\geqslant0, and search for Q,qQ,q such that (C1) and (C2) hold.

For example, this family includes

M(k)={‖xk−x⋆‖2,if P=diag⁡(1,0,0)andp=0,‖yk−x⋆‖2,if P=[−(1+α)2−α(1+α)0−α(1+α)−α20−0−00]andp=0,f(yk)−f(x⋆),if P=0andp=1,‖∇f(yk)‖2,if P=diag⁡(0,0,1)andp=0.\begin{equation*} \mathcal{M}(k)= \begin{cases} \norm{x^k-x^\star}^2, &\text{if }P=\mathop{\text{diag}}(1,0,0)\;\text{and}\; p=0,\\[0.5em] \norm{y^k-x^\star}^2, &\text{if }P=\mathord{\begin{bmatrix}\phantom{-}(1+\alpha)^2&-\alpha(1+\alpha)&0\\-\alpha(1+\alpha)&\phantom{-}\alpha^2&0\\\phantom{-}0&\phantom{-}0&0\end{bmatrix}}\;\text{and}\; p=0,\\[0.5em] f(y^k)-f(x^\star), &\text{if }P=0\;\text{and}\; p=1,\\[0.5em] \norm{\nabla f(y^k)}^2, &\text{if }P=\mathop{\text{diag}}(0,0,1)\;\text{and}\; p=0. \end{cases} \end{equation*}
3.3 Optimal contraction via semidefinite programming

Adapting the argument of Section 2.3 separately to (C1) and the inequality V(k)⩾M(k)\mathcal{V}(k)\geqslant\mathcal{M}(k) in (C2) gives Theorem 3. Nonnegativity of M\mathcal{M} is ensured by our choice of P,pP,p. For completeness, we include a proof for the interested reader after the formal statement.

Theorem 3 (Semi­definite tests for the Lyapunov inequalities).

Fix d∈Nd\in\mathbb{N}, 0<μ<L0<\mu<L, γ>0\gamma>0, α,β∈R\alpha,\beta\in\mathbb{R}, ρ∈[0,1)\rho\in[0,1), Q,P∈S3Q,P\in\mathbb{S}^{3}, and q,p∈Rq,p\in\mathbb{R}. Consider V\mathcal{V} and M\mathcal{M} in (15)–(16) along the method (14). With S,S+∈R3×4S,S_+\in\mathbb{R}^{3\times4}, Ai,jC1∈S4A_{i,j}^{\mathrm{C1}}\in\mathbb{S}^{4}, ai,jC1∈R2a_{i,j}^{\mathrm{C1}}\in\mathbb{R}^{2}, Ai,jC2∈S3A_{i,j}^{\mathrm{C2}}\in\mathbb{S}^{3}, and ai,jC2∈Ra_{i,j}^{\mathrm{C2}}\in\mathbb{R} defined below, the following tests apply.

  • Contraction. Condition (C1) holds for every f∈Fμ,L(Rd)f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{d}), every x0,x−1∈Rdx^0,x^{-1}\in\mathbb{R}^{d}, and every k⩾0k\geqslant0, if the semidefinite feasibility problem

    (17)findλi,jC1∈R,for each pair of distinct indicesi,j∈{k,k+1,⋆}subject toλi,jC1⩾0,for each pair of distinct indicesi,j∈{k,k+1,⋆},∑i,j∈{k,k+1,⋆}i≠jλi,jC1Ai,jC1−(S+⊤QS+−ρS⊤QS)≽0,∑i,j∈{k,k+1,⋆}i≠jλi,jC1ai,jC1−q[−ρ−1]=0\begin{equation} \label{eq:memory-contraction-certificate} \begin{array}{cl} \text{find} &\lambda_{i,j}^{\mathrm{C1}}\in\mathbb{R}\mathord{,}\quad\text{for each pair of distinct indices}\quad i,j\in\{k,k+1,\star\}\\[0.6em] \text{subject to} &\lambda_{i,j}^{\mathrm{C1}}\geqslant0\mathord{,}\quad\text{for each pair of distinct indices}\quad i,j\in\{k,k+1,\star\},\\ &\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}^{\mathrm{C1}}A_{i,j}^{\mathrm{C1}} -(S_+^{\top}QS_+-\rho S^{\top}QS)\succcurlyeq0,\\ &\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}^{\mathrm{C1}}a_{i,j}^{\mathrm{C1}} -q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}=0 \end{array} \end{equation}

    is feasible. This condition is also necessary if d⩾4d\geqslant4.

  • Lower bound. The inequality V(k)⩾M(k)\mathcal{V}(k)\geqslant\mathcal{M}(k) in (C2) holds for every f∈Fμ,L(Rd)f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{d}), every x0,x−1∈Rdx^0,x^{-1}\in\mathbb{R}^{d}, and every k⩾0k\geqslant0, if the semidefinite feasibility problem

    (18)findλk,⋆C2,λ⋆,kC2∈Rsubject toλk,⋆C2,λ⋆,kC2⩾0,Q−P+λk,⋆C2Ak,⋆C2+λ⋆,kC2A⋆,kC2≽0,λk,⋆C2ak,⋆C2+λ⋆,kC2a⋆,kC2−(p−q)=0\begin{equation} \label{eq:memory-lower-bound-certificate} \begin{array}{cl} \text{find} &\lambda_{k,\star}^{\mathrm{C2}},\lambda_{\star,k}^{\mathrm{C2}}\in\mathbb{R}\\[0.6em] \text{subject to} &\lambda_{k,\star}^{\mathrm{C2}},\lambda_{\star,k}^{\mathrm{C2}}\geqslant0,\\ &Q-P+\lambda_{k,\star}^{\mathrm{C2}}A_{k,\star}^{\mathrm{C2}} +\lambda_{\star,k}^{\mathrm{C2}}A_{\star,k}^{\mathrm{C2}}\succcurlyeq0,\\ &\lambda_{k,\star}^{\mathrm{C2}}a_{k,\star}^{\mathrm{C2}} +\lambda_{\star,k}^{\mathrm{C2}}a_{\star,k}^{\mathrm{C2}}-(p-q)=0 \end{array} \end{equation}

    is feasible. This condition is also necessary if d⩾3d\geqslant3.

All the data are fixed in these tests; only the nonnegative multipliers are variables. The indices k,k+1,⋆k,k+1,\star are point labels, so neither SDP depends on kk.

Show coefficient matricesHide coefficient matrices

For the contraction test, set

S=[100001000010],S+=[1+β−β−γ01−0−000−0−01],\begin{equation*} S=\begin{bmatrix}1&0&0&0\\0&1&0&0\\0&0&1&0\end{bmatrix}, \qquad S_+=\begin{bmatrix}1+\beta&-\beta&-\gamma&0\\1&\phantom{-}0&\phantom{-}0&0\\0&\phantom{-}0&\phantom{-}0&1\end{bmatrix}, \end{equation*}

In the symmetric matrices below, each ∗\ast denotes the entry determined by symmetry.

Ak,⋆C1=12(L−μ)[μL(1+α)2−μLα(1+α)−μ(1+α)0∗−μLα2−μα0∗−∗−10∗−∗−∗0],A⋆,kC1=12(L−μ)[μL(1+α)2−μLα(1+α)−L(1+α)0∗−μLα2−Lα0∗−∗−10∗−∗−∗0],Ak+1,⋆C1=12(L−μ)[μL(1+β+αβ)2−μLβ(1+α)(1+β+αβ)−γμL(1+α)(1+β+αβ)−μ(1+β+αβ)∗−μLβ2(1+α)2−γμLβ(1+α)2−μβ(1+α)∗−∗−γ2μL(1+α)2−γμ(1+α)∗−∗−∗−1],A⋆,k+1C1=12(L−μ)[μL(1+β+αβ)2−μLβ(1+α)(1+β+αβ)−γμL(1+α)(1+β+αβ)−L(1+β+αβ)∗−μLβ2(1+α)2−γμLβ(1+α)2−Lβ(1+α)∗−∗−γ2μL(1+α)2−γL(1+α)∗−∗−∗−1],Ak,k+1C1=12(L−μ)[μL(α−β−αβ)2−μL(α−β−αβ)2−μ(α−β−αβ)(γL(1+α)−1)−L(α−β−αβ)∗−μL(α−β−αβ)2−μ(α−β−αβ)(γL(1+α)−1)−L(α−β−αβ)∗−∗−1−2γμ(1+α)+γ2μL(1+α)2−γL(1+α)−1∗−∗−∗−1],Ak+1,kC1=12(L−μ)[μL(α−β−αβ)2−μL(α−β−αβ)2−L(α−β−αβ)(γμ(1+α)−1)−μ(α−β−αβ)∗−μL(α−β−αβ)2−L(α−β−αβ)(γμ(1+α)−1)−μ(α−β−αβ)∗−∗−1−2γL(1+α)+γ2μL(1+α)2−γμ(1+α)−1∗−∗−∗−1],\begin{equation*} \begin{aligned} A_{k,\star}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(1+\alpha)^2&\!\!-\mu L\alpha(1+\alpha)&\!\!-\mu(1+\alpha)&\!\!0\\ \ast&\!\!\phantom{-}\mu L\alpha^2&\!\!\phantom{-}\mu\alpha&\!\!0\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1&\!\!0\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!0 \end{bmatrix},\\[0.8em] A_{\star,k}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(1+\alpha)^2&\!\!-\mu L\alpha(1+\alpha)&\!\!-L(1+\alpha)&\!\!0\\ \ast&\!\!\phantom{-}\mu L\alpha^2&\!\!\phantom{-}L\alpha&\!\!0\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1&\!\!0\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!0 \end{bmatrix},\\[0.8em] A_{k+1,\star}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(1+\beta+\alpha\beta)^2&\!\!-\mu L\beta(1+\alpha)(1+\beta+\alpha\beta)&\!\!-\gamma\mu L(1+\alpha)(1+\beta+\alpha\beta)&\!\!-\mu(1+\beta+\alpha\beta)\\ \ast&\!\!\phantom{-}\mu L\beta^2(1+\alpha)^2&\!\!\phantom{-}\gamma\mu L\beta(1+\alpha)^2&\!\!\phantom{-}\mu\beta(1+\alpha)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\gamma^2\mu L(1+\alpha)^2&\!\!\phantom{-}\gamma\mu(1+\alpha)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1 \end{bmatrix},\\[0.8em] A_{\star,k+1}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(1+\beta+\alpha\beta)^2&\!\!-\mu L\beta(1+\alpha)(1+\beta+\alpha\beta)&\!\!-\gamma\mu L(1+\alpha)(1+\beta+\alpha\beta)&\!\!-L(1+\beta+\alpha\beta)\\ \ast&\!\!\phantom{-}\mu L\beta^2(1+\alpha)^2&\!\!\phantom{-}\gamma\mu L\beta(1+\alpha)^2&\!\!\phantom{-}L\beta(1+\alpha)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\gamma^2\mu L(1+\alpha)^2&\!\!\phantom{-}\gamma L(1+\alpha)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1 \end{bmatrix},\\[0.8em] A_{k,k+1}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(\alpha-\beta-\alpha\beta)^2&\!\!-\mu L(\alpha-\beta-\alpha\beta)^2&\!\!\phantom{-}\mu(\alpha-\beta-\alpha\beta)(\gamma L(1+\alpha)-1)&\!\!\phantom{-}L(\alpha-\beta-\alpha\beta)\\ \ast&\!\!\phantom{-}\mu L(\alpha-\beta-\alpha\beta)^2&\!\!-\mu(\alpha-\beta-\alpha\beta)(\gamma L(1+\alpha)-1)&\!\!-L(\alpha-\beta-\alpha\beta)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1-2\gamma\mu(1+\alpha)+\gamma^2\mu L(1+\alpha)^2&\!\!\phantom{-}\gamma L(1+\alpha)-1\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1 \end{bmatrix},\\[0.8em] A_{k+1,k}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(\alpha-\beta-\alpha\beta)^2&\!\!-\mu L(\alpha-\beta-\alpha\beta)^2&\!\!\phantom{-}L(\alpha-\beta-\alpha\beta)(\gamma\mu(1+\alpha)-1)&\!\!\phantom{-}\mu(\alpha-\beta-\alpha\beta)\\ \ast&\!\!\phantom{-}\mu L(\alpha-\beta-\alpha\beta)^2&\!\!-L(\alpha-\beta-\alpha\beta)(\gamma\mu(1+\alpha)-1)&\!\!-\mu(\alpha-\beta-\alpha\beta)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1-2\gamma L(1+\alpha)+\gamma^2\mu L(1+\alpha)^2&\!\!\phantom{-}\gamma\mu(1+\alpha)-1\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1 \end{bmatrix}, \end{aligned} \end{equation*}
ak,⋆C1=[−1−0],a⋆,kC1=[−1−0],ak+1,⋆C1=[−0−1],a⋆,k+1C1=[−0−1],ak,k+1C1=[−1−1],ak+1,kC1=[−1−1].\begin{align*} a_{k,\star}^{\mathrm{C1}}&=\begin{bmatrix}-1\\\phantom{-}0\end{bmatrix}, &a_{\star,k}^{\mathrm{C1}}&=\begin{bmatrix}\phantom{-}1\\\phantom{-}0\end{bmatrix},\\ a_{k+1,\star}^{\mathrm{C1}}&=\begin{bmatrix}\phantom{-}0\\-1\end{bmatrix}, &a_{\star,k+1}^{\mathrm{C1}}&=\begin{bmatrix}\phantom{-}0\\\phantom{-}1\end{bmatrix},\\ a_{k,k+1}^{\mathrm{C1}}&=\begin{bmatrix}-1\\\phantom{-}1\end{bmatrix}, &a_{k+1,k}^{\mathrm{C1}}&=\begin{bmatrix}\phantom{-}1\\-1\end{bmatrix}. \end{align*}

For the lower-bound test, set

Ak,⋆C2=12(L−μ)[μL(1+α)2−μLα(1+α)−μ(1+α)∗−μLα2−μα∗−∗−1],ak,⋆C2=−1,A⋆,kC2=12(L−μ)[μL(1+α)2−μLα(1+α)−L(1+α)∗−μLα2−Lα∗−∗−1],a⋆,kC2=1.\begin{equation*} \begin{alignedat}{2} A_{k,\star}^{\mathrm{C2}}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(1+\alpha)^2&-\mu L\alpha(1+\alpha)&-\mu(1+\alpha)\\ \ast&\phantom{-}\mu L\alpha^2&\phantom{-}\mu\alpha\\ \ast&\phantom{-}\ast&\phantom{-}1 \end{bmatrix},\qquad &a_{k,\star}^{\mathrm{C2}}&=-1,\\[0.8em] A_{\star,k}^{\mathrm{C2}}&=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(1+\alpha)^2&-\mu L\alpha(1+\alpha)&-L(1+\alpha)\\ \ast&\phantom{-}\mu L\alpha^2&\phantom{-}L\alpha\\ \ast&\phantom{-}\ast&\phantom{-}1 \end{bmatrix},\qquad &a_{\star,k}^{\mathrm{C2}}&=1. \end{alignedat} \end{equation*}
Show proofHide proof

1. Contraction. Condition (C1) is equivalent to PC1,d⩽0\mathcal{P}_{\mathrm{C1},d}\leqslant0, where

PC1,d=(maximizef∈Fμ,L(Rd)xk−1,xk,xk+1,yk,yk+1,x⋆∈RdV(k+1)−ρV(k)subject to∇f(x⋆)=0,yk=(1+α)xk−αxk−1,xk+1=(1+β)xk−βxk−1−γ∇f(yk),yk+1=(1+β(1+α))xk−β(1+α)xk−1−γ(1+α)∇f(yk).).\begin{equation*} \mathcal{P}_{\mathrm{C1},d} =\left( \begin{array}{cl} \mathop{\text{maximize}}\limits_{\substack{ f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{d})\\ x^{k-1},x^k,x^{k+1},y^k,y^{k+1},x^\star\in\mathbb{R}^{d} }} &\mathcal{V}(k+1)-\rho\mathcal{V}(k)\\[0.6em] \text{subject to} &\nabla f(x^\star)=0,\\ &y^k=(1+\alpha)x^k-\alpha x^{k-1},\\ &x^{k+1}=(1+\beta)x^k-\beta x^{k-1}-\gamma\nabla f(y^k),\\ &y^{k+1}=(1+\beta(1+\alpha))x^k-\beta(1+\alpha)x^{k-1}-\gamma(1+\alpha)\nabla f(y^k). \end{array} \right). \end{equation*}

To represent both V(k)\mathcal{V}(k) and V(k+1)\mathcal{V}(k+1), we include the gradients at yky^k and yk+1y^{k+1} alongside xk−x⋆x^k-x^\star and xk−1−x⋆x^{k-1}-x^\star. Set

G=Gram(xk−x⋆,xk−1−x⋆,∇f(yk),∇f(yk+1)),F=[f(yk)−f(x⋆)f(yk+1)−f(x⋆)].\begin{equation*} G=\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k),\nabla f(y^{k+1})),\qquad F=\begin{bmatrix}f(y^k)-f(x^\star)\\f(y^{k+1})-f(x^\star)\end{bmatrix}. \end{equation*}

With the selectors

S=[100001000010],S+=[1+β−β−γ01−0−000−0−01],\begin{equation*} S=\begin{bmatrix}1&0&0&0\\0&1&0&0\\0&0&1&0\end{bmatrix}, \qquad S_+=\begin{bmatrix}1+\beta&-\beta&-\gamma&0\\1&\phantom{-}0&\phantom{-}0&0\\0&\phantom{-}0&\phantom{-}0&1\end{bmatrix}, \end{equation*}

the trace identity in (7) gives

V(k)=trace(QGram(xk−x⋆,xk−1−x⋆,∇f(yk)))+q(f(yk)−f(x⋆))=trace(QGram((S⊗Id)(xk−x⋆,xk−1−x⋆,∇f(yk),∇f(yk+1))))+q(f(yk)−f(x⋆))=trace(S⊤QSG)+q[10]⊤F,V(k+1)=trace(QGram(xk+1−x⋆,xk−x⋆,∇f(yk+1)))+q(f(yk+1)−f(x⋆))=trace(QGram((S+⊗Id)(xk−x⋆,xk−1−x⋆,∇f(yk),∇f(yk+1))))+q(f(yk+1)−f(x⋆))=trace(S+⊤QS+G)+q[01]⊤F.\begin{align*} \mathcal{V}(k) &=\text{trace}\bigl(Q\,\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k))\bigr)+q(f(y^k)-f(x^\star))\\ &=\text{trace}\bigl(Q\,\mathtt{Gram}((S\otimes I_d)(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k),\nabla f(y^{k+1})))\bigr)+q(f(y^k)-f(x^\star))\\ &=\text{trace}(S^{\top}QS G)+q\begin{bmatrix}1\\0\end{bmatrix}^{\top}F,\\[0.5em] \mathcal{V}(k+1) &=\text{trace}\bigl(Q\,\mathtt{Gram}(x^{k+1}-x^\star,x^k-x^\star,\nabla f(y^{k+1}))\bigr)+q(f(y^{k+1})-f(x^\star))\\ &=\text{trace}\bigl(Q\,\mathtt{Gram}((S_+\otimes I_d)(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k),\nabla f(y^{k+1})))\bigr)+q(f(y^{k+1})-f(x^\star))\\ &=\text{trace}(S_+^{\top}QS_+G)+q\begin{bmatrix}0\\1\end{bmatrix}^{\top}F. \end{align*}

Interpolation. To apply Theorem 1, write y⋆=x⋆y^\star=x^\star. For each pair of distinct indices i,j∈{k,k+1,⋆}i,j\in\{k,k+1,\star\}, the interpolation inequality is

(19)f(yj)−f(yi)+⟨∇f(yj),yi−yj⟩+μ2‖yi−yj‖2+12(L−μ)‖∇f(yi)−∇f(yj)−μ(yi−yj)‖2⩽0.\begin{equation} \label{eq:memory-contraction-interpolation} f(y^j)-f(y^i)+\inner{\nabla f(y^j)}{y^i-y^j} +\tfrac{\mu}{2}\norm{y^i-y^j}^2 +\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^i)-\nabla f(y^j)-\mu(y^i-y^j)}^2\leqslant0. \end{equation}

The method gives the point differences

yk−y⋆=(1+α)(xk−x⋆)−α(xk−1−x⋆),yk+1−y⋆=(1+β(1+α))(xk−x⋆)−β(1+α)(xk−1−x⋆)−γ(1+α)∇f(yk),yk−yk+1=(α−β(1+α))(xk−xk−1)+γ(1+α)∇f(yk).\begin{equation*} \begin{aligned} y^k-y^\star &=(1+\alpha)(x^k-x^\star)-\alpha(x^{k-1}-x^\star),\\ y^{k+1}-y^\star &=(1+\beta(1+\alpha))(x^k-x^\star)-\beta(1+\alpha)(x^{k-1}-x^\star)-\gamma(1+\alpha)\nabla f(y^k),\\ y^k-y^{k+1} &=(\alpha-\beta(1+\alpha))(x^k-x^{k-1})+\gamma(1+\alpha)\nabla f(y^k). \end{aligned} \end{equation*}

Substituting these expressions and ∇f(y⋆)=0\nabla f(y^\star)=0 into (19) and expanding the squared norms gives

trace(Ai,jC1G)+(ai,jC1)⊤F⩽0,i,j∈{k,k+1,⋆},i≠j.\begin{equation*} \text{trace}(A_{i,j}^{\mathrm{C1}}G)+(a_{i,j}^{\mathrm{C1}})^{\top}F\leqslant0, \qquad i,j\in\{k,k+1,\star\},\quad i\ne j. \end{equation*}
Show derivationHide derivation

For each of the six ordered pairs, we use ∇f(y⋆)=0\nabla f(y^\star)=0, expand the squared norms, and substitute the point differences. We then write the extraction matrix explicitly and apply (7). Each ∗\ast in a symmetric matrix denotes the entry determined by symmetry.

For (i,j)=(k,⋆)(i,j)=(k,\star), we obtain

f(y⋆)−f(yk)+⟨∇f(y⋆),yk−y⋆⟩+μ2‖yk−y⋆‖2+12(L−μ)‖∇f(yk)−∇f(y⋆)−μ(yk−y⋆)‖2=f(y⋆)−f(yk)+μ2‖yk−y⋆‖2+12(L−μ)‖∇f(yk)−μ(yk−y⋆)‖2=f(y⋆)−f(yk)+12(L−μ)(μL‖yk−y⋆‖2−2μ⟨yk−y⋆,∇f(yk)⟩+‖∇f(yk)‖2)=f(y⋆)−f(yk)+12(L−μ)trace([μL−μ∗−1]Gram(yk−y⋆,∇f(yk)))=12(L−μ)trace([μL−μ∗−1]Gram((1+α)(xk−x⋆)−α(xk−1−x⋆),∇f(yk)))+(ak,⋆C1)⊤F=12(L−μ)trace([μL−μ∗−1]Gram(([1+α−α000−010]⊗Id)[xk−x⋆xk−1−x⋆∇f(yk)∇f(yk+1)]))+(ak,⋆C1)⊤F=trace(Ak,⋆C1Gram(xk−x⋆,xk−1−x⋆,∇f(yk),∇f(yk+1)))+(ak,⋆C1)⊤F=trace(Ak,⋆C1G)+(ak,⋆C1)⊤F⩽0,\begin{align*} &f(y^\star)-f(y^k)+\inner{\nabla f(y^\star)}{y^k-y^\star}+\tfrac{\mu}{2}\norm{y^k-y^\star}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^k)-\nabla f(y^\star)-\mu(y^k-y^\star)}^2\\ &=f(y^\star)-f(y^k)+\tfrac{\mu}{2}\norm{y^k-y^\star}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^k)-\mu(y^k-y^\star)}^2\\ &=f(y^\star)-f(y^k)+\tfrac{1}{2(L-\mu)}\bigl(\mu L\norm{y^k-y^\star}^2-2\mu\inner{y^k-y^\star}{\nabla f(y^k)}+\norm{\nabla f(y^k)}^2\bigr)\\ &=f(y^\star)-f(y^k)+\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}(y^k-y^\star,\nabla f(y^k))\right)\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!((1+\alpha)(x^k-x^\star)-\alpha(x^{k-1}-x^\star),\nabla f(y^k))\right)+(a_{k,\star}^{\mathrm{C1}})^\top F\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!\left(\left(\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1&\!\!\!\!0\end{bmatrix}\otimes I_d\right)\begin{bmatrix}x^k-x^\star\\x^{k-1}-x^\star\\\nabla f(y^k)\\\nabla f(y^{k+1})\end{bmatrix}\right)\right)+(a_{k,\star}^{\mathrm{C1}})^\top F\\ &=\text{trace}\bigl(A_{k,\star}^{\mathrm{C1}}\,\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k),\nabla f(y^{k+1}))\bigr)+(a_{k,\star}^{\mathrm{C1}})^\top F\\ &=\text{trace}(A_{k,\star}^{\mathrm{C1}}G)+(a_{k,\star}^{\mathrm{C1}})^\top F\leqslant0, \end{align*}

where

Ak,⋆C1=12(L−μ)[1+α−α000−010]⊤[μL−μ∗−1][1+α−α000−010]=12(L−μ)[μL(1+α)2−μLα(1+α)−μ(1+α)0∗−μLα2−μα0∗−∗−10∗−∗−∗0],ak,⋆C1=[−1−0].\begin{equation*} \begin{aligned} A_{k,\star}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)}\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1&\!\!\!\!0\end{bmatrix}^{\top}\,\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\,\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1&\!\!\!\!0\end{bmatrix}\\[0.6em] &=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(1+\alpha)^2&\!\!-\mu L\alpha(1+\alpha)&\!\!-\mu(1+\alpha)&\!\!0\\ \ast&\!\!\phantom{-}\mu L\alpha^2&\!\!\phantom{-}\mu\alpha&\!\!0\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1&\!\!0\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!0 \end{bmatrix},\\[0.4em] a_{k,\star}^{\mathrm{C1}}&=\begin{bmatrix}-1\\\phantom{-}0\end{bmatrix}. \end{aligned} \end{equation*}

For (i,j)=(⋆,k)(i,j)=(\star,k), we obtain

f(yk)−f(y⋆)+⟨∇f(yk),y⋆−yk⟩+μ2‖y⋆−yk‖2+12(L−μ)‖∇f(y⋆)−∇f(yk)−μ(y⋆−yk)‖2=f(yk)−f(y⋆)−⟨∇f(yk),yk−y⋆⟩+μ2‖yk−y⋆‖2+12(L−μ)‖∇f(yk)−μ(yk−y⋆)‖2=f(yk)−f(y⋆)+12(L−μ)(μL‖yk−y⋆‖2−2L⟨yk−y⋆,∇f(yk)⟩+‖∇f(yk)‖2)=f(yk)−f(y⋆)+12(L−μ)trace([μL−L∗−1]Gram(yk−y⋆,∇f(yk)))=12(L−μ)trace([μL−L∗−1]Gram((1+α)(xk−x⋆)−α(xk−1−x⋆),∇f(yk)))+(a⋆,kC1)⊤F=12(L−μ)trace([μL−L∗−1]Gram(([1+α−α000−010]⊗Id)[xk−x⋆xk−1−x⋆∇f(yk)∇f(yk+1)]))+(a⋆,kC1)⊤F=trace(A⋆,kC1Gram(xk−x⋆,xk−1−x⋆,∇f(yk),∇f(yk+1)))+(a⋆,kC1)⊤F=trace(A⋆,kC1G)+(a⋆,kC1)⊤F⩽0,\begin{align*} &f(y^k)-f(y^\star)+\inner{\nabla f(y^k)}{y^\star-y^k}+\tfrac{\mu}{2}\norm{y^\star-y^k}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^\star)-\nabla f(y^k)-\mu(y^\star-y^k)}^2\\ &=f(y^k)-f(y^\star)-\inner{\nabla f(y^k)}{y^k-y^\star}+\tfrac{\mu}{2}\norm{y^k-y^\star}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^k)-\mu(y^k-y^\star)}^2\\ &=f(y^k)-f(y^\star)+\tfrac{1}{2(L-\mu)}\bigl(\mu L\norm{y^k-y^\star}^2-2L\inner{y^k-y^\star}{\nabla f(y^k)}+\norm{\nabla f(y^k)}^2\bigr)\\ &=f(y^k)-f(y^\star)+\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}(y^k-y^\star,\nabla f(y^k))\right)\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!((1+\alpha)(x^k-x^\star)-\alpha(x^{k-1}-x^\star),\nabla f(y^k))\right)+(a_{\star,k}^{\mathrm{C1}})^\top F\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!\left(\left(\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1&\!\!\!\!0\end{bmatrix}\otimes I_d\right)\begin{bmatrix}x^k-x^\star\\x^{k-1}-x^\star\\\nabla f(y^k)\\\nabla f(y^{k+1})\end{bmatrix}\right)\right)+(a_{\star,k}^{\mathrm{C1}})^\top F\\ &=\text{trace}\bigl(A_{\star,k}^{\mathrm{C1}}\,\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k),\nabla f(y^{k+1}))\bigr)+(a_{\star,k}^{\mathrm{C1}})^\top F\\ &=\text{trace}(A_{\star,k}^{\mathrm{C1}}G)+(a_{\star,k}^{\mathrm{C1}})^\top F\leqslant0, \end{align*}

where

A⋆,kC1=12(L−μ)[1+α−α000−010]⊤[μL−L∗−1][1+α−α000−010]=12(L−μ)[μL(1+α)2−μLα(1+α)−L(1+α)0∗−μLα2−Lα0∗−∗−10∗−∗−∗0],a⋆,kC1=[10].\begin{equation*} \begin{aligned} A_{\star,k}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)}\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1&\!\!\!\!0\end{bmatrix}^{\top}\,\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\,\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1&\!\!\!\!0\end{bmatrix}\\[0.6em] &=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(1+\alpha)^2&\!\!-\mu L\alpha(1+\alpha)&\!\!-L(1+\alpha)&\!\!0\\ \ast&\!\!\phantom{-}\mu L\alpha^2&\!\!\phantom{-}L\alpha&\!\!0\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1&\!\!0\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!0 \end{bmatrix},\\[0.4em] a_{\star,k}^{\mathrm{C1}}&=\begin{bmatrix}1\\0\end{bmatrix}. \end{aligned} \end{equation*}

For (i,j)=(k+1,⋆)(i,j)=(k+1,\star), we obtain

f(y⋆)−f(yk+1)+⟨∇f(y⋆),yk+1−y⋆⟩+μ2‖yk+1−y⋆‖2+12(L−μ)‖∇f(yk+1)−∇f(y⋆)−μ(yk+1−y⋆)‖2=f(y⋆)−f(yk+1)+μ2‖yk+1−y⋆‖2+12(L−μ)‖∇f(yk+1)−μ(yk+1−y⋆)‖2=f(y⋆)−f(yk+1)+12(L−μ)(μL‖yk+1−y⋆‖2−2μ⟨yk+1−y⋆,∇f(yk+1)⟩+‖∇f(yk+1)‖2)=f(y⋆)−f(yk+1)+12(L−μ)trace([μL−μ∗−1]Gram(yk+1−y⋆,∇f(yk+1)))=12(L−μ)trace([μL−μ∗−1]Gram(xk−x⋆+(1+α)(β(xk−xk−1)−γ∇f(yk)),∇f(yk+1)))+(ak+1,⋆C1)⊤F=12(L−μ)trace([μL−μ∗−1]Gram(([1+β+αβ−β(1+α)−γ(1+α)00−0−01]⊗Id)[xk−x⋆xk−1−x⋆∇f(yk)∇f(yk+1)]))+(ak+1,⋆C1)⊤F=trace(Ak+1,⋆C1Gram(xk−x⋆,xk−1−x⋆,∇f(yk),∇f(yk+1)))+(ak+1,⋆C1)⊤F=trace(Ak+1,⋆C1G)+(ak+1,⋆C1)⊤F⩽0,\begin{align*} &f(y^\star)-f(y^{k+1})+\inner{\nabla f(y^\star)}{y^{k+1}-y^\star}+\tfrac{\mu}{2}\norm{y^{k+1}-y^\star}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^{k+1})-\nabla f(y^\star)-\mu(y^{k+1}-y^\star)}^2\\ &=f(y^\star)-f(y^{k+1})+\tfrac{\mu}{2}\norm{y^{k+1}-y^\star}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^{k+1})-\mu(y^{k+1}-y^\star)}^2\\ &=f(y^\star)-f(y^{k+1})+\tfrac{1}{2(L-\mu)}\bigl(\mu L\norm{y^{k+1}-y^\star}^2-2\mu\inner{y^{k+1}-y^\star}{\nabla f(y^{k+1})}+\norm{\nabla f(y^{k+1})}^2\bigr)\\ &=f(y^\star)-f(y^{k+1})+\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}(y^{k+1}-y^\star,\nabla f(y^{k+1}))\right)\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!(x^k-x^\star+(1+\alpha)\bigl(\beta(x^k-x^{k-1})-\gamma\nabla f(y^k)\bigr),\nabla f(y^{k+1}))\right)+(a_{k+1,\star}^{\mathrm{C1}})^\top F\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!\left(\left(\begin{bmatrix}1+\beta+\alpha\beta&\!\!\!\!-\beta(1+\alpha)&\!\!\!\!-\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}\otimes I_d\right)\begin{bmatrix}x^k-x^\star\\x^{k-1}-x^\star\\\nabla f(y^k)\\\nabla f(y^{k+1})\end{bmatrix}\right)\right)+(a_{k+1,\star}^{\mathrm{C1}})^\top F\\ &=\text{trace}\bigl(A_{k+1,\star}^{\mathrm{C1}}\,\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k),\nabla f(y^{k+1}))\bigr)+(a_{k+1,\star}^{\mathrm{C1}})^\top F\\ &=\text{trace}(A_{k+1,\star}^{\mathrm{C1}}G)+(a_{k+1,\star}^{\mathrm{C1}})^\top F\leqslant0, \end{align*}

where

Ak+1,⋆C1=12(L−μ)[1+β+αβ−β(1+α)−γ(1+α)00−0−01]⊤[μL−μ∗−1][1+β+αβ−β(1+α)−γ(1+α)00−0−01]=12(L−μ)[μL(1+β+αβ)2−μLβ(1+α)(1+β+αβ)−γμL(1+α)(1+β+αβ)−μ(1+β+αβ)∗−μLβ2(1+α)2−γμLβ(1+α)2−μβ(1+α)∗−∗−γ2μL(1+α)2−γμ(1+α)∗−∗−∗−1],ak+1,⋆C1=[−0−1].\begin{equation*} \begin{aligned} A_{k+1,\star}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)}\begin{bmatrix}1+\beta+\alpha\beta&\!\!\!\!-\beta(1+\alpha)&\!\!\!\!-\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}^{\top}\,\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\,\begin{bmatrix}1+\beta+\alpha\beta&\!\!\!\!-\beta(1+\alpha)&\!\!\!\!-\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}\\[0.6em] &=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(1+\beta+\alpha\beta)^2&\!\!-\mu L\beta(1+\alpha)(1+\beta+\alpha\beta)&\!\!-\gamma\mu L(1+\alpha)(1+\beta+\alpha\beta)&\!\!-\mu(1+\beta+\alpha\beta)\\ \ast&\!\!\phantom{-}\mu L\beta^2(1+\alpha)^2&\!\!\phantom{-}\gamma\mu L\beta(1+\alpha)^2&\!\!\phantom{-}\mu\beta(1+\alpha)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\gamma^2\mu L(1+\alpha)^2&\!\!\phantom{-}\gamma\mu(1+\alpha)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1 \end{bmatrix},\\[0.4em] a_{k+1,\star}^{\mathrm{C1}}&=\begin{bmatrix}\phantom{-}0\\-1\end{bmatrix}. \end{aligned} \end{equation*}

For (i,j)=(⋆,k+1)(i,j)=(\star,k+1), we obtain

f(yk+1)−f(y⋆)+⟨∇f(yk+1),y⋆−yk+1⟩+μ2‖y⋆−yk+1‖2+12(L−μ)‖∇f(y⋆)−∇f(yk+1)−μ(y⋆−yk+1)‖2=f(yk+1)−f(y⋆)−⟨∇f(yk+1),yk+1−y⋆⟩+μ2‖yk+1−y⋆‖2+12(L−μ)‖∇f(yk+1)−μ(yk+1−y⋆)‖2=f(yk+1)−f(y⋆)+12(L−μ)(μL‖yk+1−y⋆‖2−2L⟨yk+1−y⋆,∇f(yk+1)⟩+‖∇f(yk+1)‖2)=f(yk+1)−f(y⋆)+12(L−μ)trace([μL−L∗−1]Gram(yk+1−y⋆,∇f(yk+1)))=12(L−μ)trace([μL−L∗−1]Gram(xk−x⋆+(1+α)(β(xk−xk−1)−γ∇f(yk)),∇f(yk+1)))+(a⋆,k+1C1)⊤F=12(L−μ)trace([μL−L∗−1]Gram(([1+β+αβ−β(1+α)−γ(1+α)00−0−01]⊗Id)[xk−x⋆xk−1−x⋆∇f(yk)∇f(yk+1)]))+(a⋆,k+1C1)⊤F=trace(A⋆,k+1C1Gram(xk−x⋆,xk−1−x⋆,∇f(yk),∇f(yk+1)))+(a⋆,k+1C1)⊤F=trace(A⋆,k+1C1G)+(a⋆,k+1C1)⊤F⩽0,\begin{align*} &f(y^{k+1})-f(y^\star)+\inner{\nabla f(y^{k+1})}{y^\star-y^{k+1}}+\tfrac{\mu}{2}\norm{y^\star-y^{k+1}}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^\star)-\nabla f(y^{k+1})-\mu(y^\star-y^{k+1})}^2\\ &=f(y^{k+1})-f(y^\star)-\inner{\nabla f(y^{k+1})}{y^{k+1}-y^\star}+\tfrac{\mu}{2}\norm{y^{k+1}-y^\star}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^{k+1})-\mu(y^{k+1}-y^\star)}^2\\ &=f(y^{k+1})-f(y^\star)+\tfrac{1}{2(L-\mu)}\bigl(\mu L\norm{y^{k+1}-y^\star}^2-2L\inner{y^{k+1}-y^\star}{\nabla f(y^{k+1})}+\norm{\nabla f(y^{k+1})}^2\bigr)\\ &=f(y^{k+1})-f(y^\star)+\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}(y^{k+1}-y^\star,\nabla f(y^{k+1}))\right)\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!(x^k-x^\star+(1+\alpha)\bigl(\beta(x^k-x^{k-1})-\gamma\nabla f(y^k)\bigr),\nabla f(y^{k+1}))\right)+(a_{\star,k+1}^{\mathrm{C1}})^\top F\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!\left(\left(\begin{bmatrix}1+\beta+\alpha\beta&\!\!\!\!-\beta(1+\alpha)&\!\!\!\!-\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}\otimes I_d\right)\begin{bmatrix}x^k-x^\star\\x^{k-1}-x^\star\\\nabla f(y^k)\\\nabla f(y^{k+1})\end{bmatrix}\right)\right)+(a_{\star,k+1}^{\mathrm{C1}})^\top F\\ &=\text{trace}\bigl(A_{\star,k+1}^{\mathrm{C1}}\,\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k),\nabla f(y^{k+1}))\bigr)+(a_{\star,k+1}^{\mathrm{C1}})^\top F\\ &=\text{trace}(A_{\star,k+1}^{\mathrm{C1}}G)+(a_{\star,k+1}^{\mathrm{C1}})^\top F\leqslant0, \end{align*}

where

A⋆,k+1C1=12(L−μ)[1+β+αβ−β(1+α)−γ(1+α)00−0−01]⊤[μL−L∗−1][1+β+αβ−β(1+α)−γ(1+α)00−0−01]=12(L−μ)[μL(1+β+αβ)2−μLβ(1+α)(1+β+αβ)−γμL(1+α)(1+β+αβ)−L(1+β+αβ)∗−μLβ2(1+α)2−γμLβ(1+α)2−Lβ(1+α)∗−∗−γ2μL(1+α)2−γL(1+α)∗−∗−∗−1],a⋆,k+1C1=[01].\begin{equation*} \begin{aligned} A_{\star,k+1}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)}\begin{bmatrix}1+\beta+\alpha\beta&\!\!\!\!-\beta(1+\alpha)&\!\!\!\!-\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}^{\top}\,\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\,\begin{bmatrix}1+\beta+\alpha\beta&\!\!\!\!-\beta(1+\alpha)&\!\!\!\!-\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}\\[0.6em] &=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(1+\beta+\alpha\beta)^2&\!\!-\mu L\beta(1+\alpha)(1+\beta+\alpha\beta)&\!\!-\gamma\mu L(1+\alpha)(1+\beta+\alpha\beta)&\!\!-L(1+\beta+\alpha\beta)\\ \ast&\!\!\phantom{-}\mu L\beta^2(1+\alpha)^2&\!\!\phantom{-}\gamma\mu L\beta(1+\alpha)^2&\!\!\phantom{-}L\beta(1+\alpha)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\gamma^2\mu L(1+\alpha)^2&\!\!\phantom{-}\gamma L(1+\alpha)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1 \end{bmatrix},\\[0.4em] a_{\star,k+1}^{\mathrm{C1}}&=\begin{bmatrix}0\\1\end{bmatrix}. \end{aligned} \end{equation*}

For (i,j)=(k,k+1)(i,j)=(k,k+1), we obtain

f(yk+1)−f(yk)+⟨∇f(yk+1),yk−yk+1⟩+μ2‖yk−yk+1‖2+12(L−μ)‖∇f(yk)−∇f(yk+1)−μ(yk−yk+1)‖2=f(yk+1)−f(yk)+12(L−μ)trace([μL−μ−L∗−1−1∗−∗−1]Gram(yk−yk+1,∇f(yk),∇f(yk+1)))=12(L−μ)trace([μL−μ−L∗−1−1∗−∗−1]Gram((α−β−αβ)(xk−xk−1)+γ(1+α)∇f(yk),∇f(yk),∇f(yk+1)))+(ak,k+1C1)⊤F=12(L−μ)trace([μL−μ−L∗−1−1∗−∗−1]Gram(([α−β−αββ+αβ−αγ(1+α)000100001]⊗Id)[xk−x⋆xk−1−x⋆∇f(yk)∇f(yk+1)]))+(ak,k+1C1)⊤F=trace(Ak,k+1C1Gram(xk−x⋆,xk−1−x⋆,∇f(yk),∇f(yk+1)))+(ak,k+1C1)⊤F=trace(Ak,k+1C1G)+(ak,k+1C1)⊤F⩽0,\begin{align*} &f(y^{k+1})-f(y^k)+\inner{\nabla f(y^{k+1})}{y^k-y^{k+1}}+\tfrac{\mu}{2}\norm{y^k-y^{k+1}}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^k)-\nabla f(y^{k+1})-\mu(y^k-y^{k+1})}^2\\ &=f(y^{k+1})-f(y^k)+\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu&\!\!\!\!\phantom{-}L\\\ast&\!\!\!\!\phantom{-}1&\!\!\!\!-1\\\ast&\!\!\!\!\phantom{-}\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}(y^k-y^{k+1},\nabla f(y^k),\nabla f(y^{k+1}))\right)\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu&\!\!\!\!\phantom{-}L\\\ast&\!\!\!\!\phantom{-}1&\!\!\!\!-1\\\ast&\!\!\!\!\phantom{-}\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!((\alpha-\beta-\alpha\beta)(x^k-x^{k-1})+\gamma(1+\alpha)\nabla f(y^k),\nabla f(y^k),\nabla f(y^{k+1}))\right)+(a_{k,k+1}^{\mathrm{C1}})^\top F\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu&\!\!\!\!\phantom{-}L\\\ast&\!\!\!\!\phantom{-}1&\!\!\!\!-1\\\ast&\!\!\!\!\phantom{-}\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!\left(\left(\begin{bmatrix}\alpha-\beta-\alpha\beta&\!\!\!\!\beta+\alpha\beta-\alpha&\!\!\!\!\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!1&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!0&\!\!\!\!1\end{bmatrix}\otimes I_d\right)\begin{bmatrix}x^k-x^\star\\x^{k-1}-x^\star\\\nabla f(y^k)\\\nabla f(y^{k+1})\end{bmatrix}\right)\right)+(a_{k,k+1}^{\mathrm{C1}})^\top F\\ &=\text{trace}\bigl(A_{k,k+1}^{\mathrm{C1}}\,\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k),\nabla f(y^{k+1}))\bigr)+(a_{k,k+1}^{\mathrm{C1}})^\top F\\ &=\text{trace}(A_{k,k+1}^{\mathrm{C1}}G)+(a_{k,k+1}^{\mathrm{C1}})^\top F\leqslant0, \end{align*}

where

Ak,k+1C1=12(L−μ)[α−β−αββ+αβ−αγ(1+α)000100001]⊤[μL−μ−L∗−1−1∗−∗−1][α−β−αββ+αβ−αγ(1+α)000100001]=12(L−μ)[μL(α−β−αβ)2−μL(α−β−αβ)2−μ(α−β−αβ)(γL(1+α)−1)−L(α−β−αβ)∗−μL(α−β−αβ)2−μ(α−β−αβ)(γL(1+α)−1)−L(α−β−αβ)∗−∗−1−2γμ(1+α)+γ2μL(1+α)2−γL(1+α)−1∗−∗−∗−1],ak,k+1C1=[−1−1].\begin{equation*} \begin{aligned} A_{k,k+1}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)}\begin{bmatrix}\alpha-\beta-\alpha\beta&\!\!\!\!\beta+\alpha\beta-\alpha&\!\!\!\!\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!1&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!0&\!\!\!\!1\end{bmatrix}^{\top}\,\begin{bmatrix}\mu L&\!\!\!\!-\mu&\!\!\!\!\phantom{-}L\\\ast&\!\!\!\!\phantom{-}1&\!\!\!\!-1\\\ast&\!\!\!\!\phantom{-}\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\,\begin{bmatrix}\alpha-\beta-\alpha\beta&\!\!\!\!\beta+\alpha\beta-\alpha&\!\!\!\!\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!1&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!0&\!\!\!\!1\end{bmatrix}\\[0.6em] &=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(\alpha-\beta-\alpha\beta)^2&\!\!-\mu L(\alpha-\beta-\alpha\beta)^2&\!\!\phantom{-}\mu(\alpha-\beta-\alpha\beta)(\gamma L(1+\alpha)-1)&\!\!\phantom{-}L(\alpha-\beta-\alpha\beta)\\ \ast&\!\!\phantom{-}\mu L(\alpha-\beta-\alpha\beta)^2&\!\!-\mu(\alpha-\beta-\alpha\beta)(\gamma L(1+\alpha)-1)&\!\!-L(\alpha-\beta-\alpha\beta)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1-2\gamma\mu(1+\alpha)+\gamma^2\mu L(1+\alpha)^2&\!\!\phantom{-}\gamma L(1+\alpha)-1\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1 \end{bmatrix},\\[0.4em] a_{k,k+1}^{\mathrm{C1}}&=\begin{bmatrix}-1\\\phantom{-}1\end{bmatrix}. \end{aligned} \end{equation*}

For (i,j)=(k+1,k)(i,j)=(k+1,k), we obtain

f(yk)−f(yk+1)+⟨∇f(yk),yk+1−yk⟩+μ2‖yk+1−yk‖2+12(L−μ)‖∇f(yk+1)−∇f(yk)−μ(yk+1−yk)‖2=f(yk)−f(yk+1)+12(L−μ)trace([μL−L−μ∗−1−1∗−∗−1]Gram(yk−yk+1,∇f(yk),∇f(yk+1)))=12(L−μ)trace([μL−L−μ∗−1−1∗−∗−1]Gram((α−β−αβ)(xk−xk−1)+γ(1+α)∇f(yk),∇f(yk),∇f(yk+1)))+(ak+1,kC1)⊤F=12(L−μ)trace([μL−L−μ∗−1−1∗−∗−1]Gram(([α−β−αββ+αβ−αγ(1+α)000100001]⊗Id)[xk−x⋆xk−1−x⋆∇f(yk)∇f(yk+1)]))+(ak+1,kC1)⊤F=trace(Ak+1,kC1Gram(xk−x⋆,xk−1−x⋆,∇f(yk),∇f(yk+1)))+(ak+1,kC1)⊤F=trace(Ak+1,kC1G)+(ak+1,kC1)⊤F⩽0,\begin{align*} &f(y^k)-f(y^{k+1})+\inner{\nabla f(y^k)}{y^{k+1}-y^k}+\tfrac{\mu}{2}\norm{y^{k+1}-y^k}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^{k+1})-\nabla f(y^k)-\mu(y^{k+1}-y^k)}^2\\ &=f(y^k)-f(y^{k+1})+\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L&\!\!\!\!\phantom{-}\mu\\\ast&\!\!\!\!\phantom{-}1&\!\!\!\!-1\\\ast&\!\!\!\!\phantom{-}\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}(y^k-y^{k+1},\nabla f(y^k),\nabla f(y^{k+1}))\right)\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L&\!\!\!\!\phantom{-}\mu\\\ast&\!\!\!\!\phantom{-}1&\!\!\!\!-1\\\ast&\!\!\!\!\phantom{-}\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!((\alpha-\beta-\alpha\beta)(x^k-x^{k-1})+\gamma(1+\alpha)\nabla f(y^k),\nabla f(y^k),\nabla f(y^{k+1}))\right)+(a_{k+1,k}^{\mathrm{C1}})^\top F\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L&\!\!\!\!\phantom{-}\mu\\\ast&\!\!\!\!\phantom{-}1&\!\!\!\!-1\\\ast&\!\!\!\!\phantom{-}\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!\left(\left(\begin{bmatrix}\alpha-\beta-\alpha\beta&\!\!\!\!\beta+\alpha\beta-\alpha&\!\!\!\!\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!1&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!0&\!\!\!\!1\end{bmatrix}\otimes I_d\right)\begin{bmatrix}x^k-x^\star\\x^{k-1}-x^\star\\\nabla f(y^k)\\\nabla f(y^{k+1})\end{bmatrix}\right)\right)+(a_{k+1,k}^{\mathrm{C1}})^\top F\\ &=\text{trace}\bigl(A_{k+1,k}^{\mathrm{C1}}\,\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k),\nabla f(y^{k+1}))\bigr)+(a_{k+1,k}^{\mathrm{C1}})^\top F\\ &=\text{trace}(A_{k+1,k}^{\mathrm{C1}}G)+(a_{k+1,k}^{\mathrm{C1}})^\top F\leqslant0, \end{align*}

where

Ak+1,kC1=12(L−μ)[α−β−αββ+αβ−αγ(1+α)000100001]⊤[μL−L−μ∗−1−1∗−∗−1][α−β−αββ+αβ−αγ(1+α)000100001]=12(L−μ)[μL(α−β−αβ)2−μL(α−β−αβ)2−L(α−β−αβ)(γμ(1+α)−1)−μ(α−β−αβ)∗−μL(α−β−αβ)2−L(α−β−αβ)(γμ(1+α)−1)−μ(α−β−αβ)∗−∗−1−2γL(1+α)+γ2μL(1+α)2−γμ(1+α)−1∗−∗−∗−1],ak+1,kC1=[−1−1].\begin{equation*} \begin{aligned} A_{k+1,k}^{\mathrm{C1}}&=\tfrac{1}{2(L-\mu)}\begin{bmatrix}\alpha-\beta-\alpha\beta&\!\!\!\!\beta+\alpha\beta-\alpha&\!\!\!\!\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!1&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!0&\!\!\!\!1\end{bmatrix}^{\top}\,\begin{bmatrix}\mu L&\!\!\!\!-L&\!\!\!\!\phantom{-}\mu\\\ast&\!\!\!\!\phantom{-}1&\!\!\!\!-1\\\ast&\!\!\!\!\phantom{-}\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\,\begin{bmatrix}\alpha-\beta-\alpha\beta&\!\!\!\!\beta+\alpha\beta-\alpha&\!\!\!\!\gamma(1+\alpha)&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!1&\!\!\!\!0\\0&\!\!\!\!0&\!\!\!\!0&\!\!\!\!1\end{bmatrix}\\[0.6em] &=\tfrac{1}{2(L-\mu)} \begin{bmatrix} \mu L(\alpha-\beta-\alpha\beta)^2&\!\!-\mu L(\alpha-\beta-\alpha\beta)^2&\!\!\phantom{-}L(\alpha-\beta-\alpha\beta)(\gamma\mu(1+\alpha)-1)&\!\!\phantom{-}\mu(\alpha-\beta-\alpha\beta)\\ \ast&\!\!\phantom{-}\mu L(\alpha-\beta-\alpha\beta)^2&\!\!-L(\alpha-\beta-\alpha\beta)(\gamma\mu(1+\alpha)-1)&\!\!-\mu(\alpha-\beta-\alpha\beta)\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1-2\gamma L(1+\alpha)+\gamma^2\mu L(1+\alpha)^2&\!\!\phantom{-}\gamma\mu(1+\alpha)-1\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1 \end{bmatrix},\\[0.4em] a_{k+1,k}^{\mathrm{C1}}&=\begin{bmatrix}\phantom{-}1\\-1\end{bmatrix}. \end{aligned} \end{equation*}

Primal formulation. The Gram characterization (8) and Theorem 1 give the following equivalent finite-dimensional formulation

PC1,d=(maximizeG∈S+4,F∈R2trace((S+⊤QS+−ρS⊤QS)G)+q[−ρ−1]⊤Fsubject torank⁡(G)⩽d,trace(Ai,jC1G)+(ai,jC1)⊤F⩽0).\begin{equation*} \mathcal{P}_{\mathrm{C1},d} =\left( \begin{array}{cl} \mathop{\text{maximize}}\limits_{G\in\mathbb{S}_{+}^{4},\,F\in\mathbb{R}^{2}} &\text{trace}((S_+^{\top}QS_+-\rho S^{\top}QS)G) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top}F\\[0.6em] \text{subject to} &\mathop{\text{rank}}\nolimits(G)\leqslant d,\\ &\text{trace}(A_{i,j}^{\mathrm{C1}}G)+(a_{i,j}^{\mathrm{C1}})^{\top}F\leqslant0 \end{array} \right). \end{equation*}

Dropping the rank constraint gives the primal SDP

PC1SDP=(maximizeG∈S+4,F∈R2trace((S+⊤QS+−ρS⊤QS)G)+q[−ρ−1]⊤Fsubject totrace(Ai,jC1G)+(ai,jC1)⊤F⩽0),\begin{equation*} \mathcal{P}_{\mathrm{C1}}^{\mathrm{SDP}} =\left( \begin{array}{cl} \mathop{\text{maximize}}\limits_{G\in\mathbb{S}_{+}^{4},\,F\in\mathbb{R}^{2}} &\text{trace}((S_+^{\top}QS_+-\rho S^{\top}QS)G) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top}F\\[0.6em] \text{subject to} &\text{trace}(A_{i,j}^{\mathrm{C1}}G)+(a_{i,j}^{\mathrm{C1}})^{\top}F\leqslant0 \end{array} \right), \end{equation*}

and hence

PC1,d⩽PC1SDP.\begin{equation*} \mathcal{P}_{\mathrm{C1},d}\leqslant\mathcal{P}_{\mathrm{C1}}^{\mathrm{SDP}}. \end{equation*}

For d⩾4d\geqslant4, the rank constraint is automatic, so

PC1,d=PC1SDP.\begin{equation*} \mathcal{P}_{\mathrm{C1},d}=\mathcal{P}_{\mathrm{C1}}^{\mathrm{SDP}}. \end{equation*}

Dual formulation. Next, we derive the Lagrange dual of the SDP defining PC1SDP\mathcal{P}_{\mathrm{C1}}^{\mathrm{SDP}}. We associate dual multipliers with the constraints as follows

trace(Ai,jC1G)+(ai,jC1)⊤F⩽0:λi,jC1⩾0\begin{align*} \text{trace}(A_{i,j}^{\mathrm{C1}}G)+(a_{i,j}^{\mathrm{C1}})^{\top}F\leqslant0 &\qquad:\qquad\lambda_{i,j}^{\mathrm{C1}}\geqslant0 \end{align*}

for each pair of distinct indices i,j∈{k,k+1,⋆}i,j\in\{k,k+1,\star\}. With the notation λC1=(λi,jC1)i,j∈{k,k+1,⋆},i≠j\lambda^{\mathrm{C1}}=(\lambda_{i,j}^{\mathrm{C1}})_{i,j\in\{k,k+1,\star\},\,i\ne j}, the Lagrangian is

LC1(G,F,λC1)=trace((S+⊤QS+−ρS⊤QS)G)+q[−ρ−1]⊤F−∑i,j∈{k,k+1,⋆}i≠jλi,jC1(trace(Ai,jC1G)+(ai,jC1)⊤F)=trace((S+⊤QS+−ρS⊤QS−∑i,j∈{k,k+1,⋆}i≠jλi,jC1Ai,jC1)G)+(q[−ρ−1]−∑i,j∈{k,k+1,⋆}i≠jλi,jC1ai,jC1)⊤F.\begin{align*} \mathcal{L}_{\mathrm{C1}}(G,F,\lambda^{\mathrm{C1}}) &=\text{trace}((S_+^{\top}QS_+-\rho S^{\top}QS)G) +q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}^{\top}F -\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}^{\mathrm{C1}} \left(\text{trace}(A_{i,j}^{\mathrm{C1}}G)+(a_{i,j}^{\mathrm{C1}})^{\top}F\right)\\ &=\text{trace}\left(\left(S_+^{\top}QS_+-\rho S^{\top}QS -\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}^{\mathrm{C1}}A_{i,j}^{\mathrm{C1}}\right)G\right) +\left(q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix} -\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}^{\mathrm{C1}}a_{i,j}^{\mathrm{C1}}\right)^{\top}F. \end{align*}

Since GG is positive semidefinite and FF is unrestricted, the objective of the Lagrange dual is

supG∈S+4,F∈R2⁡LC1(G,F,λC1)={0,if {S+⊤QS+−ρS⊤QS−∑i,j∈{k,k+1,⋆}i≠jλi,jC1Ai,jC1≼0,q[−ρ−1]−∑i,j∈{k,k+1,⋆}i≠jλi,jC1ai,jC1=0,+∞,otherwise.\begin{equation*} \mathop{\text{sup}}\limits_{G\in\mathbb{S}_{+}^{4},\,F\in\mathbb{R}^{2}} \mathcal{L}_{\mathrm{C1}}(G,F,\lambda^{\mathrm{C1}}) =\begin{cases} 0,&\text{if }\begin{cases} S_+^{\top}QS_+-\rho S^{\top}QS-\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}^{\mathrm{C1}}A_{i,j}^{\mathrm{C1}}\preccurlyeq0,\\[0.25em] q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}-\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}^{\mathrm{C1}}a_{i,j}^{\mathrm{C1}}=0, \end{cases}\\[0.4em] +\infty,&\text{otherwise}. \end{cases} \end{equation*}

Minimizing this objective over the non­negative multipliers gives the dual SDP

DC1SDP=(minimizeλi,jC1∈Ri,j∈{k,k+1,⋆}, i≠j0subject toλi,jC1⩾0,for each pair of distinct indicesi,j∈{k,k+1,⋆},∑i,j∈{k,k+1,⋆}i≠jλi,jC1Ai,jC1−(S+⊤QS+−ρS⊤QS)≽0,∑i,j∈{k,k+1,⋆}i≠jλi,jC1ai,jC1−q[−ρ−1]=0.).\begin{equation*} \mathcal{D}_{\mathrm{C1}}^{\mathrm{SDP}} =\left( \begin{array}{cl} \mathop{\text{minimize}}\limits_{\substack{ \lambda_{i,j}^{\mathrm{C1}}\in\mathbb{R}\\ i,j\in\{k,k+1,\star\},\ i\ne j }} &0\\[0.6em] \text{subject to} &\lambda_{i,j}^{\mathrm{C1}}\geqslant0\mathord{,}\quad\text{for each pair of distinct indices}\quad i,j\in\{k,k+1,\star\},\\ &\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}^{\mathrm{C1}}A_{i,j}^{\mathrm{C1}} -(S_+^{\top}QS_+-\rho S^{\top}QS)\succcurlyeq0,\\ &\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}^{\mathrm{C1}}a_{i,j}^{\mathrm{C1}} -q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}=0. \end{array} \right). \end{equation*}

The primal relaxation and weak duality give

PC1,d⩽PC1SDP⩽DC1SDP.\begin{equation*} \mathcal{P}_{\mathrm{C1},d}\leqslant\mathcal{P}_{\mathrm{C1}}^{\mathrm{SDP}} \leqslant\mathcal{D}_{\mathrm{C1}}^{\mathrm{SDP}}. \end{equation*}

If (17) is feasible, then DC1SDP=0\mathcal{D}_{\mathrm{C1}}^{\mathrm{SDP}}=0, which proves (C1) in every dimension.

Necessity. Suppose d⩾4d\geqslant4 and (C1) holds. Exactness and feasibility of (G,F)=(0,0)(G,F)=(0,0) give PC1SDP=0\mathcal{P}_{\mathrm{C1}}^{\mathrm{SDP}}=0.

To prove feasibility of (17), equivalently of the dual SDP defining DC1SDP\mathcal{D}_{\mathrm{C1}}^{\mathrm{SDP}}, we verify the refined Slater condition for the primal SDP defining PC1SDP\mathcal{P}_{\mathrm{C1}}^{\mathrm{SDP}}. Since the interpolation constraints are affine in (G,F)(G,F), a feasible pair with G≻0G\succ0 suffices [BV04, Section 5.2.3]. Choose μ<ℓ1<ℓ2<ℓ3<ℓ4<L\mu<\ell_1<\ell_2<\ell_3<\ell_4<L and set

H=diag⁡(ℓ1,ℓ2,ℓ3,ℓ4),f(x)=12x⊤Hx,x⋆=0,Z=[xkxk−1∇f(yk)∇f(yk+1)]=[xkxk−1HykHyk+1]∈R4×4,G=Gram(xk,xk−1,∇f(yk),∇f(yk+1))=Z⊤Z,F=[f(yk)−f(0)f(yk+1)−f(0)].\begin{equation*} \begin{aligned} H&=\mathop{\text{diag}}(\ell_1,\ell_2,\ell_3,\ell_4), \qquad f(x)=\tfrac12x^{\top}Hx, \qquad x^\star=0,\\[0.5em] Z&=\begin{bmatrix}x^k&x^{k-1}&\nabla f(y^k)&\nabla f(y^{k+1})\end{bmatrix}=\begin{bmatrix}x^k&x^{k-1}&Hy^k&Hy^{k+1}\end{bmatrix}\in\mathbb{R}^{4\times4},\\[0.5em] G&=\mathtt{Gram}(x^k,x^{k-1},\nabla f(y^k),\nabla f(y^{k+1}))=Z^{\top}Z,\\[0.5em] F&=\begin{bmatrix}f(y^k)-f(0)\\f(y^{k+1})-f(0)\end{bmatrix}. \end{aligned} \end{equation*}

Because f∈Fμ,L(R4)f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{4}), these data satisfy the interpolation constraints, i.e.,

trace(Ai,jC1G)+(ai,jC1)⊤F⩽0,i,j∈{k,k+1,⋆},i≠j.\begin{equation*} \text{trace}(A_{i,j}^{\mathrm{C1}}G)+(a_{i,j}^{\mathrm{C1}})^{\top}F\leqslant0, \qquad i,j\in\{k,k+1,\star\},\quad i\ne j. \end{equation*}

We choose the initial points so that ZZ is nonsingular:

  • If α≠−1\alpha\ne-1, take

    xk=(1,1,1,0),xk−1=(0,0,0,1),|detZ|=|1+α|3γ∏1⩽i<j⩽3(ℓj−ℓi)>0.\begin{equation*} \begin{gathered} x^k=(1,1,1,0),\qquad x^{k-1}=(0,0,0,1),\\[0.5em] |\det Z| =|1+\alpha|^3\gamma\prod_{1\leqslant i<j\leqslant3}(\ell_j-\ell_i)>0. \end{gathered} \end{equation*}
  • If α=−1\alpha=-1, take

    xk=(1,1,0,0),xk−1=(0,0,1,1),|detZ|=(ℓ2−ℓ1)(ℓ4−ℓ3)>0.\begin{equation*} \begin{gathered} x^k=(1,1,0,0),\qquad x^{k-1}=(0,0,1,1),\\[0.5em] |\det Z| =(\ell_2-\ell_1)(\ell_4-\ell_3)>0. \end{gathered} \end{equation*}

Thus G=Z⊤Z≻0G=Z^{\top}Z\succ0 in both cases. The refined Slater condition therefore gives

PC1,d=PC1SDP=DC1SDP=0.\begin{equation*} \mathcal{P}_{\mathrm{C1},d}=\mathcal{P}_{\mathrm{C1}}^{\mathrm{SDP}}=\mathcal{D}_{\mathrm{C1}}^{\mathrm{SDP}}=0. \end{equation*}

In particular, the dual SDP is feasible, and its multipliers satisfy (17).

2. Lower bound. The inequality V(k)⩾M(k)\mathcal{V}(k)\geqslant\mathcal{M}(k) in (C2) is equivalent to PC2,d⩽0\mathcal{P}_{\mathrm{C2},d}\leqslant0, where

PC2,d=(maximizef∈Fμ,L(Rd)xk−1,xk,yk,x⋆∈RdM(k)−V(k)subject to∇f(x⋆)=0,yk=(1+α)xk−αxk−1.).\begin{equation*} \mathcal{P}_{\mathrm{C2},d} =\left( \begin{array}{cl} \mathop{\text{maximize}}\limits_{\substack{ f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{d})\\ x^{k-1},x^k,y^k,x^\star\in\mathbb{R}^{d} }} &\mathcal{M}(k)-\mathcal{V}(k)\\[0.6em] \text{subject to} &\nabla f(x^\star)=0,\\ &y^k=(1+\alpha)x^k-\alpha x^{k-1}. \end{array} \right). \end{equation*}

Here we compare V(k)\mathcal{V}(k) and M(k)\mathcal{M}(k) at the same iteration, so the Gram matrix uses only xk−x⋆x^k-x^\star, xk−1−x⋆x^{k-1}-x^\star, and ∇f(yk)\nabla f(y^k). Set

G=Gram(xk−x⋆,xk−1−x⋆,∇f(yk)),F=f(yk)−f(x⋆)∈R.\begin{equation*} G=\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k)), \qquad F=f(y^k)-f(x^\star)\in\mathbb{R}. \end{equation*}

The definitions of V\mathcal{V} and M\mathcal{M} give

V(k)=trace(QGram(xk−x⋆,xk−1−x⋆,∇f(yk)))+q(f(yk)−f(x⋆))=trace(QG)+qF,M(k)=trace(PGram(xk−x⋆,xk−1−x⋆,∇f(yk)))+p(f(yk)−f(x⋆))=trace(PG)+pF,M(k)−V(k)=trace((P−Q)G)+(p−q)F.\begin{align*} \mathcal{V}(k)&=\text{trace}\bigl(Q\,\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k))\bigr)+q(f(y^k)-f(x^\star))\\ &=\text{trace}(QG)+qF,\\[0.5em] \mathcal{M}(k)&=\text{trace}\bigl(P\,\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k))\bigr)+p(f(y^k)-f(x^\star))\\ &=\text{trace}(PG)+pF,\\[0.5em] \mathcal{M}(k)-\mathcal{V}(k)&=\text{trace}((P-Q)G)+(p-q)F. \end{align*}

Interpolation. To apply Theorem 1, write y⋆=x⋆y^\star=x^\star. For each pair of distinct indices i,j∈{k,⋆}i,j\in\{k,\star\}, the interpolation inequality is

(20)f(yj)−f(yi)+⟨∇f(yj),yi−yj⟩+μ2‖yi−yj‖2+12(L−μ)‖∇f(yi)−∇f(yj)−μ(yi−yj)‖2⩽0.\begin{equation} \label{eq:memory-lower-bound-interpolation} f(y^j)-f(y^i)+\inner{\nabla f(y^j)}{y^i-y^j} +\tfrac{\mu}{2}\norm{y^i-y^j}^2 +\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^i)-\nabla f(y^j)-\mu(y^i-y^j)}^2\leqslant0. \end{equation}

The method gives the point difference

yk−y⋆=(1+α)(xk−x⋆)−α(xk−1−x⋆).\begin{equation*} y^k-y^\star=(1+\alpha)(x^k-x^\star)-\alpha(x^{k-1}-x^\star). \end{equation*}

Substituting this expression and ∇f(y⋆)=0\nabla f(y^\star)=0 into (20) and expanding the squared norms gives

trace(Ai,jC2G)+ai,jC2F⩽0,i,j∈{k,⋆},i≠j.\begin{equation*} \text{trace}(A_{i,j}^{\mathrm{C2}}G)+a_{i,j}^{\mathrm{C2}}F\leqslant0, \qquad i,j\in\{k,\star\},\quad i\ne j. \end{equation*}
Show derivationHide derivation

For each of the two ordered pairs, we use ∇f(y⋆)=0\nabla f(y^\star)=0, expand the squared norms, and substitute the point difference. We then write the extraction matrix explicitly and apply (7). Each ∗\ast in a symmetric matrix denotes the entry determined by symmetry.

For (i,j)=(k,⋆)(i,j)=(k,\star), we obtain

f(y⋆)−f(yk)+⟨∇f(y⋆),yk−y⋆⟩+μ2‖yk−y⋆‖2+12(L−μ)‖∇f(yk)−∇f(y⋆)−μ(yk−y⋆)‖2=f(y⋆)−f(yk)+μ2‖yk−y⋆‖2+12(L−μ)‖∇f(yk)−μ(yk−y⋆)‖2=f(y⋆)−f(yk)+12(L−μ)(μL‖yk−y⋆‖2−2μ⟨yk−y⋆,∇f(yk)⟩+‖∇f(yk)‖2)=f(y⋆)−f(yk)+12(L−μ)trace([μL−μ∗−1]Gram(yk−y⋆,∇f(yk)))=12(L−μ)trace([μL−μ∗−1]Gram((1+α)(xk−x⋆)−α(xk−1−x⋆),∇f(yk)))+ak,⋆C2F=12(L−μ)trace([μL−μ∗−1]Gram(([1+α−α00−01]⊗Id)[xk−x⋆xk−1−x⋆∇f(yk)]))+ak,⋆C2F=trace(Ak,⋆C2Gram(xk−x⋆,xk−1−x⋆,∇f(yk)))+ak,⋆C2F=trace(Ak,⋆C2G)+ak,⋆C2F⩽0,\begin{align*} &f(y^\star)-f(y^k)+\inner{\nabla f(y^\star)}{y^k-y^\star}+\tfrac{\mu}{2}\norm{y^k-y^\star}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^k)-\nabla f(y^\star)-\mu(y^k-y^\star)}^2\\ &=f(y^\star)-f(y^k)+\tfrac{\mu}{2}\norm{y^k-y^\star}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^k)-\mu(y^k-y^\star)}^2\\ &=f(y^\star)-f(y^k)+\tfrac{1}{2(L-\mu)}\bigl(\mu L\norm{y^k-y^\star}^2-2\mu\inner{y^k-y^\star}{\nabla f(y^k)}+\norm{\nabla f(y^k)}^2\bigr)\\ &=f(y^\star)-f(y^k)+\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}(y^k-y^\star,\nabla f(y^k))\right)\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!((1+\alpha)(x^k-x^\star)-\alpha(x^{k-1}-x^\star),\nabla f(y^k))\right)+a_{k,\star}^{\mathrm{C2}}F\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!\left(\left(\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}\otimes I_d\right)\begin{bmatrix}x^k-x^\star\\x^{k-1}-x^\star\\\nabla f(y^k)\end{bmatrix}\right)\right)+a_{k,\star}^{\mathrm{C2}}F\\ &=\text{trace}\bigl(A_{k,\star}^{\mathrm{C2}}\,\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k))\bigr)+a_{k,\star}^{\mathrm{C2}}F\\ &=\text{trace}(A_{k,\star}^{\mathrm{C2}}G)+a_{k,\star}^{\mathrm{C2}}F\leqslant0, \end{align*}

where

Ak,⋆C2=12(L−μ)[1+α−α00−01]⊤[μL−μ∗−1][1+α−α00−01]=12(L−μ)[μL(1+α)2−μLα(1+α)−μ(1+α)∗−μLα2−μα∗−∗−1],ak,⋆C2=−1.\begin{equation*} \begin{aligned} A_{k,\star}^{\mathrm{C2}}&=\tfrac{1}{2(L-\mu)}\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}^{\top}\,\begin{bmatrix}\mu L&\!\!\!\!-\mu\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\,\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}\\[0.6em] &=\tfrac{1}{2(L-\mu)} \begin{bmatrix}\mu L(1+\alpha)^2&\!\!-\mu L\alpha(1+\alpha)&\!\!-\mu(1+\alpha)\\ \ast&\!\!\phantom{-}\mu L\alpha^2&\!\!\phantom{-}\mu\alpha\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1\end{bmatrix},\\[0.4em] a_{k,\star}^{\mathrm{C2}}&=-1. \end{aligned} \end{equation*}

For (i,j)=(⋆,k)(i,j)=(\star,k), we obtain

f(yk)−f(y⋆)+⟨∇f(yk),y⋆−yk⟩+μ2‖y⋆−yk‖2+12(L−μ)‖∇f(y⋆)−∇f(yk)−μ(y⋆−yk)‖2=f(yk)−f(y⋆)−⟨∇f(yk),yk−y⋆⟩+μ2‖yk−y⋆‖2+12(L−μ)‖∇f(yk)−μ(yk−y⋆)‖2=f(yk)−f(y⋆)+12(L−μ)(μL‖yk−y⋆‖2−2L⟨yk−y⋆,∇f(yk)⟩+‖∇f(yk)‖2)=f(yk)−f(y⋆)+12(L−μ)trace([μL−L∗−1]Gram(yk−y⋆,∇f(yk)))=12(L−μ)trace([μL−L∗−1]Gram((1+α)(xk−x⋆)−α(xk−1−x⋆),∇f(yk)))+a⋆,kC2F=12(L−μ)trace([μL−L∗−1]Gram(([1+α−α00−01]⊗Id)[xk−x⋆xk−1−x⋆∇f(yk)]))+a⋆,kC2F=trace(A⋆,kC2Gram(xk−x⋆,xk−1−x⋆,∇f(yk)))+a⋆,kC2F=trace(A⋆,kC2G)+a⋆,kC2F⩽0,\begin{align*} &f(y^k)-f(y^\star)+\inner{\nabla f(y^k)}{y^\star-y^k}+\tfrac{\mu}{2}\norm{y^\star-y^k}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^\star)-\nabla f(y^k)-\mu(y^\star-y^k)}^2\\ &=f(y^k)-f(y^\star)-\inner{\nabla f(y^k)}{y^k-y^\star}+\tfrac{\mu}{2}\norm{y^k-y^\star}^2+\tfrac{1}{2(L-\mu)}\norm{\nabla f(y^k)-\mu(y^k-y^\star)}^2\\ &=f(y^k)-f(y^\star)+\tfrac{1}{2(L-\mu)}\bigl(\mu L\norm{y^k-y^\star}^2-2L\inner{y^k-y^\star}{\nabla f(y^k)}+\norm{\nabla f(y^k)}^2\bigr)\\ &=f(y^k)-f(y^\star)+\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}(y^k-y^\star,\nabla f(y^k))\right)\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!((1+\alpha)(x^k-x^\star)-\alpha(x^{k-1}-x^\star),\nabla f(y^k))\right)+a_{\star,k}^{\mathrm{C2}}F\\ &=\tfrac{1}{2(L-\mu)}\text{trace}\!\left(\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\mathtt{Gram}\!\left(\left(\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}\otimes I_d\right)\begin{bmatrix}x^k-x^\star\\x^{k-1}-x^\star\\\nabla f(y^k)\end{bmatrix}\right)\right)+a_{\star,k}^{\mathrm{C2}}F\\ &=\text{trace}\bigl(A_{\star,k}^{\mathrm{C2}}\,\mathtt{Gram}(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k))\bigr)+a_{\star,k}^{\mathrm{C2}}F\\ &=\text{trace}(A_{\star,k}^{\mathrm{C2}}G)+a_{\star,k}^{\mathrm{C2}}F\leqslant0, \end{align*}

where

A⋆,kC2=12(L−μ)[1+α−α00−01]⊤[μL−L∗−1][1+α−α00−01]=12(L−μ)[μL(1+α)2−μLα(1+α)−L(1+α)∗−μLα2−Lα∗−∗−1],a⋆,kC2=1.\begin{equation*} \begin{aligned} A_{\star,k}^{\mathrm{C2}}&=\tfrac{1}{2(L-\mu)}\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}^{\top}\,\begin{bmatrix}\mu L&\!\!\!\!-L\\\ast&\!\!\!\!\phantom{-}1\end{bmatrix}\,\begin{bmatrix}1+\alpha&\!\!\!\!-\alpha&\!\!\!\!0\\0&\!\!\!\!\phantom{-}0&\!\!\!\!1\end{bmatrix}\\[0.6em] &=\tfrac{1}{2(L-\mu)} \begin{bmatrix}\mu L(1+\alpha)^2&\!\!-\mu L\alpha(1+\alpha)&\!\!-L(1+\alpha)\\ \ast&\!\!\phantom{-}\mu L\alpha^2&\!\!\phantom{-}L\alpha\\ \ast&\!\!\phantom{-}\ast&\!\!\phantom{-}1\end{bmatrix},\\[0.4em] a_{\star,k}^{\mathrm{C2}}&=1. \end{aligned} \end{equation*}

Primal formulation. The Gram characterization (8) and Theorem 1 give the following equivalent finite-dimensional formulation

PC2,d=(maximizeG∈S+3,F∈Rtrace((P−Q)G)+(p−q)Fsubject torank⁡(G)⩽d,trace(Ak,⋆C2G)+ak,⋆C2F⩽0,trace(A⋆,kC2G)+a⋆,kC2F⩽0).\begin{equation*} \mathcal{P}_{\mathrm{C2},d} =\left( \begin{array}{cl} \mathop{\text{maximize}}\limits_{G\in\mathbb{S}_{+}^{3},\,F\in\mathbb{R}} &\text{trace}((P-Q)G)+(p-q)F\\[0.6em] \text{subject to} &\mathop{\text{rank}}\nolimits(G)\leqslant d,\\ &\text{trace}(A_{k,\star}^{\mathrm{C2}}G)+a_{k,\star}^{\mathrm{C2}}F\leqslant0,\\ &\text{trace}(A_{\star,k}^{\mathrm{C2}}G)+a_{\star,k}^{\mathrm{C2}}F\leqslant0 \end{array} \right). \end{equation*}

Dropping the rank constraint gives the primal SDP

PC2SDP=(maximizeG∈S+3,F∈Rtrace((P−Q)G)+(p−q)Fsubject totrace(Ak,⋆C2G)+ak,⋆C2F⩽0,trace(A⋆,kC2G)+a⋆,kC2F⩽0),\begin{equation*} \mathcal{P}_{\mathrm{C2}}^{\mathrm{SDP}} =\left( \begin{array}{cl} \mathop{\text{maximize}}\limits_{G\in\mathbb{S}_{+}^{3},\,F\in\mathbb{R}} &\text{trace}((P-Q)G)+(p-q)F\\[0.6em] \text{subject to} &\text{trace}(A_{k,\star}^{\mathrm{C2}}G)+a_{k,\star}^{\mathrm{C2}}F\leqslant0,\\ &\text{trace}(A_{\star,k}^{\mathrm{C2}}G)+a_{\star,k}^{\mathrm{C2}}F\leqslant0 \end{array} \right), \end{equation*}

and hence

PC2,d⩽PC2SDP.\begin{equation*} \mathcal{P}_{\mathrm{C2},d}\leqslant\mathcal{P}_{\mathrm{C2}}^{\mathrm{SDP}}. \end{equation*}

For d⩾3d\geqslant3, the rank constraint is automatic, so

PC2,d=PC2SDP.\begin{equation*} \mathcal{P}_{\mathrm{C2},d}=\mathcal{P}_{\mathrm{C2}}^{\mathrm{SDP}}. \end{equation*}

Dual formulation. Next, we derive the Lagrange dual of the SDP defining PC2SDP\mathcal{P}_{\mathrm{C2}}^{\mathrm{SDP}}. We associate dual multipliers with the constraints as follows

trace(Ak,⋆C2G)+ak,⋆C2F⩽0:λk,⋆C2⩾0,trace(A⋆,kC2G)+a⋆,kC2F⩽0:λ⋆,kC2⩾0.\begin{align*} \text{trace}(A_{k,\star}^{\mathrm{C2}}G)+a_{k,\star}^{\mathrm{C2}}F\leqslant0 &\qquad:\qquad\lambda_{k,\star}^{\mathrm{C2}}\geqslant0,\\ \text{trace}(A_{\star,k}^{\mathrm{C2}}G)+a_{\star,k}^{\mathrm{C2}}F\leqslant0 &\qquad:\qquad\lambda_{\star,k}^{\mathrm{C2}}\geqslant0. \end{align*}

With the notation λC2=(λk,⋆C2,λ⋆,kC2)\lambda^{\mathrm{C2}}=(\lambda_{k,\star}^{\mathrm{C2}},\lambda_{\star,k}^{\mathrm{C2}}), the Lagrangian is

LC2(G,F,λC2)=trace((P−Q)G)+(p−q)F−λk,⋆C2(trace(Ak,⋆C2G)+ak,⋆C2F)−λ⋆,kC2(trace(A⋆,kC2G)+a⋆,kC2F)=trace((P−Q−λk,⋆C2Ak,⋆C2−λ⋆,kC2A⋆,kC2)G)+(p−q−λk,⋆C2ak,⋆C2−λ⋆,kC2a⋆,kC2)F.\begin{align*} \mathcal{L}_{\mathrm{C2}}(G,F,\lambda^{\mathrm{C2}}) &=\text{trace}((P-Q)G)+(p-q)F -\lambda_{k,\star}^{\mathrm{C2}}\left(\text{trace}(A_{k,\star}^{\mathrm{C2}}G)+a_{k,\star}^{\mathrm{C2}}F\right) -\lambda_{\star,k}^{\mathrm{C2}}\left(\text{trace}(A_{\star,k}^{\mathrm{C2}}G)+a_{\star,k}^{\mathrm{C2}}F\right)\\ &=\text{trace}\left(\left(P-Q-\lambda_{k,\star}^{\mathrm{C2}}A_{k,\star}^{\mathrm{C2}} -\lambda_{\star,k}^{\mathrm{C2}}A_{\star,k}^{\mathrm{C2}}\right)G\right) +\left(p-q-\lambda_{k,\star}^{\mathrm{C2}}a_{k,\star}^{\mathrm{C2}} -\lambda_{\star,k}^{\mathrm{C2}}a_{\star,k}^{\mathrm{C2}}\right)F. \end{align*}

Since GG is positive semidefinite and FF is unrestricted, the objective of the Lagrange dual is

supG∈S+3,F∈R⁡LC2(G,F,λC2)={0,if {P−Q−λk,⋆C2Ak,⋆C2−λ⋆,kC2A⋆,kC2≼0,p−q−λk,⋆C2ak,⋆C2−λ⋆,kC2a⋆,kC2=0,+∞,otherwise.\begin{equation*} \mathop{\text{sup}}\limits_{G\in\mathbb{S}_{+}^{3},\,F\in\mathbb{R}} \mathcal{L}_{\mathrm{C2}}(G,F,\lambda^{\mathrm{C2}}) =\begin{cases} 0,&\text{if }\begin{cases} P-Q-\lambda_{k,\star}^{\mathrm{C2}}A_{k,\star}^{\mathrm{C2}}-\lambda_{\star,k}^{\mathrm{C2}}A_{\star,k}^{\mathrm{C2}}\preccurlyeq0,\\[0.25em] p-q-\lambda_{k,\star}^{\mathrm{C2}}a_{k,\star}^{\mathrm{C2}}-\lambda_{\star,k}^{\mathrm{C2}}a_{\star,k}^{\mathrm{C2}}=0, \end{cases}\\[0.4em] +\infty,&\text{otherwise}. \end{cases} \end{equation*}

Minimizing this objective over the non­negative multipliers gives the dual SDP

DC2SDP=(minimizeλk,⋆C2,λ⋆,kC2∈R0subject toλk,⋆C2,λ⋆,kC2⩾0,Q−P+λk,⋆C2Ak,⋆C2+λ⋆,kC2A⋆,kC2≽0,λk,⋆C2ak,⋆C2+λ⋆,kC2a⋆,kC2−(p−q)=0.).\begin{equation*} \mathcal{D}_{\mathrm{C2}}^{\mathrm{SDP}} =\left( \begin{array}{cl} \mathop{\text{minimize}}\limits_{\lambda_{k,\star}^{\mathrm{C2}},\lambda_{\star,k}^{\mathrm{C2}}\in\mathbb{R}} &0\\[0.6em] \text{subject to} &\lambda_{k,\star}^{\mathrm{C2}},\lambda_{\star,k}^{\mathrm{C2}}\geqslant0,\\ &Q-P+\lambda_{k,\star}^{\mathrm{C2}}A_{k,\star}^{\mathrm{C2}} +\lambda_{\star,k}^{\mathrm{C2}}A_{\star,k}^{\mathrm{C2}}\succcurlyeq0,\\ &\lambda_{k,\star}^{\mathrm{C2}}a_{k,\star}^{\mathrm{C2}} +\lambda_{\star,k}^{\mathrm{C2}}a_{\star,k}^{\mathrm{C2}}-(p-q)=0. \end{array} \right). \end{equation*}

The primal relaxation and weak duality give

PC2,d⩽PC2SDP⩽DC2SDP.\begin{equation*} \mathcal{P}_{\mathrm{C2},d}\leqslant\mathcal{P}_{\mathrm{C2}}^{\mathrm{SDP}} \leqslant\mathcal{D}_{\mathrm{C2}}^{\mathrm{SDP}}. \end{equation*}

If (18) is feasible, then DC2SDP=0\mathcal{D}_{\mathrm{C2}}^{\mathrm{SDP}}=0, which proves V(k)⩾M(k)\mathcal{V}(k)\geqslant\mathcal{M}(k) in every dimension.

Necessity. Suppose d⩾3d\geqslant3 and V(k)⩾M(k)\mathcal{V}(k)\geqslant\mathcal{M}(k) holds along every trajectory. Exactness and feasibility of (G,F)=(0,0)(G,F)=(0,0) give PC2SDP=0\mathcal{P}_{\mathrm{C2}}^{\mathrm{SDP}}=0.

To prove feasibility of (18), equivalently of the dual SDP defining DC2SDP\mathcal{D}_{\mathrm{C2}}^{\mathrm{SDP}}, we verify the refined Slater condition for the primal SDP defining PC2SDP\mathcal{P}_{\mathrm{C2}}^{\mathrm{SDP}}. Since the interpolation constraints are affine in (G,F)(G,F), a feasible pair with G≻0G\succ0 suffices [BV04, Section 5.2.3]. Choose μ<ℓ1<ℓ2<ℓ3<L\mu<\ell_1<\ell_2<\ell_3<L and set

H=diag⁡(ℓ1,ℓ2,ℓ3),f(x)=12x⊤Hx,x⋆=0,Z=[xkxk−1∇f(yk)]=[xkxk−1Hyk]∈R3×3,G=Gram(xk,xk−1,∇f(yk))=Z⊤Z,F=f(yk)−f(0).\begin{equation*} \begin{aligned} H&=\mathop{\text{diag}}(\ell_1,\ell_2,\ell_3), \qquad f(x)=\tfrac12x^{\top}Hx, \qquad x^\star=0,\\[0.5em] Z&=\begin{bmatrix}x^k&x^{k-1}&\nabla f(y^k)\end{bmatrix}=\begin{bmatrix}x^k&x^{k-1}&Hy^k\end{bmatrix}\in\mathbb{R}^{3\times3},\\[0.5em] G&=\mathtt{Gram}(x^k,x^{k-1},\nabla f(y^k))=Z^{\top}Z,\\[0.5em] F&=f(y^k)-f(0). \end{aligned} \end{equation*}

Because f∈Fμ,L(R3)f\in\mathcal{F}_{\mu,L}(\mathbb{R}^{3}), these data satisfy the interpolation constraints, i.e.,

trace(Ai,jC2G)+ai,jC2F⩽0,i,j∈{k,⋆},i≠j.\begin{equation*} \text{trace}(A_{i,j}^{\mathrm{C2}}G)+a_{i,j}^{\mathrm{C2}}F\leqslant0, \qquad i,j\in\{k,\star\},\quad i\ne j. \end{equation*}

We choose the initial points so that ZZ is nonsingular:

  • If α≠−1\alpha\ne-1, take

    xk=(1,1,0),xk−1=(0,0,1),|detZ|=|1+α|(ℓ2−ℓ1)>0.\begin{equation*} \begin{gathered} x^k=(1,1,0),\qquad x^{k-1}=(0,0,1),\\[0.5em] |\det Z| =|1+\alpha|(\ell_2-\ell_1)>0. \end{gathered} \end{equation*}
  • If α=−1\alpha=-1, take

    xk=(1,0,0),xk−1=(0,1,1),|detZ|=ℓ3−ℓ2>0.\begin{equation*} \begin{gathered} x^k=(1,0,0),\qquad x^{k-1}=(0,1,1),\\[0.5em] |\det Z| =\ell_3-\ell_2>0. \end{gathered} \end{equation*}

Thus G=Z⊤Z≻0G=Z^{\top}Z\succ0 in both cases. The refined Slater condition therefore gives

PC2,d=PC2SDP=DC2SDP=0.\begin{equation*} \mathcal{P}_{\mathrm{C2},d}=\mathcal{P}_{\mathrm{C2}}^{\mathrm{SDP}}=\mathcal{D}_{\mathrm{C2}}^{\mathrm{SDP}}=0. \end{equation*}

In particular, the dual SDP is feasible, and its multipliers satisfy (18).

Searching for a Lyapunov function. We now let the parameters Q,qQ,q defining V\mathcal{V} vary and minimize ρ\rho subject to both tests in Theorem 3. The resulting problem has bilinear terms ρQ\rho Q and ρq\rho q, but becomes an SDP feasibility problem when ρ\rho is fixed. We denote its optimal value by

(21)ρ⋆(P,p,γ,α,β,μ,L)=(minimizeρ∈[0,1), Q∈S3, q∈Rλi,jC1∈R, i,j∈{k,k+1,⋆}, i≠jλk,⋆C2,λ⋆,kC2∈Rρsubject toλi,jC1⩾0,i,j∈{k,k+1,⋆},i≠j,λk,⋆C2,λ⋆,kC2⩾0,∑i,j∈{k,k+1,⋆}i≠jλi,jC1Ai,jC1−(S+⊤QS+−ρS⊤QS)≽0,∑i,j∈{k,k+1,⋆}i≠jλi,jC1ai,jC1−q[−ρ−1]=0,Q−P+λk,⋆C2Ak,⋆C2+λ⋆,kC2A⋆,kC2≽0,λk,⋆C2ak,⋆C2+λ⋆,kC2a⋆,kC2−(p−q)=0).\begin{equation} \label{eq:memory-lyapunov-search} \rho^\star(P,p,\gamma,\alpha,\beta,\mu,L) =\left( \begin{array}{cl} \mathop{\text{minimize}}\limits_{\substack{ \rho\in[0,1),\ Q\in\mathbb{S}^{3},\ q\in\mathbb{R}\\ \lambda_{i,j}^{\mathrm{C1}}\in\mathbb{R},\ i,j\in\{k,k+1,\star\},\ i\ne j\\ \lambda_{k,\star}^{\mathrm{C2}},\lambda_{\star,k}^{\mathrm{C2}}\in\mathbb{R} }} &\rho\\[0.6em] \text{subject to} &\lambda_{i,j}^{\mathrm{C1}}\geqslant0,\quad i,j\in\{k,k+1,\star\},\quad i\ne j,\\ &\lambda_{k,\star}^{\mathrm{C2}},\lambda_{\star,k}^{\mathrm{C2}}\geqslant0,\\ &\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}^{\mathrm{C1}}A_{i,j}^{\mathrm{C1}} -(S_+^{\top}QS_+-\rho S^{\top}QS)\succcurlyeq0,\\ &\displaystyle\sum_{\substack{i,j\in\{k,k+1,\star\}\\i\ne j}}\lambda_{i,j}^{\mathrm{C1}}a_{i,j}^{\mathrm{C1}} -q\begin{bmatrix}-\rho\\\phantom{-}1\end{bmatrix}=0,\\ &Q-P+\lambda_{k,\star}^{\mathrm{C2}}A_{k,\star}^{\mathrm{C2}} +\lambda_{\star,k}^{\mathrm{C2}}A_{\star,k}^{\mathrm{C2}}\succcurlyeq0,\\ &\lambda_{k,\star}^{\mathrm{C2}}a_{k,\star}^{\mathrm{C2}} +\lambda_{\star,k}^{\mathrm{C2}}a_{\star,k}^{\mathrm{C2}}-(p-q)=0 \end{array} \right). \end{equation}

Two observations allow us to use bisection with an SDP solver:

  1. SDP feasibility. With ρ\rho fixed, the constraints in (21) are affine in Q,qQ,q and the multipliers λC1,λC2\lambda^{\mathrm{C1}},\lambda^{\mathrm{C2}}, so we have an SDP feasibility problem.

  2. Monotonicity. If (21) is feasible at ρ\rho, it is feasible at every ρ′∈(ρ,1)\rho'\in(\rho,1).

    Show proofHide proof

    A feasible point gives V(k)⩾M(k)⩾0\mathcal{V}(k)\geqslant\mathcal{M}(k)\geqslant0. Hence

    V(k+1)⩽ρV(k)⩽ρ′V(k).\begin{equation*} \mathcal{V}(k+1)\leqslant\rho\mathcal{V}(k)\leqslant\rho'\mathcal{V}(k). \end{equation*}

    Since (21) does not depend on dd, we can take d=4d=4 and apply the necessity part of Theorem 3 to obtain C1 multipliers λC1\lambda^{\mathrm{C1}} for ρ′\rho', with the same Q,qQ,q. Together with the original C2 multipliers λC2\lambda^{\mathrm{C2}}, these give a feasible point of (21) at ρ′\rho'.

We can therefore use bisection to search for the smallest contraction factor ρ\rho certifiable by (21), which is also the smallest factor within the class of Lyapunov functions in (15) when d⩾4d\geqslant4.

3.4 Numerical results

The numerical results were obtained with MOSEK [Mos26].

For M(k)=‖xk−x⋆‖2\mathcal{M}(k)=\|x^k-x^\star\|^2, we now use numerical bisection to estimate the optimal value of (21) for the four methods in Section 3.1, using the parameters given there. Figure 4 compares the results with and without the additional constraints Q≽0Q\succcurlyeq0 and q⩾0q\geqslant0.

(a) Gradient method

(b) Heavy-ball method

(c) Nesterov’s method

(d) Triple momentum method

Loading figure…

Without additional constraints With additional constraints
Figure 4: Contraction factors for (21) without additional constraints (solid gray) and with the additional constraints Q≽0Q\succcurlyeq0 and q⩾0q\geqslant0 (dashed black), as the condition number L/μL/\mu varies. Gaps mark samples where no contraction factor below 11 was found.

For the parameter choices in Section 3.1, the optimal value ρ⋆\rho^\star of (21) depends only on the ratio L/μL/\mu, which explains the horizontal axis in Figure 4 and allows us to compute the curves with L=1L=1 and μ∈(0,1)\mu\in(0,1).

Show proofHide proof

For 0<μ<L0<\mu<L, set

f~=1Lf,μ~=μL∈(0,1).\begin{equation*} \widetilde f=\tfrac{1}{L}f, \qquad \widetilde\mu=\tfrac{\mu}{L}\in(0,1). \end{equation*}

Positive scaling preserves the minimizer x⋆x^\star and gives

f∈Fμ,L(Rd)⟺f~∈Fμ~,1(Rd).\begin{equation*} f\in\mathcal{F}_{\mu,L}(\mathbb{R}^d) \quad\Longleftrightarrow\quad \widetilde f\in\mathcal{F}_{\widetilde\mu,1}(\mathbb{R}^d). \end{equation*}

For each method in Section 3.1, evaluating the same parameter formulas at (μ~,1)(\widetilde\mu,1) gives

γ~=Lγ,α~=α,β~=β.\begin{equation*} \widetilde\gamma=L\gamma, \qquad \widetilde\alpha=\alpha, \qquad \widetilde\beta=\beta. \end{equation*}

The gradient term in (14) is unchanged, since

γ~∇f~(yk)=Lγ1L∇f(yk)=γ∇f(yk).\begin{equation*} \widetilde\gamma\nabla\widetilde f(y^k) =L\gamma\,\tfrac{1}{L}\nabla f(y^k) =\gamma\nabla f(y^k). \end{equation*}

Thus the two meth­ods generate the same iterates from the same initial points.

To transform the Lyapunov function, let D=diag⁡(1,1,L)D=\mathop{\text{diag}}(1,1,L) and write

zk=(xk−x⋆,xk−1−x⋆,∇f(yk)),z~k=(xk−x⋆,xk−1−x⋆,∇f~(yk)),zk=(D⊗Id)z~k.\begin{equation*} \begin{aligned} z^k&=(x^k-x^\star,x^{k-1}-x^\star,\nabla f(y^k)),\\ \widetilde z^k&=(x^k-x^\star,x^{k-1}-x^\star,\nabla\widetilde f(y^k)),\\ z^k&=(D\otimes I_d)\widetilde z^k. \end{aligned} \end{equation*}

The corresponding change of coefficients, together with its inverse, is

Q~=D⊤QD,Q=D−⊤Q~D−1,q~=Lq,q=1Lq~.\begin{equation*} \begin{alignedat}{2} \widetilde Q&=D^{\top}QD,\qquad &Q&=D^{-\top}\widetilde QD^{-1},\\[0.4em] \widetilde q&=Lq, &q&=\tfrac{1}{L}\widetilde q. \end{alignedat} \end{equation*}

Substitution in (15) gives

V~(k)=⟨z~k,(Q~⊗Id)z~k⟩+q~(f~(yk)−f~(x⋆))=⟨zk,(Q⊗Id)zk⟩+q(f(yk)−f(x⋆))=V(k).\begin{equation*} \begin{aligned} \widetilde{\mathcal{V}}(k) &=\inner{\widetilde z^k}{(\widetilde Q\otimes I_d)\widetilde z^k}+\widetilde q(\widetilde f(y^k)-\widetilde f(x^\star))\\ &=\inner{z^k}{(Q\otimes I_d)z^k}+q(f(y^k)-f(x^\star))\\ &=\mathcal{V}(k). \end{aligned} \end{equation*}

For Figure 4, P=diag⁡(1,0,0)P=\mathop{\text{diag}}(1,0,0) and p=0p=0, so M(k)=‖xk−x⋆‖2\mathcal{M}(k)=\norm{x^k-x^\star}^2 is also unchanged. Hence (C1) and (C2) hold with the same ρ\rho in either setting.

Since (21) does not depend on dd, Theorem 3 at d=4d=4 gives equivalent SDP feasibility before and after normalization. The optimal values therefore agree:

ρ⋆(P,0,γ,α,β,μ,L)=ρ⋆(P,0,Lγ,α,β,μL,1).\begin{equation*} \rho^\star(P,0,\gamma,\alpha,\beta,\mu,L) =\rho^\star(P,0,L\gamma,\alpha,\beta,\tfrac{\mu}{L},1). \end{equation*}

The right-hand side depends only on μ/L\mu/L for the parameter choices in Section 3.1. The same argument applies when the additional constraints are imposed, because

Q≽0⟺Q~≽0,q⩾0⟺q~⩾0.\begin{equation*} Q\succcurlyeq0\quad\Longleftrightarrow\quad\widetilde Q\succcurlyeq0, \qquad q\geqslant0\quad\Longleftrightarrow\quad\widetilde q\geqslant0. \end{equation*}

Conclusions. Removing the additional constraints Q≽0Q\succcurlyeq0 and q⩾0q\geqslant0 can improve the certified contraction factors. For triple momentum at larger condition numbers, the search without these additional constraints still certifies contraction, while no factor below 11 is found when they are imposed. The restricted family includes familiar choices such as squared distance to the solution, function-value suboptimality, and squared gradient norm, illustrating the value of searching over a more flexible class of Lyapunov functions.

4. Going further

Both examples use semi­definite programming to combine valid inequalities into a Lyapunov certificate, either for a fixed Lyapunov function or while searching for one within a chosen family.

The theoretical framework in [UBTG25] extends these ideas beyond the contraction bounds considered here. It covers sublinear con­ver­gence guarantees and splitting meth­ods, including proximal gradient and Douglas–Rachford.

AutoLyap, described in [UDGT+26], supports broader classes of op­ti­mi­za­tion and in­clu­sion prob­lems, iteration-dependent meth­ods and anal­y­ses, and richer families of Lyapunov functions. Users specify the problem class, method, and desired Lyapunov analysis through a high-level interface. The software constructs and numerically solves the corresponding SDPs. Its documentation provides worked examples.

Acknowledgements and use of generative AI. I thank Adrien Taylor and Adrien Banse for their helpful comments and suggestions. Large language models (LLMs) were used to help produce figures, correct typos, and improve wording.

Cite this post.

@misc{upadhyaya2026lyapunov,
  author = {Upadhyaya, Manu},
  title = {Computer-aided {Lyapunov} analyses in optimization},
  year = {2026},
  howpublished = {Technical blog post},
  publisher = {Zenodo},
  doi = {10.5281/zenodo.23521024},
  url = {https://manuupadhyaya.github.io/blog/computer-aided-lyapunov-analyses-in-optimization/},
}

References

  1. [Bec17]

    Amir Beck. First-Order Meth­ods in Op­ti­mi­za­tion. SIAM, 2017. doi:10.1137/1.9781611974997.

  2. [BV04]

    Stephen Boyd and Lieven Vandenberghe. Convex Op­ti­mi­za­tion. Cambridge Uni­ver­sity Press, 2004. URL.

  3. [DT22]

    Yoel Drori and Adrien Taylor. On the oracle complexity of smooth strongly convex minimization. Journal of Complexity, 68:101590, 2022. doi:10.1016/j.jco.2021.101590.

  4. [DT14]

    Yoel Drori and Marc Teboulle. Performance of first-order meth­ods for smooth convex minimization: A novel approach. Mathematical Programming, 145(1–2):451–482, 2014. doi:10.1007/s10107-013-0653-0.

  5. [Gan22]

    Oran Gannot. A frequency-domain analysis of inexact gradient meth­ods. Mathematical Programming, 194:975–1016, 2022. doi:10.1007/s10107-021-01665-8.

  6. [Gen98]

    James E. Gentle. Numerical Linear Algebra for Applications in Statistics. Springer, 1998. doi:10.1007/978-1-4612-0623-1.

  7. [GMG+24]

    Baptiste Goujaud, Céline Moucer, François Glineur, Julien M. Hendrickx, Adrien B. Taylor, and Aymeric Dieuleveut. PEPit: Computer-assisted worst-case anal­y­ses of first-order op­ti­mi­za­tion meth­ods in Python. Mathematical Programming Computation, 16:337–367, 2024. doi:10.1007/s12532-024-00259-7.

  8. [LRP16]

    Laurent Lessard, Benjamin Recht, and Andrew Packard. Analysis and design of op­ti­mi­za­tion algorithms via integral quadratic constraints. SIAM Journal on Op­ti­mi­za­tion, 26(1):57–95, 2016. doi:10.1137/15M1009597.

  9. [MR97]

    Alexandre Megretski and Anders Rantzer. System analysis via integral quadratic constraints. IEEE Transactions on Automatic Control, 42(6):819–830, 1997. doi:10.1109/9.587335.

  10. [MSE21]

    Simon Michalowsky, Carsten Scherer, and Christian Ebenbauer. Robust and structure exploiting optimisation algorithms: An integral quadratic constraint approach. International Journal of Control, 94(11):2956–2979, 2021. doi:10.1080/00207179.2020.1745286.

  11. [Nes18]

    Yurii Nesterov. Lectures on Convex Op­ti­mi­za­tion. 2nd ed., Springer, 2018. doi:10.1007/978-3-319-91578-4.

  12. [Pol63]

    Boris T. Polyak. Gradient meth­ods for the minimisation of functionals. USSR Computational Math­e­mat­ics and Mathematical Physics, 3(4):864–878, 1963. doi:10.1016/0041-5553(63)90382-3.

  13. [Pol64]

    Boris T. Polyak. Some meth­ods of speeding up the con­ver­gence of iteration meth­ods. USSR Computational Math­e­mat­ics and Mathematical Physics, 4(5):1–17, 1964. doi:10.1016/0041-5553(64)90137-5.

  14. [Tay20]

    Adrien Taylor. Computer-aided anal­y­ses in op­ti­mi­za­tion. Machine Learning Research Blog, 2020. URL.

  15. [TB19]

    Adrien Taylor and Francis Bach. Stochastic first-order meth­ods: Non-asymptotic and computer-aided anal­y­ses via potential functions. Proceedings of the Thirty-Second Conference on Learning Theory, 99:2934–2992, 2019. URL.

  16. [TVSL18]

    Adrien Taylor, Bryan Van Scoy, and Laurent Lessard. Lyapunov functions for first-order meth­ods: Tight auto­mated con­ver­gence guarantees. Proceedings of the 35th International Conference on Machine Learning, 80:4897–4906, 2018. URL.

  17. [THG17]

    Adrien B. Taylor, Julien M. Hendrickx, and François Glineur. Smooth strongly convex interpolation and exact worst-case performance of first-order meth­ods. Mathematical Programming, 161:307–345, 2017. doi:10.1007/s10107-016-1009-3.

  18. [THG18]

    Adrien B. Taylor, Julien M. Hendrickx, and François Glineur. Exact worst-case con­ver­gence rates of the proximal gradient method for composite convex minimization. Journal of Op­ti­mi­za­tion Theory and Applications, 178(2):455–476, 2018. doi:10.1007/s10957-018-1298-1. arXiv:1705.04398v4.

  19. [TUG+26]

    Daniel Berg Thomsen, Manu Upadhyaya, Baptiste Goujaud, Aymeric Dieuleveut, and Adrien Taylor. Finding Simple Proofs for First-Order Op­ti­mi­za­tion. 2026. arXiv:2607.08753v1.

  20. [UBTG25]

    Manu Upadhyaya, Se­bas­tian Ba­nert, Adrien B. Taylor, and Pon­tus Gi­sels­son. Auto­mated tight Lyapunov analysis for first-order meth­ods. Mathematical Programming, 209:133–170, 2025. doi:10.1007/s10107-024-02061-8.

  21. [UDGT+26]

    Manu Upadhyaya, Shuvomoy Das Gupta, Adrien B. Taylor, Se­bas­tian Ba­nert, and Pon­tus Gi­sels­son. The AutoLyap software suite for computer-assisted Lyapunov anal­y­ses of first-order meth­ods. 2026. arXiv:2506.24076v2.

  22. [UV22]

    André Uschmajew and Bart Vandereycken. A note on the optimal con­ver­gence rate of descent meth­ods with fixed step sizes for smooth strongly convex functions. Journal of Op­ti­mi­za­tion Theory and Applications, 194:364–373, 2022. doi:10.1007/s10957-022-02032-z.

  23. [VSFL18]

    Bryan Van Scoy, Randy A. Freeman, and Kevin M. Lynch. The fastest known globally convergent first-order method for minimizing strongly convex functions. IEEE Control Systems Letters, 2(1):49–54, 2018. doi:10.1109/LCSYS.2017.2722406.

  24. [Mos26]

    MOSEK ApS. MOSEK Fusion API for Python. Version 11.2. 2026. URL.

  25. [dKGT20]

    Etienne de Klerk, François Glineur, and Adrien B. Taylor. Worst-case con­ver­gence analysis of inexact gradient and Newton meth­ods through semi­definite programming performance estimation. SIAM Journal on Op­ti­mi­za­tion, 30(3):2053–2082, 2020. doi:10.1137/19M1281368.