arXiv:2611.08709cs.ITNov 2026

Manuscript Offprint

arXiv:2611.08709

Levenshtein-type bounds for (a,b)(a,b)-avoiding spherical codes

Peter Boyvalenkov, Danila Cherkashin, Peter Dragnev, Peter Grabner

P. G. BOYVALENKOV, D. D. CHERKASHIN, P. D. DRAGNEV, AND P. J. GRABNER

ABSTRACT. We develop a Levenshtein-type linear programming framework (for maximal ss-codes and for minimal energy) for (a,b)(a,b)-avoiding spherical codes, that is, codes whose inner products between distinct points avoid (a,b)(a,b). We introduce and investigate signed measures that are positive definite up to an appropriate degree and yield stationary auxiliary linear programming polynomials and exact quadrature formulas. We give explicit conditions for positivity of the quadrature weights and sufficient Krein-type conditions for nonnegative Gegenbauer coefficients (positive definiteness of the candidate optimal linear programming polynomials). Under these hypotheses and suitable node-location assumptions, the resulting cardinality bounds are optimal within the corresponding degree restriction and unique under natural nondegeneracy conditions. Under proper conditions on the quadrature nodes, we obtain universal lower energy bounds by utilizing Hermite interpolants as polynomial solutions of the respective linear program. Common test functions characterize optimality in the full polynomial linear programs under mild additional assumptions.

1. INTRODUCTION

Bounds for the cardinality and energy of finite point sets on spheres are closely related problems in discrete geometry. The linear programming method of Delsarte, Goethals, and Seidel [24] (see also [6, Chapter 5], [21, Chapter 9], [25, Chapter 2], [29]) converts restrictions on pairwise inner products into inequalities for Gegenbauer expansions. Levenshtein's bounds [33] (see also [34, 35, 36]) organize this method into families of auxiliary polynomials associated with orthogonal polynomials and positive quadrature formulas. These quadratures explain both the quality of the bounds (cf. [36, Theorem 5.39]) and their optimality among auxiliary polynomials of specified degrees (cf. [8, Theorem 3.1], [36, Theorem 5.47]).

A parallel theory applies to the energy

Eh(C)=∑x,y∈C,x≠yh(⟨x,y⟩)E_h(C) = \sum_{\substack{x,y \in C, x \neq y}} h(\langle x, y \rangle)

of a spherical code CC, where h:[−1,1)→Rh: [-1,1) \to \mathbb{R} is a potential function. The energy linear programming method of Yudin [39] and the theory of universal optimality by Cohn and Kumar [17] connect polynomial minorants of the potential with geometric properties of extremal configurations. Boyvalenkov, Dragnev, Hardin, Saff, and Stoyanova [10] used Levenshtein quadratures to obtain universal lower energy bounds (ULB) for absolutely monotone potentials (see also [14]). The universality is understood in the sense of Levenshtein [36] (there is a suitable bound for every code), in the sense of Cohn–Kumar [17] (the bound is valid for all absolutely monotone potentials), and in the fact, that the interpolation nodes and weights depend on the geometric parameters rather than on the potential, and the same Levenshtein quadrature controls both cardinality and energy.

These LP frameworks extend to polynomial metric spaces [35, 36, 12] and to weighted spherical codes and designs [15]. Related quadrature methods also yield universal upper energy bounds [13] and bounds for potentials of weighted designs and energies of discrete measures [16]. There are strong relations of spherical-code bounds to Euclidean sphere packing, see [29, 20].

In this paper, we consider the maximal cardinality and minimum energy problems in classes of codes where additional restrictions on inner products are imposed. If a set T⊂[−1,1)T \subset [-1,1) is forbidden for inner products of a spherical code CC, then we call CC a TT-avoiding code. Delsarte, Goethals, and Seidel [24] considered AA-codes which are codes with inner products in the set AA; in our terminology, they would be ([−1,1)∖A)([-1,1) \setminus A)-avoiding codes. The linear programming framework, developed in [24], is then directly applied (see Theorem 2.2 below). The TT-avoiding setting is also related to a corresponding sphere packing setting, see [28].

