The Rate of the Delsarte Bound for Binary Codes and Spheres
Andrew Salmon
ANDREW SALMON
ABSTRACT. We give the asymptotic rate of Delsarte's linear programming bound for binary codes and spherical codes. This extends previous work of the author which formulated and proved an analogue of the conjecture of Afkhami-Jeddi, Cohn, Hartman, de Laat, and Tajdini for binary codes, obtaining the rate of the Delsarte linear program at distance 1/2−1/π.
The lower bounds introduce ideas from potential theory into the study of Delsarte's bounds, whereby the measures underlying a system of orthogonal polynomials give an obstacle problem. We solve the resulting obstacle problem in the case of binary codes and spherical codes, obtaining a closed form for the lower bound in terms of elliptic integrals. For the upper bounds, we relate the N-qubit construction for binary codes used in previous work of the author to the constructions in OpenAI's Chapter 2 for spherical codes and observe that they both involve interlacing spectra. This leads to a variational problem involving measures constructed from these spectra under the Markov-Krein correspondence. This variational problem admits an exact solution and matches the lower bound.
CONTENTS
Introduction 1
Numerical comparisons 4
Use of Generative Artificial Intelligence 4
The Delsarte programs 5
From an obstacle problem to Delsarte lower bounds 8
3.1. A finite-dimensional lower bound 8
3.2. The asymptotic lower bound 10
The elliptic solution of the obstacle problem 13
4.1. The solution to the obstacle problem 14
4.2. Edwards' duality and identification of the solution 17
4.3. Evaluation of rates and thresholds 19
Asymptotic upper bounds 21
5.1. Upper bounds from interlacing spectra 21
5.2. The Markov–Krein correspondence and the measure problem 25
5.3. Optimization over measures and elliptic integrals 27
Acknowledgements 30
References 30
1. INTRODUCTION
Binary codes are subsets of {0,1}n whose distinct words have Hamming distance at least d∈{1,…,n}. Spherical codes are subsets of Sn−1 whose distinct points have inner product at most s∈[−1,1). Delsarte's linear programming bounds for binary codes [Del73] and spherical codes [DGS77] give upper bounds on the size of the largest codebook; see [DL98] for the
association-scheme framework. For decades, the best general asymptotic (high-dimensional) upper bounds were due to McEliece, Rodemich, Rumsey, and Welch [MRRW77] and Kabatiansky and Levenshtein [KL78], respectively, which arise from feasible solutions to the Delsarte linear program. Recently, Chapter 2 of OpenAI's Ten Advances in Mathematics and Theoretical Computer Science improved both bounds [Ope26]. Related binary coding upper bounds were developed using classical-quantum channels by Alrabiah and Guruswami [AG26].
The asymptotic limit of linear programming bounds has been the subject of study by many authors over the years since the classic work from the 1970s, and they give the best-known asymptotic bounds for both binary codes and spherical codes. Barg and Jaffe [BJ01] studied the binary program numerically at block length 1000, testing the closeness of the known bounds. Kalai asked about the asymptotic value [Kal24, Questions 3–4]. Samorodnitsky [Sam01] and Navon and Samorodnitsky [NS05] established lower bounds on its binary asymptotic rate, and Samorodnitsky [Sam04] treated the spherical case, while Torquato and Stillinger [TS06] adapted Samorodnitsky's method to the sphere packing context. Afkhami-Jeddi, Cohn, Hartman, de Laat, and Tajdini [AJCH +20] studied the sphere-packing linear programming bound numerically via the modular bootstrap, with extrapolations indicating an exponential improvement over the Kabatiansky–Levenshtein bound. They conjectured that the optimal bound for sphere-packing implied by the Cohn–Elkies linear program in dimension n is (e/(2π))n/2+o(n) [AJCH +20, Conjecture 3.2]. This was subsequently proved in [Ope26, Chapter 1, Theorem 1.1]. Here, we determine the exact asymptotic rates of the binary and spherical Delsarte programs.
Write D2(n,d) and DS(n,s) for the optima of the binary and spherical Delsarte programs defined in Section 2. These linear programs bound the sizes of the corresponding codes. For 0<δ≤1 and −1≤s<1, put
Remark 1.2 (The limit of the channel bounds). Barg [Bar26, Section 8.1.3] asks for the limit of
Rℓ(δ)=inf{χ(σ0,σ1):σ0,σ1 are output-symmetric states on Cℓ,pe(σ0,σ1)<δ}.
Here output symmetry means that a unitary exchanges the two density matrices, pe is the error probability of the pretty-good measurement with equal priors, and χ=S2((σ0+σ1)/2)−(S2(σ0)+S2(σ1))/2 is the Holevo information, where S2(σ)=−tr(σlog2σ). These are the bounds from the pretty good criterion of Alrabiah and Guruswami [AG26, Theorem 1]. Theorem 1.1 and the constructions in Section 5 answer Barg's question:
ℓ→∞limRℓ(δ)=J(δ)=RD(δ),0<δ<21.
To see this, a classical-quantum channel with Holevo information χ and decoding error pe is, in the language used by [Sal26], a normalized Horn pair, which can be asymptotically realized as feasible solutions of the Delsarte program [Sal26, Theorem 2.20]. Therefore, the pretty good criterion's bound [AG26, Theorem 1] is never stronger than Delsarte, as observed in [Sal26, Section 4.1]. Conversely, the proof of Theorem 5.6 shows that the N-qubit construction, which is a particular choice of classical-quantum channel constructed in [Sal26, Section 4.2] achieves the optimal rate of Delsarte's program.
Remark 1.3 (Earlier results at special values). At δπ=21−π1, Theorem 1.1 gives RD(δπ)=21, the main result of [Sal26]. In the spherical case, the closed form gives
FS(s)=21lnπ(1−s)e+o(1)(s↑1).
This is the spherical limit corresponding to the Cohn–Elkies [CE03] sphere-packing exponent in [Ope26, Chapter 1]. Chapter 2 of the same work recovers the Cohn-Elkies upper bound from the moving-subspace construction [Ope26, Chapter 2, Theorem 8.3]. Here, we show that one can also recover the lower bound as well.
Remark 1.4 (Kissing numbers). Put rLP=RDS(21), in nats per dimension. At the kissing angle s=21, the bounds on the Delsarte rate are
Source
Bound on rLP
Kabatiansky-Levenshtein [KL78]
rLP≤0.277913…
OpenAI, Chapter 2, level two [Ope26]
rLP≤0.27491
Theorem 1.1
rLP=0.2749027991…
Combination of [CZ14, Ope26]
rLP≥21lnπ2e=0.2742086473…
Samorodnitsky [Sam04, Corollary 1.3]
rLP≥0.211039…
Theorem 1.1 gives the exponent of the Delsarte bound on the kissing number in Rn. The 0.274208 ... lower bound is the Cohn–Zhao transfer [CZ14, Theorem 3.4] of the Cohn–Elkies LP exponent in [Ope26, Chapter 1].
Kominers [Kom26, Theorem 1 and Corollary 4] obtains the upper exponent 21ln(2e/π)=0.2742086473… for lattice kissing numbers and for the average contact degree of finite packings of congruent balls, using the auxiliary functions of [Ope26, Chapter 1]. Thus the Kominers bound has a strictly smaller exponent than the Delsarte bound.
ANDREW SALMON
Numerical comparisons. Tables 1 and 2 compare the rates of the Delsarte linear programs and compare them with earlier bounds above and below, in bits per coordinate for binary codes and nats per dimension for spherical codes, rounded to eight decimal places. The finite-level upper bounds are evaluated numerically. Code and numerical data reproducing both tables are included as ancillary material with the arXiv submission. The Gilbert–Varshamov and Shannon rows give achievable code rates, while the Samorodnitsky and Navon–Samorodnitsky rows give lower bounds on the Delsarte LP.
For binary codes, the OpenAI row takes the minimum of the whole-cube and constant-weight bounds of [Ope26, Chapter 2]; the GJL row gives the first honeycomb level of [GJL26] on its own. The remaining bounds are from [MRRW77, Sam01, NS05]. The spherical lower bound is [Sam04, Corollary 1.3].
δ
0.05
0.10
21−π1
0.25
0.35
0.45
MRRW2
0.82513681
0.69274074
0.50177980
0.35371054
0.15813294
0.02526613
OpenAI
0.82511480
0.69255746
0.50055474
0.35037908
0.15750558
0.02525738
GJL, first level
0.82513681
0.69274074
0.50034777
0.34963011
0.15745771
0.02525727
Exact LP rate
0.82511283
0.69252461
0.50000000
0.34959895
0.15745731
0.02525727
Samorodnitsky
0.78591946
0.62646625
0.41465946
0.27165039
0.11203244
0.01624584
Navon-Samorodnitsky
0.49405402
0.48547530
0.38797620
0.28411932
0.13471088
0.02275530
Gilbert-Varshamov
0.71360304
0.53100441
0.31623954
0.18872188
0.06593194
0.00722555
TABLE 1. Binary rates in bits per coordinate. The exact LP rate is RD(δ) from Theorem 1.1.
s
0.10
0.25
0.50
0.75
0.90
0.95
Kabatiansky-Levenshtein
0.01759504
0.08393636
0.27791336
0.62448696
1.08263232
1.42920591
OpenAI, first level
0.01758891
0.08370759
0.27492039
0.62092418
1.07906955
1.42564314
Exact LP rate
0.01758891
0.08370753
0.27490280
0.62078246
1.07892760
1.42550119
Samorodnitsky
0.01131011
0.05810281
0.21103985
0.52416443
0.96696417
1.30900350
Shannon
0.00502517
0.03226926
0.14384104
0.41333929
0.83036560
1.16395145
TABLE 2. Spherical rates in nats per dimension. The exact LP rate is RDS(s) from Theorem 1.1.
Use of Generative Artificial Intelligence. The author and GPT-5.6 Sol formulated the upper bounds for spheres and binary codes during the writing of [Sal26]. It seemed possible that these bounds might be sharp, although the author was initially discouraged by the complicated-looking measures m having a less “canonical” looking structure than the arcsine law that appears at 1/2−1/π . However, upon exploration, several structural features supported the possibility of a sharp bound: the spherical and binary constructions have the same form, with bosonic and fermionic realizations, respectively, and there were two special points at which sharpness was known. Moreover, the Cohn–Zhao construction gives a rate close to the optimal one while being provably suboptimal at large angles.
The author initially worked with Sol and Astra models on incremental strengthenings of the Navon–Samorodnitsky argument [NS05]. Several variants of the Navon–Samorodnitsky idea for both binary codes and spherical codes improve the large-distance region, and it seems plausible that a sufficiently powerful and clever version of those arguments could be extended to give the lower bound result. The argument here, however, originated from the gradual realization (on a human timescale) that in the binary case, given the upper bounds, it suffices to prove
RD(δ+(κ))+RD(δ−(κ))≥1,
with the explicit relation between the two sides of 1/2−1/π encoded by δ+(κ) and δ−(κ), and that this could be approached by extending the techniques of [Sal26, Section 3].
Opus 5.5 identified the compatibility of the MacWilliams transform with the predicted relation. This suggests two natural variants of the half-disk Dirichlet problem in which we replace the imaginary side with a shorter segment or replace the outer circle with two arcs. The relevant Riemann surface gluing along these cuts is genus 1, which gives hope for an exact connection via elliptic functions. From there, Opus, with light direction from the author, recast the half-rate result as a thin obstacle problem, showing that a natural “tilted mass concentration” idea could be made to work for arbitrary distances, and in doing so identified the right generalization of [Sal26, Lemma 3.3].
The draft was prepared with Codex.
2. THE DELSARTE PROGRAMS
Let G be a compact group, H a closed subgroup, and X=G/H, with invariant probability measure μX. Let τ:X×X→[−1,1] be a continuous, symmetric, G-invariant relation with τ(x,x)=1, whose value determines the G-orbit of an ordered pair. Transitivity implies that the distribution ν of τ(x,y) for y∼μX is independent of the fixed point x.
For s<1, the threshold graph GX(s) has vertex set X and joins distinct vertices x,y when τ(x,y)>s. Its independent sets are the subsets whose distinct pair relations are at most s. Write α(GX(s)) for the largest size of such a set.
The polynomial kernels come from orthogonal projections. In the binary and spherical cases below, L2(X,μX) is an orthogonal sum of finite-dimensional G-invariant spaces Hj, indexed by degrees j, with H0 the constants. Put dj=dimHj and choose an orthonormal basis ej,1,…,ej,dj. The kernel
(2.1)
pj(τ(x,y))=dj1r=1∑djej,r(x)ej,r(y)
is independent of the basis and invariant under the diagonal G-action, hence depends only on τ(x,y). Its diagonal is constant by transitivity; integrating the diagonal shows that the normalization in (2.1) gives pj(1)=1. These are real polynomials in the two cases we consider and are the normalized Krawtchouk and Gegenbauer polynomials displayed below. Orthogonality of the projection spaces gives their orthogonality for ν, and p0=1.
Positive semidefiniteness is immediate: (2.1) gives the Mercer decomposition. Moreover, a polynomial is positive semidefinite as a kernel if and only if its Fourier coefficients are nonnegative, by Bochner's theorem.
Definition 2.1 (Delsarte program). For the threshold graph GX(s), an admissible auxiliary function is
f(t)=j∑ajpj(t),a0=1,aj≥0.
The coefficient sum is finite. It is feasible at threshold s if f(t)≤0 for t∈suppν∩[−1,s]. The Delsarte value of the threshold graph is DX(s)=inff(1) over feasible f. The positive-kernel bound [Del73, DGS77] gives
α(GX(s))≤DX(s).
Definition 2.2 (Binary Hamming scheme). Let n≥1 and Hn={0,1}n, with transitive group (Z/2Z)n⋊Sn and uniform probability measure. If dH(x,y) is Hamming distance, put τ(x,y)=1−2dH(x,y)/n. The relation distribution gives mass 2−n(in) to 1−2i/n, for 0≤i≤n. Its orthogonal polynomials are the normalized Krawtchouk polynomials
Bj(n)(1−2i/n)=(jn)Kj(n)(i)(0≤i,j≤n),
ANDREW SALMON
where
Kj(n)(i)=k=0∑j(−1)k(ki)(j−kn−i)(0≤i,j≤n).
For minimum distance 1≤d≤n, put sn,d=1−2d/n. Then GHn(sn,d) joins words whose Hamming distance is less than d. Thus the binary Delsarte value is
D2(n,d)=DHn(sn,d).
If A2(n,d) is the largest size of a binary code of length n and minimum distance d, then A2(n,d)=α(GHn(sn,d))≤D2(n,d).
Definition 2.3 (Sphere). Let n≥3 and Sn−1⊂Rn be the unit sphere, with transitive group O(n) and normalized surface measure. Here τ(x,y)=⟨x,y⟩, and the relation distribution has density proportional to (1−t2)(n−3)/2 on [−1,1]. If Pj((n−3)/2,(n−3)/2) is the Jacobi polynomial of degree j, the normalized orthogonal polynomial is
These are the normalized Gegenbauer polynomials. For −1≤s<1, GSn−1(s) joins distinct points with inner product greater than s, and the spherical Delsarte value is
DS(n,s)=DSn−1(s).
If AS(n,s) is the largest size of a subset of Sn−1 whose distinct inner products are at most s, then AS(n,s)=α(GSn−1(s))≤DS(n,s).
From now on, we work in either the binary Hamming scheme or the sphere defined above. The relation distribution ν is the orthogonality measure.
Definition 2.4 (Support function). For λ=σ+iη∈C, the support function of the orthogonality measure is
h(λ)=t∈suppνsupℜ(λt)=∣σ∣.
The last equality holds in both cases because the support is contained in [−1,1] and contains both endpoints.
Definition 2.5. Let g be integrable with respect to ν, and suppose
M(g)=∫∣g(t)∣dν(t)>0.
Put
g(λ)=∫g(t)enλtdν(t).
This function is entire: since ν is supported on [−1,1] and g is integrable, differentiation under the integral is justified locally uniformly in λ. Define its normalized log-modulus by
vg(λ)=n1lnM(g)∣g(λ)∣.
We use the convention ln0=−∞. The log-modulus of an entire function is subharmonic, so vg is subharmonic on C.
Lemma 2.6. For every such g and every λ∈C,
vg(λ)≤h(λ).
In particular, vg(iη)≤0 for every η∈R.
Proof. The triangle inequality and the definition of the support function give
∣g(λ)∣≤∫∣g(t)∣enℜ(λt)dν(t)≤M(g)enh(λ).
Divide by M(g) and take logarithms. The last assertion follows from h(iη)=0.
For the corresponding normalized orthogonal polynomials, define the Laplace transforms of the signed measures pjdν, evaluated at nλ, by
The following proposition shows, among other things, that Ξn is well-defined.
Proposition 2.7. For every degree j and every λ∈C,
∣βj(λ)∣≤enh(λ).
Consequently, Ξn(λ)≤h(λ).
Proof. Every t∈suppν is realized as τ(x,y) in the binary and spherical settings. The positive semidefinite kernel pj(τ(x,y)) has diagonal entries pj(1)=1, so its two-point principal matrix gives ∣pj(t)∣≤1. Since ν is a probability measure, the triangle inequality gives
∣βj(λ)∣≤∫∣pj(t)∣enℜ(λt)dν(t)≤enh(λ).
Taking the supremum over j proves the bound on Ξn.
The function Ξn is continuous and subharmonic. Indeed, orthogonality and ∣pj∣≤1 give ∣βj(λ)∣≤∑k≥j(n∣λ∣)k/k!, so the tail tends to zero locally uniformly. The transforms cannot all vanish at one point: their vanishing would imply that integration against enλtdν(t) annihilates every polynomial, and hence, by polynomial approximation, also e−nλt, a contradiction. Thus locally their supremum is a positive maximum of finitely many moduli. Its logarithm is continuous and subharmonic.
Example 2.8 (Binary codes). For the binomial measure and normalized Krawtchouk polynomials,
(2.2)
βj(λ)=(coshλ)n−j(sinhλ)j(0≤j≤n).
This factorization reflects the independent coordinates of the binary cube: the exponential contributes coshλ on each coordinate, and a coordinate appearing in a character contributes sinhλ. Consequently,
(2.3)
Ξn(λ)=lnmax{∣coshλ∣,∣sinhλ∣}.
The supremum is attained at j = 0 or j = n, and the expression is independent of n.
Example 2.9 (Spheres). Put αn=(n−2)/2. For the spherical measure and normalized Gegenbauer polynomials, the classical Gegenbauer integral gives
(2.4)
βj(λ)=Γ(αn+1)(nλ2)αnIj+αn(nλ),
where Ia is the modified Bessel function of the first kind and Γ is the gamma function; see [Nat, §18.17(v)] and analytic continuation. The product is interpreted by its entire continuation, so there is no singularity at λ=0. For λ=0,
At the origin, orthogonality gives β0(0)=1 and βj(0)=0 for j≥1, so Ξn(0)=0. For real x=0, monotonicity of Ia(n∣x∣) in its nonnegative order [Nat, §10.37] shows that the supremum occurs at j=0:
For complex arguments the maximizing order need not be j=0; the supremum over orders is retained in (2.5).
For an admissible auxiliary function g, define
R(g)=n1lnM(g)g(1).
Here g(1)>0 and M(g)>0 because the constant term of g is 1. The natural logarithmic rate of the Delsarte bound obtained using g as a feasible solution is n−1lng(1). The quantity R(g) is its L1-normalized form. Since M(g)≥∣∫gdν∣=1, we have R(g)≤n−1lng(1).
Lemma 2.10. For every admissible auxiliary function g and every λ∈C,
vg(λ)≤Ξn(λ)+R(g).
Proof. Write g=∑jajpj, with aj≥0. By linearity, g=∑jajβj. Since pj(1)=1, we have ∑jaj=g(1), and hence
∣g(λ)∣≤j∑aj∣βj(λ)∣≤g(1)jsup∣βj(λ)∣.
Divide by M(g) and take normalized logarithms.
□
3. FROM AN OBSTACLE PROBLEM TO DELSARTE LOWER BOUNDS
Write u∗(λ)=limsupζ→λu(ζ) for upper semicontinuous envelope.
3.1. A finite-dimensional lower bound. For R≥0, define the finite-dimensional obstacle and its Perron solution by
ψn,R=min{h,R+Ξn},Vn,R=(sup{v subharmonic on C:v≤ψn,R})∗.
The preceding bounds give vg≤Vn,R whenever R(g)≤R. To treat the two arguments together, write dν=ωndρn. In the binary case, ρn is counting measure on {ti=1−2i/n:0≤i≤n} and ωn(ti)=2−n(in); in the spherical case, dρn=dt and ωn=dν/dt on [−1,1]. Let Ln=ρn([−1,1]), and use the Fourier domain and normalization cn in the following table:
X
dρn
In
Ln
cn
Hn
counting measure
[0,π]
n+1
1/π
Sn−1
dt
R
2
n/(2π)
The binary Fourier domain is one period of the transform modulus; the spherical Fourier domain is the whole line. The constants cn are the Plancherel normalizations for the frequency convention einηt.
For σ>0, define
(3.1)
Qn,R(σ)2=Lncn∫Ine2nVn,R(σ+iη)dη.
Here Lncn=(n+1)/π for binary codes and Lncn=n/π for spheres. We use its normalized logarithm
qn,R(σ)=n1lnQn,R(σ),
allowing the value +∞.
Lemma 3.1 (Tilted mass concentration). At fixed dimension, for every admissible g with R(g)≤R, every σ>0, and every −1<b<1,
(3.2)
∫t>b∣g(t)∣dν(t)≤M(g)en(qn,R(σ)−bσ).
This lemma has the form of Chernoff's bound, although M here is now a mass. We give a direct proof below.
Proof. If Qn,R(σ)=+∞, the estimate is immediate. Otherwise, form the density of the tilted signed measure with respect to ρn:
In the spherical case, extend rσ by zero outside [−1,1]. The bound vg≤Vn,R and finiteness of Qn,R make the transform square-integrable. Plancherel's theorem then gives
(3.3)
∥rσ∥L2(ρn)2=cn∫In∣g(σ+iη)∣2dη.
Cauchy–Schwarz, Plancherel, and the bound vg≤Vn,R give the conclusion
The sign condition forces more than half of the absolute mass into the cap t>s.
Lemma 3.2 (Positive mass). For an admissible g, write g+(t)=max{g(t),0}. Then
∫g+dν=2M(g)+1>2M(g).
If g is feasible at threshold s, then g+vanishes on supp ν∩[−1,s].
ANDREW SALMON
Proof. Orthogonality and the normalization of the constant term give ∫gdν=1. Since g+=(∣g∣+g)/2, integration yields
∫g+dν=21(∫∣g∣dν+∫gdν)=2M(g)+1>2M(g).
Finally, feasibility gives g(t)≤0 on suppν∩[−1,s], so g+ vanishes there.
In the binary case, t>s means Hamming distance less than d. The corresponding Krawtchouk mass-concentration statement is [Sal26, Theorem 3.4]; its application to positive mass in the Delsarte program appears in the proof of [Sal26, Proposition 3.8].
Theorem 3.3 (Finite-dimensional Delsarte lower bound). Let R≥0 and −1<s<1. If, for some σ>0,
(3.4)
qn,R(σ)+nln2≤sσ,
then
n1lnDX(s)≥R.
In particular, in the binary and spherical settings respectively,
Proof. Suppose that g is feasible at s and R(g)≤R. The finite mass estimate (3.2) and (3.4) give
∫t>s∣g∣dν≤M(g)en(qn,R(σ)−sσ)≤2M(g).
This contradicts Lemma 3.2, since g+ is supported on t>s. Thus every feasible g has R(g)>R. As M(g)≥∣∫gdν∣=1, we have g(1)=M(g)enR(g)>enR. Taking the infimum proves the claim.
3.2. The asymptotic lower bound. Put
Θ=(n→∞limsupΞn)∗.
Since the subharmonic functions Ξn are locally uniformly bounded above by h, [DS05, Theorem 2.4.7(2)] gives that Θ is subharmonic and Θ≤h; also Θ(0)=0 since Ξn(0)=h(0)=0. The limiting function has an explicit form in both settings.
Example 3.4 (Binary codes). Since (2.3) is independent of n and continuous,
(3.5)
Θ(λ)=lnmax{∣coshλ∣,∣sinhλ∣}.
In particular, Θ(iη)=lnmax{∣cosη∣,∣sinη∣}.
Computing the limit in the spherical case is a bit more involved.
Lemma 3.5 (Locally uniform spherical asymptotics). In the spherical setting, Ξn(λ) converges locally uniformly on {Reλ>0} to
21(Re1+4λ2−1−ln21+1+4λ2),
where the square root has positive real part.
Proof. To justify the supremum over degrees, fix a compact set K⊂{Reλ>0} and write an,j=(j+αn)/n. For a>0 define
uniformly for λ∈K and all j≥0 as n→∞. Indeed, the scaled argument λ/a remains in a fixed sector ∣argz∣≤π/2−ε, where that expansion is uniform, and the order na=j+αn is at least αn∼n/2. This includes j/n→∞, when λ/a→0.
The prefactor (a2+λ2)−1/4 is uniformly bounded for a≥αn/n and λ∈K. Combining (3.6) with Stirling's formula therefore gives
for all sufficiently large n, with CK independent of j. Moreover,
∂a∂F=−Relogλa+a2+λ2<0.
The strict sign follows because the logarithm is the principal arcsinh (a/λ), whose real part is positive in this half-plane. The upper bound for every j and the lower bound from j=0 now give
Ξn(λ)=F(an,0,λ)+OK(n−1)⟶F(21,λ)
locally uniformly in the right half-plane. Evaluating F(21,λ) gives the stated formula.
Example 3.6 (Spheres). For Reλ>0, put w(λ)=1+4λ2, with the branch having positive real part. Then
(3.7)
Θ(λ)=21(Rew(λ)−1−ln21+w(λ)).
On the left half-plane use Θ(−λ)=Θ(λ); on the imaginary axis use the continuous boundary values. Explicitly,
Lemma 3.5 gives the formula in the right half-plane, and symmetry gives the left half-plane. Let Θ denote the continuous extension of the displayed formula to the imaginary axis, with values (3.8). We have Θ=Θ off that axis. At a point on the axis, upper semicontinuity gives Θ≥Θ, while the submean inequality on shrinking disks gives Θ≤Θ: their area integrals agree since the axis has zero area. Thus equality holds everywhere.
Lemma 3.7 (Spherical decay). Fix R≥0 and σ>0. There is a constant CR,σ, independent of n and η, such that
(3.9)
Vn,R(σ+iη)≤CR,σ−41ln∣η∣(n≥4,∣η∣≥1).
ANDREW SALMON
Proof. Schläfli's integral [Nat, Eq. 10.9.6] gives, for real v≥0 and Rez>0,
The first term has modulus at most e∣Imz∣; using sinht≥t bounds the second by 1/(πRez). Apply the connection formula between Iv and Jv [Nat, Eq. 10.27.6] with z=n∣η∣−inσ, using conjugation when η<0. Uniformly in v≥0 and ∣η∣≥1,
∣Iv(n(σ+iη))∣≤enσ+πn∣η∣1≤2enσ.
Applying Stirling's formula to the Gamma factor in (2.5) gives
n1ln[Γ(αn+1)(n2)αn]=−21+O(nlnn).
Since αn/n=(n−2)/(2n)≥1/4 for n≥4 and ∣σ+iη∣≥∣η∣, the bound Vn,R≤R+Ξn gives the assertion.
For R≥0, define the obstacle
ψR(λ)=min{h(λ),R+Θ(λ)}.
Consider the obstacle problem of finding its largest subharmonic minorant:
(3.10)
V(R)={vsubharmoniconC:v≤ψR},VR=(v∈V(R)supv)∗.
This construction, due to Perron, is classical in potential theory; see [Ran95, Chapters 2 and 4]. Here the obstacle comes from the two bounds on the Laplace transform. Since h is continuous, VR≤h. Define the slope
mR(σ)=η∈RsupVR(σ+iη),c(R)=σ>0infσmR(σ).
Theorem 3.8 (Delsarte rate lower bound). Let R≥0 and −1<s<1. If c(R)<s, then
n→∞liminfn1lnDX(s)≥R,
where X=Hn in the binary case and X=Sn−1 in the spherical case. In the notation of the introduction,
RD(21−s)≥ln2RandRDS(s)≥R,
respectively.
Lemma 3.9. For fixed R≥0 and σ>0, in either setting,
n→∞limsupqn,R(σ)≤mR(σ).
Proof. For any compact interval I of positive length, bounding the integrand by its supremum gives
The prefactor Lncn in (3.1) contributes only O(lnn/n). For binary codes, take I=[0,π] and use Vn,R=VR to obtain the claim.
For spheres, fix any real a>mR(σ). Let C=CR,σ be the constant in Lemma 3.7, and choose A≥1 so that C−(lnA)/4<a. Integrating the pointwise decay bound gives
(3.11)
∫∣η∣>Ae2nVn,R(σ+iη)dη≤n/2−12e2nCA1−n/2(n≥4).
Taking logarithms and dividing by 2n shows that, for all sufficiently large n,
(3.12)
∫∣η∣>Ae2nVn,R(σ+iη)dη≤e2na.
The subharmonic upper limit
V=(nlimsupVn,R)∗≤min{h,R+Θ}
satisfies V≤VR by maximality of the Perron solution. By upper semicontinuity, VR<a on a neighborhood of the compact segment σ+i[−A,A]. Hartogs' lemma [DS05, Theorems 2.4.7–2.4.9], applied there, gives sup∣η∣≤AVn,R(σ+iη)≤a for all sufficiently large n (also if V≡−∞). Splitting the integral at A bounds it by (2A+1)e2na. Hence limsupnqn,R(σ)≤a, and letting a↓mR(σ) proves the assertion.
Proof of Theorem 3.8. Since c(R)<s, choose σ>0 with mR(σ)<sσ. Lemma 3.9 implies that, for all sufficiently large n,
qn,R(σ)+nln2≤sσ.
The strict gap absorbs the asymptotic error, ln2/n, and the O(1/n) rounding of the binary threshold. Theorem 3.3 therefore gives n1lnDX(s)≥R for all sufficiently large n. Taking the lower limit proves the claim.
Remark 3.10 (Dropping subharmonic gives Gilbert–Varshamov). If the subharmonic hypothesis in (3.10) is dropped, the envelope is simply ψR. Since h(σ+iη)=σ for σ>0 and Θ(σ+iη)≤Θ(σ), its slope is
crel(R)=σ>0infmin{1,σR+Θ(σ)}.
The inequality for Θ follows from the absolute-value bound on its Laplace coefficients; equality holds on the real axis. For 0<s<1, therefore,
crel(R)<s⟺R<σ>0sup{sσ−Θ(σ)}.
For binary codes Θ(σ)=lncoshσ, and this Legendre transform is ln2−Hbin((1−s)/2), where Hbin(p)=−plnp−(1−p)ln(1−p). Thus this relaxation gives the Gilbert–Varshamov exponent 1−Hbin(δ)/ln2 in bits, where δ=(1−s)/2. For spheres,
Θ(σ)=−1<t<1sup{σt+21ln(1−t2)},
so the transform is −21ln(1−s2), the spherical cap-volume (Shannon) exponent in nats. Because VR≤ψR, these relaxed slopes already give lower bounds through Theorem 3.8, by approaching the strict rate threshold from below.
4. THE ELIPTIC SOLUTION OF THE OBSTACLE PROBLEM
The previous section established an obstacle problem, phrased as maximization over subharmonic functions less than or equal to ψR=min{h,R+Θ}. In this section, we solve this obstacle problem and give an expression in terms of elliptic integrals. To do this, we construct a real potential W, normalized by W(0)=0, and prove that it equals VR.
ANDREW SALMON
4.1. The solution to the obstacle problem. The obstacle problem from the previous section lives in the “λ-plane”, the space underlying Laplace transformations of feasible functions for the Delsarte program. By conformal invariance, we will conformally map a strip in the λ-plane to a “w half-plane”, the right half-plane, where the binary and spherical code obstacle problems can be solved in a uniform way.
Definition 4.1 (Coordinates and obstacles). Use w=λ for spheres and w=sinh(2λ) on the binary half-strip ℜλ>0, ∣ℑλ∣<π/4. Write W for the potential in the w-coordinate, so that W(λ)=W(λ) for spheres and W(λ)=W(sinh(2λ)) for binary codes before reflection. The binary obstacles in this coordinate are
H(w)=21ℜarcsinhw,T(w)=21ln21+1+w2;
these are h and Θ, respectively, after the change of variables. Branches are continued from the positive real axis. For spheres Θ(iy)=−21−21lny when y≥1/2; for binary codes T(iy)=21ln(y/2) when y≥1.
The contact set must be supported on the imaginary axis. Consider the case of spherical codes first. Since h and Θ are both harmonic on the right half-plane, −ψR is subharmonic there. By the strong maximum principle, either VR<ψR on the whole half-plane, or they coincide. Since they cannot coincide, we cannot have any contact on the right half-plane, similarly the left half-plane, and the contact set must be supported on the imaginary axis. The same logic works for binary codes in the w-coordinate as well. This suggests the following proposal for contact set.
Definition 4.2 (Contact set). Choose 0<κ<1, with K,E,K′,E′ as in the introduction, and put ℓ=πK′/K. For 0<a<b with a/b=κ, the proposed contact set in the w-plane is
(4.1)
Ca,b=i[−a,a]∪{iy:∣y∣≥b}.
We will choose a and b as follows:
branch
a
b
free boundary endpoints
spherical
κK/π
K/π
ia, ib
binary +
1
1/κ
ib
binary -
κ
1
ia
The binary endpoint at w=i is fixed by the corner λ=iπ/4 of the half-strip.
For ease of reference, we will refer to the segments i[a, b] and i[-b, -a] as the gaps.
Definition 4.3 (Elliptic potential). In the right half-plane define
P(w)=w2+a2w2+b2,ρ(t)=(t2−a2)(t2−b2)1(t>b),
where both square roots in P are positive on the positive real axis. The substitution t=b/sinθ gives
∫b∞ρ(t)dt=b1∫0π/21−κ2sin2θdθ=bK.(4.2)
Set
I(w)=∫b∞t2+w2ρ(t)dt.
We now define the harmonic primitive W as follows:
W is normalized by W(0)=0. It is path independent in the right half-plane, and continuous on its finite boundary. Reflect evenly across the imaginary axis in the spherical case. In the binary case pull back by w=sinh(2λ), then reflect across the axis and the horizontal sides of the half-strip. Denote the resulting functions of λ by WS and WB. The binary extension is iπ/2-periodic.
Consider the involution ι(w)=ab/w of P1 that preserves Ca,b∪{∞}, exchanging the central contact segment with the outer rays and the upper and lower gaps with their endpoints reversed. This involution lifts to the smooth compactification of Y2=(w2+a2)(w2+b2), which we write as Ea,b.
ιE:Ea,b⟶Ea,b,(w,Y)⟼(wab,w2abY).
With origin O=(0,ab), the same map is subtraction in the elliptic group law: ιE(p)=T−p, where T is the point over infinity with Y/w2→1 and 2T=O.
On the sheet Y=P(w), with boundary values from the right half-plane, write α=Φ(w)dw. Let γ be the lift of the lower gap from (−ia,0) to (−ib,0) on the sheet Y=P(w), using boundary values from the right half-plane. Since W(−ia)=0 and W(−ib)=W(ib),
W(ib)=ℜ∫γα.
The central segment has W=0 because Φ is real there, and W(w)=W(w) by conjugation symmetry.
The differential α combines rational functions and an integral I related to elliptic integrals of the third kind. However, the symmetry under ιE will allow us to cancel the contribution of I.
Proposition 4.4. For each of the spherical and binary branches,
−W(ib)=ℜ∫γιE∗α.
Proof. The image ιE∘γ is the lift of the upper gap on the same sheet, oriented from (ib,0) to (ia,0). Thus the change of variables formula gives
ℜ∫γιE∗α=ℜ∫ιE∘γα=W(ia)−W(ib)=−W(ib).
The above proposition reduces the computation to the integral of α−ιE∗α. Lemma 4.5 gives a simple rational expression for this differential in both spherical and binary cases.
Lemma 4.5. On the chosen sheet, and on the gaps by boundary limits,
The identity extends to the right half-plane by analytic continuation. Since ιE∗dw=−abdw/w2, pulling back αS=YI(w)dw/π yields
αS−ιE∗αS=(πbw2KY−2w1)dw.
The spherical scale b=K/π gives the stated formula.
For binary codes, αB=KYdw/(πb(1+w2))−αS, so the same calculation gives
αB−ιE∗αB=πbKY(1+w21−w2+a2b21)dw+21wdw.
Using Y2=(w2+a2)(w2+b2), this simplifies to the stated formulas when a=1 for the plus branch and b=1 for the minus branch, since b2−a2=b2κ′2.
Proposition 4.6 (Boundary data). The potential W vanishes on the central segment. It has zero normal derivative on the free gaps, and its values on the rays are
Proof. On the central segment Φ is real, so the tangential derivative of W is zero; normalization gives W=0. On the gaps Φ is purely imaginary, giving the zero normal derivative needed for harmonic reflection.
For w=iy with y>b, inversion sends w to −iab/y on the central segment, so Φ(ab/w) is real. Moreover, Y=P(iy+0) is real, and
ιE∗α=−w2abΦ(ab/w)dw.
The pullback has a real coefficient on the ray, as do Ydw/w2 and dw/Y. Taking imaginary parts in Lemma 4.5 therefore leaves only the terms proportional to dw/w, giving
ℑΦS(iy+0)=2y1,ℑΦB(iy+0)=−2y1.
Since dW(iy)/dy=ℜ(iΦ)=−ℑΦ, integration from b gives (4.4).
Lemma 4.7 (Growth at infinity). Uniformly in the closed right half-plane, as ∣w∣→∞,
The disk ∣z∣<a contains no branch point of P, no singularity of I, and no pole of (1+z2)−1, so Φ is holomorphic there. By the functional equation, the terms P(w)/w2−1 and 1/P(w) are holomorphic on b<∣w∣≤∞ and vanish at infinity to second order. Considering boundary values on the imaginary axis gives (4.5).
Fix R>b, and write w=reiθ, where r≥R and ∣θ∣≤π/2. Integrate the derivative asymptotics along the radial segment from Reiθ to w. The leading terms give ℜw−21ln∣w∣ in the spherical case and 21ln∣w∣ in the binary case. The error is uniformly bounded because
∫RrO(t−2)dt=O(1).
Since W is bounded on the fixed semicircle ∣w∣=R, the growth estimates in (4.6) are uniform in the closed right half-plane. Finally, ln∣sinh2λ∣=2ℜλ−ln2+O(e−4ℜλ), so WB(λ)=ℜλ+O(1) on the binary half-strip.
Theorem 4.8 (Elliptic solution: rate and threshold). For each 0<κ<1, the construction above equals the Perron envelope VR of (3.10), at the following rates. In the binary case put
R±(κ)=21ln2±B(κ).
Then
(4.7)
c(R+(κ))=π2E,c(R−(κ))=πκ2(E−κ′2K).
At the rate R=21ln2, one has c(R)=2/π. Equivalently, R±=ln2J(δ±) and c(R±)=1−2δ±. In the spherical case put
RS(κ)=21+21lnπK+41lnκ+2πK((1+κ2)K′−2E′).
Then
(4.8)
c(RS(κ))=κKK−E.
Equivalently, RS(κ)=FS(s(κ)) and c(RS(κ))=s(κ).
The proof of Theorem 4.8 occupies the next two subsections. The half-rate statement follows from the convergence of the R+ and R− branches. The next subsection will prove that W=VR, while the final subsection will compute the explicit rates and thresholds required above.
4.2. Edwards’ duality and identification of the solution. The convex duality statement for this obstacle problem is Edwards’ duality between subharmonic minorants and Jensen measures. We identify the candidate by the extended maximum principle.
Theorem 4.9 (Extended maximum principle [Ran95, Theorem 3.6.9]). Let D⊆C be a domain with nonpolar boundary, and let u be subharmonic on D and bounded above. If
z∈Dz→ζlimsupu(z)≤0
for every ζ∈∂D outside a polar set, then u≤0 on D. Here the boundary is taken in the Riemann sphere; in particular, infinity may be included in the exceptional set.
ANDREW SALMON
For λ0∈C, let Jλ0 be the set of compactly supported probability measures μ satisfying
u(λ0)≤∫udμforeverysubharmonicuonC.
These are the Jensen measures at λ0. Edwards' duality [Edw66], in its noncompact subharmonic form [GPP13, §1], gives
(4.9)
VR(λ0)=v∈V(R)supv(λ0)=μ∈Jλ0inf∫ψRdμ.
The obstacle is continuous in both settings, so this form of the theorem applies. The inequality from left to right follows directly from v(λ0)≤∫vdμ≤∫ψRdμ. We first establish that W is an admissible minorant. Throughout the following two lemmas, let R satisfy
(4.10)
W(ib)={R+Θ(ib),R+T(ib),spherical,binary.
Since b≥1/2 on the sphere and b≥1 in the binary case, Proposition 4.6 then gives equality with the corresponding obstacle on the rays.
Lemma 4.10 (Admissibility of the elliptic potential). The functions W are globally subharmonic and satisfy W≤min{h,R+Θ}. Equality with the obstacle holds on the contact set.
Proof. Subharmonicity. The construction is harmonic off the imaginary axis in the w-plane. On the gaps, ℜΦ=0 by Proposition 4.6, so even reflection is harmonic across them. Thus ΔW is supported on the pullbacks and reflections of Ca,b, and its positivity as a measure reduces to showing ℜΦ≥0 on Ca,b, which we check by cases. On i(−a,a), the formula in (4.3) represents Φ as a positive integral in the spherical code case. For binary codes, (4.2) gives
ΦB(w)=π(1+w2)P(w)∫b∞t2+w2(t2−1)ρ(t)dt.
The prefactor and integrand are positive at w=iy with ∣y∣<a≤1, proving this positivity in both cases. For the outer rays, consider a point iy and set c=y2−b2 and t=b2+u2. Its principal-value integral has the form
pv∫0∞u2−c2f(u)du=∫0∞u2−c2f(u)−f(c)du.
For spheres f=1/(tt2−a2) is decreasing. For binary codes f=(t2−1)/(tt2−a2) is increasing, but the additional factor (1−y2)−1 is negative. Since P(iy)<0, both cases give ℜΦ≥0. Even reflection has a nonnegative derivative jump.
Summing up, away from the branch points, the reflected function is subharmonic. By the removable-singularity theorem for subharmonic functions, the subharmonic property extends across these points as well by continuity. The result transfers to W in the binary code case by pulling back along w=sinh(2λ).
Obstacle inequalities. We check W≤H and W≤R+T on the imaginary axis, then extend to the interior by the maximum principle. We note W=H on the contact segment and W=R+T on the rays. We check both inequalities on the gaps, after which the complementary inequalities on the contact segment and rays follow by monotonicity. Differentiating along w=iy gives the comparisons
spherical:
0≤−dydW(iy)≤2y1−1−y2/b2,(4.11)
binary - :
0≤−dydW(iy)≤2y(1−y2)−1/2−1,
binary + :
2y1≤dydW(iy)≤2y2−11.
For the first two comparisons use y2−a2/t2−a2≤y/t for t≥b>y. For the last use t/y≤t2−1/y2−1 for the lower bound and t2−1≤t for the upper bound. The remaining integrals reduce, by t2=b2+u2, to integrals of the form ∫0∞(u2+c2)−1du=π/(2c).
Because b≥1/2, the first comparison shows that R+Θ−W decreases across the gap to its value zero at b. Also W decreases from zero at a. Thus both obstacle inequalities hold on the gap. They hold on the central segment because Θ is decreasing, and on the rays because W continues decreasing.
On the binary minus gap, H=0 and −Ty=((1−y2)−1/2−1)/(2y). The same argument applies. Here W(i)<0, so R<21ln2; on the rays H=21arccoshy≥R+21ln(y/2). On the plus gap the last comparison is Ty≤Wy≤Hy. Since H−W=0 at a=1 and R+T−W=0 at b, both differences are nonnegative. Integrating the lower bound gives R≥21ln2, which also checks the central segment. On the rays Hy≥Ty, so the support inequality persists.
Finally both obstacles are harmonic in the right half-plane in the spherical case, and in the binary fundamental half-strip. Their differences from W have at most logarithmic growth by (4.6). The half-plane maximum principle for sublinear growth extends the boundary inequalities to the interior (one may subtract ϵRwp, 0<p<1, and let ϵ↓0). Reflection gives the obstacle inequalities globally. Together with the values on the contact set, this proves the lemma.
Lemma 4.11 (Identification by the maximum principle). For each branch, VR=W when (4.10) holds.
Proof. By Lemma 4.10, W is an admissible minorant and is harmonic off its contact set. We let C be the preimage of the contact set in the λ-plane. The growth estimate (4.6) bounds ψR−W≤R+Θ−W above near infinity. For binary codes the bound is uniform in the imaginary direction by periodicity of Θ and W. For any subharmonic minorant v≤ψR, the difference v−W is therefore subharmonic and bounded above away from C, with nonpositive upper boundary limits at every finite boundary point. The set C contains a nondegenerate segment, so each component of its complement has nonpolar boundary. Theorem 4.9, with infinity as a polar exception, gives v≤W off C; this inequality already holds on C. Thus VR=W.
4.3. Evaluation of rates and thresholds. We can therefore relate W directly to the rates in Theorem 4.8.
Lemma 4.12 (Evaluation of the rate). For the binary branches, with b=1/κ and b=1, respectively,
where b=K/π in the spherical case. Finally, Θ(ib)=−21−21lnb and T(ib)=21ln(b/2). Subtracting these obstacle values and using the two binary scales b=1/κ and b=1 gives the stated rates.
Lemma 4.13. For every σ>0,
η∈RsupVR(σ+iη)=W(σ).
The function σ↦W(σ) is convex on [0,∞). Consequently c(R)=W′(0+).
Proof. To show the maximum statement, we will show that derivative ∂ηW(σ+iη)≤0 for η≥0 in both the binary and spherical case. This derivative is automatically harmonic in the upper quadrant for spheres, and in the upper quarter-strip for binary codes and equal to zero on the real axis. Its values on the imaginary axis are nonpositive by (4.11). On the upper boundary ℑλ=π/4 of the binary half-strip, we compute the derivative
∂ηW(σ+iπ/4)=−2sinh(2σ)ℜΦB(icosh(2σ)+0)≤0.
For the spherical case, the derivative tends to zero at infinity by Lemma 4.7. For binary codes, w=sinh(2λ) gives the complex derivative 2cosh(2λ)ΦB(w)=coth(2λ)+O(e−2ℜλ), uniformly in the closed quarter-strip, so its imaginary part tends to zero. Since the obstacle in both cases is 1-Lipschitz, the solution to the obstacle problem is as well (the proof of [Sil07, Theorem 3.8] carries over word-for-word). Then ∣∂ηW∣≤1, which supplies the needed regularity to apply the maximum principle. We conclude that ∂ηW≤0. Evenness and binary periodicity consequently give
η∈RsupVR(σ+iη)=W(σ).
For each σ>0, the function η↦W(σ+iη) has a maximum at η=0, so ∂η2W(σ,0)≤0. Since W is harmonic near the positive real axis,
dσ2d2W(σ)=−∂η2W(σ,0)≥0.
Thus W is convex on [0,∞) by continuity at zero. Its secant slopes W(σ)/σ are therefore increasing, and W(0)=0 gives
c(R)=σ>0infσW(σ)=W′(0+).
☐
Completion of Theorem 4.8. The substitution t=b/u gives ∫b∞t−2ρ(t)dt=(K−E)/(κ2b3). Hence the derivatives at zero are abI(0)/π on the sphere and 2ab(K/b−I(0))/π in the binary case. By Lemma 4.13, these derivatives equal c(R). Substitution of the three scales proves the thresholds in Theorem 4.8.
All displayed quantities are continuous on 0<κ<1. The plus threshold decreases strictly because E does. The minus threshold increases strictly, as seen from
κE−(1−κ2)K=κ∫0π/21−κ2sin2θcos2θdθ.
The spherical threshold is κ times the mean of sin2θ under density proportional to (1−κ2sin2θ)−1/2; increasing κ strictly increases this mean. Since ψR and hence VR increase with R, c(R) is nondecreasing, so the rates have the same strict ordering as their thresholds.
5. ASYMPTOTIC UPPER BOUNDS
The approach to the upper bound extends the constructions in [Ope26, Chapter 2] for spherical codes and [Sal26, Section 4.2] for binary codes. While these constructions only establish a sphere packing and half-rate limit, respectively, in loc. cit., we will do a more detailed analysis of both constructions. In particular, we first draw a parallel between the two as living on bosonic, resp. fermionic Fock space and involving a pair (A,γ) of matrix and distinguished direction. This then gives a natural formulation in terms of interlacing spectra which leads to a variational problem. Finally, we solve this variational problem and arrive at an upper bound that matches the lower bound from the previous section.
5.1. Upper bounds from interlacing spectra. Let A be a real symmetric N×N matrix, let γ∈RN be a unit vector, and choose an isometry U:RN−1→γ⊥. Set B=U⊤AU. Write x1≥⋯≥xN and y1≥⋯≥yN−1 for the spectra of A and B, respectively. Cauchy interlacing gives
x1≥y1≥x2≥⋯≥yN−1≥xN.
Conversely, every interlacing pair (x;y) is realized by a pair (A,γ).
For a datum with spectrum in I⋆, its cost and correlation are
(5.1)
C⋆(A,γ)=trf⋆(A)−trf⋆(B),S⋆(A,γ)=γ⊤φ⋆(A)γ.
Thus the cost is ∑jf⋆(xj)−∑kf⋆(yk). If A=diag(x1,…,xN), the correlation is ∑jγj2φ⋆(xj).
The spherical construction follows the organization of the N-qubit construction in [Sal26, Section 4.2]: choose a Gaussian state and a linear observable, then reduce their statistics to the one-particle matrix A. The bosonic operation retaining the compressed matrix B is removal of one oscillator.
Definition 5.1 (N-mode bosonic construction). Let A⪰0. On bosonic Fock space FN=⨁m≥0SymmCN, let cj,cj† be annihilation and creation operators, and put
qj=(cj+cj†)/2,pj=(cj−cj†)/(i2).
They satisfy [qj,pk]=iδjkI and [qj,qk]=[pj,pk]=0. Let ∣0⟩ be the vacuum vector and N0,2A be the centered Gaussian probability measure with covariance 2A. Define the density operator
ρA=∫RNeik⊤q∣0⟩⟨0∣e−ik⊤qdN0,2A(k),
which is a mixture of coherent states with respect to the Gaussian density. Each coherent state eik⊤q∣0⟩ has mean quadratures (0,k) and covariance I2N/2. Since Ek=0, the mixture is centered, so its covariance is the expectation of the symmetrized quadrature products. Averaging the second moments gives
VA=21I2N+Ek(000kk⊤)=21(IN00IN+4A),
using E(kk⊤)=2A.
Select qγ=∑jγjqj and let O=(γ⊤U⊤), so that Oγ=e1. Write
FN=F1⊗FN−1.
Rotating the γ-oscillator to the first factor and tracing over that factor retains the coherent-state displacement U⊤k, whose Gaussian covariance is 2B. Thus
trF1ρOAO⊤=ρB.
For a density operator write Ent(ρ)=−tr(ρlnρ). Define its entropy cost and correlation by
Since λm+1=rλm, the ratio of the two weights is 2r/(1+r) on every transition. The matrix coefficients cancel. For q, finiteness follows from ∣qm,m+1∣2=(m+1)/2.
Lemma 5.3 (Bosonic entropy and correlation). The construction of Definition 5.1 satisfies
Cost=CS(A,γ),Corr=SS(A,γ).
In particular, the cost is the conditional entropy of the first factor given the second in ρOAO⊤.
Proof. The symplectic eigenvalues of VA are 1+4xj/2, so its normal-mode occupations are aj=(1+4xj−1)/2. The Gaussian entropy formula [WPGP+12,SectionII.C] gives Ent(ρA)=∑jHBose(aj). The same argument for B gives Ent(ρB)=trfS(B), proving the cost identity. Unitary rotation preserves entropy, giving the conditional entropy interpretation.
For the correlation, diagonalize A. Each mode is conjugate by a unitary dilation to τrj, where
νj=21+4xj,rj=2νj+12νj−1.
Dilation rescales q, multiplying both traces by the same factor. Since q raises or lowers degree by one, Proposition 5.2 gives, for xj>0, their ratio as 2rj/(1+rj)=1−(2νj)−2. In our normalization every qj has variance 1/2, and distinct modes have zero cross terms in both expressions. Thus
Corr=j∑γj21+4xj4xj=γTφS(A)γ.
Vacuum modes contribute zero to the numerator, so the argument also covers zero eigenvalues. ☐
Theorem 5.4 (N-mode spherical bound). For the bosonic construction above and −1<s<1, if s<Corr, then
RDS(s)≤Cost=CS(A,γ).
Proof. The moving-subspace construction of [Ope26, Chapter 2, Theorem 6.2] bounds the Delsarte linear program. In the language there, let Jn be the symmetric transition matrix of the construction, and let Ln be the dimension of the ambient space divided by the rank of the projection. The resulting Delsarte bound is
Thus it suffices to realize a limiting transition eigenvalue at least Corr and a rate limnn−1lnLn equal to Cost.
ANDREW SALMON
Initially assume A≻0 and strictly interlacing spectra. Put ai=(1+4xi−1)/2 and bj=(1+4yj−1)/2. The highest-weight construction in [Ope26, Chapter 2, Lemmas 7.1–7.2, Equations (87)–(88), and Lemma A.1] supplies Jn,Ln with
identifies the residues wi with ∥Pxiγ∥2. By Lemma 5.3, the transition eigenvalue therefore has lower limit at least Corr. Since A≻0, we have Corr > 0, and hence
nliminfλmax(Jn)≥Corr>max{s,0}.
Thus (5.2) applies for all sufficiently large n, with its denominator bounded away from zero. Taking logarithms and dividing by n leaves only the dimension-ratio exponent Cost.
The case of general A⪰0 and arbitrary γ follows by a density argument: approximate A by positive definite matrices with simple spectrum and γ by unit vectors having nonzero component in every eigenspace.
The construction for binary codes uses fermionic Fock space via the N-qubit construction, introduced in the case of half rate in [Sal26, Section 4.2]. We give the general construction below.
We recall Alrabiah and Guruswami's pretty good criterion [AG26, Theorem 1], which gives upper bounds for binary codes. The Delsarte version is established in [Sal26, Section 4.1, Equation (4.18), and Theorem 2.20].
Proposition 5.5 (Pretty good criterion for the Delsarte bound). Let σ+,σ− be density matrices on a finite-dimensional Hilbert space, regarded as equiprobable channel outputs. Put
ϱ=21(σ++σ−),M±=21ϱ−1/2σ±ϱ−1/2,
where inverses are taken on supp ϱ. The Holevo information in bits and the error probability of the pretty good measurement (M+,M−) are
Theorem 5.6 (N-qubit projection bound). For 0⪯A⪯I and 0<δ<21, if 1−2δ<SB(A,γ), then
(5.3)
RD(δ)≤ln2CB(A,γ).
Proof. By Proposition 5.5, it suffices to construct equiprobable output states with Holevo information and decoding error χ=CB(A,γ)/ln2 and pe=21−SB(A,γ).
Diagonalize A=diag(x1,…,xN) and initially assume xj<1. Set ηj=xj and D=diag(ηj). Define the state, involution, and projections of the N-qubit construction as
Here aj,bj are self-adjoint Clifford generators on (C2)⊗N, with {aj,ak}={bj,bk}=2δjkI and {aj,bk}=0. Define σ±=2ϱ1/2Π±ϱ1/2. Parity exchanges σ+ and σ−, so σ± are output-symmetric states with average ϱ. Their pretty good measurement is (Π+,Π−). [Sal26, Theorem 4.5, Equation (4.36)] gives
1−2pe=tr(Jγϱ1/2Jγϱ1/2)=γT(I−D2)1/2γ=SB(A,γ).
It remains to identify the Holevo information. The product state has Ent(ϱ)=∑jfB(xj). Put L=(I−γγ⊤)D and ϱe=(ϱ+JγϱJγ)/2. The identity for the part invariant under conjugation by Jγ [Sal26, Equation (4.40)] says that ϱe is the fermionic Gaussian state with coupling matrix L. The singular values of L are y1,…,yN−1,0, counting multiplicities, since LL⊤ restricts to B on γ⊥. The Gaussian entropy formula therefore gives
The bound now follows from the pretty good criterion.
There are several clear parallels between the above constructions. They begin with a moving-subspace construction, pass to Gaussian quantum information theory, and end at interlacing spectra. In the following subsection, we will explore a variational problem over measures that arises from interlacing spectra via the Markov–Krein correspondence.
5.2. The Markov–Krein correspondence and the measure problem. We now introduce ideas of Kerov [Ker00, Section 2] to pass from interlacing spectra to probability measures.
For a Borel subset I⊆R, write P(I) for the space of Borel probability measures on I. The spectral measure of A at γ is m=∑jwjδxj, where wj=∥Pxjγ∥2 and Pxj is the spectral projection. The sum here runs over distinct eigenvalues. This is a probability measure. Its Cauchy transform satisfies
The products count eigenvalues with multiplicity. To see the last equality, choose an orthonormal basis whose first vector is γ; the corresponding diagonal cofactor of zI−A is det(zI−B).
After canceling common eigenvalues, the remaining spectra strictly interlace. Partial fractions give the weights explicitly:
wj=∏i=j(xj−xi)∏k(xj−yk).
ANDREW SALMON
Interlacing makes these weights positive, and Gm(z)∼1/z gives ∑jwj=1. Conversely, the Cauchy transform of a finite atomic probability measure has exactly one zero between each pair of consecutive atoms: it is strictly decreasing there, from +∞ to −∞. Its poles and zeros therefore recover the interlacing pair. The choice A=diag(xj) and γj=wj realizes this pair by matrices.
This bijection between strictly interlacing pairs and finite atomic probability measures is the discrete Markov–Krein correspondence. The measure is called the transition measure of the interlacing pair; in our matrix realization, it is exactly the spectral measure of A at γ.
With this correspondence in mind, we recast the optimization problem in terms of measures. Define
Subtracting the scalar entropy integrals proves the cost identities.
Definition 5.7 (Optimization over measures). For ⋆∈{B,S} and 0<s<1, put
(5.7)
U⋆(s)=inf{C⋆(m):m∈P(I⋆),S⋆(m)≥s}.
Both are convex problems: correlation is linear in the measure, and cost is a convex functional.
Lemma 5.8 (Weak continuity). Both S⋆ and C⋆ are continuous for weak (narrow) convergence on P(I⋆).
Proof. The correlation integrands are bounded and continuous. In the binary case, the integral converges pointwise, and for 0<u<1,
0≤lngm(u)≤−ln(1−u2),
whose upper bound divided by u2 is integrable. For spheres, if mj→m weakly, choose M<∞ and c>0 such that mj([0,M])≥c for all sufficiently large j. Then Tmj(r)→Tm(r) pointwise and
0≤−lnTmj(r)≤−lnc+ln(1+4Mcosh2r),
which is integrable against sech2rdr. Dominated convergence proves cost continuity in both settings.
Finite atomic probability measures are weakly dense in P(I⋆), so by Lemma 5.8 every measure admits finite atomic approximants whose costs and correlations converge to its own.
Lemma 5.9 (Measure upper bound). For 0<s<1,
ln2RD((1−s)/2)≤UB(s),RDS(s)≤US(s).
Proof. Suppose S⋆(m)≥s. Mix m with εδ0 in the binary case, or with εδL for a finite L satisfying φS(L)>s in the spherical case. The resulting correlation is strictly greater than s. Convexity bounds its cost by (1−ε)C⋆(m)+εf⋆(L) (with L=0 in the binary case). By Lemma 5.8, approximate this mixture by finite atomic measures, preserving the strict inequality. Apply the matrix bound and then let ε↓0. Taking the infimum proves the assertion.
5.3. Optimization over measures and elliptic integrals. We are now ready to solve the optimization problem over measures from the previous subsection and make our second contact with elliptic integrals. Recall K,K′,E,E′ from the introduction and the spacing ℓ=πK′/K from Definition 4.2. Put
(5.8)
dℓ=π2K.
To motivate the binary measure, one could write out KKT first-order optimality conditions and trust their global optimality since the underlying problem over measures is convex. We will not do so fully and instead give a related ansatz. Our measure must be supported on I=[0,1], and we will assume that m is a discrete measure whose support has a single accumulation point at 1. A priori, the function gm is holomorphic on the slit domain Ω=C∖((−∞,−1]∪[1,∞)), and we make the following substitution
Hm(r)=gm(tanhr)/coshr.
We seek the simplest meromorphic map compatible with this function.
Under the assumptions above, Hm has a meromorphic continuation and satisfies
Hm(−r)=Hm(r),Hm(r+iπ)=−Hm(r),Hm(0)=1.
Writing x=tanh2ξ with ξ≥0, an atom at x<1 contributes to Hm through the kernel
Thus the poles of Hm lie on ℑr=π/2 modulo iπ. Supply the real period ℓ, and seek a meromorphic map
H:Eℓ⟶P1,Eℓ=C/(ℓZ+2πiZ).
The smallest possible degree of this (nonconstant) map is two. We therefore ask for two simple poles at [τlatℓ+iπ/2] and [τlatℓ+3iπ/2]; evenness forces τlat=0 or 21 modulo 1.
There is a unique measure that produces such a function H. Periodicity makes the residues equal (up to sign in the iπ antiperiod). This requires weights proportional to sech((j+τlat)ℓ). With that preparation, we are ready for the following one-parameter families of solutions to U⋆(s) in Definition 5.7.
Definition 5.10. Define the binary “lattice measure”, for any 0≤τlat<1, by
Lemma 5.11 (Evaluation of the lattice measures). For 0<κ<1, let ℓ=πK′/K and dℓ=2K/π. The probability measures in (5.10) and (5.12) have normalization constants
Proof. Write d=2K/π and q=e−ℓ. Poisson summation and Jacobi's Fourier series [Nat, Eq. 22.11.3] give
F(r):=j∈Z∑sech(r−jℓ)=ddn(dr,κ′).
The half-period identity is
dn(u+K′,κ′)=dn(u,κ′)κ,F(r+ℓ/2)F(r)=d2κ.
Pairing the terms at a and -a using (5.9) gives (5.14) and the normalizing factors in (5.13). [Nat, Eq. 22.11.14] gives
j∈Z∑sech2(r−jℓ)=d2(dn2(dr,κ′)+KE−1).
Evaluation at r=0 and r=ℓ/2 gives the binary correlations. Evaluation at r=ℓ/2+iπ/2 gives
2j≥0∑csch2ξj=d2(1−E/K).
The half-period identity gives the derivative
F′(ℓ/2+iπ/2)=2ij≥0∑sinh2ξjcoshξj=id2κ,
using the fact that -i is the residue of F at iπ/2. Thus Nℓ=d2κ/2, and the correlation is
SS(mℓ,1/2S)=Nℓ1j≥0∑csch2ξj=κKK−E.
For the costs, write C+ and C− for the binary costs at shifts 0 and 21, and CS for the spherical cost. To evaluate the costs, we must find the yj interlacing the xi, which are the zeros, resp. the poles, of the Cauchy transform Gm(z). The half-period identity F(r+ℓ/2)F(r)=d2κ places the zeros of F halfway between its poles. The two binary transforms are F/d and d/F, so the poles associated to + are the zeroes associated to - and vice versa. The spherical zeros are the images of the half-shifted binary zeros under M by (5.11).
The cost identity (5.1) extends to these infinite interlacing pairs and gives the three entropy sums
All sums are absolutely convergent by the exponential decay of the scalar entropies. Applying the finite cost identity to finite atomic approximations and using weak continuity from Lemma 5.8 identifies them with the measure costs.
It remains to evaluate these sums. The entropy identities are
These are the fermionic and bosonic single-mode entropies at energy 2a. On a lattice a=cℓ, define the differential operator D=1−ℓ∂ℓ. The difference of the integer and half-integer lattice sums is D applied to logarithms of partition-function ratios:
P+=n≥1∏1+q2n−11+q2n,PS=n≥1∏1−q2n−11−q2n.
Explicitly,
C+=ln2+DlnP+,C−=ln2−C+,CS=DlnPS.
We remark that the products P+ and PS converge locally uniformly for ℓ>0, so the differentiation is well-defined.
Write θj=θj(0,q) for the values of Jacobi theta functions at q=e−ℓ. Their product formulas [Nat, Eqs. 20.4.3–20.4.4] are
The last equality follows from Legendre's relation.
Since s=1−2δ, the binary evaluations in Lemma 5.11 are the two formulas (1.1); the spherical evaluation is (1.2). As ℓ↓0, both binary measures tend to the arcsine law on [0,1], with correlation 2/π and cost (ln2)/2.
Proof of Theorem 1.1. Use correlation as the common parameter, and put FB(s)=ln2J((1−s)/2). Theorem 4.8 identifies the contact threshold at rate F⋆(s) with s. For 0<s′<s, Theorem 3.8 therefore bounds the lower asymptotic rate at correlation s from below by F⋆(s′). Letting s′↑s gives the lower bound F⋆(s). For s<s′′<1, choose the lattice measure of correlation s′′. Lemmas 5.9 and 5.11 give an upper bound F⋆(s′′). Letting s′′↓s gives the reverse inequality. The rate functions are continuous, including the “half-rate point” s=2/π: both branches tend to (ln2)/2 because B(κ)→0 as κ↑1. Thus the liminf and limsup agree. Dividing the binary equality by ln2 proves the theorem in bits.
Corollary 5.12 (Optimality in the measure problem). For 0<s<1, U⋆(s)=F⋆(s). The displayed lattice measures attain this value; at distance 1/2−1/π, a minimizing measure is the arcsine law dx/(πx(1−x)) on [0,1].
Proof. The approximation lemma and Theorem 1.1 give F⋆(s)≤U⋆(s), and the lattice evaluation gives the opposite inequality. At the junction, the arcsine law has g(u)=(1−u2)−1/2, correlation 2/π, and cost (ln2)/2.
ACKNOWLEDGEMENTS
We thank Alex Samorodnitsky, Alexander Barg, and Henry Cohn for helpful comments.
REFERENCES
[AG26] Omar Alrabiah and Venkatesan Guruswami. Binary code rate bounds via classical–quantum channels. arXiv:2608.09347, 2026.
[AJCH +20] Nima Afkhami-Jeddi, Henry Cohn, Thomas Hartman, David de Laat, and Amirhossein Tajdini. High-dimensional sphere packing and the modular bootstrap. Journal of High Energy Physics, 2020(12):66, 2020. https://doi.org/10.1007/JHEP12(2020)066.
[Bar26] Alexander Barg. Comments on the recent improvements of the MRRW bounds, 2026. arXiv:2609.01860v1.
[BJ01] Alexander Barg and David B. Jaffe. Numerical results on the asymptotic rate of binary codes. In Alexander Barg and Simon Litsyn, editors, Codes and Association Schemes, volume 56 of DIMACS Series in Discrete Mathematics and Theoretical Computer Science, pages 25–32. American Mathematical Society, 2001.
[CE03] Henry Cohn and Noam Elkies. New upper bounds on sphere packings. I. Annals of Mathematics, 157(2):689–714, 2003.
[CZ14] Henry Cohn and Yufei Zhao. Sphere packing bounds via spherical codes. Duke Mathematical Journal, 163(10):1965–2002, 2014. https://doi.org/10.1215/00127094-2738857.
[Del73] Philippe Delsarte. An Algebraic Approach to the Association Schemes of Coding Theory. Number 10 in Philips Research Reports Supplements. Philips Research Laboratories, 1973. https://users.wpi.edu/~martin/RESEARCH/philips.pdf.
[DGS77] Philippe Delsarte, Jean-Marie Goethals, and Johan Jacob Seidel. Spherical codes and designs. Geometriae Dedicata, 6(3):363–388, 1977. https://doi.org/10.1007/BF03187604.
[DL98] Philippe Delsarte and Vladimir I. Levenshtein. Association schemes and coding theory. IEEE Transactions on Information Theory, 44(6):2477–2504, 1998. https://doi.org/10.1109/18.720545.
[Edw66] D. A. Edwards. Choquet boundary theory for certain spaces of lower semicontinuous functions. In Frank T. Birtel, editor, Function Algebras, pages 300–309. Scott, Foresman and Company, 1966.
[GJL26] William Gay, Fernando Granha Jeronimo, and Lenny Liu. The honeycomb framework for code bounds. arXiv:2608.20287v1, 2026.
[GPP13] Nihat G. Gögüş, Tony L. Perkins, and Evgeny A. Poletsky. Non-compact versions of Edwards' theorem. Positivity, 17(3):459–473, 2013. https://arxiv.org/abs/1012.3973.
on-the-limit-of-the-linear-programming-bound-for-codes-and-packing/, 2024. Blog post, Combinatorics and more, January 21, 2024.
[Ker00] Sergei V. Kerov. Anisotropic Young diagrams and Jack symmetric functions. Functional Analysis and Its Applications, 34(1):41–51, 2000. https://arxiv.org/abs/math/9712267.
[KL78] G. A. Kabatiansky and V. I. Levenshtein. On bounds for packings on a sphere and in space. Problems of Information Transmission, 14(1):1–17, 1978.
[Kom26] Scott Duke Kominers. A fourier consequence for lattice kissing numbers and average contacts. hexagon:2610.00021v1, 2026. Version 1, October 2, 2026.
[MRRW77] Robert J. McEliece, Eugene R. Rodemich, Howard C. Rumsey, Jr., and Lloyd R. Welch. New upper bounds on the rate of a code via the Delsarte–MacWilliams inequalities. IEEE Transactions on Information Theory, 23(2):157–166, 1977. https://doi.org/10.1109/TIT.1977.1055688.
[Nat] National Institute of Standards and Technology. NIST digital library of mathematical functions. https://dlmf.nist.gov/. Version 1.2.8, September 15, 2026.
[NS05] Michael Navon and Alex Samorodnitsky. On Delsarte's linear programming bounds for binary codes. In Proceedings of the 46th Annual IEEE Symposium on Foundations of Computer Science, pages 327–336. IEEE Computer Society, 2005. https://doi.org/10.1109/SFCS.2005.55.
[Ran95] Thomas Ransford. Potential Theory in the Complex Plane, volume 28 of London Mathematical Society Student Texts. Cambridge University Press, 1995. https://doi.org/10.1017/CB09780511623776.
[Sal26] Andrew Salmon. The half-rate linear programming bound for binary codes is 21−π1. arXiv:2609.03736v2, 2026.
[Sam01] Alex Samorodnitsky. On the optimum of Delsarte's linear program. Journal of Combinatorial Theory, Series A, 96(2):261–287, 2001. https://doi.org/10.1006/jcta.2001.3176.
[Sam04] Alex Samorodnitsky. On linear programming bounds for spherical codes and designs. Discrete & Computational Geometry, 31(3):385–394, 2004. https://doi.org/10.1007/s00454-003-2858-0.
[Sil07] Luis Silvestre. Regularity of the obstacle problem for a fractional power of the Laplace operator. Communications on Pure and Applied Mathematics, 60(1):67–112, 2007. https://doi.org/10.1002/cpa.20153.
ANDREW SALMON
[TS06] Salvatore Torquato and Frank H. Stillinger. New conjectural lower bounds on the optimal density of sphere packings. Experimental Mathematics, 15(3):307–331, 2006. https://doi.org/10.1080/10586458.2006.10128964.
[WPGP +12] Christian Weedbrook, Stefano Pirandola, Raul Garcia-Patron, Nicolas J. Cerf, Timothy C. Ralph, Jeffrey H. Shapiro, and Seth Lloyd. Gaussian quantum information. Reviews of Modern Physics, 84:621–669, 2012. doi:10.1103/RevModPhys.84.621.