The Aharonov–Regev proof that GapCVP cn lies in NP ∩ coNP uses a verifier that tests dual lattice vectors; its proof gives c=100. We study this verifier through a linear program in which a certificate is modeled as a sample from a probability distribution on the dual lattice. This viewpoint gives an exact analysis of the close-target tests: adding gradient and Hessian checks increases the certified close radius from σ−1/4 to σ−13/16, and higher derivatives cannot improve it within this framework. With Gaussian certificates for far targets, we obtain GapCVP cn, GapSVP cn∈NP∩coNP for every c>2/(π3)≈0.3676. An appendix gives a finite-bit implementation of the verifier. We also show that the Gaussian certificate is not always optimal and solve the unbounded-support program exactly for targets of order two, where its value is determined by the spectral capacity of an odd dual coset.
1 Introduction
Let L=BZn be a full-rank lattice in Rn, t∈Rn a target, and
dist(t,L)=v∈Lmin∥t−v∥.
For γ≥1 the promise problem GapCVPγ asks to decide whether dist(t,L)≤r (YES) or dist(t,L)>γr (NO), given (B,t,r) with rational entries; GapSVPγ is the analogous problem for the length λ1(L) of a shortest nonzero lattice vector. Aharonov and Regev [1] proved that for an absolute constant c,
GapCVPcn∈NP∩coNPandGapSVPcn∈NP∩coNP.(1.1)
Their coNP certificate for a NO instance is a list W=(w1,…,wN) of dual lattice vectors, and the verifier checks that the matrix ∑iwiwi⊤ has bounded largest eigenvalue and that the trigonometric sum
fW(t′)=N1i=1∑Ncos(2π⟨wi,t′⟩)
∗AI Use Disclosure: The main idea and framework are due to the author, and Claude Fable 5 assisted in the research and the writing of the paper.
at the (rescaled) target is below a threshold. The theorem is the basic obstacle to proving NP-hardness of lattice problems at polynomial approximation factors: NP-hardness of GapCVP cn under deterministic many-one reductions, or under Cook reductions that make only queries satisfying the promise, would imply NP = coNP.
Until recently the constant c was of no practical importance, because the best NP-hardness results for Euclidean GapCVP were at factor na/loglogn [4], far below any polynomial. That has changed: Song [12] gives a deterministic polynomial-time reduction from 3SAT establishing NP-hardness of GapCVPn1/2−ϵ for every fixed ϵ>0. The gap between what is provably hard and what is in NP ∩ coNP is therefore now the interval [n1/2−ϵ,cn]: the exponents agree up to ϵ, and what remains is a factor nϵ on the hardness side and the constant c on the NP ∩ coNP side. This paper is about the constant. The paper [1] states (1.1) with an unspecified c; reading its proof, one finds that it certifies c=100 (close instances are rescaled to distance 1/100, far instances to distance n), and to our knowledge no smaller value has been established since.
Our approach is to regard a certificate as a sample from a probability distribution on the dual lattice and the verifier, which sees only the empirical distribution of the sample, as a linear program over such distributions. Recall that a verifier for the coNP side of GapCVP γ is a deterministic polynomial-time algorithm that receives an instance (B,t,r) together with a string of polynomial length, the certificate, and accepts or rejects by checking a finite list of inequalities, its tests. It must be sound, rejecting every YES instance whatever the certificate, and complete, accepting every NO instance for some certificate; the existence of such a verifier is what GapCVP γ∈coNP means. All verifiers in this paper first rescale the instance by a factor that makes the YES instances those with dist(t′,L′)≤rk, where the close radius rk depends only on n and the parameters of the verifier (the index k is the order of its derivative tests, Section 3), and then apply tests that do not involve r.
Certificates as samples from a probability distribution. In the verifier of Aharonov and Regev, and in all verifiers of this paper, a certificate is a list W=(w1,…,wN) of vectors of the dual lattice L′∗ of the rescaled lattice, given by their integer coefficients. Such a list is meant to be a sample from a probability distribution on L′∗. Since L′∗ is a countable set, a probability distribution on it is given by its masses: a function P:L′∗→[0,1] with ∑w∈L′∗P(w)=1, which assigns to a set A⊆L′∗ the probability P(A)=∑w∈AP(w) and to a function φ on L′∗ the expectation EPφ=∑wP(w)φ(w). The example that matters is the discrete Gaussian distribution
The verifier of Aharonov and Regev is designed for a certificate that is such a sample: completeness is proved with w1,…,wN drawn independently from DL′∗, and the tests are that every wi lies in L′∗, the spectral test N1∑iwiwi⊤⪯σ2I, and the threshold test fW(t′)<τ. Throughout, σ2 is the spectral bound; for Gaussian samples the expected value of N1∑iwiwi⊤ is at most 2π1I (Lemma 6), so the natural choice is σ2=(1+o(1))/2π, and every radius below scales as σ−1.
Soundness, on the other hand, must hold for every list whatever, sampled from some distribution or not, and the verifier applies the same tests to every list. These tests never use the order of the list, and all of them are averages over it: they depend on W only through its empirical distribution
PW(w):=N#{i:wi=w}(w∈L′∗),
the fraction of the entries of the list equal to w, repeated entries being counted with their multiplicity. This is a probability distribution on L′ in the sense above, with finite support and rational masses, and for every function φ
EPWφ=w∈L′∗∑PW(w)φ(w)=N1i=1∑Nφ(wi).
When the list is a sample from P, its empirical distribution is close to P: for every bounded φ the average N1∑iφ(wi) concentrates around EPφ, by Hoeffding's inequality, and likewise for matrix-valued φ by the matrix Bernstein inequality (Lemmas 7 and 8). There are thus two distributions in play: a distribution P from which a certificate may be sampled, and the empirical distribution PW of the certificate actually received. The verifier sees only PW.
Each test of the verifier is therefore a linear constraint on PW: dual membership is a constraint on the support, the spectral test says EPWww⊤⪯σ2I, a linear matrix inequality, and the threshold test bounds the linear functional EPWcos(2π⟨w,t′⟩). We call a verifier all of whose tests are of this kind a linear verifier (Definition 10); the Aharonov–Regev verifier and all the verifiers of this paper are linear, while a verifier that, say, runs a lattice algorithm on W is not. A linear verifier is described by its feasible set F(L′,t′), the convex set of probability distributions on L′∗ satisfying its constraints other than the threshold test, and by the value
Φ(L′,t′):=P∈F(L′,t′)infEPcos(2π⟨w,t′⟩)
of the resulting linear program. The empirical distribution of an accepted certificate is feasible with objective below τ; conversely, a feasible distribution supported on vectors of polynomial norm with objective below τ yields an accepted certificate by sampling, at the cost of the slack of concentration (Theorem 34). So, up to that slack, the verifier accepts the pair (L′,t′) for some certificate if and only if Φ(L′,t′)<τ. A prover is any rule that produces a feasible distribution for the pairs it must certify, efficient or not, since coNP asks only for existence. The Gaussian prover, which is the one of Aharonov and Regev, takes P=DL′; an optimal prover takes distributions whose objective equals or approaches Φ(L′,t′). (For the spectral and gradient tests the infimum is attained, since the bounded second moments make the feasible set compact for weak convergence; with the Hessian test it need not be, Theorem 37.)
The close side and the far side. The targets t′ with dist(t′,L′)≤rk form the close side: there the verifier must reject every certificate. Soundness is the statement
Φ(L′,t′)≥τwheneverdist(t′,L′)≤rk,
and it is proved by exhibiting, for each such pair, a dual solution of the program with value at least τ: on the close side the dual solution is an envelope inequality in the phases of the certificate
(below). The targets with dist(t′,L′)>γrk form the far side: there some certificate must be accepted. Completeness at factor γ is the statement
Φ(L′,t′)<τwheneverdist(t′,L′)>γrk,
and it is proved by exhibiting a feasible distribution with small objective; what a prover must overcome is the dual solution of the far side, a quadratic form M⪰0 with cos(2π⟨w,t′⟩)+w⊤Mw≥λ on L′. The far threshold of a prover (or of the verifier, for an optimal prover) is the least c′ such that, at the spectral level σ2=1/2π, the prover certifies every target at distance greater than c′n, for all large n. The constant c of the verifier, the smallest with γ=cn, is then in the limit of large n the ratio of the far threshold to the close radius at the same spectral level (Theorem 34): the two sides are the same program read at different targets. The duality theory of Section 4 applies to every linear verifier with a strictly feasible point (Remark 19); the exact results of Section 5 and the identification of the constant in Section 7 are proved for the verifiers that test derivatives of fW at the target.
Duality and transference. Two dualities meet in this problem. The first is the duality between a lattice and its dual, the subject of transference theorems, inequalities between primal and dual invariants such as Banaszczyk's bound n/2 on the product of the covering radius of L and λ1(L∗) [2]. Banaszczyk proves them with the coset mass function
fL(x)=ρ(L)ρ(L+x)=Ew∼DL∗cos(2π⟨w,x⟩),
which is at least e−πdist(x,L)2 near the lattice and at most β(c)n at distance cn when c>1/2π (Lemma 5), and his transference theorems place GapCVPn and GapSVPn in coNP; the theorem of Aharonov and Regev improves this factor n to cn. Their verifier is Banaszczyk's proof made checkable. The expectation over DL∗ becomes an average over N samples; the far bound survives sampling, by Hoeffding's inequality, but the near bound rests on the positivity of the Gaussian weights and cannot be checked on a list, and the spectral test together with the Taylor bound cosφ≥1−φ2/2 takes its place; the spectral level 1/2π is itself a transference fact (Lemma 6).
The second is linear-programming duality, and it makes the connection exact. If t′=y+e with y∈L′, then cos(2π⟨w,t′⟩)=cos(2π⟨w,e⟩) for w∈L′, and the inequality cos2πθ+4πθ2≥π/4, valid for all real θ (Lemma 22), gives a solution of the dual program (Theorem 18),
M=4πee⊤,λ=4π,ofvalueλ−σ2trM=4π−4πσ2∥e∥2,
which is at least τ exactly when ∥e∥ is at most the close radius. Soundness is thus the statement that every close target has a dual certificate of rank one, built from its offset. The Taylor bound gives the certificate M=2π2ee⊤, λ=1, which is weaker for small τ and with τ=21 and σ2=3 yields the radius 1/(2π3) behind the constant 100; the derivative tests add dual multipliers u∥e and U∝ee⊤ (Remark 20). The dual program admits every M⪰0, not only those of rank one, so it is a convex relaxation of closeness, and completeness at distance cn is the statement that no far target has a dual certificate: a transference theorem from the phases ⟨w,t′⟩ of the dual vectors to the distance of the target. Banaszczyk's Gaussian argument proves it for every c>1/2π, because integrating the dual inequality against DL′ is weak duality with the Gaussian prover as the feasible point. The constant of a verifier is the gap of this relaxation, measured in units of the close radius. At targets of order two the relaxation becomes the spectral capacity of the odd part of the dual lattice, and completeness there is a coset analogue of Banaszczyk's transference theorem in which λ1(L∗) is replaced by this capacity (Section 7.3).
1.1 Results
Phases and the phase program. On the close side the program reduces to one real variable. For a target t′ with closest lattice point y and offset e=t′−y, the phases of a certificate are the real numbers θi=⟨wi,e⟩; since ⟨wi,y⟩∈Z, every test on the derivatives of fW at t′ is a statement about the empirical distribution of the phases: the spectral test implies N1∑iθi2≤σ2∥e∥2, the threshold test is N1∑icos2πθi<τ, and the m-th derivative of fW at t′ in the direction e is (2π)m times the average of θimcos(2πθi+mπ/2) (Lemma 12). The close side of a verifier that tests the spectral condition, the threshold and the first k derivatives is therefore governed by the phase program
the infimum over all probability distributions of a real random variable θ with E∣θ∣max(2,k)<∞: a certificate with fW(t′)≤0 forces σ2∥e∥2≥vk, so the close radius is σ−1vk in the limit of vanishing tolerances. Our first result solves (1.2) for every k; in its statement, and throughout the paper, δa denotes the probability distribution with mass 1 at the point a.
Theorem 1 (The close side). v0=161, v1=81, and vk=163 for every k≥2. The infimum is attained for k≤2, by the distributions 21δ1/4+21δ−1/4, 21δ0+21δ1/2 and 43δ1/4+41δ3/4 respectively, and is certified by the envelope inequalities, valid for every real θ,
For k≥3 the infimum is not attained, but for every k and every ϵ>0 there is a probability distribution with finite support in 41Z and rational masses which satisfies every constraint of (1.2) and has Eθ2≤163+ϵ.
The inequality (1.5) is tight at θ=±41,±43, where it has double zeros (Lemma 23). What makes the derivative tests different from every test of fW at a point is that the phases enter them as real numbers and not modulo 1: a test of fW at a point sees θ only through cos2πjθ, while the gradient sees θsin2πθ and the Hessian θ2cos2πθ. The values are realized by lattice certificates: for every r>σ−1vk and every dimension n there are a lattice, a target at distance exactly r, and a certificate passing the spectral test with fW(t)=0 and ∇mfW(t)=0 for 1≤m≤k (Theorem 27). So no test on the derivatives of fW at the target, of any order, raises the close radius above σ−13/16.
The second result is the constant that follows for the Hessian-augmented Aharonov-Regev verifier, the verifier of [1] with the spectral bound at its Gaussian expected value and two added tests, ∥∇fW(t′)∥≤η1 and ∥∇2fW(t′)∥≤η2 (Section 3). The extra tests cost nothing for completeness, because for the Gaussian certificate, N samples from the discrete Gaussian on the dual lattice, fW is close to a ratio of Gaussian masses whose gradient and Hessian are exponentially small at a far target.
Theorem 2 (Main theorem). For every c>2/(π3)≈0.3676,
GapCVPcn,GapSVPcn∈NP∩coNP.
The coNP verifier is the Hessian-augmented Aharonov–Regev verifier; it is sound in every dimension n≥8 and complete in every dimension n≥n0(c), an explicit cutoff (Table 2). Its certificate consists of the integer coefficient vectors of N=100n2⌈log2n⌉ dual lattice vectors, and it evaluates one trigonometric sum, its gradient and Hessian, and checks three positive-semidefiniteness conditions, all in exact rational arithmetic (Appendix A).
The cutoff n0(c) is only a restriction of the proof: in a fixed dimension the closest vector problem is solvable exactly in polynomial time (Kannan [7]), so the verifier decides the dimensions below n0(c) itself. The number 2/(π3) is the ratio of Banaszczyk's far threshold 1/2π to the close radius 2π⋅3/16=3π/8=1.0854 of Theorem 1 at the Gaussian spectral level σ2=1/2π; the constants for the original tests and for the gradient test alone are in Table 1.
The third group of results is the duality theory, which is what makes the two sides one subject.
Theorem 3 (Duality, informal). (i) The phase program with tolerances τ>0 on the threshold and ηm′>0 on the derivative constraints has the same value as its dual, the best lower bound v−aτ−∑m∣bm∣ηm′ over envelope inequalities θ2≥v−acos2πθ−∑mbmθmcos(2πθ+mπ/2) with a≥0, and the dual is attained (Theorem 17).
(ii) The prover’s program at a pair (L,t) with spectral level σ2 and tolerances η1,η2>0 on ∥∇fW(t)∥ and ∥∇2fW(t)∥ has the same value as its dual
max{λ−σ2trM−2πη1∥u∥−4π2η2∥U∥∗},
the maximum over M⪰0, u∈Rn, U∈Symn and λ∈R such that cos(2π⟨w,t⟩)+w⊤Mw+⟨u,w⟩sin(2π⟨w,t⟩)+cos(2π⟨w,t⟩)w⊤Uw≥λ for every w∈L∗ (Theorem 18).
(iii) The constant achievable by the family of Hessian-augmented verifiers with the best possible prover is cAR(2)=8/(3π)cfar(2)=0.9213cfar(2), where cfar(2) is the far threshold of the prover's program with the gradient and Hessian constraints (Theorem 34).
On the far side Banaszczyk’s bound certifies the Gaussian prover beyond 1/2π, and we show that it is not always optimal: on Construction-A lattices of random binary codes, at a deep hole of the code at distance greater than 0.2735n, the coset Gaussian mass is at least half the lattice mass, so the Gaussian certificate fails, while a parity certificate built from short dual vectors with odd pairing against the target passes every test (Section 7.4). The exact threshold of the Gaussian prover remains unknown. Finally we solve the unbounded-support prover’s program at targets of order two, 2t∈L, which include these deep holes. There cos(2π⟨w,t⟩)=χ(w)∈{±1} splits L∗ into even and odd vectors, and the program is decided by one geometric quantity, the spectral capacity of the odd coset,
which by Lemma 36 equals min{trM:M⪰0,w⊤Mw≥1 for all w∈O}.
Theorem 4 (Targets of order two). Let 2t∈L, t∈/L. The value of the prover's program with the spectral constraint alone is 1−2min(1,σ2μ(L,t)), and with the exact Hessian constraint added its infimum is 1−2min(1,σ2μ(L,t)/2). The latter value is approached by distributions on odd dual vectors, sufficiently large even multiples of them, and the zero vector; if the capacity is attained, so is the program value when σ2μ<2. At and above σ2μ=2, the infimum is -1 and is not attained. Combined with a random-lattice construction of targets of order two whose odd dual vectors are all long (Lemma 41), this gives cfar(2)≥1/(e2π)=0.1468 and
0.1352≤cAR(2)≤π32=0.3676.
The Hessian test is not free on the far side: at a target of order two it forces the prover to balance the second moments of its even and odd vectors, which doubles the capacity it needs; for the gradient-only verifier the same obstruction gives only cAR(1)≥0.1171. The parity prover survives the Hessian test after this balancing (Proposition 40).
1.2 Organization
Section 2 collects the facts about Gaussian sums and concentration that we use, with proofs. Section 3 defines the verifiers with derivative tests, the prover's program and the phase program, and proves the elementary relations between them. Section 4 proves the two duality theorems. Section 5 proves Theorem 1, including the proof of the envelope (1.5), and the realization theorem. Section 6 proves the completeness lemma for the Hessian test and assembles Theorem 2. Section 7 treats the far side: the Gaussian prover, the identity cAR(2)=8/(3π)cfar(2), targets of order two, the code lattices on which the Gaussian prover fails, and the obstructions from random lattices. Appendix A gives the finite-bit verifier.
2 Preliminaries
2.1 Lattices, Gaussian sums and the coset mass function
For a lattice L=BZn its dual is L∗={w:⟨w,v⟩∈Z∀v∈L}=B−⊤Zn, so that (L∗)∗=L. The Fourier transform of an integrable f:Rn→C is
so that ρ^=ρ and ρs=snρ1/s. As in Section 1, the discrete Gaussian probability distribution DL on L assigns to v∈L the probability ρ(v)/ρ(L). The Poisson summation formula, for f=ρs,
ρs(L+x)=detLsnw∈L∗∑ρ1/s(w)cos(2π⟨w,x⟩),
(2.1) converges absolutely together with all its termwise derivatives in x, locally uniformly. We use throughout the coset mass function
fL(x):=ρ(L)ρ(L+x)=Ew∼DL∗[cos(2π⟨w,x⟩)],(2.2)
the second expression being (2.1) at s = 1 divided by the same identity at x = 0. Differentiating (2.2) termwise,
with w∼DL∗ in the expectations. For a real symmetric matrix A we write smax(A) for its largest eigenvalue, ∥A∥ for its operator norm (the largest absolute value of an eigenvalue), ∥A∥∗ for its trace norm (the sum of the absolute values of the eigenvalues), and A⪯B when B−A is positive semidefinite; Symn is the space of real symmetric n×n matrices with the inner product ⟨A,B⟩=tr(AB). Numerical constants are given to four decimal places; a decimal next to an exact expression is that expression rounded. We write B(x,r) for the open Euclidean ball.
Lemma 5. Let L⊆Rn be a lattice and x,u∈Rn.
(i) e−πdist(x,L)2≤fL(x)≤1.
(ii) For 0<t≤1: ρ(tL)≤t−nρ(L) and ρ(t(L+x))≤ρ(tL).
(iii) With w∼DL∗: Ee2π⟨w,u⟩=eπ∥u∥2ρ(L∗−u)/ρ(L∗)≤eπ∥u∥2.
(iv) (Banaszczyk [2]) For c≥1/2π,
ρ((L+u)∖B(0,cn))≤β(c)nρ(L),β(c):=c2πee−πc2,
where β(1/2π)=1, β is strictly decreasing on [1/2π,∞), and β(1)=0.1786. In particular fL(x)≤β(c)n whenever dist(x,L)≥cn.
Proof. (i) The upper bound is (2.2). For the lower bound let e=x−v0 with v0∈L closest to x; pairing v with −v,
(ii) Since ρ(tL)=ρ1/t(L), (2.1) at x=0 with s=1/t and with s=1 gives ρ(tL)/ρ(L)=t−nρt(L∗)/ρ(L∗)≤t−n, as ρt≤ρ termwise for t≤1; the second inequality is (i) for tL. (iii) Completing the square, ∑w∈L∗e−π∥w∥2+2π⟨w,u⟩=eπ∥u∥2ρ(L∗−u), and ρ(L∗−u)≤ρ(L∗) by (i).
(iv) For t∈(0,1] and ∥y∥≥cn, e−π∥y∥2≤e−π(1−t2)c2ne−πt2∥y∥2; summing over y∈(L+u)∖B(0,cn) and applying (ii) twice,
which is minimized at t2=1/2πc2≤1 with value β(c)n. The last claim holds because all of L+x lies outside B(0,cn).
The next identity is the one place in this section where the Gaussians on L and on L∗ are compared directly. It is a transference identity: it relates the second moments of the two discrete Gaussians in every direction, and it is what fixes the spectral bound of the verifier at 1/2π.
Lemma 6 (Second-moment transference). Let L⊆Rn be a lattice, w from the discrete Gaussian probability distribution DL∗ and v from DL. Then for every e∈Rn,
E⟨w,e⟩2+E⟨v,e⟩2=2π∥e∥2.
In particular E⟨w,e⟩2<∥e∥2/2π for every e=0, and
Eww⊤⪯2π1I,E∥w∥2≤2πn.
Proof. Consider ϕ(s):=fL(se) for real s. By (2.2), ϕ(s)=Ecos(2πs⟨w,e⟩). On the other hand, expanding ∥v+se∥2,
ϕ(s)=ρ(L)ρ(L+se)=e−πs2∥e∥2E[e−2πs⟨v,e⟩].
Both expressions may be differentiated twice under the expectation at s=0: the first because E⟨w,e⟩2<∞ by Lemma 5(iii), the second because Eeθ∣⟨v,e⟩∣<∞ for every θ by Lemma 5(iii) applied to L∗ in place of L. Comparing the second derivatives at s=0 gives
−4π2E⟨w,e⟩2=−2π∥e∥2+4π2E⟨v,e⟩2,
which is the identity. If e=0, some v∈L has ⟨v,e⟩=0, since L has full rank, and DL gives it positive probability, so E⟨v,e⟩2>0 and the inequality is strict. The matrix inequality is the identity read as a statement about the quadratic form e↦e⊤(Eww⊤)e, and taking e in an orthonormal basis and summing gives E∥w∥2≤n/2π.
The inequality E⟨w,e⟩2≤∥e∥2/2π is known: it is the second-moment bound used in [1], due to Banaszczyk [2]. The identity shows exactly what is lost, namely the second moment of the primal Gaussian in the direction e; the loss is small precisely in the directions in which L is stretched, so the bound 1/2π cannot be improved in general.
We also record the estimate behind the gradient and Hessian bounds: for s′=(1−1/n)−1/2 and every y∈Rn,
since a↦ae−πa/n has maximum n/πe on a≥0 and a↦ae−πa2/n has maximum n/2πe. If dist(x,L)≥c′′n with c′′1−1/n≥1/2π, then every point of (L+x)/s′ has norm at least c′′1−1/nn, and Lemma 5(iv) for the lattice L/s′ followed by Lemma 5(ii) gives
ρ(L)ρs′(L+x)≤(s′β(c′′/s′))n=eπc′′2β(c′′)n.(2.5)
2.2 Concentration
Lemma 7 (Hoeffding [6]). If X1,…,XN are independent real random variables with values in [−1,1], then for every ζ>0, P(∣N1∑i(Xi−EXi)∣≥ζ)≤2e−Nζ2/2.
Lemma 8 (Matrix Bernstein; Tropp [13]). Let X1,…,XN be independent random matrices in Symn with EXi=0 and ∥Xi∥≤R almost surely, and let ∥∑iEXi2∥≤v. Then for u≥0,
Consequently, with p:=P(∥w∥>n)≤β(1)n, if w~ denotes w conditioned on ∥w∥≤n and g:Λ→[−1,1] is any function, then for n≥8,
\begin{array}{r l r l r}{\big\|\mathbb{E}[g(\tilde{w})\tilde{w}\tilde{w}^{\top}]-\mathbb{E}[g(w)w w^{\top}]\big\|&\leq\kappa_{n}:=6n\beta(1)^{n},}&{\quad a n d}&{\quad\mathbb{E}[\tilde{w}\tilde{w}^{\top}]\preceq\frac{1+\epsilon_{n}}{2\pi}I,}&{\epsilon_{n}:=2\beta(1)^{n}.}\end{array}
Proof. By (2.4), ∑∥w∥>Rn∥w∥2ρ(w)≤πenρs′(Λ∖B(0,Rn)). The set (Λ∖B(0,Rn))/s′ consists of points of the lattice Λ/s′ of norm at least R1−1/nn, and R1−1/n≥1/2π for n≥2, so Lemma 5(iv) and (ii) give
of norm at most (pn/2π+2.7097nβ(1)n)/(1−p)≤6nβ(1)n by Lemma 6 and p≤β(1)n≤1.1⋅10−6. The last claim is E[w~w~⊤]⪯E[ww⊤]/(1−p) and (1−p)−1≤1+2p.
3 Verifiers with derivative tests, and the prover's program
3.1 The verifiers
Membership of GapCVP γ in NP is trivial for every γ≥1; the content of (1.1) is the coNP part. We consider the following family of verifiers, indexed by k∈{0,1,2} and parameters τ∈(0,21],
σ2>0,η1,η2≥0 (the restriction τ≤21 keeps the radii below well defined; we shall use τ=1/n). Define the close radii
so that r0→4σ1, r1→σ81 and r2→σ1163 as τ,η1,η2→0. These radii are sound for every τ (Proposition 25) but sharp only in this limit, which is the regime we use. For instance, without derivative tests the exact radius at threshold τ∈[0,1) is arccos(τ)/(2πσ): the function ϕ(τ)=(arccosτ/2π)2 is convex and decreasing on [−1,1], and θ2≥ϕ(cos2πθ), so Eθ2≥ϕ(Ecos2πθ) by Jensen's inequality, with equality for a point mass; σ2r02=161−4πτ is the tangent of ϕ at τ=0. Given an instance (B,t,r) of GapCVP γ in dimension n, the verifier V(k)=Vτ,σ,η(k) rescales it by rk/r, obtaining L′=(rk/r)L(B) and t′=(rk/r)t, so that a YES instance has dist(t′,L′)≤rk and a NO instance has dist(t′,L′)>γrk. A certificate is a list Z=(z1,…,zN) of integer vectors, from which the verifier forms wi:=(r/rk)B−⊤zi∈L′∗ and W=(w1,…,wN). With
(a) every wi lies in L′∗ (which holds by construction);
(b) smax(∑i=1Nwiwi⊤)≤σ2N;
(c) fW(t′)<τ;
(d) (if k≥1) ∥∇fW(t′)∥≤η1;
(e) (if k=2) ∥∇2fW(t′)∥≤η2.
V(0) is the verifier of [1] with its two parameters left free (there τ=21, σ2=3, and certificates are rational vectors with (a) checked explicitly); (d) is the gradient test and (e) the Hessian test, and V(2) is the Hessian-augmented verifier of Theorem 2. Appendix A implements these tests in exact rational arithmetic; there the phase ⟨wi,t′⟩=zi⊤B−1t is rational and is reduced modulo 1 exactly. The Gaussian certificate, with which completeness is proved, consists of N independent samples from DL′∗; by (2.2) and (2.3), EfW=fL′, E∇fW=∇fL′ and E∇2fW=∇2fL′ at every point, and all three are exponentially small at a far target.
3.2 The prover's program
Let L⊆Rn be a lattice and t∈Rn. For a probability distribution P on L∗ with EP∥w∥2<∞ put
(the last two at the fixed target t of (3.3)), so the tests (b), (d), (e) are the constraints Σ(PW)⪯σ2I, ∥D1(PW)∥≤η1/2π, ∥D2(PW)∥≤η2/4π2 on PW, and (c) is a bound on the objective below. This is an instance of the following general notion.
Definition 10 (Linear verifiers). Let φ1,…,φJ be functions on Rn×Rn, each φj(w,t) taking values in R or in the symmetric dj×dj matrices for some dj≤poly(n), polynomially bounded in ∥w∥ and computable in polynomial time, and let α1,…,αJ be thresholds (numbers or symmetric matrices), S⊆Rn a closed set containing a ball around 0, and τ>0. The linear verifier V(φ,α,S,τ) accepts a certificate W for the rescaled pair (L′,t′) if and only if every wi lies in L′∩S, EPWφj(w,t′)≤αj (respectively ⪯αj) for j=1,…,J, and EPWcos(2π⟨w,t′⟩)<τ. Its feasible set at (L′,t′) is
and its value is Φ(L′,t′):=infP∈F(L′,t′)EPcos(2π⟨w,t′⟩). A prover for the verifier is a map assigning to every pair (L′,t′) with dist(t′,L′) beyond a prescribed distance a feasible distribution. A family of provers is optimal if at every such pair the objectives of its distributions converge to Φ(L′,t′); the infimum need not be attained (Theorem 37(ii)).
The verifiers V(k) are the linear verifiers with φ1=ww⊤, α1=σ2I, and, for k≥1, the constraints ∥D1∥≤η1/2π and ∥D2∥≤η2/4π2, which are linear matrix inequalities in PW: ∥D1∥≤η is (ηID1⊤η)⪰0 by a Schur complement, and ∥D2∥≤η is −ηI⪯D2⪯ηI; S=Rn, or S={∥w∥≤n2} when the norm test of Section 3.4 is added. Line tests fW(jt′)≥−ϵj are linear verifiers as well. A verifier that computes something else from W, for instance a reduced basis of the lattice it generates, is not.
Definition 11 (The prover's program). For k∈{0,1,2}, σ2>0 and tolerances η1,η2≥0, the prover's program at (L,t) is
where P(L∗) is the set of probability distributions on L∗ with finite second moments. We write Φσ(k)(L,t) when η=0.
The program is feasible (P=δ0) and its value lies in [−1,1]. Conversely any feasible P with finite support and rational masses is the empirical distribution of a list, and a general feasible P is approximated by such lists with the concentration of Section 2 (this is made precise in Theorem 34). So, up to the slack in the parameters, the verifier V(k) has an accepting certificate for (L′,t′) if and only if Φσ(k)(L′,t′;η)<τ.
3.3 Phases and the phase program
Fix t=y+e with y∈L. For w∈L∗, ⟨w,y⟩∈Z, so every trigonometric function of 2π⟨w,t⟩ equals the same function of the phase θ=⟨w,e⟩, a real number. For m≥1 let
the infimum over probability distributions of a real random variable θ with E∣θ∣max(2,k)<∞, and vk:=vk(0;0), which is (1.2).
The function vk(τ;η′) is nonincreasing in τ and in each ηm′ and nondecreasing in k. Its role is the following general form of soundness.
Proposition 14 (Soundness in LP form). Let W pass tests (a), (b) (which do not depend on k) and, for 1≤m≤k, satisfy sup∥u∥=1∣∇mfW(t′)[u,…,u]∣≤ηm (which for m=1,2 is tests (d), (e)). Write t′=y+e with y∈L′ a lattice point closest to t′, so that ∥e∥=dist(t′,L′). If fW(t′)<τ then
σ2∥e∥2≥vk(τ;((2π)mηm∥e∥m)1≤m≤k).
Proof. Let θ have the empirical distribution of the phases θi=⟨wi,e⟩. By Lemma 12 and (a), (b),
So θ is feasible for the phase program with these tolerances, and Eθ2 is at least its value.
3.4 Far thresholds and the constant
The far side is governed by the same program at far targets. We normalize σ2=1/2π, which costs nothing (Remark 21).
Definition 15 (Far thresholds). Let σ2=1/2π and k∈{0,1,2}. A number c>0 is k-far-certifiable if there are sequences τn,δn,η1,n,η2,n→0 of positive numbers such that for all sufficiently large n, every lattice L⊆Rn and every t with dist(t,L)≥cn admit a probability distribution P on {w∈L∗:∥w∥≤n2} with
The far threshold cfar(k) is the infimum of the k-far-certifiable c. Clearly cfar(0)≤cfar(1)≤cfar(2).
The support bound ∥w∥≤n2 is a normalization (the scale of Gaussian samples is ∥w∥≈n) that makes the passage from distributions to certificates of polynomial bit length routine; the results below use it only through Theorem 34, whose proof works verbatim for any polynomial bound Rn≥n2 with Nn=n4Rn2 samples, so nothing depends on the particular choice. Consider a family Vn=Vτn,σn,ηn(k) with τn→0, σn2=(1+δn)/2π with δn→0, η1,n,η2,n→0, reading certificates of Nn vectors of norm at most n2, with Nn polynomially bounded (the verifier checks the norm bound; the verifier of Theorem 2 does not, but adding the check changes nothing there, since its Gaussian certificates have ∥wi∥≤n on the event E of Lemma 30); by (3.1) its close radius rk(n) tends to
The family achieves c if for all sufficiently large n, every lattice L⊆Rn and every t with dist(t,L)>crk(n)n have an accepting certificate of polynomial bit length. Let cAR(k) be the infimum of the c achieved by some such family. A family that achieves c and is sound (Section 5) places GapCVPcn in coNP for all large n, exactly as in the proof of Theorem 2. Theorem 34 below proves
Both programs are linear programs over probability measures with finitely many linear or conic constraints. In both, the dual variables have a concrete meaning, and we prove strong duality by a separation argument in finite dimension; the only tool is the following standard fact ([10, Theorem 11.3]): if C1,C2⊆Rd are nonempty, convex and disjoint, and C2 has nonempty interior, then there is a nonzero linear functional ℓ on Rd and α∈R with ℓ≤α on C1 and ℓ≥α on C2.
4.1 The phase program and envelope inequalities
Definition 16 (Envelopes). An envelope of order k is a triple (v,a,b) with v∈R, a≥0, b=(b1,…,bk)∈Rk such that
θ2≥v−acos2πθ−m=1∑kbmJm(θ)foreveryθ∈R.(4.1)
Theorem 17 (Duality for the phase program). Let k≥0, τ≥0 and η′∈R≥0k.
(i) (Weak duality) For every envelope (v,a,b) of order k, vk(τ;η′)≥v−aτ−∑m∣bm∣ηm′.
(ii) (Strong duality) If the phase program has a finitely supported feasible distribution Q0 satisfying all its constraints strictly, in particular if τ>0 and ηm′>0 for all m (then the distributions of Lemma 24, which have Ecos2πθ=0 and EJm=0 for all m≤k, qualify), then
Proof. (i) Take expectations in (4.1) with respect to a feasible distribution: Eθ2≥v−aEcos2πθ−∑mbmEJm≥v−aτ−∑m∣bm∣ηm′, using a≥0, Ecos2πθ≤τ and ∣EJm∣≤ηm′.
(ii) Let v∗=vk(τ;η′), which is finite ( 0≤v∗≤EQ0θ2). Consider in R2+2k the set
where the coordinates after the first two list, for each m, the pairs EQJm−ηm′+rm+ and −EQJm−ηm′+rm−. The set K is convex, being the image of a convex set under an affine map plus a convex cone. Fix ϵ>0 and let C2:={(x0,x,y1±,…):x0<v∗−ϵ,x<τ,ym±<0}, an open convex set. If a point of K lay in C2, the corresponding Q would be feasible with EQθ2<v∗−ϵ, contradicting the definition of v∗. So K∩C2=∅, and there is a nonzero (α0,α,βm±) and γ with
α0x0+αx+m∑(βm+ym++βm−ym−)≥γonK,≤γonC2.
Since C2 is unbounded below in every coordinate, α0,α,βm±≥0, and γ≥supC2=α0(v∗−ϵ)+ατ. On K take Q=δθ and all r=0:
If α0=0, then integrating (4.2) against the strictly feasible Q0 gives α(EQ0cos2πθ−τ)+∑m(βm+(EQ0Jm−ηm′)−βm−(EQ0Jm+ηm′))≥0, where every bracket is strictly negative; hence α=βm±=0, contradicting that the functional is nonzero. So α0>0; dividing by it and writing a=α/α0, bm=(βm+−βm−)/α0, v:=v∗−ϵ+aτ+∑m(βm++βm−)ηm′/α0, inequality (4.2) says that (v,a,b) is an envelope, and its dual value is v−aτ−∑∣bm∣ηm′≥v∗−ϵ because ∣bm∣≤(βm++βm−)/α0. With (i), the supremum of the dual values is v∗. It is attained: if an envelope has dual value ≥v∗−1, then integrating (4.1) against Q0, whose constraints have slack s>0, gives
so a+∑m∣bm∣≤(EQ0θ2−v∗+1)/s, and v∗−1≤v≤a (take θ=0 in (4.1)); such envelopes lie in a compact set, which is closed since (4.1) is a pointwise condition, and the dual value is continuous on it.
The dual variables are the multipliers of the three kinds of tests: a for the threshold, b1 for the gradient, b2 for the Hessian, and so on. In Section 5 we exhibit, for k=0,1,2, an envelope and a feasible distribution with the same value; by (i) this proves the value and shows that no slack is lost, without appeal to (ii). Part (ii) says that this is always possible in principle, i.e. that every sound close radius of a verifier with derivative tests is certified by an envelope inequality, which is the sense in which the envelope method is complete.
4.2 The prover's program and quadratic certificates
Theorem 18 (Duality for the prover's program). Let L⊆Rn be a lattice, t∈Rn, σ2>0, and η1,η2>0. Write c(w)=cos(2π⟨w,t⟩) and s(w)=sin(2π⟨w,t⟩). Then
C2 is open and convex, and K∩C2=∅ (a point of K in C2 would come from a feasible P with EPc<Φ−ϵ). Separation gives (α,M,u,U)=0 and γ with
αx+tr(MB)+⟨u,y⟩+tr(UY)≤γonC2,≥γonK.
Letting x→−∞ gives α≥0; letting B→−∞ in a direction −vv⊤ gives v⊤Mv≥0, i.e. M⪰0; and taking suprema over C2,
γ≥α(Φ−ϵ)+σ2trM+2πη1∥u∥+4π2η2∥U∥∗.
If α=0, evaluating the functional at the point of K given by P=δ0, r=0, S=0 gives 0≥γ≥σ2trM+2πη1∥u∥+4π2η2∥U∥∗, whence M=0, u=0, U=0 (as η1,η2>0 and M⪰0), a contradiction. So α>0; normalize α=1, and evaluate at P=δw, r=0, S=0:
Thus (λ,M,u,U) satisfies (4.4) with dual value Φ−ϵ. Together with weak duality, the supremum of the dual values is Φ. Attainment: dual feasible points with value ≥Φ−1 have λ≤1 (take w=0 in (4.4)) and hence σ2trM+2πη1∥u∥+4π2η2∥U∥∗≤2−Φ≤3, a compact set, on which the constraints (4.4) are closed.
The separation used only finitely supported distributions. Running it with Φ replaced by the infimum Φfin≥Φ over finitely supported feasible P gives dual values at least Φfin−ϵ, so by weak duality Φfin=Φ; the same holds for the phase program in Theorem 17(ii).
Remark 19 (The class of linear verifiers). Nothing in the proof of Theorem 18 uses the particular test functions: weak duality needs only that the φj be integrable, which is part of Definition 10, the separation uses only finitely supported distributions, and the case α=0 is excluded by a strictly feasible point. So for a linear verifier V(φ,α,S,τ) with a finitely supported feasible distribution Q0 satisfying every constraint strictly (such as δ0 when every constraint has slack at w=0), the same argument gives
with scalar multipliers Yj≥0 for scalar constraints; the maximum is attained, because integrating the dual inequality against Q0 bounds λ and the tr Yj on the dual solutions of value at least Φ−1. The exact values of Section 5 and the identification of the constant in Theorem 34 are proved for the verifiers V(k); their proofs use the phase reduction (Lemma 12) and the scalings of Lemma 26(iv) and Remark 21, which a general test function need not share.
Remark 20 (Reading the dual). A dual feasible point of value at least τ proves that no certificate is accepted: in the spectral part it is a quadratic form M⪰0 of small trace such that cos(2π⟨w,t⟩) is bounded below by λ−w⊤Mw on the whole dual lattice, i.e. the dual vectors with ⟨w,t⟩ far from an integer lie outside the ellipsoid {w⊤Mw≤λ}. On the close side the dual solutions have rank one. If t=y+e with y∈L and (v,a,b) is an envelope of order k≤2 with a>0 (Definition 16), then dividing (4.1) by a and putting θ=⟨w,e⟩ shows that
λ=av,M=a1ee⊤,u=ab1e,U=ab2ee⊤
satisfies (4.4), with value (v−σ2∥e∥2−2πη1∣b1∣∥e∥−4π2η2∣b2∣∥e∥2)/a. For the envelopes of Lemmas 22 and 23 this value is at least τ exactly when ∥e∥≤rk, with rk as in (3.1); so Proposition 25 is weak duality for these rank-one solutions, and Theorems 17 and 27 show that, for derivative tests, restricting the dual to rank one along the offset loses nothing in the close radius.
Remark 21 (Normalization). Scaling a lattice by λ>0 scales L∗ by λ−1, distances by λ, Σ(P) by λ−2, and leaves EPc, the direction of D1 and the sign pattern of D2 unchanged, while ∥D1∥ and ∥D2∥ scale by λ−1, λ−2; the close radii (3.1) scale by σ−1. The ratio of far threshold to close radius is therefore the same at every spectral level, and σ2=1/2π in Definition 15 is no loss of generality, provided the tolerances and the support bound are rescaled along with σ.
5 The close side: exact solution of the phase program
5.1 Three envelopes
Lemma 22 (Envelopes of order 0 and 1). The inequalities (1.3) and (1.4) hold for every real θ, with equality exactly at θ=±41 in the first and at θ∈{0,±21} in the second.
Proof. Let g(θ)=θ2−161+4π1cos2πθ, an even function with g(41)=0 and g′(θ)=2θ−21sin2πθ. On [0,41] the concave function sin2πθ lies above its chord 4θ, so g′≤0; for θ≥41, 2θ≥21≥21sin2πθ, so g′≥0, with equality only where θ=41 and sin2πθ=1. Hence g decreases on [0,41] to 0 and increases strictly afterwards, and g≥0 with equality only at ±41.
For the second inequality put φ=2πθ; multiplied by 4π2, the claim reads G(φ)≥0 for G(φ)=φ2−2π2+2π2cosφ+2φsinφ, an even function with G(0)=G(π)=0 and
On (0,π) the sign of G′ is that of h1(φ)=φ−κ0tan2φ, which vanishes at 0, has derivative 1−2κ0sec22φ positive at 0 (as κ0<2) and decreasing, and tends to −∞ at π; so h1 increases from 0 and then decreases through a unique zero, G increases from G(0)=0 and then decreases to G(π)=0, and G>0 on (0,π). On (π,2π), tan2φ<0, so G′>0 and G>G(π)=0. For φ≥2π, G(φ)≥φ2−π2−2φ>0.
Lemma 23 (The Hessian envelope). The inequality (1.5) holds for every real θ; that is, the difference of its two sides,
is nonnegative on R, with equality if and only if θ∈{±41,±43}, where h has double zeros.
The multipliers in (5.1) are forced. Let (v,a,b1,b2) be any envelope of order two with v=163, and g(θ)≥0 the difference of the two sides of (4.1). The distribution 43δ1/4+41δ3/4 has Eθ2=163 and Ecos2πθ=EJ1=EJ2=0, so Eg(θ)=0 under it; hence g vanishes at 41 and 43, which are then minima of g, so g′ vanishes there too, and these four conditions determine (a,b1,b2)=(8π5,21,−π2). The content of the lemma is that this envelope is valid on all of R. The function h is small on [−43,43], where its maximum is 0.0241, so crude estimates do not suffice there; the proof below is exact, by a chain of three auxiliary functions whose monotonicity is established from their derivatives.
5.2 Proof of the Hessian envelope
Since h is even, it suffices to treat θ≥0. We write φ=2πθ throughout.
Step 1: θ≥1. Write θ=j+u with j≥1 an integer and u∈[0,1); then cosφ=cos2πu and sinφ=sin2πu. Put a=8π5=0.1989. If u∈[0,21], then sinφ≥0 and π2θ2−a>0, so
and H′(2π)=4π+(2π−6π)=0, H′(23π)=12π−(18π−6π)=0, as it must be at double zeros. We shall determine the sign of H′ on (0,2π) through three auxiliary functions. On (0,π)∪(π,2π) put
Step 3: the sign of H′ on (0,π). We show q>0 on (0,π]. First, B′′<0 on (0,2π], both terms in (5.9) being nonpositive and not both zero. On (2π,π) write φ=π−φ′ with φ′∈(0,2π); then
B′′(φ)=cosφ′[4b(π−φ′)−(10b−2κ′)tanφ′],
and the bracket is strictly decreasing in φ′, from 4bπ>0 to −∞. Hence there is φ∗∗∈(2π,π) with B′′<0 on (0,φ∗∗) and B′′>0 on (φ∗∗,π): B′ is strictly concave on [0,φ∗∗] and strictly convex on [φ∗∗,π]. By (5.10), B′(0)>0>B′(2π), so the concave function B′ has exactly one zero φa∈(0,2π) on [0,φ∗∗] and is negative on [2π,φ∗∗] (a concave function that is positive at 0 and negative at 2π is negative beyond 2π); and since B′(π)>0, the convex function B′ has exactly one zero φc on [φ∗∗,π]. Thus B increases on [0,φa], decreases on [φa,φc] and increases on [φc,π]. As B(0)=0 and B(π)<0, we get B(φc)<B(π)<0, and B has exactly one zero φb∈(φa,φc) in (0,π], with B>0 on (0,φb) and B<0 on (φb,π]. By (5.7), q increases on [0,φb] and decreases on [φb,π]; since q(0)=0 and q(π)>0, q>0 on (0,π]. By (5.6), ψ is strictly increasing on (0,π), and ψ(2π)=0; as sinφ>0 there, H′=ψsinφ is negative on (0,2π) and positive on (2π,π).
Step 4: the sign of H′ on (π,2π). Here sinφ≤0, so by (5.9) and (5.3), B′≥8−(6b−2κ′)>0: B is strictly increasing on [π,2π], from B(π)<0 to B(2π)>0, with a unique zero φB. By (5.7), q′=Bsinφ is positive on (π,φB) and negative on (φB,2π). Since q(π)>0, q>0 on [π,φB]; since q(23π)<0, we have φB<23π, and q has exactly one zero φq∈(φB,23π) in (π,2π), with q>0 before it and q<0 after it. By (5.6), ψ increases on (π,φq] and decreases on [φq,2π). At the ends,
because the numerator tends to π(8−κ′)>0, respectively 2π(8+κ′)>0, while sinφ→0−. Since ψ(23π)=0 and φq<23π, ψ is decreasing on [23π,2π), so ψ(φq)>0 and ψ<0 on (23π,2π); and ψ increases on (π,φq] from −∞ to ψ(φq)>0, so it has exactly one zero φ1∈(π,φq) there, with ψ<0 on (π,φ1) and ψ>0 on (φ1,23π). Multiplying by sinφ<0: H′>0 on (π,φ1), H′<0 on (φ1,23π), H′>0 on (23π,2π).
Step 5: conclusion. By Steps 3 and 4, H decreases on [0,2π] to H(2π)=0, increases on [2π,φ1], decreases on [φ1,23π] to H(23π)=0, and increases on [23π,2π]. Hence H≥0 on [0,2π], with equality exactly at 2π and 23π, i.e. h≥0 on [0,1] with equality exactly at 41,43; with Step 1 and evenness, h≥0 on R with equality exactly at ±41,±43. The zeros are double because H′(2π)=H′(23π)=0 while h′′(41)=6−2π2>0 and h′′(43)=23π2−10>0.
Numerically, φ1=3.3903 (i.e. θ=0.5396, where h=0.0241), and h(0)=8π5−163=0.0114, h(21)=161−8π5+2π1=0.0227.
5.3 Proof of Theorem 1
Proof of Theorem 1, the values. Lower bounds. By Theorem 17(i) with τ=0, η′=0: Lemma 22 gives the envelopes (161,4π1,∅) of order 0 and (81,81,π1) of order 1, and Lemma 23 gives the envelope (163,8π5,(21,−π2)) of order 2, which is also an envelope of every order k≥2 (with bm=0 for m≥3). Hence v0≥161, v1≥81, vk≥163 for k≥2.
Upper bounds for k≤2. The distribution 21δ1/4+21δ−1/4 has Ecos2πθ=0 and Eθ2=161. The distribution 21δ0+21δ1/2 has Ecos2πθ=21(1−1)=0, EJ1=21⋅21sinπ=0, and Eθ2=81. The distribution 43δ1/4+41δ3/4 has cos2πθ=0 on its support, hence Ecos2πθ=0 and EJ2=0;
EJ1=43⋅41⋅sin2π+41⋅43⋅sin23π=163−163=0; and Eθ2=43⋅161+41⋅169=163. This proves v0=161, v1=81, v2=163 with the stated minimizers.
k≥3: the infimum is 163 and is not attained. The upper bound vk≤163 for every k follows from Lemma 24 below, which also gives the finitely supported rational distributions of the statement. Suppose θ were feasible for k≥3 with Eθ2=163. Taking expectations in (5.1) and using the constraints, 0=Eθ2−163=Eh(θ)−8π5Ecos2πθ≥Eh(θ), so Eh(θ)≤0, whence h(θ)=0 almost surely and θ∈{±41,±43} by Lemma 23. Let p=P(θ=±41) and q=1−p. Then J1(±41)=41, J1(±43)=−43, J3(±41)=641, J3(±43)=−6427, so EJ1=0 and EJ3=0 give p=3q and p=27q, impossible for a probability distribution. So the infimum is not attained for k≥3.
Lemma 24 (Far atoms). For every m≥1 and ϵ>0 there is a probability distribution P with finite support in the set 41Z∖21Z of odd multiples of 41, with rational masses, such that EPJi=0 for every odd i≤2m+1 and EPθ2≤163+ϵ. On this support cos2πθ=0, so EPcos2πθ=0 and EPJ2i=0 for every i≥1; hence P satisfies all constraints of the phase program (1.2) for every k≤2m+1.
Proof. On the odd multiples of 41, sin2πθ=+1 at θ∈41+Z and −1 at θ∈43+Z. Let T≥2 be an integer, to be chosen large, and define sites and signs
a linear system of m+2 equations in the m+2 unknowns (p,q,d1,…,dm) with rational coefficients, whose solution, if unique, is rational. Put D:=∑jdj and G:=∑jεjdjsj. The first two equations give
q=41−D+G,p=43(1−D)−G,
and substituting into the remaining ones, with βi:=(3i−3)/4i+1>0 and γi:=(3i+1)/4i, they become
Index the equations by l=1,…,m with il=2l+1, and set Y1:=1, Yj:=∏l<jsl2 for j≥2. Substitute dj=Yjzj/sjij and divide the l-th equation by Yl; the system becomes A~z=β~ with
We claim that, as T→∞, A~ converges to the bidiagonal matrix B∞ with (B∞)ll=εl, (B∞)l,l−1=εl−1 and all other entries 0, and β~→(β3,0,…,0). The main term of A~lj is εjsjil−ijYj/Yl=εjsj2(l−j)Yj/Yl. For j=l it is εl; for j=l−1 it is εl−1sl−12Yl−1/Yl=εl−1; for j<l−1 its absolute value is
and for j>l it is ∏l≤i<j(si/sj)2→0. Since βil+γilsj≤2sj, the remaining part of A~lj is at most 2Yj/(sjij−1Yl), which tends to 0. For j<l, use Yj≤Yl and sjij−1≥T2. For j≥l, use Yj/Yl≤sj2(j−l) and sjij−1=sj2j≥sj2(j−l)T2. Finally β~1=β3 and β~l=βil/Yl≤1/T2 for l≥2. The matrix B∞ is lower triangular with diagonal entries ±1, hence invertible. Solving B∞z∗=(β3,0,…,0)⊤ gives z1∗=β3 and zl∗=−εlεl−1zl−1∗=zl−1∗, since εlεl−1=−1. Thus z∗=β3(1,…,1), with β3=3/32. By continuity of matrix inversion, for all large T the system (5.12) has a unique solution with zj∈[21β3,2β3] for every j, hence dj>0. Moreover
using 2(a1+⋯+aj−1)=3j−1−1=aj−1. Hence D≤∑jdjsj2→0, ∣G∣≤∑jdjsj2→0, so p→43 and q→41 are positive for large T, and
EPθ2=16p+169q+j∑djsj2⟶643+649=163.
Choosing T large enough gives EPθ2≤163+ϵ. The solution is rational because the coefficients of (5.11) are.
5.4 Soundness of the Hessian-augmented verifier
Proposition 25 (Soundness). Let k∈{0,1,2}. If W passes tests (a), (b) and, for k≥1, (d), and for k=2 also (e) of Vτ,σ,η(k), and dist(t′,L′)≤rk with rk as in (3.1), then fW(t′)≥τ, so test (c) fails. In particular V(k) rejects every YES instance.
Proof. Suppose fW(t′)<τ. By the proof of Proposition 14, the empirical phase distribution has Eθ2≤σ2∥e∥2, Ecos2πθ<τ and ∣EJm∣≤ηm∥e∥m/(2π)m. Integrating the envelope (v,a,b) of Lemma 22 or 23 against it, as in Theorem 17(i), and using a>0, gives σ2∥e∥2>v−aτ−∑m∣bm∣ηm∥e∥m/(2π)m, that is,
for k=0,1,2. In each case the left side is increasing in ∥e∥ and equals the right side at ∥e∥=rk by (3.1), so dist(t′,L′)=∥e∥>rk, contrary to the hypothesis.
5.5 Realization by lattice certificates
Lemma 26 (Realization). Let m≥2, let P be a probability distribution with finite support in m1Z and rational masses px=ax/D ( ax,D positive integers), and let n≥1, σ>0 and r>0 with EPθ2≤σ2r2; for n≥2 let 0<s≤σn−1. Then there are a lattice L⊆Rn, a target t with dist(t,L)=r, and a list W of N=2(n−1)D vectors of L∗ (of N=D vectors if n=1) such that
(i) N1∑iwiwi⊤⪯σ2I;
(ii) fW(jt)=EPcos2πjθ for every integer j;
(iii) for every M≥1, the symmetric tensor ∇MfW(t) vanishes provided EPJa=0 for all 1≤a≤M with a≡M(mod2) and, when M is even, EPcos2πθ=0;
(iv) (scale invariance) L has the basis B=diag(mr,1/s,…,1/s), t=re1, and the integer coefficient vectors z=B⊤w of the vectors w∈W do not depend on r and s. Consequently, for λ>0 the lattice λL, the target λt and the list λ−1W are those of the construction with parameters λr and s/λ, with the same integer list.
In particular, if EPcos2πθ=0 and EPJa=0 for 1≤a≤k, then fW(t)=0 and ∇MfW(t)=0 for 1≤M≤k.
Proof. Let
L∗:=mr1Ze1⊕sZn−1,L=mrZe1⊕s1Zn−1,t:=re1
(for n=1 the second summands are absent). A point (mrj,u) of L has distance (mj−1)2r2+∥u∥2)1/2≥r from t, with equality at 0, so dist(t,L)=r; the target has order m in Rn/L. For n≥2 let W consist of the vectors
rxe1+εsej,x∈suppP,j∈{2,…,n},ε∈{±1},
each taken with multiplicity ax, so N=2(n−1)D; for n=1 let W consist of the numbers x/r with multiplicity ax, N=D. Since x∈m1Z, every vector lies in L∗. The ε-symmetry kills the cross terms e1ej⊤, each ej occurs in 2D of the vectors with coefficient ±s, and the e1-coefficients are the x/r with frequencies px; so
which is (i). Every vector has ⟨w,t⟩=x, so ⟨w,jt⟩=jx and (ii) follows. For (iii), ∇MfW(t)=(2π)MN1∑icos(2πxi+Mπ/2)wi⊗M, where xi is the x of wi. A vector rxe1+εsej has nonzero coordinates only along e1 and ej, so the only nonzero components of wi⊗M are those indexed by a copies of e1 and b=M−a copies of a single ej, with value (x/r)a(εs)b. Summing over ε kills the components with b odd, and for b even the component of ∇MfW(t) equals
because a≡M(mod2) makes cos(2πθ+Mπ/2)=±cos(2πθ+aπ/2); for b=0 the sum over j gives the same expression with (n−1)ra replaced by ra. By (3.6) the expectation is ±EPJa for a≥1 and ±EPcos2πθ for a=0 (which occurs only for M even). This proves (iii); the case n=1 is the same with b=0 only. For (iv), B⊤(rxe1+εsej)=mxe1+εej, an integer vector since x∈m1Z (and z=mx if n=1); multiplying L by λ replaces mr by mλr and 1/s by 1/(s/λ).
Theorem 27 (Exactness of the close radii). Let σ>0, k≥0, n≥1 and r>σ−1vk (with v0=161, v1=81, vk=163 for k≥2; for k≤2 also r=σ−1vk is allowed). There are a lattice L⊆Rn, a target t with dist(t,L)=r, and a list W of vectors of L∗ with
N1i∑wiwi⊤⪯σ2I,fW(t)=0,∇MfW(t)=0(1≤M≤k).
Consequently, let V be a verifier that, on a rational input (B,t,ρ) in dimension n, rescales the instance by rV/ρ for some rV>0, reads a certificate of integer vectors of any length N, and applies tests (a), (b) with bound σ2N, (c) with a threshold τ>0, and any tests on the derivatives of fW at t′ of orders 1,…,k that are passed when those derivatives vanish. If V is sound, then rV≤σ−1vk. In particular, with Proposition 25, the close radius of Vτ,σ,η(k) tends to exactly σ−1vk as τ,η→0, for k=0,1,2, and no test on the derivatives of fW at the target, of any order, can raise it above σ−13/16.
Proof. Apply Lemma 26 to the distributions of Theorem 1: for k=0 to 21δ1/4+21δ−1/4 with m=4; for k=1 to 21δ0+21δ1/2 with m=2; for k=2 to 43δ1/4+41δ3/4 with m=4; and for k≥3 to the distribution of Lemma 24 with 2m′+1≥k and ϵ=σ2r2−163>0, again with m=4. In each case EPθ2≤σ2r2, EPcos2πθ=0, and EPJa=0 for 1≤a≤k, so the lemma gives (i), fW(t)=0 and ∇MfW(t)=0 for M≤k.
For the consequence, suppose rV>σ−1vk, and let P be the distribution above with r=rV, so that EPθ2≤σ2rV2. For n≥2 choose a rational s with 0<s≤rVσn−1. Let B=diag(m,1/s,…,1/s). The rational instance (B,e1,1) has dist(e1,L(B))=1 (as in the proof of Lemma 26), so it is a YES instance. The verifier rescales it by rV, obtaining rVL(B)=L(diag(mrV,rV/s,…)) and rVe1: by Lemma 26(iv) this is the construction of Lemma 26 at distance rV with parameter s/rV≤σn−1, whose hypotheses hold, and its list W is represented by the integer list Z of the lemma, which the prover submits. By the first part, W passes (a), (b) and the derivative tests and has fW(t′)=0<τ, so V accepts a YES instance, contradicting soundness.
The certificate in this proof has N=2(n−1)D vectors. A verifier may prescribe N; for k≤2 and n≥2 the conclusion persists for every verifier with the tests and the certificate length N of Vτ,σ,η(k), whatever its rescaling rV, whenever Nτ>6n and, for k≥1, Nη1rk≥4πn (note rV>σ−1vk>rk in the proof); this holds for all the verifiers of this paper. Indeed, take N′=⌊N/2(n−1)⌋, give the vectors of Lemma 26 the multiplicities ⌊pxN′⌋ in place of ax, and fill the list with fewer than 2(n−1)(⌊supp P⌋+1)≤6(n−1) zero vectors. The spectral bound and, for k=2, the vanishing of the Hessian persist, since cos2πx=0 on the support; the zero vectors give 0≤fW(t)<6(n−1)/N; and the rounding errors in EPJ1=0 give ∥∇fW(t)∥≤4π(n−1)∑x∣x∣/(Nr)≤4π(n−1)/(Nr), with ∇fW(t)=0 for k=1 because J1 vanishes on {0,21}. The integer list is still independent of r and s. For k≥3 the vectors realizing the far atoms of Lemma 24 have norms of order T3m′−1/r, independent of n, so a verifier that also checks the norm bound ∥w∥≤n2 of Section 3.4 accepts them only when n is large in terms of k and r.
Remark 28 (Certificates of other instances, and line tests). The certificates of Theorem 27 live at targets of order 4, 2 and 4, and their phases are the phases that a Gaussian certificate for such a target would have (at a target t with mt∈L, every w∈L∗ has ⟨w,t⟩∈m1Z), rearranged so that fW(t)=0. All the order-4 certificates, including those realizing the far atoms for k≥3, have fW(2t)=Ecos4πθ=−1, since their phases are odd multiples of 41, so they are caught by the line test fW(2t′)≥−ϵ. Line tests are linear constraints Ecos2πjθ≥−ϵj on the phase distribution as well, and Proposition 29 settles their effect on V(0) and V(1): they raise v0=161 to exactly 272 and leave v1=81 unchanged. Adding line tests fW(jt′)≥−ϵj, 2≤j≤J, to the Hessian-augmented verifier raises the value of the phase program, by our numerical solutions on grids, from 0.1875 to 0.1958 for J=2 and J=3 (attained near the phases 0,±0.3576,±0.8046), to 0.1962 for 4≤J≤6 (near the phases 0,±0.3195,±0.3949,±0.8079), and further, in the fifth decimal, as J grows (0.196152 for 4≤J≤6, 0.196162 at J=15, 0.196165 at J=30 and J=50, with the extremal phases spreading over [0.30, 0.41]). This would lower the constant of Theorem 2 from 0.3676 to 0.3597 for J=2 and to 0.3593 for large J. We have no closed form for these values and no proof, and we do not pursue them. Table 1 summarizes the close side.
Proposition 29 (Line tests). For θ∈R let θ~∈(−21,21] be its representative modulo 1, so that θ~2≤θ2 and cos2πjθ=cos2πjθ~.
Consequently inf{Eθ2:Ecos2πθ≤0,Ecos4πθ≥0}=272, attained at 31δ0+31δ1/3+31δ−1/3, and this distribution has Ecos2πjθ∈{0,1} for every integer j; so the value of the phase program with k=0 and all line tests Ecos2πjθ≥0, j≥2, is exactly 272.
(ii) The distribution 21δ0+21δ1/2 has Ecos2πjθ∈{0,1} for every integer j; so the value of the phase program with k=1 and all line tests is still 81.
(iii) (Tolerances) If W passes tests (a), (b) and fW(2t′)≥−ϵ2, and fW(t′)<τ, then
σ2dist(t′,L′)2>272−λ1τ−λ2ϵ2,
so this verifier has the close radius σ−1(272−λ1τ−λ2ϵ2)1/2, which tends to σ−12/27. Gaussian certificates pass each line test fW(jt′)≥−ϵj except with probability at most 2e−Nϵj2/2.
In cases (i) and (ii) Lemma 26 realizes the extremal distribution by a lattice certificate with fW(jt)=Ecos2πjθ≥0 for all j, so, as in Theorem 27, the corresponding close radii σ−12/27 and σ−1/8 are exact for the verifiers with line tests.
Proof. (i) Both sides of (5.13) depend only on θ~, so it suffices to show h3(θ):=θ2−272+λ1cos2πθ−λ2cos4πθ≥0 on [−21,21]. The constants are forced by h3(0)=0 (i.e. λ1−λ2=272) and h3(31)=h3′(31)=0. The function h3 is even with h3(0)=h3(31)=h3′(31)=0,
Since h3′′(θ)=2−4π2λ1cos2πθ+16π2λ2cos4πθ is a quadratic polynomial in cos2πθ, it has at most two zeros on (0,21), so h3′ has at most three zeros on [0,21]; Rolle's theorem gives one in (0,31), and 0 and 31 are two more. Hence h3′ has no other zero on [0,21], is positive just right of 0 and of 31 (as h3′′>0 there) and negative just left of 31, so h3 increases from 0, decreases to h3(31)=0, and increases on [31,21]: h3≥0. Taking expectations in (5.13) with Ecos2πθ≤0 and Ecos4πθ≥0 gives Eθ2≥Eθ~2≥272, since λ1,λ2>0. The three-point distribution has Eθ2=32⋅91=272 and Ecos2πjθ=31(1+2cos32πj), which is 1 if 3∣j and 0 otherwise. (ii) Ecos2πjθ=21(1+(−1)j). (iii) For the empirical phase distribution, fW(2t′)=Ecos4πθ by Lemma 12, so integrating (5.13) gives σ2∥e∥2≥Eθ2≥Eθ~2>272−λ1τ−λ2ϵ2, as in Proposition 25. For Gaussian certificates EfW(jt′)=fL′(jt′)≥0 by (2.2) and Lemma 5(i), and Lemma 7 gives the bound. The last statement is Lemma 26(ii) with m=3, respectively m=2.
tests beyond (a),(b),(c)
value v
extremal phases
radius σ−1v
at σ2=2π1
constant
none
161
±41
σ−1/4
0.6267
π2=0.6366
line tests
272
0,±31
σ−12/27
0.6822
4π36=0.5848
gradient (± line tests)
81
0,21
σ−1/8
0.8862
22=0.4502
gradient, Hessian
163
41,43 (masses 43,41)
σ−13/16
1.0854
π32=0.3676
all derivatives
163
not attained
σ−13/16
1.0854
π32=0.3676
gradient, Hessian, line tests
0.1962*
0,±[0.30,0.41],±0.81
σ−10.1962∗
1.1102*
0.3593*
Table 1: The close side. Each row is the value of the phase program (3.7) with the indicated constraints, the extremal phase distribution, the close radius, its value at the Gaussian spectral level σ2=1/2π, and the constant (1/2π)/radius it yields with the Gaussian prover (far threshold 1/2π). The line tests are fW(jt′)≥−ϵj for 2≤j≤J; in the last row J is large (Remark 28). Starred entries are numerical; all others are proved (Theorem 1, Theorem 27 and Proposition 29).
6 Completeness and the proof of the main theorem
Throughout this section w1,…,wN are independent samples from DΛ, Λ:=L′∗, and dist(t′,L′)≥c′′n. We first treat the threshold, gradient and spectral tests.
Lemma 30 (Threshold, gradient and spectral tests for Gaussian certificates). Let n≥8, ϵn=2β(1)n.
(i) If c′′≥1/2π, then for every ζ>0, P(fW(t′)≥β(c′′)n+ζ)≤2e−Nζ2/2.
(ii) If c′′1−1/n≥1/2π, then ∥∇fL′(t′)∥≤γn:=2πn/eeπc′r2β(c′′)n, and for every a>0, P(∥∇fW(t′)∥>2πa+γn)≤n/2πNa2.
(iii) For δ∈(ϵn,1] and δ′:=δ−ϵn, the event E:={∥wi∥≤n∀i} has P(Ec)≤Nβ(1)n, and
Proof. (i) By (2.2) and Lemma 5(iv), Ecos(2π⟨wi,t′⟩)=fL′(t′)≤β(c′′)n; apply Lemma 7.
(ii) By (2.3) and (2.4), ∥∇fL′(t′)∥≤2πρ(L′)−1∑y∈L′+t′∥y∥e−π∥y∥2≤2πn/2πeρs′(L′+t′)/ρ(L′), and (2.5) gives γn. For the fluctuation put Xi=sin(2π⟨wi,t′⟩)wi, so that ∇fW(t′)=−N2π∑iXi and the Xi are independent with E∥Xi∥2≤E∥wi∥2≤n/2π by Lemma 6. Hence E∥N1∑i(Xi−EXi)∥2≤n/2πN, Markov's inequality gives P(∥N1∑i(Xi−EXi)∥>a)≤n/2πNa2, and on the complementary event ∥∇fW(t′)∥≤2πa+∥∇fL′(t′)∥≤2πa+γn.
(iii) By Lemma 5(iv) with u=0, c=1, P(∥w∥>n)≤β(1)n for one sample, so P(Ec)≤Nβ(1)n. Let w~ be a sample conditioned on ∥w~∥≤n and Σ′:=Ew~w~⊤⪯2π1+ϵnI (Lemma 9). Put Xi=N1(w~iw~i⊤−Σ′): these are independent, centered, ∥Xi∥≤max(∥w~i∥2,∥Σ′∥)/N≤n/N=:R, and
and on the complementary event smax(N1∑iw~iw~i⊤)≤∥Σ′∥+δ′/2π≤(1+ϵn+δ′)/2π=(1+δ)/2π; on E the conditioned samples are the actual samples.
Aharonov and Regev prove the spectral statement with the bound 3N in place of (1+δ)N/2π, by truncation, Hoeffding's inequality in each direction of an ϵ-net of the sphere, and a union bound; the factor 3 is a Hoeffding slack of 2 plus a net slack of 1. The matrix Bernstein inequality removes both slacks, and nothing below 1/2π is possible (Lemma 6).
The new ingredient is the Hessian test.
Lemma 31 (The Hessian test for Gaussian certificates). Let n≥8 and c′′1−1/n≥1/2π. Then
Proof. By (2.3), ∥∇2fL′(t′)∥≤ρ(L′)−1∑y∈L′+t′(4π2∥y∥2+2π)e−π∥y∥2, and by (2.4) each term is at most (4π2⋅πen+2π)ρs′(y); summing and using (2.5) gives (6.1). For the fluctuation, let E be the event that ∥wi∥≤n for all i, so P(Ec)≤Nβ(1)n by Lemma 5(iv), and let w~i be the samples conditioned on ∥w~i∥≤n; on E they coincide with the wi. Write c(w)=cos(2π⟨w,t′⟩) and put
Xi:=N1(c(w~i)w~iw~i⊤−E[c(w~)w~w~⊤]).
These are independent, centered, and ∥Xi∥≤N1(∥w~i∥2+E∥w~∥2)≤2n/N=R. Since the variance of a random matrix is dominated by its second moment,
and run Vτ,σ,η(2). Its close radius r2(n) of (3.1) tends to 3π/8=1.0854 as n→∞ ( r2(8)=0.8204, r2(9)=0.8367, r2(100)=1.0134, r2(104)=1.0783). Soundness is Proposition 25. Completeness. We prove slightly more, for use in Appendix A: let the verifier rescale by q/r for any q∈(r2(n)−n−4,r2(n)] in place of r2(n)/r; we show that some certificate passes tests (b)–(e) with margin at least n−4 each. On a NO instance,
dist(t′,L′)>cqn≥c(r2(n)−n−4)n=:c′′n,
and c′′→c3π/8>π323π/8=1/2π. Let n0(c) be the least n≥8 such that, for all n′≥n,
(with n′ in place of n), with γn, γn(2), κn as in Lemmas 30, 31 and 9; such n0 exists because β(c′′)<1 for large n, after which β(c′′)n, γn, γn(2) and κn decay exponentially while τ/2=1/2n and n−1/2 do not. For n≥n0 let W be N independent samples from DL′∗. Test (a) holds. All the bounds below are nonincreasing in n, and we use N≥100n2log2n.
Test (c). By Lemma 30(i) with ζ=τ/2−n−4, fW(t′)<β(c′′)n+τ/2−n−4≤τ−n−4 except with probability at most
2e−N(τ/2−n−4)2/2≤2e−12.5(1−2n−3)2log2n≤2n−17.
Test (b). Apply Lemma 30(iii) with δ−2πn−4 in place of δ, so that δ′=δ−ϵn−2πn−4≥0.9891δ (as (ϵn+2πn−4)/δ≤0.0109 for n≥8) and δ≤0.4⋅8−1/2=0.1414. Except on Ec, of probability at most Nβ(1)n, and on an event of probability at most
Except with probability at most 2n−2.945+Nβ(1)n, we get ∥∇2fW(t′)∥≤4π2(u+κn)+γn(2)≤(3.9478+0.55)n−1/2≤η2−n−4, by the last condition in (6.2).
At n=8, where N=19200 and Nβ(1)8=0.0199, the failure probabilities are at most 2⋅8−17, 0.2256+0.0199, 0.0829 and 0.0044+0.0199, which sum to less than 0.3527; so for every n≥n0 some certificate passes tests (b)–(e) with margin at least n−4 each, and the verifier accepts. The bit length of the certificate is bounded in Appendix A.
Membership of GapCVP in NP is witnessed by a nearby lattice point, and dimensions below n0(c) are decided by Kannan's algorithm. For GapSVP we use the index-two sublattices of Goldreich, Micciancio, Safra and Seifert [5]: if B=[b1,…,bn] and B(j) replaces bj by 2bj, then λ1(L(B))=minjdist(bj,L(B(j))), because a shortest nonzero vector has an odd coefficient in some basis coordinate j (otherwise it could be halved), and then lies in bj−L(B(j)), while every vector bj−v, v∈L(B(j)), is a nonzero vector of L(B). The coNP verifier for GapSVPcn on (B,r) runs the verifier above on the n instances (B(j),bj,r), with a certificate of nN integer vectors, and accepts if all of them accept. On a NO instance, λ1>cnr, all n instances are NO instances and their certificates exist; on a YES instance, λ1≤r, some instance (B(j),bj,r) is a YES instance and its verifier rejects. A short nonzero lattice vector is the NP certificate.
c
0.37
0.375
0.38
0.39
0.40
0.42
0.45
0.50
0.60
0.70
1.00
2.00
n0(c)
666738
62553
20881
5913
2689
967
372
140
46
24
9
8
Table 2: The cutoff n0(c) of Theorem 2: the least n≥8 from which on the conditions (6.2) hold, with c′′=c(r2(n)−n−4) and the parameters τ=1/n, δ=0.4n−1/2, η1=n−1/2, η2=4.5n−1/2, N=100n2⌈log2n⌉, evaluated numerically (the conditions were checked for all n up to 3⋅106, beyond which they hold with a wide margin). It applies to the finite-bit verifier of Appendix A. For every entry except c=2 the binding condition is the last one, the size of the Hessian for Gaussian certificates; for c=2 it is the requirement n≥8. For c≤0.5 the entries are within a factor of 4 of the least n with β(c3π/8)n≤1/2n, the requirement of the threshold test alone; the limiting constant 2/(π3)=0.3676 does not depend on the parameters.
Remark 32 (Where the constants come from). The constant is the ratio of a far threshold to a close radius. With the Gaussian prover the far threshold is Banaszczyk's 1/2π, and the close radius at the Gaussian spectral level σ2=1/2π is 2πvk. The published proof [1] certifies c=100: threshold τ=21, spectral bound 3N, the Taylor inequality cosφ≥1−φ2/2 for soundness, which gives fW≥1−2π2⋅3∥e∥2≥21 for ∥e∥≤1/(2π3)=0.0919, and a generous rescaling to 1/100 on the close side and n on the far side. Using the close radius 0.0919 as is and the far side at any c′′>1/2π gives c=6π=4.3416; placing the spectral bound at its Gaussian expected value (1+δ)N/2π (Lemma 30(iii)) and letting τ→0, still with the Taylor inequality, gives the close radius 1/π and c=1/2=0.7071; the exact second-moment analysis v0=161 gives c=2/π=0.6366, which by Theorem 27 is the end of the road for the original tests; the gradient test, v1=81, gives c=2/π=0.4502; and the Hessian test, v2=163, gives c=2/(π3)=0.3676 (Theorem 2). Each of the last three is proved by the argument of Theorem 2 with the corresponding verifier V(k), Lemma 31 being needed only for k=2. What remains is the far side.
7 The far side
7.1 The Gaussian prover
The following threshold governs the Gaussian prover. Let c0 be the infimum of the c>0 such that, for every lattice L⊆Rn and every x∈Rn, dist(x,L)≥cn implies fL(x)≤2−Ω(n) (with the implied constant depending on c only). Lemma 5(iv) gives c0≤1/2π=0.3989.
Lemma 33 (The Gaussian prover passes all tests). Let c>c0. There is δ=δ(c)>0 such that for all sufficiently large n, every lattice L⊆Rn and every t with dist(t,L)≥cn, the distribution P of w∼DL∗ conditioned on ∥w∥≤n2 (so that P is admissible in Definition 15) satisfies
Proof. Pick c1∈(c0,c) and δ1>0 such that, for large n, every coset of every lattice in Rn at distance at least c1n has Gaussian mass at most 2−δ1n times that of the lattice. Let Q=DL∗. Then Σ(Q)⪯I/2π by Lemma 6, EQcos(2π⟨w,t⟩)=fL(t)≤2−δ1n by (2.2), and by (2.3), (2.4) and the argument of (2.5),
where (L+t)/s′ is a coset of L/s′ at distance dist(t,L)/s′≥(c/s′)n≥c1n for large n, so that ρs′(L+t)=ρ((L+t)/s′)≤2−δ1nρ(L/s′)≤2−δ1ns′nρ(L)≤2⋅2−δ1nρ(L) by Lemma 5(ii). So all four quantities for Q are at most poly(n)2−δ1n. Conditioning on ∥w∥≤n2 changes them by at most p=Q(∥w∥>n2), EQ[∥w∥1∥w∥>n2] or EQ[∥w∥21∥w∥>n2], up to the factor (1−p)−1, and by Lemma 5(iv) and Lemma 9 with R=n3/2 these are at most eπR2β(R)n⋅n=n3n/2+1(2πe)n/2e−πn3(n−1), which is far smaller than 2−δ1n. Any δ<δ1 works for large n. The last claim follows with τn=η1,n=η2,n=δn=2−δn.
7.2 The constant of the verifier family
Theorem 34 (The constant is the far threshold over the close radius). For k∈{0,1,2}, cAR(k)=cfar(k)/ϱk with ϱk as in (3.8). In particular cAR(2)=8/(3π)cfar(2), and the proof of Theorem 2 shows explicitly that cAR(2)≤(1/2π)/ϱ2=2/(π3).
Proof. We treat k=2; the cases k=0,1 are the same with the corresponding tests omitted. Throughout σ2=1/2π.
cfar(2)≤ϱ2cAR(2). Let a family Vn achieve c and let c′′>cϱ2. Since cr2(n)→cϱ2<c′′, for large n every (L,t) with dist(t,L)≥c′′n has dist(t,L)>cr2(n)n, hence an accepting certificate W of vectors of norm at most n2. Its empirical distribution PW lives on {w∈L∗:∥w∥≤n2} by test (a) and the norm test, and by (3.4) tests (b)–(e) say exactly that
These slacks tend to 0, so r2(n)→ϱ2 and cr2(n)≥c′′ for large n. Fix such an n and (L,t) with dist(t,L)>cr2(n)n≥c′′n, and let P be the distribution provided by certifiability, supported on vectors of norm at most n2. Let W consist of N=n8 independent samples from P; test (a) and the norm test hold. For test (c), Lemma 7 with ζ=1/n gives fW(t)<τn+1/n<τn′ except with probability 2e−N/2n2. For test (b), apply Lemma 8 to Xi=N1(wiwi⊤−Σ(P)): here ∥Xi∥≤2n4/N and
i∑EXi2⪯N1EP[∥w∥2ww⊤]⪯Nn4Σ(P)⪯Nn4I,
so with u=1/n the failure probability is at most nexp(−n4/N+2n4/3nN1/2n2)≤ne−N/4n6=ne−n2/4, and on the complementary event smax(Σ(PW))≤(1+δn)σ2+n1≤(1+δn′)σ2. For test (d), put Xi=sin(2π⟨wi,t⟩)wi, so that E∥Xi∥2≤EP∥w∥2≤n; Markov's inequality gives ∥N1∑i(Xi−EXi)∥≤1/n except with probability n3/N=n−5, and then ∥∇fW(t)∥≤2π(η1,n+1/n)<η1,n′. For test (e), apply Lemma 8 to Xi=N1(cos(2π⟨wi,t⟩)wiwi⊤−D2(P)), for which ∥Xi∥≤2n4/N and ∑iEXi2⪯N1EP[∥w∥2ww⊤]⪯Nn4I as before; with u=1/n the two-sided bound gives failure probability at most 2ne−n2/4, and otherwise ∥∇2fW(t)∥≤4π2(η2,n+1/n)<η2,n′. The four failure probabilities sum to less than 1 for n≥3, so an accepting certificate exists, consisting of vectors of norm at most n2 and hence of polynomial bit length. Thus the family achieves every c>c′′/ϱ2, so cAR(2)≤c′′/ϱ2, and the infimum over c′′ gives the claim.
and L∗ splits into the index-two sublattice E:={χ=1}=(L+Zt)∗ of even vectors and its complement O:={χ=−1} of odd vectors. For a feasible P write
ΣO(P):=w∈O∑P(w)ww⊤,ΣE(P):=w∈E∑P(w)ww⊤,
so that
Σ(P)=ΣE+ΣO,D1(P)=0,D2(P)=ΣE−ΣO,
and EPχ=1−2P(O). The prover wants mass on odd vectors; the spectral constraint limits how much, and the Hessian constraint forces the even vectors to carry the same second moment as the odd ones.
Definition 35 (Spectral capacity of the odd coset).
The capacity is finite: if ℓ:=min{∥w∥:w∈O} then ν(O)ℓ2≤tr∑ν(w)ww⊤≤n, so μ≤n/ℓ2. It has a dual description as a trace-minimal ellipsoid.
Lemma 36 (Capacity duality). μ(L,t)=min{trM:M∈Symn,M⪰0,w⊤Mw≥1 for all w∈O}, and the minimum is attained. If ν attains the supremum and M the minimum, then ν is supported on {w∈O:w⊤Mw=1} and tr(M(I−∑ν(w)ww⊤))=0.
Proof. Weak duality: for feasible ν and M, ν(O)≤∑wν(w)w⊤Mw=tr(M∑ν(w)ww⊤)≤trM, since M⪰0 and I−∑νww⊤⪰0; the complementary slackness statement is the case of equality in this chain. For strong duality consider in R×Symn the convex sets
They are disjoint: a point of K in C2 would come from a ν with ∑νww⊤⪯B≺I, hence feasible, and ν(O)≥x>μ. Since C2 is open, there are (α,M)=0 and γ with ℓ(x,B):=αx+tr(MB)≤γ on K and ℓ≥γ on C2. Letting r→∞ in K gives α≥0, and letting S=λvv⊤, λ→∞, gives v⊤Mv≤0 for all v, i.e. M⪯0. On C2, tr(MB)≥trM because M⪯0 and B≺I, so infC2ℓ=αμ+trM≥γ. In K take ν=λδw with w∈O, λ≥0, r=0, S=0: λ(α+w⊤Mw)≤γ for all λ≥0, so γ≥0 and α+w⊤Mw≤0 for every w∈O. If α=0 then 0≤γ≤trM≤0, so trM=0 and M=0, a contradiction; hence α>0, and we normalize α=1. Put M′:=−M⪰0. Then w⊤M′w≥1 for all w∈O, so M′ is dual feasible, and 0≤γ≤μ+trM=μ−trM′ gives trM′≤μ. With weak duality, trM′=μ, which proves the formula and the attainment of the minimum.
Theorem 37 (The prover's program at targets of order two). Let 2t∈L, t∈/L, σ>0, and μ=μ(L,t).
(i) For every η1≥0, Φσ(0)(L,t)=Φσ(1)(L,t;η)=1−2min(1,σ2μ).
(ii) With the exact Hessian constraint η2=0, for every σ>0,
Φσ(2)(L,t)=1−2min(1,σ2μ/2)=max(−1,1−σ2μ).
If σ2μ≥2 this infimum is not attained.
(iii) With ∥D2(P)∥≤η2 in place of D2(P)=0 and spectral level (1+δ)σ2 in place of σ2, every feasible P satisfies
whereas without the Hessian constraint the bound is 1−2n(1+δ)σ2/ℓ2.
(iv) (Distributions approaching the value) Let ν be feasible for Definition 35 with ν(O)≥μ−ϵ. If σ2μ≤1, the distribution P=σ2ν+(1−σ2ν(O))δ0 is feasible for the program in (i) with value 1−2σ2ν(O)≤1−2σ2μ+2σ2ϵ. For the Hessian program, choose a scalar a>0 with a∑ν(w)ww⊤⪯(σ2/2)I, put p=aν(O)<1, and choose an integer K≥1 so that p(1+1/(4K2))≤1. Then
is feasible for (ii) and has value 1 - 2p. By taking a and ν(O) appropriately, this approaches the value in (ii) for every σ2μ. If ν attains μ and σ2μ<2, one may take a=σ2/2 and a finite K, obtaining an optimum. When ν and a dual minimizer M both attain their values, complementary slackness places the sampled odd vectors on {w∈O:w⊤Mw=1}.
Proof. (i) Since sin(2π⟨w,t⟩)=0 on L∗, D1(P)=0 for every P, so the gradient constraint is void and Φ(1)=Φ(0). Let P be feasible, i.e. ΣE+ΣO⪯σ2I. Then ν:=P∣O/σ2 satisfies ∑νww⊤=ΣO/σ2⪯I, and every finite restriction of ν is feasible for Definition 35, so P(O)=σ2ν(O)≤σ2μ; also P(O)≤1. Hence EPχ=1−2P(O)≥1−2min(1,σ2μ). The distributions of (iv) show that this bound is approached: for σ2μ≤1, P=σ2ν+(1−σ2ν(O))δ0 has Σ(P)=σ2∑νww⊤⪯σ2I and EPχ=1−2σ2ν(O); for σ2μ>1 scale ν down to ν′ with σ2ν′(O)=1 (which preserves ∑ν′ww⊤⪯I) and take P=σ2ν′, with EPχ=−1.
(ii) Let P be feasible with D2(P)=ΣE−ΣO=0. Then Σ(P)=2ΣO⪯σ2I, so every finite restriction of ν:=P∣O/(σ2/2) is feasible for Definition 35, and hence P(O)≤σ2μ/2. Also P(O)≤1. Therefore
EPχ=1−2P(O)≥1−2min(1,σ2μ/2).
For the reverse inequality choose a finitely supported feasible ν with mass arbitrarily near μ. Scale ν so that p:=aν(O) is arbitrarily near min(1,σ2μ/2) from below and a∑ν(w)ww⊤⪯(σ2/2)I. For an integer K large enough that p(1+1/(4K2))≤1, define P as in (iv). Since w∈O implies 2Kw∈E, its odd and even second moments are both a∑ν(w)ww⊤, while its total second moment is at most σ2I. Its objective is 1−2p, proving the equality on letting p tend to its upper limit. If σ2μ≥2, equality in the lower bound would require P(O)=1. This is impossible: ΣO=0 for a distribution supported on O, whereas D2=0 would require a nonzero even second moment and hence positive mass on E. Thus the value −1 is not attained in this range.
(iii) If ΣE+ΣO⪯(1+δ)σ2I and ∥ΣE−ΣO∥≤η2, then 2ΣO=Σ(P)+(ΣO−ΣE)⪯((1+δ)σ2+η2)I, so P(O)ℓ2≤trΣO≤2n((1+δ)σ2+η2) and EPχ=1−2P(O)≥1−n((1+δ)σ2+η2)/ℓ2. Without the Hessian constraint, P(O)ℓ2≤trΣO≤trΣ(P)≤n(1+δ)σ2.
(iv) Feasibility and the values were verified in (i) and (ii); the support statement, when the capacity is attained, is the complementary slackness of Lemma 36.
At a target of order two, the infimum of the spectral-only program is nonpositive when μ≥21σ−2=π at σ2=1/(2π), while the corresponding condition for the exact-Hessian program is μ≥σ−2=2π: the Hessian test doubles the capacity the prover needs. Acceptance by a concrete verifier also depends on its positive threshold, tolerances, and finite-support sampling slack. The Gaussian prover corresponds to ν=(2π/ρ(L∗))ρ∣O, whose finite restrictions are feasible by Lemma 6, so μ≥ν(O)=2πρ(O)/ρ(L∗)=π(1−fL(t)); when the Hessian ∇2fL(t) vanishes, ΣO=ΣE for the Gaussian, so the same holds for ν=(4π/ρ(L∗))ρ∣O and μ≥2π(1−fL(t)), consistent with (ii).
Completeness at targets of order two is therefore a transference theorem for cosets: a statement that dist(t,L)≥cn forces the capacity past the relevant threshold with sufficient slack (respectively near π and 2π for the two programs at Gaussian spectral level). It is an analogue of Banaszczyk's transference theorem, in which a large covering radius forces a short dual vector, with the length of the shortest odd dual vector replaced by the spectral capacity of the odd dual vectors; a single odd vector of norm ℓ already proves dist(t,L)≥dist(⟨w,t⟩,Z)/∥w∥=1/(2ℓ), and the capacity is its robust, averaged form. By the computation above and Lemma 5(iv), the Gaussian prover proves this coset transference for every c>1/2π, while Proposition 42 below shows that it fails for c<1/(2eπ), and for c<1/(e2π) with the Hessian test.
7.4 Code lattices: the Gaussian prover is not optimal
We now exhibit lattices on which the Gaussian prover fails at distance greater than 0.2735n while another prover succeeds; in the language of Definition 10, fL(x)>Φ(L,x) there, so the Gaussian prover is not the optimal prover for the Aharonov–Regev verifier. For a binary linear code C≤F2n let
Λ(C):={v∈Zn:vmod2∈C}(ConstructionA,[3]),
a lattice with 2Zn⊆Λ(C)⊆Zn, detΛ(C)=2n−dimC and dual Λ(C)∗=21Λ(C⊥). For s>0 and a word z∈F2n put
where the second expression for b is Poisson summation (θ0+θ1=ρ(sZ)=s−1ρ(Z/s) and θ0−θ1=∑k(−1)kρ(sk)=s−1ρ(Z/s+1/2s). Both lie in (0,1). Let WS(z):=∑c∈Szwt(c) be the weight enumerator of a set S⊆F2n, wt(S):=minc∈Swt(c), and H the binary entropy function H(p)=−plog2p−(1−p)log2(1−p) with inverse H−1:[0,1]→[0,21] (in this subsection H and R denote the entropy function and a code rate, not the dual variable and the Bernstein range of earlier sections).
Lemma 38. With the notation above:
(i) dist(x,L)=swt(C+z);
(ii) ρ(L)=θ0nWC(a) and ρ(L+x)=θ0nWC+z(a), so fL(x)=WC+z(a)/WC(a);
Proof. (i) L+x=s{v∈Zn:vmod2∈C+z}, and the shortest v∈Zn with vmod2=c has entries in {0,±1} and norm wt(c). (ii) Grouping the vectors of L by their residue c∈C,
(the MacWilliams identity, [9, Chapter 5]). Dividing the identity for u=z by the one for u=0 gives the formula. The d=0 term of the denominator is 1, every other term is positive, and the numerator differs from the denominator by at most 2∑d=0bwt(d)=2(WC⊥(b)−1).
Two facts about codes complete the picture. First, the sphere-covering bound: for every code C of dimension k there is a word z with wt(C+z)≥nH−1(1−k/n), because the Hamming balls of radius r about the 2k codewords cover F2n only if 2k⋅2nH(r/n)≥2n. Second, if C is a uniformly random subspace of dimension k, then C⊥ is a uniformly random subspace of dimension n−k, so
E[WC⊥(b)−1]=d=0∑bwt(d)P(d∈C⊥)≤2−k(1+b)n.(7.2)
Theorem 39 (Coset lattices). Let s>0 and R∈(0,1) satisfy log2(1+b(s))<R. Then for all sufficiently large n there are a lattice L⊆Rn and a point x with
dist(x,L)≥sH−1(1−R)nandρ(L+x)≥21ρ(L).
Consequently
c0≥c∗:=sup{sH−1(1−R):s>0,log2(1+b(s))<R<1},
where c0 is the Gaussian threshold defined above. A one-variable numerical maximization gives c∗≈0.2736 (near s=0.5038); this decimal is an approximation, not a certified value of the supremum. The explicit rational choice s0=2519/5000, R0=313/2500 gives the rigorous lower bound c∗≥s0H−1(1−R0)>0.2735.
Proof. Let k=⌊Rn⌋ and let C be a uniformly random k-dimensional subspace of F2n. By (7.2), E[WC⊥(b)−1]≤2⋅2−n(R−log2(1+b))≤81 for large n, so with probability at least 21, WC⊥(b)−1≤41. Fix such a C, let z be a word with wt(C+z)≥nH−1(1−k/n)≥nH−1(1−R) (as k≤Rn and H−1 is increasing), and set L=sΛ(C), x=sz. Lemma 38(i) gives the distance and (iii) gives fL(x)≥1−2⋅41=21. Since this works for every strict admissible pair, c0≥c∗. For the displayed rational pair, truncate both sums θ0=∑je−π(2s0j)2 and θ1=∑je−π(2s0j+s0)2 at ∣j∣≤5; every omitted term has exponent at least π(11s0)2 and consecutive omitted terms on each side decrease by a factor at least e−8πs02, so all omitted terms together are below 4e−π(11s0)2/(1−e−8πs02)<10−41. Interval arithmetic for the truncated sums, with these tail bounds, then gives 0.09060547<b(s0)<0.09060549, 0.1251292<log2(1+b(s0))<0.1251295<R0, and 0.2947671<H−1(1−R0)<0.2947673
(bisection on the increasing function H), whence s0H−1(1−R0)>0.2735254. A short script reproducing these enclosures in the interval arithmetic of mpmath accompanies the source files. The approximate value of c∗ quoted above comes from maximizing s2H−1(1−log2(1+b(s))) numerically; no claim of a certified global maximum is needed here. (For comparison, Siegel's mean value theorem gives heavy cosets of random unimodular lattices at distance (1−o(1))n/(2πe)=0.2420n, by a simpler version of the argument of Lemma 41 below; the code lattices beat this.)
For the explicit parameters above, L=0.5038Λ(C) with C of rate approximately 0.1252; the lattice contains the cubic lattice 2sZn with 2s≈1, the coset L+x consists of the 2Rn nontrivial residues of C+z, all of weight at least 0.2947n, and these carry at least half of the Gaussian mass of L although the nearest point of the coset is at distance more than 0.2735 n. In the dual picture, L∗=2s1Λ(C⊥), and fL(x) is the average of the character (−1)⟨z,d⟩ over L∗ with Gaussian weights; the cancellation that would make fL(x) small never happens because the odd dual vectors (those with ⟨z,d⟩=1) carry too little Gaussian mass. A prover that samples odd vectors directly does better, and Proposition 40 balances their second moments with doubles to pass the Hessian test.
Proposition 40 (The parity prover). Put cp:=s0H−1(1−R0)>0.2735 for the rational pair s0,R0 in Theorem 39. For every c<cp and all large n there are L⊆Rn and x with 2x∈L, dist(x,L)≥cn and fL(x)≥21, together with a probability distribution P on {w∈L∗:∥w∥≤0.77n} with
Hence (L,x) is certified by the Hessian-augmented family (by the sampling argument in the proof of Theorem 34), while the Gaussian prover fails on it. In particular nothing we know excludes cfar(2)<c0.
Proof. Take s=s0=2519/5000 and R=R0=313/2500, let k=⌊Rn⌋, let C be a uniformly random k-dimensional code, and let z be a uniformly random word, independent of C. Fix ϵ∈(0,0.01] so small that s0(1−ϵ)H−1(1−R0)>c. Three events hold simultaneously with positive probability for large n. (1) WC⊥(b)−1≤41, with probability at least 21 as before. (2) wt(C+z)≥(1−ϵ)nH−1(1−k/n): the coset C+z is a uniformly random coset, and the expected number of its words of weight below this bound is 2−(n−k)∑u<(1−ϵ)nH−1(1−k/n)(un)=2−Ω(n). (3) Let ω:=⌊0.15n⌋, let O′ be the set of d∈C⊥ with wt(d)=ω and ⟨d,z⟩=1, and for each coordinate i let Oi′={d∈O′:di=1}. For a fixed nonzero d, P(d∈C⊥,⟨d,z⟩=1)=21⋅2n−12n−k−1, and for distinct nonzero d,d′ the two events are negatively correlated, because a uniformly random subspace contains two given independent vectors with probability (2n−1)(2n−2)(2n−k−1)(2n−k−2)≤(2n−12n−k−1)2 and z is independent of C. Hence, since a uniformly random d of weight ω has di=1 with probability ω/n,
and Var∣Oi′∣≤E∣Oi′∣; by Chebyshev's inequality and a union bound over i, with probability 1−2−Ω(n) every ∣Oi′∣ lies within a factor 1±ϵ/3 of nωE∣O′∣, and then ∣O′∣=ω1∑i∣Oi′∣ does too, so every ∣Oi′∣ lies within a factor 1±ϵ of nω∣O′∣.
Fix (C,z) satisfying (1)–(3) and let L=sΛ(C), x=sz; then 2x=2sz∈2sZn⊆L, and by Lemma 38 and (1), (2), dist(x,L)≥cn and fL(x)≥21. For d∈O′ and a sign pattern ε∈{±1}n let wd,ε:=2s1(ε∘d); since ε∘d≡d(mod2) this lies in 2s1Λ(C⊥)=L∗, and ⟨wd,ε,x⟩=21⟨ε∘d,z⟩≡21⟨d,z⟩=21(mod1), so these are odd vectors, of norm ω/2s≤0.3844n. Let Q be uniform on {wd,ε}. Averaging over ε kills the off-diagonal terms, so by (3)
Now let p=0.53 and P:=pQ+4pQ2+(1−45p)δ0, where Q2 is the image of Q under w↦2w; the vectors 2wd,ε=s1(ε∘d) lie in s1Zn⊆L∗, are even, and have norm at most 0.7688n. As in Theorem 37(ii), ΣE(P)=4p⋅4Σ(Q)=pΣ(Q)=ΣO(P), so D2(P)=0; D1(P)=0 because sin(2π⟨w,x⟩)=0 on L∗; Σ(P)=2pΣ(Q)⪯1.06⋅0.14775⋅1.01I⪯0.1582I; and EPχ=1−2P(O)=1−2p=−0.06.
7.5 Obstructions from random lattices
Lemma 36 also gives obstructions: a target of order two that no certificate can refute is one whose odd dual vectors are all long, since M=I/ℓ2 is then dual feasible with trM=n/ℓ2. Random lattices provide such targets. We use Siegel's mean value theorem [11]: if Λ is a random unimodular lattice, distributed according to the Haar probability measure on SLn(R)/SLn(Z), then E∑v∈Λ∖{0}g(v)=∫Rng for every integrable g≥0; the map Λ↦Λ∗ corresponds to A↦A−⊤ on SLn(R) and preserves Haar measure, so Λ∗ is Haar-distributed as well. We write Vn=πn/2/Γ(2n+1) for the volume of the unit ball; Stirling's lower bound Γ(2n+1)≥2π(2n)(n+1)/2e−n/2 gives Vn≤(2πe/n)n/2/πn.
Lemma 41 (Random lattices with a deep hole of order two). For every ϵ∈(0,21) and all sufficiently large n there are a lattice L⊆Rn and a point t with 2t∈L, t∈/L, such that, with r:=(1−ϵ)n/2πe,
dist(t,L)≥rand∥w∥≥rforeveryoddvectorw∈L∗.
Proof. Let Λ be a Haar-random unimodular lattice and, given Λ, let u0 be a uniformly random nonzero class of Λ∗/2Λ∗. Put L:={v∈Λ:⟨v,u0⟩ even}, an index-two sublattice (the parity of ⟨v,u0⟩ is a nonzero homomorphism Λ→Z/2), and t:=v0 for any v0∈Λ∖L. Then 2t∈2Λ⊆L, the coset t+L is Λ∖L, so
dist(t,L)=min{∥v∥:v∈Λ,⟨v,u0⟩odd},
and L∗=Λ∗∪(Λ∗+u0/2), where u0/2∈L∗∖Λ∗; the odd vectors of L∗ are Λ∗+u0/2, since 2⟨u+u0/2,v0⟩=2⟨u,v0⟩+⟨u0,v0⟩ is odd. Note Vnrn≤(1−ϵ)n/πn≤(1−ϵ)n.
The hole is deep. Vectors of 2Λ pair evenly with u0. For a fixed v∈Λ∖2Λ the parity of ⟨v,u0⟩ is a nonzero linear functional of the class u0, so it is odd with probability 2n−1/(2n−1)≤1. By Siegel's theorem the expected number of v∈Λ with 0<∥v∥≤r and ⟨v,u0⟩ odd is at most Vnrn.
The odd dual vectors are long. We have min∥Λ∗+u0/2∥=21min∥u0+2Λ∗∥. For a uniformly random nonzero class, the expected number of vectors of u0+2Λ∗ of norm at most 2r is
because Λ∗ is Haar-distributed, so the expected number of nonzero vectors of Λ∗ of norm at most 2r is Vn(2r)n, of which those in 2Λ∗ are the doubles of the nonzero vectors of Λ∗ of norm at most r, expected number Vnrn.
By Markov's inequality both counts are zero with probability at least 1−2(1−ϵ)n>0, and then dist(t,L)≥r and every odd vector of L∗ has norm at least r.
Proposition 42 (Obstructions). cfar(2)≥e2π1=0.1468 and cfar(1)≥cfar(0)≥2eπ1=0.1038. Consequently
Proof. Fix ϵ and take L,t,r as in Lemma 41. For the first statement rescale: L′=λL with λ=r2π/((1+ϵ)n), so that the odd vectors of L′∗=λ−1L∗ have norm at least ℓ:=r/λ=(1+ϵ)n/2π, while
dist(λt,L′)≥λr=(1+ϵ)nr22π=1+ϵ(1−ϵ)2⋅e2πn.
By Theorem 37(iii) with σ2=1/2π, every P on L′∗ with Σ(P)⪯(1+δn)σ2I and ∥D2(P)∥≤η2,n has
for all large n, whatever the slacks τn,δn,η2,n→0. So no c<1+ϵ(1−ϵ)2⋅e2π1 is 2-far-certifiable; let ϵ→0. For the second statement rescale instead by λ=rπ/((1+ϵ)n), so that ℓ≥(1+ϵ)n/π and dist(λt,L′)≥1+ϵ(1−ϵ)2⋅2eπn; the bound without the Hessian constraint in Theorem 37(iii) gives EPcos(2π⟨w,λt⟩)≥1−(1+ϵ)21+δn>τn. The last claims are (3.9).
7.6 Where the far side stands
Collecting Lemma 33, Theorem 34, Theorem 39 and Proposition 42:
The upper end is Theorem 2. The Gaussian prover alone cannot give a constant below c∗/ϱ2>0.2520 (using c∗>0.2735254 from the proof of Theorem 39), since it fails on the coset lattices of Theorem 39; going beyond this bound requires a different prover, and the balanced parity prover of Proposition 40 is one, on one family of lattices. A better prover must integrate the dual inequality (4.4) against something other than DL∗. In the other direction, raising cfar(2) means constructing dual solutions at targets farther than 0.1468n; at targets of order two the best one is the trace-minimal ellipsoid excluding the odd dual vectors (Lemma 36 and Theorem 37), and random lattices give 0.1468.
8 Concluding remarks
The linear program over distributions on the dual lattice is the natural object behind the Aharonov–Regev verifier: its value at close targets gives soundness, its value at far targets gives completeness, and its dual is an envelope inequality on the close side and a quadratic certificate on the far side. On the close side the theory is complete for tests on the derivatives of the cosine sum at the target, and it yields the constant 2/(π3) of Theorem 2; line tests at multiples of the target would lower the constant by about two percent more (Remark 28), numerically and without a closed form.
The far side is where the theory points; Section 7 collects what is known. We regard the following as the main open questions. Is cfar(2)<1/2π, i.e. is there a prover that beats Banaszczyk's threshold on every lattice? The dual formulation reduces this to excluding quadratic certificates of small trace, and the optimal distributions at order-two targets suggest provers that weight short dual vectors by how far ⟨w,t⟩ is from an integer rather than by Gaussian mass. What is the value of the Gaussian threshold c0∈[c∗,1/2π]? And is there a polynomial-time checkable certificate for the near-lattice behaviour of fW beyond second moments and the derivatives at the target, which is what approaching n/logn would require?
References
[1] D. Aharonov, O. Regev. Lattice problems in NP ∩ coNP. J. ACM 52(5):749–765, 2005.
[2] W. Banaszczyk. New bounds in some transference theorems in the geometry of numbers. Math. Ann. 296:625–635, 1993.
[3] J. H. Conway, N. J. A. Sloane. Sphere Packings, Lattices and Groups. 3rd ed., Grundlehren der mathematischen Wissenschaften 290, Springer, New York, 1999.
[4] I. Dinur, G. Kindler, R. Raz, S. Safra. Approximating CVP to within almost-polynomial factors is NP-hard. Combinatorica 23(2):205–243, 2003.
[5] O. Goldreich, D. Micciancio, S. Safra, J.-P. Seifert. Approximating shortest lattice vectors is not harder than approximating closest lattice vectors. Inform. Process. Lett. 71(2):55–61, 1999.
[6] W. Hoeffding. Probability inequalities for sums of bounded random variables. J. Amer. Statist. Assoc. 58(301):13–30, 1963.
[7] R. Kannan. Minkowski's convex body theorem and integer programming. Math. Oper. Res. 12(3):415–440, 1987.
[8] D. Micciancio, O. Regev. Worst-case to average-case reductions based on Gaussian measures. SIAM J. Comput. 37(1):267–302, 2007.
[9] F. J. MacWilliams, N. J. A. Sloane. The Theory of Error-Correcting Codes. North-Holland, Amsterdam, 1977.
[10] R. T. Rockafellar. Convex Analysis. Princeton University Press, Princeton, 1970.
[11] C. L. Siegel. A mean value theorem in geometry of numbers. Ann. of Math. 46(2):340–347, 1945.
[12] Z. Song. Hardness of Euclidean closest vector within n1/2−ϵ and binary nearest codeword within n1−ϵ. Manuscript, 2026 (earlier version: IACR ePrint 2026/1655).
[13] J. A. Tropp. User-friendly tail bounds for sums of random matrices. Found. Comput. Math. 12(4):389–434, 2012.
A A finite-bit verifier
This appendix implements the Hessian-augmented verifier of Theorem 2 in the bit model, in dimensions n≥8; smaller dimensions, and more generally those below n0(c), are decided by Kannan's algorithm. The input (B,t,r) has rational entries encoded in binary, with B nonsingular and r>0; let ℓin be its bit length. All decisions below are exact comparisons of rational numbers or rational symmetric matrices; transcendental quantities are enclosed by rational intervals before any decision is made.
and for n≥8 the numbers An, Cn and r2,n lie in fixed compact subintervals of (0,∞). Put mn=n−4. Enclose π by Machin's identity
4π=4arctan51−arctan2391
and the alternating Taylor series of arctan, whose first omitted term bounds the error; enclose n and the square root in r2,n by rational bisection; and evaluate the formula for r2,n in rational interval arithmetic. With O(logn) bits of precision the resulting interval has width less than mn, and we let qn be its left endpoint, so that
qn∈Q,0<r2,n−qn<mn.(A.2)
In the same way choose rationals Sn−, E1,n−, and E2,n− with
The rational scale is qn/r, so L′=(qn/r)BZn, t′=(qn/r)t, and the certificate vector represented by zi is
wi=qnrB−⊤zi.
In particular the phase is the rational number
⟨wi,t′⟩=zi⊤B−1t,(A.4)
which is reduced modulo 1 to φi∈[0,1) by exact rational arithmetic. The matrix ΣW=Nn−1∑iwiwi⊤ is rational and is formed exactly. A certificate is a list of exactly Nn integer vectors zi∈Zn with entries of absolute value at most n24ℓin; the verifier rejects every other string.
A.2 Guarded acceptance tests
Write FW=fW(t′), GW=∇fW(t′), and HW=∇2fW(t′). Let MW be the rational number 1+maxi∥wi∥1≥1+maxi∥wi∥ and ξ=mn/(2400MW2). Compute a rational π~ with ∣π~−π∣≤ξ, and rationals c~i, s~i within ξ of cos2π~φi and sin2π~φi, by Taylor polynomials with the remainder bound, and put
a rational number, vector and symmetric matrix. Since ∣cos2π~φ−cos2πφ∣≤2∣π~−π∣ for φ∈[0,1), each c~i and s~i is within 3ξ of cos2πφi, respectively sin2πφi, and therefore
The bit length of ξ−1 is O(logn+logMW), polynomial in the input and certificate lengths, and so are the costs of the Taylor polynomials and of the rational vector and matrix operations.
The finite-bit verifier accepts precisely when the certificate has the format above and the following four rational tests succeed:
The vector test compares squared norms, so it is an exact rational comparison. A rational symmetric matrix A is positive semidefinite if and only if all coefficients of det(xI+A) are nonnegative: the forward implication follows by expanding ∏j(x+λj) with λj≥0, while a negative eigenvalue would give a positive root, impossible for a polynomial with nonnegative coefficients. The characteristic polynomial is computable in polynomial time over Q, so (A.6) and the two conditions (A.9) are three deterministic polynomial-time tests.
Proposition 43 (Soundness of the finite-bit verifier). Let n≥8. For every rational input and every certificate, the verifier (A.6)–(A.9) rejects when dist(t,BZn)≤r.
Proof. By (A.3) and (A.5), acceptance implies the analytical tests ΣW⪯SnI, FW<τn, ∥GW∥≤E1,n, and ∥HW∥≤E2,n of V(2) at the rescaled pair (L′,t′). If dist(t,BZn)≤r, then dist(t′,L′)≤qn<r2,n, and Proposition 25, applied with the close radius r2,n, gives FW≥τn, a contradiction. □
Proposition 44 (Completeness and certificate size). Let c>2/(π3) and n≥n0(c), the cutoff of Table 2. Every rational input with dist(t,BZn)>cnr has a certificate accepted by (A.6)-(A.9), of bit length polynomial in n and ℓin.
Proof. The verifier rescales by qn/r with qn∈(r2,n−n−4,r2,n), and ΣW, FW, GW, HW are the quantities tested by V(2) for this rescaling. By the proof of Theorem 2, there is a list W of Nn vectors of L′∗ with ∥wi∥≤n (the event E) such that
By (A.3) and (A.5), Sn−−mn/2>Sn−mn, FW<τn−1615mn<τn−mn/2, ∥GW∥≤E1,n−1615mn<E1,n−−mn/2 and ∥HW∥≤E2,n−1615mn<E2,n−−mn/2, so all four tests succeed. The integer vectors zi=(qn/r)B⊤wi satisfy ∥zi∥≤(qn/r)∥B∥n, where qn<2, 1/r≤2ℓin and ∥B∥≤n2ℓin because every input entry and the inverse of every nonzero input entry have absolute value at most 2ℓin; so their entries are at most 2n3/24ℓin≤n24ℓin in absolute value, the certificate has the required format, and its length is O(Nnn(ℓin+logn)) bits.
Theorem 2 follows from Propositions 43 and 44, the NP witnesses for YES instances, Kannan's algorithm in dimensions below n0(c), and the GapSVP transfer in the proof of Theorem 2.