P. G. BOYVALENKOV, D. D. CHERKASHIN, P. D. DRAGNEV, AND P. J. GRABNER

Boyvalenkov, Dragnev, Hardin, Saff, and Stoyanova [11] obtained bounds for spherical codes with inner products in a prescribed interval [ℓ,s][\ell, s], i.e., for [−1,ℓ)[-1,\ell)-avoiding ss-codes. Their approach uses signed measures with positive definiteness up to appropriate degrees (a technique, already introduced in the field by Cohn and Kumar [17]), associated orthogonal polynomials, and Krein conditions. More recently, Boyvalenkov, Cherkashin, and Dragnev [7] studied TT-avoiding spherical codes and designs and established maximality of certain TT-avoiding ss-codes, minimality of certain TT-avoiding spherical designs, and corresponding restricted universal optimality. These results motivate a systematic treatment of an excluded interval T=(a,b)T=(a,b), for which the allowed inner-product set has two components (in other words, interval-avoiding ss-codes).

Fix

n≥2,−1≤a<b<s<1,Xa,b,s=[−1,a]∪[b,s].n\geq 2,\qquad -1\leq a<b<s<1,\qquad X_{a,b,s}=[-1,a]\cup[b,s].

We study the maximum cardinality A(n,s;a,b)\mathcal{A}(n,s;a,b) of spherical codes whose inner products between distinct points belong to Xa,b,sX_{a,b,s}. Thus the usual separation restriction ⟨x,y⟩≤s\langle x,y\rangle\leq s for x≠y∈Cx\neq y\in C is supplemented by the exclusion of the interval (a,b)(a,b). For energy, we consider (a,b)(a,b)-avoiding codes of fixed cardinality without imposing an upper cutoff ss on their inner products. We write Eh(n,N;a,b)\mathcal{E}_h(n,N;a,b) for the infimum of the energy over such codes of cardinality NN. Their allowed set is [−1,1)∖(a,b)[-1,1)\setminus(a,b); the parameter ss instead enters through the quadrature used to construct the bound.

We adapt the signed measure and quadrature approach to this disconnected allowed set. The natural linear programming candidate polynomials have the forms

f(t)=(t−a)(t−b)(t−s)Ak(t)2f(t)=(t-a)(t-b)(t-s)A_{k}(t)^{2}

of degree 2k+32k+3, and

f+(t)=(1+t)(t−a)(t−b)(t−s)Bk(t)2f^{+}(t)=(1+t)(t-a)(t-b)(t-s)B_{k}(t)^{2}

of degree 2k+42k+4. Clearly, these polynomials are non-positive on Xa,b,sX_{a,b,s}. The main task is to choose the square factors so that the Gegenbauer coefficients are nonnegative and the resulting bound is optimal. The two boundary points of the excluded interval introduce the signed measures

dνa,b(t)=(1−t)(t−a)(t−b)dμn(t),dνa,b+(t)=(1+t)dνa,b(t),d\nu_{a,b}(t)=(1-t)(t-a)(t-b)d\mu_{n}(t),\qquad d\nu_{a,b}^{+}(t)=(1+t)d\nu_{a,b}(t),

where μn\mu_{n} is the normalized Gegenbauer measure.

Under the assumption of positive definiteness of νa,b(νa,b+)\nu_{a,b}\left(\nu_{a,b}^{+}\right) up to appropriate degree and the necessary normalization assumptions, we derive Euler equations and Christoffel–Darboux representations for the stationary factors AkA_{k} and BkB_{k}. They generate quadrature formulas which are exact up to degrees 2k+32k+3 and 2k+42k+4, respectively. Exactness alone does not ensure that the nodes lie in the allowed set Xa,b,sX_{a,b,s} or that the quadrature weights are positive. We give explicit formulas for the weights and impose separate node-location and weight-positivity conditions. A column form of the necessary variant of the Krein condition then supplies sufficient conditions for the stationary polynomial to be LP-admissible. If ρ1\rho_{1} denotes the quadrature weight at 1, the cardinality bound can be written as

