% Compile twice with pdfLaTeX. All certificate data are included in this file. \documentclass{article} \usepackage[a4paper,left=27mm,right=27mm,top=23mm,bottom=23mm]{geometry} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{amsmath,amssymb,amsthm,booktabs,array} \usepackage[hidelinks,bookmarksnumbered]{hyperref} \newcommand{\R}{\mathbb R} \newcommand{\sphere}{\mathbb S} \newcommand{\ip}[2]{\langle #1,#2\rangle} \newcommand{\norm}[1]{\lVert #1\rVert} \newcommand{\opt}{\mathcal O} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \newcommand{\doi}[1]{\href{https://doi.org/#1}{doi:\,#1}} \setlength{\parindent}{1.2em} \setlength{\parskip}{1.5pt plus .5pt} \setlength{\abovedisplayskip}{7pt plus 2pt minus 2pt} \setlength{\belowdisplayskip}{7pt plus 2pt minus 2pt} \raggedbottom \title{On the Number of Points Contained in Maximum-Density Euclidean Balls: Sharp Bounds in Every Dimension} \author{Zihan Liu\\ Capital Normal University} \begin{document} \maketitle \begin{abstract} Given a finite point set in Euclidean space, consider the closed balls containing at least two of its points. How many points can a ball of maximum count per unit volume contain? In three dimensions every such ball contains at most six points, and every maximizing ball for the vertices of a regular octahedron contains all six. In four dimensions a closest pair always gives an optimal ball. The only other possibility is a tie with eight points forming a regular cross polytope. In every dimension at least five, the optimal balls are exactly those having a closest pair as a diameter. The proof bounds the number of points in an outer shell by comparing their directions with a spherical code. The argument is analytic in dimension three and in dimensions at least twelve. For dimensions four through eleven we give a finite certificate using exact rational arithmetic. \end{abstract} \noindent{\small\textit{Keywords.} Maximum-density balls, closest pairs, spherical codes, sphere packing, linear programming bounds.} \section{Introduction} In \cite{liu}, we introduced two constants \(K_d\) and \(L_d\) to describe how many points of a finite set can lie in a maximum-density Euclidean ball. We determined both constants in dimensions one and two and posed several open problems in higher dimensions. In this paper, we determine their exact values for all \(d\ge 3\), completing the classification in every dimension and resolving Problems 6.1-6.4 of \cite{liu}. GPT 6.2 Astra independently determined the exact values of \(K_d\) and \(L_d\) for all \(d\ge 3\) and developed the proof of these results. It also wrote the accompanying Python program, which verifies the finite certificate for dimensions \(4\) through \(11\) using exact rational arithmetic. \section{The extremal counts} Let \(P\subset\R^d\) be finite with at least two distinct points. Write \(N_P(B)=|P\cap B|\) for the number of points in a closed ball \(B=B(c,r)\), and let \(v_d\) be the volume of the unit ball. A ball is \emph{feasible} if \(N_P(B)\ge2\). Its density is \(\rho_P(B)=\frac{N_P(B)}{v_dr^d}\). Write \(\rho^*(P)\) for the largest feasible density and \(\opt(P)\) for the family of balls attaining it. Attainment follows from the finite reduction in Section~\ref{sec:reduction}. Following \cite{liu}, define \begin{equation}\label{eq:KL} K_d=\sup_P\min_{B\in\opt(P)}N_P(B),\qquad L_d=\sup_P\max_{B\in\opt(P)}N_P(B). \end{equation} Thus \(K_d\) bounds the count in \emph{some} maximizer on every input, while \(L_d\) bounds it in \emph{every} maximizer. In the plane a square already distinguishes the two questions. Its circumdisk contains four vertices and ties a disk having one side as diameter. An equilateral triangle forces three vertices in an optimal disk. The earlier paper \cite[Thms.~1.4--1.5]{liu} proved \[ (K_1,L_1)=(2,2),\qquad (K_2,L_2)=(3,4),\qquad L_d\le\left\lfloor\left(1-2^{-\frac 1d}\right)^{-d}\right\rfloor . \] In dimension three the last estimate gives \(113\), whereas the regular octahedron gives \(K_3\ge6\). This left open whether any configuration could force more than six points, or even admit a maximizer with more than six \cite[Problems 6.1--6.4]{liu}. \begin{theorem}\label{thm:main} The sharp pairs \((K_d,L_d)\) are \((6,6)\) for \(d=3\), \((2,8)\) for \(d=4\), and \((2,2)\) for \(d\ge5\). If \(\delta(P)\) is the closest-pair distance, then for every \(d\ge4\), \begin{equation}\label{eq:rho} \rho^*(P)=\frac{2^{d+1}}{v_d\,\delta(P)^d}. \end{equation} For every \(d\ge4\), every ball having a closest pair as a diameter is optimal. These are all the optimal balls for \(d\ge5\). In \(d=4\) the only additional optimal balls are circumballs of regular cross polytopes of edge length \(\delta(P)\) with all eight vertices in \(P\). \end{theorem} The transition is visible in the cross polytope \(Q_d=\{\pm e_i:1\le i\le d\}\), where the \(e_i\) are the coordinate unit vectors and \(d\ge2\). Its unit ball contains \(2d\) vertices. A closest-pair ball has radius \(\frac{1}{\sqrt2}\) and contains two. The ratio of their densities is \(\frac{d}{2^{\frac d2}}\). It exceeds one in dimension three, equals one in dimension four, and is less than one in every higher dimension. Together with the one- and two-dimensional results, the theorem shows that \(K_d\ne L_d\) exactly in dimensions two and four. In particular, both sequences are constant from dimension five onward. \section{From a maximizing ball to a spherical code}\label{sec:reduction} The closest-pair comparison and volume packing in \cite{liu} give a bound on the radius of an optimal ball. We also use optimality \emph{inside} that ball. If a smaller concentric ball holds few points, the outer shell must hold many. Their directions then give a spherical code, meaning a set of unit vectors with a specified upper bound on pairwise inner products. For completeness, an optimal ball exists for every \(P\) \cite[Prop.~2.1]{liu}. For each subset \(S\subset P\) with \(|S|\ge2\), the continuous function \(c\mapsto\max_{p\in S}\|p-c\|\) tends to infinity with \(\|c\|\) and hence attains a minimum. Choose a smallest enclosing ball of \(S\). Replacing a feasible \(B\) by the chosen ball for \(S=P\cap B\) can only increase its density. Some member of this finite family therefore attains the supremum. \paragraph{Fixing the scale.} First rescale to \(\delta(P)=1\). A ball having a closest pair \(p,q\) as diameter contains exactly those two points. Indeed, with \(c=\frac{p+q}2\), every \(x\in B(c,\frac 12)\) satisfies \[ \norm{x-p}^2+\norm{x-q}^2=2\norm{x-c}^2+\tfrac12\le1, \] whereas a third input point would give a sum at least two. Hence \(D=v_d\rho^*(P)\ge D_0=2^{d+1}\). Dilate a second time by \(\lambda=(D/D_0)^{1/d}\). This leaves the counts unchanged and all pairwise distances at least one. The maximum of \(N_P(B)/r^d\) is now exactly \(D_0\). Center an arbitrary maximizing ball at the origin. In these coordinates its radius \(R\) and count \(m\) satisfy \begin{equation}\label{eq:scale} R\ge\frac12,\qquad m=2(2R)^d,\qquad N_P(B(z,r))\le\max\{1,2^{d+1}r^d\}. \end{equation} The equality makes \(R\) a function of the candidate count \(m\). The maximum on the right also covers balls containing a single point. The open half-unit balls about the \(m\) points are disjoint and lie in \(B(0,R+\frac12)\), whence \begin{equation}\label{eq:volume} m\le(2R+1)^d,\qquad 2\le\left(1+\frac{1}{2R}\right)^d . \end{equation} \begin{lemma}[Directions in the outer shell]\label{lem:shell} Set \(L=\max\left\{0,R-\frac 1R\right\}\) and \(s_R=1-\frac{1}{2R^2}\). For the input points with \(L<\norm{x_i}\le R\), their directions \(u_i=\frac{x_i}{\norm{x_i}}\) satisfy \(\ip{u_i}{u_j}\le s_R\) for \(i\ne j\). If \(R<1\), all \(m\) points lie in this shell. \end{lemma} \begin{proof} At radial lengths \(u,v\) and direction inner product \(s_R\), the squared distance is \(H(u,v)=(u-v)^2+\frac{uv}{R^2}\). Separate convexity puts its maximum on \([L,R]^2\) at a corner. The diagonal values are \(\frac{L^2}{R^2}\) and \(1\). The mixed value is \(R^2\) for \(R\le1\), and \((R-L)^2+\frac LR=1\) for \(R>1\). Thus \(H\le1\). A larger inner product would give distance strictly less than one since \(uv>0\). When \(R<1\), the presence of any other enclosed point rules out an input point at the origin, and \(L=0\). \end{proof} \paragraph{Bounding the number of directions.} Let \(\mu_d\) be the distribution of the first coordinate of a uniform point on \(\sphere^{d-1}\). Its density is proportional to \((1-t^2)^{\frac{d-3}2}\) on \([-1,1]\). Let \(P_j\) be its monic orthogonal polynomial of degree \(j\), with \(P_0=1\). \begin{lemma}[Spherical linear programming bound {\cite{dgs}}]\label{lem:lp} Suppose \(f=\sum_{j=0}^h c_j P_j\), where \(c_0>0\) and \(c_j\ge0\) for \(j\ge1\). If \(f(t)\le0\) on \([-1,s]\), a nonempty code on \(\sphere^{d-1}\) with pairwise inner products at most \(s\) has size \(n\le \frac{f(1)}{c_0}\). \end{lemma} \begin{proof} The addition formula gives \(P_j(\ip{u}{v})=\gamma_j\sum_\ell Y_{j\ell}(u)Y_{j\ell}(v)\) for a real orthonormal basis of degree-\(j\) spherical harmonics. The factor \(\gamma_j\) is positive since \(P_j(1)>0\) (all roots lie in \((-1,1)\)). Summing over ordered pairs gives a nonnegative sum of squares for each \(j\). The constant term contributes \(c_0n^2\), while the off-diagonal values of \(f\) are nonpositive. Hence \begin{equation}\label{eq:lp} c_0n^2\le\sum_{i,h}f(\ip{u_i}{u_h})\le n f(1).\qedhere \end{equation} \end{proof} \section{Excluding seven or more points in dimension three}\label{sec:three} In this dimension \(m=16R^3\). We first show that \(R<1\). This puts all \(m\) points in the shell, where spherical caps give a short list of candidate counts. Let \(n\) be the shell count and \(\theta=\arccos s_R\). The open caps of angular radius \(\frac \theta2\) about the shell directions are disjoint on \(\sphere^2\). A cap has area \(2\pi(1-\cos(\frac \theta2))\), so comparison with \(4\pi\) gives \begin{equation}\label{eq:cap3} n\le 8R^2\left(1+\sqrt{1-\frac{1}{4R^2}}\right)<16R^2-1 . \end{equation} The strict inequality follows from \(\sqrt{1-z}<1-\frac z2\) for \(0c^3m^5\). The derivative of \((ax-b)x^{-\frac 53}\) is \(\frac{5b-2ax}{3x^{\frac 83}}\). For \(f_A\) the minimum on \([7,8]\) is at \(7\). For \(f_B\) the minimum on \([9,14]\) is at one of the two endpoints. The three integer differences \(32(am-b)^3-c^3m^5\) are \[ \begin{array}{c@{\qquad}rrr}\toprule (f,m)&(f_A,7)&(f_B,9)&(f_B,14)\\ \midrule \text{difference}&1593235&20126232&863410432\\ \bottomrule \end{array} \] Each is positive, so Lemma~\ref{lem:lp} excludes all eight counts. This proves \(L_3\le6\). Combined with the octahedron of \cite[Prop.~5.1]{liu}, revisited in Section~\ref{sec:equality}, it resolves the three-dimensional question. \section{A cap bound for dimensions at least twelve}\label{sec:high} A small ball cannot hold enough separated points to compete with a closest pair. For larger radii the dimension enters through the area of a spherical cap. Combining these two estimates will settle every dimension \(d\ge12\). \begin{lemma}[Small radii]\label{lem:small} Let \(d\ge4\). Suppose a ball of radius \(r<\frac{1}{\sqrt2}\) contains \(m\ge2\) points separated by distances at least one, and \(m\ge2(2r)^d\). Then \(m=2\). \end{lemma} \begin{proof} Center the ball at zero. Distinct points satisfy \(2\ip{x_i}{x_j}\le 2r^2-1<0\). In \(\R^h\) at most \(h+1\) vectors can have all pairwise inner products strictly negative \cite{rankin}. Indeed, an affine dependence among \(h+2\) vectors has coefficients of both signs. Moving the negative terms to the other side gives two equal vectors with strictly negative inner product. Thus \(m\le d+1\). For any \(q\) of the enclosed points, expanding squared distances gives \begin{equation}\label{eq:dist} \binom q2\le\sum_{i\sqrt{s}\), their orthogonal projections onto \(z^\perp\) have inner product \(\ip{w_i}{w_j}-\ip{w_i}{z}\ip{w_j}{z}<0\). Since \(z^\perp\) has dimension \(d\), each such cap contains at most \(d+1\) points. Average the count over a uniform cap center \(z\), as in \cite[Lemma 5]{caps}. Its expectation is \(m\) times the area fraction of one cap. Orthogonal projection of that cap onto \(z^\perp\) covers the open \(d\)-ball of radius \(\sqrt{1-s}=1/(\sqrt2 R)\), and does not increase \(d\)-dimensional area. With \(A_d=\frac{|\sphere^d|}{v_d}\) we obtain \begin{equation}\label{eq:caplarge} \frac{m}{A_d(\sqrt2 R)^d}\le d+1,\qquad 2^{1+\frac d2}\le(d+1)A_d . \end{equation} The second inequality uses \(m=2(2R)^d\), which cancels the radius. Write \(I_j=\int_0^\pi\sin^j t\,dt\), so \(A_d=dI_{d-1}\). From \(I_1=2\) and \(I_j=(j-1)I_{j-2}/j\) we get \(A_{12}=\frac{2048}{231}\), hence \(13A_{12}<128\). The right side of \eqref{eq:caplarge} increases by a factor at most \(\frac{d+2}d<\sqrt2\) for \(d\ge12\), because \(I_d\le I_{d-1}\). The left side increases by \(\sqrt2\). Thus \eqref{eq:caplarge} fails for every \(d\ge12\), and Lemma~\ref{lem:small} gives \(m=2\) throughout this range. \section{A finite certificate for dimensions four through eleven}\label{sec:finite} Set \(U_4=8\) and \(U_d=2\) for \(5\le d\le11\). We shall exclude \(m>U_d\) on a fixed interval of radii. The certificate uses the monotonic dependence of the count and angular separation on the radius. Every entry covers a closed interval. \paragraph{Bounding the radius.} Use Blichfeldt's weight \(g(r)=\max\{1-2r^2,0\}\) \cite{blichfeldt}. At a point \(y\) where \(q\ge1\) of the weights \(g(\norm{y-x_i})\) are positive, the identity in \eqref{eq:dist} centered at \(y\) gives \(\sum_{\rm active}\norm{x_i-y}^2\ge\frac{q-1}2\). Hence the sum of the weights is at most one at every \(y\). Each weight has integral \[ dv_d\int_0^{\frac{1}{\sqrt2}}(1-2r^2)r^{d-1}\,dr=v_d\,2^{-\frac d2}\frac{2}{d+2}. \] All \(m\) supports lie in \(B\left(0,R+\frac{1}{\sqrt2}\right)\). Integrating the pointwise bound and using \(m=2(2R)^d\) gives \begin{equation}\label{eq:blich} \frac4{d+2}\left(\frac{\sqrt2}{1+1/(\sqrt2 R)}\right)^d\le1 . \end{equation} For \(R\ge3\) the base is at least \(\frac{6}{1+3\sqrt2}>\frac 87\). The first three binomial terms give \(4\left(\frac87\right)^d-(d+2)\ge\frac{2d^2-23d+98}{49}>0\), contradicting \eqref{eq:blich}. Thus \(\frac 12\le R<3\). \paragraph{One test for a whole interval.} Suppose \(R\in[a,b]\subset\left[\frac 12,3\right]\) and \(m>U_d\). The least possible total count and an upper bound for the inner-ball count are, respectively, \begin{equation}\label{eq:interval} M=\max\{U_d+1,\lceil2(2a)^d\rceil\},\quad I_b=\begin{cases} 0,& b<1,\\ \max\left\{1,2^{d+1}\left(b-\frac 1b\right)^d\right\},& b\ge1 . \end{cases} \end{equation} Indeed \(M\le m\le\lfloor2(2b)^d\rfloor\) by \eqref{eq:scale}. If this integer range is empty the interval is excluded. It is also excluded when \(2(2a)^d>(2a+1)^d\), since the right side of the second inequality in \eqref{eq:volume} decreases with \(R\). For \(b<1\), Lemma~\ref{lem:shell} puts all the points in the shell. For \(b\ge1\), the inner radius \(L\) is at most \(b-\frac 1b\), so the last bound of \eqref{eq:scale} gives \(I_b\). The shell directions therefore satisfy \begin{equation}\label{eq:both} n\ge N:=M-I_b,\qquad \ip{u_i}{u_j}\le s:=1-\frac1{2b^2}\quad(i\ne j). \end{equation} The left endpoint gives the weakest lower bound on the total count. The right endpoint allows both the largest inner count and the largest pairwise inner product. An admissible polynomial from Lemma~\ref{lem:lp} with \(\frac{f(1)}{c_0}2\), then \(r\ge\frac 1{\sqrt2}\), and \eqref{eq:counts} gives \[ 32\le \frac m{r^4}\le4m\le32 . \] Thus \(m=8\) and \(r=\frac1{\sqrt2}\). In either case the maximum of \(\frac m{r^4}\) is \(32\), and every closest-pair ball attains it. Scaling back to an arbitrary \(\delta(P)\) proves \eqref{eq:rho}. We can also recover the geometry of the eight points from equality in the spherical bound. Translate the center to zero. Since \(r<1\), none of the points is the origin. Their unit directions satisfy \(\ip{u_i}{u_j}\le0\) by Lemma~\ref{lem:shell} (its proof uses only separation). Apply Lemma~\ref{lem:lp} to \(f(t)=t(t+1)\) with \(s=0\). In dimension four \(f=P_2+P_1+\frac 14\), since \(P_2=t^2-\frac 14\) and \(P_1=t\). Hence \(\frac{f(1)}{c_0}=8\) and both inequalities in \eqref{eq:lp} are equalities. Each off-diagonal value of \(f\) is zero, so each distinct inner product is \(0\) or \(-1\). The degree-one term also sums to zero, giving \(\norm{\sum_i u_i}^2=0\). Taking the inner product of \(\sum_j u_j=0\) with \(u_i\) shows that each direction has exactly one opposite. The eight directions form four mutually orthogonal antipodal pairs. For any orthogonal pair of points, \[ 1\le\norm{x_i-x_j}^2=\norm{x_i}^2+\norm{x_j}^2\le2r^2=1. \] Every point therefore lies on the boundary. Up to an orthogonal transformation the eight points are \(\left\{\pm \frac{e_i}{\sqrt2}:1\le i\le4\right\}\). Conversely, the circumball of any such configuration in \(P\) has radius \(\frac 1{\sqrt2}\) and contains at least eight points. Its density reaches the upper bound \eqref{eq:rho}, so it contains exactly eight and is optimal. \paragraph{Sharpness in dimensions three and four.} The same family \(Q_d=\{\pm e_i:1\le i\le d\}\) accounts for both sharp counts. Its unit ball has scaled density \(v_d\rho=2d\). Any ball containing an antipodal pair has radius at least one, hence has scaled density less than \(2d\) if it omits a vertex. A feasible ball containing no antipodal pair contains \(2\le k\le d\) orthogonal vertices. If \(g\) is their centroid and \(z\) the ball's center, then \(\norm{g}^2=\frac 1k\) and \[ r^2\ge \frac1k\sum_{i=1}^k\norm{x_i-z}^2=1-\frac1k+\norm{z-g}^2 . \] The resulting bounds \(k\left(1-\frac1k\right)^{-\frac d2}\) are \[ \begin{array}{c@{\qquad}ccc@{\qquad}c} \toprule d&k=2&k=3&k=4&\text{unit ball}\\ \midrule 3&4\sqrt2&3\left(\frac32\right)^{\frac32}&\text{---}&6\\[0.5em] 4&8&\frac{27}4&\frac{64}9&8\\ \bottomrule \end{array} \] For \(Q_3\) every ball omitting a vertex has scaled density strictly less than six, as in \cite[Prop.~5.1]{liu}. Thus \(K_3=L_3=6\). For \(Q_4\) the unit ball ties the diameter ball of a closest pair, so \(L_4=8\). Every input has a two-point maximizer in \(d\ge4\), giving \(K_d=2\) there. This completes the proof of Theorem~\ref{thm:main}. \clearpage \section{Comparison with volume packing bounds}\label{sec:packing-comparison} Suppose \(N\ge2\) points in a ball of radius \(R\) have pairwise distances at least \(\delta>0\), and put \(x=\frac R\delta\), so \(x\ge\frac12\). The ordinary volume bound and the bound obtained from Blichfeldt's weight are valid in every dimension. For comparison with the density bound of Theorem~\ref{thm:main}, take \(d\ge4\) and write \[ \mathcal V_d(x)=(1+2x)^d,\qquad \mathcal B_d(x)=\frac{d+2}{2}(1+\sqrt2\,x)^d,\qquad \mathcal U_d(x)=2(2x)^d . \] The three inequalities give \(N\le\lfloor\min\{\mathcal V_d(x),\mathcal B_d(x),\mathcal U_d(x)\}\rfloor\). The volume comparison for \(\mathcal V_d\) is the packing estimate in \cite[Prop.~9.13]{tropp}, also used in \cite[\S3.2, Eq.~(2)]{liu}. Balls of radius \(\frac\delta2\) about the points have disjoint interiors and lie in a ball of radius \(R+\frac\delta2\). For \(\mathcal B_d\), rescale Blichfeldt's weight \cite{blichfeldt} to \(g(r)=\max\left\{1-\frac{2r^2}{\delta^2},0\right\}\), using the unit-ball normalization in \cite[\S2]{ffv}. By Section~\ref{sec:finite} the translated weights sum to at most one. Integrating over the ball of radius \(R+\frac{\delta}{\sqrt2}\) containing their supports gives the finite-ball estimate \[ N\,\frac{2v_d}{d+2}\left(\frac{\delta}{\sqrt2}\right)^d \le v_d\left(R+\frac{\delta}{\sqrt2}\right)^d . \] Finally, apply \eqref{eq:rho} to the set of these \(N\) points. Its closest-pair distance is at least \(\delta\), so \(\frac N{v_dR^d}\le \frac{2^{d+1}}{v_d\delta^d}\), giving \(\mathcal U_d\). \begin{corollary}[Range of strict improvement]\label{cor:packing-comparison} Let \(a_d=\left(\frac4{d+2}\right)^{\frac1d}\). The comparisons of the real-valued bounds are \[ \begin{aligned} \mathcal U_d(x)<\mathcal V_d(x)&\ \Longleftrightarrow\ xd+2\), so \(a_d>\frac78\). For \(d\ge5\), \(2^{\frac1d}\le2^{\frac15}<\frac76\), whence \(2a_d-\sqrt2>\frac74-\sqrt2>\frac13>2\left(2^{\frac1d}-1\right)\). For \(d=4\), direct substitution gives \(T_B(4)<\frac{13}5\lfloor2(2b)^d\rfloor\) or \(2(2a)^d>(2a+1)^d\). An integer \(k\) specifies a kernel of degree \(k\) with exponent \(e=0\). A star selects \(e=1\). In \eqref{eq:both} take \(s=1-\frac1{2b^2}\), and put \(d\nu_e(t)=(1-t)(1+t)^e\,d\mu_d(t)\). Let \(J_j\) be the monic orthogonal polynomials for \(\nu_e\) and \(h_j=\int J_j^2\,d\nu_e\). Form \begin{equation}\label{eq:poly} q(t)=\sum_{j=0}^k\frac{J_j(s)J_j(t)}{h_j},\qquad f(t)=(t-s)(1+t)^e q(t)^2 . \end{equation} This adjacent-weight kernel is used in Levenshtein's linear programming method \cite{lev}. Its factors give \(f(t)\le0\) throughout \([-1,s]\) and \(f(1)\ge0\). For the expansion \(f=\sum_j c_jP_j\), the checks for each cell reduce to \begin{equation}\label{eq:checks} c_0>0,\qquad c_j\ge0\ (j\ge1),\qquad (M-I_b)c_0>f(1). \end{equation} \paragraph{Computing the coefficients with rational arithmetic.} Write \(\mu_i=\int t^i\,d\mu_d(t)\). The odd moments vanish. Substituting \(y=t^2\) in the even moments and using the beta recurrence gives \[ \mu_0=1,\qquad \mu_{2i}=\frac{2i-1}{d+2i-2}\,\mu_{2i-2}\quad(i\ge1). \] The \(i\)th moment of \(\nu_e\) is \(\mu_i-\mu_{i+1+e}\), since its multiplier is \(1-t\) or \(1-t^2\). For either measure \(\sigma\), start with \(Q_0=1\). With \(H_j=\int Q_j^2\,d\sigma\) and \(\alpha_j=H_j^{-1}\int tQ_j^2\,d\sigma\), the monic recurrence \cite[\S18.2(iv)]{dlmf} is \begin{equation}\label{eq:rec} Q_{j+1}=(t-\alpha_j)Q_j-(H_j/H_{j-1})Q_{j-1}, \end{equation} with the last term omitted at \(j=0\). Indeed, \(tQ_j\) is orthogonal to all polynomials of degree below \(j-1\), and \(\int tQ_jQ_{j-1}\,d\sigma=H_j\). Use \(\sigma=\nu_e\) to compute \(q\) and \(\sigma=\mu_d\) to compute the \(P_j\). To expand \(f\), subtract its leading coefficient times the monic basis polynomial of the same degree, then continue down to the constant. All operations in \eqref{eq:poly}--\eqref{eq:rec} take place in \(\mathbb Q\). \paragraph{A cell by hand.} For \(d=6\) the interval \(\left[\frac{21}{32},\frac{89}{128}\right]\) has \(k=0\) and \(e=1\). Equation~\eqref{eq:interval} gives \(M=11\), \(I_b=0\), and \(s=-\frac{271}{7921}\). Here \(q\) is a nonzero constant. Divide \(f\) by \(q^2\) to obtain \[ (1+t)(t-s)=P_2+(1-s)P_1+\left(\frac16-s\right)P_0,\qquad P_2=t^2-\frac16. \] Both nonconstant coefficients are positive, and \(11\left(\frac16-s\right)-2(1-s)=\frac{6713}{47526}>0\). This certifies the full closed interval. \paragraph{Reproducing the certificate.} Run \texttt{python3 verify\_dimensions.py} with Python 3.8 or later. The script uses only the standard library. For each dimension it checks endpoint order, full coverage and either the direct test or \eqref{eq:checks} in every active cell. In order of increasing dimension the polynomial counts are \(36,45,32,28,25,22,21,21\). There are three direct exclusions in dimension four and one in dimension five. The script reports the number of polynomial checks passed in each dimension. \clearpage \begin{table}[!ht] \centering \caption{Exact interval data. For a fixed dimension \(d\), read the left panel before the right. Each active entry gives the test for the interval ending at \(b\). \(\mathrm D\) indicates a direct exclusion, an integer gives \(k\), and a star sets \(e=1\).}\label{tab:cert} \vspace{5pt}\small \setlength{\tabcolsep}{3pt} \renewcommand{\arraystretch}{1.09} \begin{tabular}{r*{8}{c}@{\hspace{13pt}}r*{8}{c}} \toprule &\multicolumn{8}{c}{Dimension \(d\)}&&\multicolumn{8}{c}{Dimension \(d\)}\\ \cmidrule(lr){2-9}\cmidrule(lr){11-18} \(b\)&4&5&6&7&8&9&10&11&\(b\)&4&5&6&7&8&9&10&11\\ \midrule 69/128 & \textendash & \(\mathrm D\) & 0 & 0 & 0 & 0 & 0 & 0 & 77/64 & 3 & 3 & 3 & 4 & 4 & 4 & \textendash & \textendash \\ 143/256 & \textendash & 0 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & 41/32 & 3 & 3 & 4 & 4 & 4 & 4 & 5 & 5 \\ 37/64 & \textendash & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 87/64 & 3 & 4 & 4 & 4 & \textendash & \textendash & \textendash & \textendash \\ 79/128 & \textendash & 0 & 0 & 0 & 0 & \textendash & \textendash & \textendash & 23/16 & 4 & 4 & 4 & 5 & 6 & 6 & 6 & 6 \\ 163/256 & \textendash & 0 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & 97/64 & 4 & 4 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash \\ 21/32 & \(\mathrm D\) & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 51/32 & 4 & 5 & 6 & 6 & 6 & 7 & 7 & 8 \\ 173/256 & \textendash & \(0^{*}\) & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & 107/64 & 4 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash \\ 89/128 & \textendash & 1 & \(0^{*}\) & 1 & 1 & \textendash & \textendash & \textendash & 7/4 & 5 & 6 & 6 & 7 & 7 & 8 & 8 & 9 \\ 183/256 & \textendash & 1 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & 117/64 & 5 & 6 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash \\ 47/64 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 61/32 & 5 & 6 & 7 & 8 & 8 & 9 & 9 & 10 \\ 193/256 & 1 & 1 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & 127/64 & 6 & 6 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash \\ 99/128 & 1 & 1 & 1 & 1 & 1 & \textendash & \textendash & \textendash & 33/16 & 6 & 7 & 8 & 8 & 9 & 10 & 10 & 11 \\ 203/256 & 1 & 1 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & 137/64 & 6 & 7 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash \\ 13/16 & 1 & 1 & 1 & 1 & 1 & 2 & 1 & 1 & 71/32 & 7 & 7 & 9 & 9 & 10 & 11 & 11 & 12 \\ 421/512 & 1 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & 147/64 & 7 & 8 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash \\ 213/256 & 1 & 1 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & 19/8 & 8 & 8 & 10 & 10 & 11 & 12 & 13 & 13 \\ 109/128 & 1 & 1 & 2 & 2 & \textendash & \textendash & \textendash & \textendash & 157/64 & 8 & 8 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash \\ 223/256 & 2 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & 81/32 & 9 & 9 & 11 & 11 & 12 & 13 & 14 & 15 \\ 57/64 & 2 & \(1^{*}\) & 2 & 2 & 2 & 2 & 2 & 2 & 167/64 & 10 & 9 & 10 & \textendash & \textendash & \textendash & \textendash & \textendash \\ 119/128 & 2 & 2 & 2 & 2 & \textendash & \textendash & \textendash & \textendash & 339/128 & 8 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash \\ 31/32 & 2 & 2 & 2 & 2 & 2 & 2 & 3 & 3 & 43/16 & \(\mathrm D\) & 10 & 10 & 12 & 13 & 14 & 15 & 16 \\ 129/128 & 2 & 2 & 2 & \textendash & \textendash & \textendash & \textendash & \textendash & 177/64 & \textendash & 10 & 11 & \textendash & \textendash & \textendash & \textendash & \textendash \\ 67/64 & 2 & 2 & 2 & 3 & 3 & 3 & 3 & 3 & 91/32 & \textendash & 10 & 11 & 13 & 14 & 15 & 16 & 17 \\ 139/128 & 2 & 3 & \textendash & \textendash & \textendash & \textendash & \textendash & \textendash & 187/64 & \textendash & 11 & 12 & \textendash & \textendash & \textendash & \textendash & \textendash \\ 9/8 & 2 & 3 & 3 & 3 & 3 & 3 & 4 & 4 & 3 & \(\mathrm D\) & 11 & 12 & 15 & 15 & 16 & 17 & 18 \\ \bottomrule \end{tabular} \end{table} \section*{Declaration of Generative AI Use} GPT 6.2 Astra independently determined the exact values of \(K_d\) and \(L_d\) for all \(d\ge 3\) and developed the proof of these results. It also wrote the accompanying Python program, which verifies the finite certificate for dimensions \(4\) through \(11\) using exact rational arithmetic. The author takes responsibility for the final manuscript and the accompanying code. \begin{thebibliography}{10} \setlength{\itemsep}{2pt} \bibitem{liu} Z. Liu. On the Number of Points Contained in Maximum-Density Euclidean Balls. Zenodo, 2026. Preprint. \doi{10.5281/zenodo.24403880}. \bibitem{dgs} P. Delsarte, J. M. Goethals and J. J. Seidel. Spherical codes and designs. \emph{Geom. Dedicata} \textbf{6} (1977), 363--388. \doi{10.1007/BF03187604}. \bibitem{rankin} R. A. Rankin. The closest packing of spherical caps in \(n\) dimensions. \emph{Proc. Glasgow Math. Assoc.} \textbf{2} (1955), 139--144. \doi{10.1017/S2040618500033219}. \bibitem{yaglom} P. Sol\'e and J.-C. Belfiore. Constructive spherical codes near the Shannon bound. \emph{Des. Codes Cryptogr.} \textbf{66} (2013), 17--26. \doi{10.1007/s10623-012-9633-2}. \bibitem{caps} A. Barg and O. R. Musin. Codes in spherical caps. \emph{Adv. Math. Commun.} \textbf{1} (2007), 131--149. \doi{10.3934/amc.2007.1.131}. \bibitem{blichfeldt} H. F. Blichfeldt. The minimum value of quadratic forms, and the closest packing of spheres. \emph{Math. Ann.} \textbf{101} (1929), 605--608. \doi{10.1007/BF01454863}. \bibitem{lev} V. I. Levenshtein. Universal bounds for codes and designs. In V. S. Pless and W. C. Huffman (eds.), \emph{Handbook of Coding Theory}, vol.~I, North-Holland, Amsterdam, 1998, 499--648. \href{https://library.keldysh.ru/prep_vw.asp?lg=e&pid=2319}{Institutional record}. \bibitem{dlmf} NIST Digital Library of Mathematical Functions. \S18.2(iv)--(v), Recurrence relations and the Christoffel--Darboux formula. \url{https://dlmf.nist.gov/18.2}. \bibitem{tropp} J. A. Tropp. \emph{ACM 217: Probability in High Dimensions}. Caltech CMS Lecture Notes 2021-01, Pasadena, 2021, corrected March 2023. \doi{10.7907/mxr0-c422}. \bibitem{ffv} G. Fejes T\'oth, F. Fodor and V. V\'igh. The packing density of the \(n\)-dimensional cross-polytope. \emph{Discrete Comput. Geom.} \textbf{54} (2015), 182--194. \doi{10.1007/s00454-015-9699-5}. \end{thebibliography} \end{document}