A(n,s;a,b)≤1ρ1,\mathcal{A}(n,s;a,b)\leq\frac{1}{\rho_{1}},

with the analogous expression 1/ρ1+1/\rho_{1}^{+} in the even branch (cf. [36, Section 5.4] for Levenshtein's analogs). Positive quadrature at admissible nodes proves optimality within the corresponding degree restriction; additional interior-node assumptions give uniqueness up to positive scaling.

In the energy setting, the natural linear programming candidate polynomials are Hermite interpolants to the potential (cf. [10]). We derive sufficient conditions for a Newton ordering in which every required partial product in the Newton formula is positive definite. These conditions yield admissible energy minorants. If the quadrature parameter N=1/ρ1N=1/\rho_{1} is an integer, we derive the universal lower bound (ULB)

Eh(n,N;a,b)≥N2∑ξ≠1wξh(ξ),\mathcal{E}_{h}(n,N;a,b)\geq N^{2}\sum_{\xi\neq1}w_{\xi}h(\xi),

where the sum runs over the nontrivial quadrature nodes ξ\xi and wξw_{\xi} are their (positive) weights. The bound is universal in the same three senses as explained above as, more precisely said, the same nodes and weights work for every absolutely monotone potential. The applicability of the ULB remains conditional on the geometric and positivity hypotheses.

Finally, we study quadrature test functions in the spirit of [8, 10] (also [36, Theorem 5.47]). Their nonnegativity in all degrees beyond the quadrature precision certifies global optimality, i.e., optimality in the full polynomial LP. Like in the classical case, a negative value of a test function implies a higher-degree improvement when the optimal cardinality polynomial ff or f+f^+ has strictly positive Gegenbauer coefficients (which is the case with the Levenshtein polynomials in the classical case), or when the energy potential is strictly absolutely monotone. This distinguishes optimality at a fixed degree from optimality among all polynomial certificates, a distinction also central to higher-level extensions of the Levenshtein and classical ULB frameworks [14].

The results imply a conditional framework (see the Appendix) rather than a classification of all admissible parameters. After setting up the linear programs, we develop the signed measures, stationary polynomials, quadrature formulas, and Krein criteria. We then turn to energy interpolation and test functions, and conclude with the examples and the remaining positivity questions. We illustrate the construction with two 23-dimensional odd-degree examples recovering known bounds from [7] and a degenerate 22-dimensional even-degree example (again from [7]). For each, we give the exact quadrature, the distance distribution of an attaining design, and the corresponding sharp energy bound. In the last case, a quadrature weight vanishes and the bound coincides with that of the neighboring odd degree branch (see Subsection 9.3). This phenomenon is not unexpected — in the classical case it was proved by Boyvalenkov, Danev and Landjev [9] that the even degree Levenshtein bounds can be possibly attained only in the endpoints of their optimality and in that points they can be identified as odd bounds as well.

The paper is organized as follows. In Section 2 we explain the necessary linear programming setting for the maximal codes problem. The necessary signed measures and their polynomials (orthogonal up to appropriate degrees) are defined in Section 3. Stationary polynomials for the maximal codes problem are found in Section 4. In Section 5, the relating quadrature formula is derived and investigated. In Section 6 we first introduce the (odd and even) analogs of the Krein condition used by Levenshtein in his derivation and then prove the Levenshtein-type bound on maximal (a,b)(a,b)-avoiding codes. Section 7 is devoted to universal lower bounds on energy of codes as we first give the LP energy setting and then provide the corresponding bound; here a positive Newton ordering is needed to establish the bound. Section 8 is devoted to test functions which give a necessary and sufficient condition for global optimality of our bounds (both for maximal codes and minimum energy). Some examples are presented in Section 9 and an appendix gives a programme for implementation of numerics in our framework.