\documentclass[11pt,reqno]{amsart} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[letterpaper,margin=1.1in]{geometry} \usepackage{amssymb,mathtools} \usepackage[expansion=false]{microtype} \usepackage[hidelinks,pdfauthor={Sihan Chen}, pdftitle={Long shadows, extremal shells of integral lattices, and stable intersection forms of smooth fillings}]{hyperref} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \numberwithin{equation}{section} \title[Long shadows and extremal shells]{Long shadows, extremal shells of integral lattices, and stable intersection forms of smooth fillings} \author{Sihan Chen} \date{December 2026} \subjclass[2020]{Primary 11H06, 57K40; Secondary 11F27, 52C17, 94B05} \keywords{Elkies's long-shadow question, Choe--Park conjecture, characteristic covector, lattice shell, definite filling, self-dual code} \begin{document} \begin{abstract} We answer Elkies's long-shadow question for positive definite integral unimodular lattices. For each fixed integer \(k\ge0\), if every characteristic vector of a rank-\(n\) lattice has squared norm at least \(n-8k\), the orthogonal complement of its unit vectors has bounded rank. We give an explicit bound and extend rank boundedness to arbitrary determinant, answering Behrens and Golla's lattice question in this generality. As an application we resolve Fr\o yshov's finiteness question for odd reduced intersection forms and the Choe--Park conjecture for negative definite fillings of rational homology three-spheres. More generally, the intersection forms of smooth negative semidefinite fillings of any fixed closed oriented three-manifold have finitely many stable isometry classes, up to adjoining diagonal \(-1\) summands. For every fixed \(j\) we determine the exact maximum number of vectors of squared norm \(j\) in an integral lattice of sufficiently large rank, together with the equality cases. We characterize all joint limits of normalized shell counts by return masses of symmetric random walks on countable abelian groups and realize these limits by unimodular lattices. A consequence is fixed-deficit finiteness in the standard rational isometry classes at ten strongly modular levels, including finiteness at fixed odd minimum for \(s\)-extremal lattices in the setting of Nebe and Schindelar. For Elkies's binary self-dual code problem we prove a reduced-length bound of optimal linear order in the shadow deficit. \end{abstract} \maketitle \noindent\textit{Notice on overlap.} Time constraints limited the scope and depth of the literature search. If you find substantial overlap with your own work already made public, please contact the author at \href{mailto:3565586261@qq.com}{\nolinkurl{3565586261@qq.com}}. \section{Introduction} \subsection{The long-shadow problem} Let \(L\) be a positive definite integral lattice of rank \(n\). We write \(L^*\) for its dual in \(L\otimes_{\mathbb Z}\mathbb R\). The characteristic covectors are \[ \operatorname{Char}(L) =\{w\in L^*:(w,x)\equiv(x,x)\pmod{2}\text{ for every }x\in L\}. \] They form a nonempty coset of \(2L^*\), since the homomorphism \(x\mapsto (x,x)\pmod{2}\) lifts to an integral linear functional on \(L\). We set \[ s(L)=\min_{w\in\operatorname{Char}(L)}\|w\|^2,\qquad d(L)=n-s(L). \] Both \(s\) and \(d\) are additive under orthogonal sums. Every unit vector splits off an orthogonal copy of \(\mathbb Z\) by integral projection, and distinct unit axes are mutually orthogonal. Their orthogonal complement \(L_{\mathrm{red}}\) is intrinsic. In particular, \(d(L_{\mathrm{red}})=d(L)\) because \(s(\mathbb Z)=1\). Elkies proved that \(s(L)\le n\) for unimodular \(L\), with equality precisely for \(\mathbb Z^n\) \cite{ElkiesStandard}. He then asked whether an upper bound on \(d(L)\) bounds the rank of \(L_{\mathrm{red}}\). He proved this for \(d(L)\le 8\), with optimal bound \(23\) \cite[p.~650]{ElkiesLong}. Gaulter settled the cases \(d(L)\le 16\) and \(d(L)\le 24\) \cite[Theorems~4.3 and~4.5]{GaulterFirst}. The bound for \(d(L)=16\) was subsequently reduced to \(89\), with a sharp bound of \(46\) in the absence of roots \cite{GaulterTwo,NebeVenkov}. Harada constructed examples of defect \(16\) and minimum \(3\), and of defect \(24\) and minimum \(4\) \cite{HaradaLong}. Ernvall-Hyt\"onen obtained bounds for a more restricted family conditional on the Belfiore--Sol\'e conjecture \cite[Theorem~9]{ErnvallHytonen}. Bennett and Fridberg state the all-defect finiteness assertion as their Hypothesis~2.8 \cite{BennettFridbergCodes}. \begin{theorem}[Elkies's long-shadow question]\label{thm:elkies} For every integer \(k\ge 0\) there is an integer \(B(k)\) such that every positive definite integral unimodular lattice \(L\) of rank \(n\) with \(s(L)\ge n-8k\) satisfies \[ L\cong \mathbb Z^r\perp L_{\mathrm{red}}, \qquad \operatorname{rk}(L_{\mathrm{red}})\le B(k). \] There are only finitely many possible reduced lattices up to isometry. One may take \(B(0)=0\) and, for \(k\ge1\), \begin{equation}\label{eq:rank-bound} B(k)=\left\lceil\frac{k}{2}\exp\!\left(3^{k-1}k \bigl(2\log(16k)+\log(65538)\bigr)\right)\right\rceil . \end{equation} \end{theorem} The bound in \eqref{eq:rank-bound} is uniform in the rank. Orthogonal sums of the shorter Leech lattice show that the optimal bound is at least \(23k\) \cite{ElkiesLong}. The proof uses the theta series of \(L\) and its shadow as two expansions of the same polynomial. Gaulter's midpoint argument implies that distinct shortest vectors of \(\tfrac12\operatorname{Char}(L)\) are distinct modulo \(2L\) \cite[Lemma~3.2]{GaulterFirst}. We apply a Gaussian second-moment identity, a specialization of a theta relation of Regev and Stephens-Davidowitz \cite[Eq.~(2)]{RegevGaussians}, to the entire shadow. Normalizing by the identity for \(\mathbb Z\) gives an inequality for evaluations of the theta polynomial at the two cusps, with no rank-dependent factor. A compactness argument then gives boundedness, and control of the roots of the same polynomial gives the explicit bound \eqref{eq:rank-bound}. \subsection{Definite and semidefinite fillings} Theorem~\ref{thm:all-integral-defect} extends the reduced-rank bound to positive definite integral lattices of arbitrary determinant. It uses the embedding of four copies of an integral lattice into a unimodular lattice due to Owens and Strle \cite[Proposition~3.1]{OwensStrle}. Averaging over the characters of the finite quotient controls characteristic covectors on the original lattice. The resulting rank bound depends only on \(d(L)\). Fr\o yshov asked whether the possible reduced intersection forms of smooth negative definite four-manifolds with a fixed rational homology sphere boundary are finite in the odd case \cite[p.~374]{Froyshov}. Choe and Park conjectured stable finiteness for every fixed rational homology three-sphere and established it under additional hypotheses \cite{ChoePark}. There are also classifications for particular boundaries and families of surgeries \cite{ScadutoFloer,GollaScaduto}. Behrens and Golla bounded the defect for general negative semidefinite fillings by a correction term of the boundary. They deduced finiteness for even reduced forms and asked for a rank bound in general \cite[Question~5.5]{BehrensGolla}. Theorem~\ref{thm:fillings} gives the desired finiteness, including the radical of the full intersection form when the boundary has positive first Betti number. The corresponding statement for simply connected fillings up to stable oriented homeomorphism follows from Boyer's classification for a fixed form \cite{Boyer}. \subsection{Short shells and related finiteness theorems} Let \(A_j(L)=\#\{x\in L:\|x\|^2=j\}\). For every fixed \(J\) the numbers \(j!A_j(L)/n^j\), \(1\le j\le J\), are within \(O_J(n^{-1})\) of the first \(J\) moments of a single random variable on \([-2,2]\) (Theorem~\ref{thm:shell-finite}). The large \(A\) and \(D\) components of the root system supply the leading contributions. Integrality imposes relations among their coordinates, and character orthogonality expresses those restrictions as moments. Theorem~\ref{thm:all-shell-limits} gives a converse. The limits of \(j!A_j(L)/n^j\) are exactly the sequences \(2^j\mu^{*j}(0)\), where \(\mu\) is a symmetric subprobability measure on a countable abelian group. Every such sequence occurs for odd unimodular lattices, and the sequences with vanishing odd terms also occur for even unimodular lattices. This description yields the limiting shell profiles at the cubic extremum among lattices with no unit vector. We then determine that extremum exactly for sufficiently large \(n\), including its equality cases (Theorem~\ref{thm:unitfree-cubic}). We also obtain the sharp asymptotic constant for the norm-three kissing number when the minimum is at least three. For arbitrary integral lattices and each fixed \(j\ge1\), Theorem~\ref{thm:exact-shell} gives the exact bound \(A_j(L)\le A_j(\mathbb Z^n)\) for all sufficiently large \(n\). Equality for odd \(j\) characterizes \(\mathbb Z^n\). For even \(j\) it also occurs for \(D_n\) and, when \(4\mid n\), its integral half-spin extension \(D_n^+\). The fixed-\(j\) estimates of Regev and Stephens-Davidowitz \cite{IntegralReverse} give the order of growth, and Kominers \cite{KominersShell} classified equality in their general spherical-code bound. The full Gaussian-mass comparison at every scale is a separate question \cite{RSAnnals,KominersGaussian}. The same moment estimate bounds the rank of a lattice with no unit vector when its theta series has bounded polynomial degree. Theorem~\ref{thm:strong-levels} uses this to prove fixed-deficit finiteness for strongly modular lattices in the rational isometry classes considered by Rains and Sloane, Nebe, and Nebe and Schindelar \cite{RainsSloane,NebeStrong,NebeSchindelar}. It includes the fixed odd-minimum assertion for \(s\)-extremal lattices. In the binary self-dual setting, a separate argument gives a bound of optimal linear order for the reduced length (Theorem~\ref{thm:binary-linear}), strengthening the finiteness assertion in Elkies's second question. \setcounter{tocdepth}{1} \tableofcontents \section{The long-shadow bound}\label{sec:unimodular} \subsection{A Gaussian identity for a lattice translate} For \(t>0\) set \(q=e^{-\pi t}\) and write \[ \Theta_X(t)=\sum_{x\in X}e^{-\pi t\|x\|^2} \] when \(X\) is a lattice or a translate. We use \[ \vartheta_3(it)=\sum_{a\in\mathbb Z}q^{a^2},\qquad \vartheta_4(it)=\sum_{a\in\mathbb Z}(-1)^a q^{a^2},\qquad \vartheta_2(it)=\sum_{a\in\mathbb Z}q^{(a+1/2)^2}. \] \begin{lemma}\label{lem:mid} Let \(H\) be a Euclidean lattice of rank \(n\), and let \(T\) be a translate of \(H\). For a class \(D\) of \(T\) modulo \(2H\), put \(M_D(t)=\sum_{x\in D}e^{-\pi t\|x\|^2}\). Then \begin{equation}\label{eq:midpoint-identity} \sum_D M_D(t)^2=\Theta_T(2t)\Theta_H(2t),\qquad \Theta_T(t)^2\le 2^n\Theta_T(2t)\Theta_H(2t). \end{equation} \end{lemma} \begin{proof} The identity is the specialization \(y=0\) of the Gaussian coset formula in \cite[Eq.~(2)]{RegevGaussians}, with the scale chosen as in \eqref{eq:midpoint-identity}. For completeness, if \(x,y\in T\) are congruent modulo \(2H\), then \[ a=(x+y)/2\in T,\qquad b=(x-y)/2\in H. \] Conversely, \(a\in T\) and \(b\in H\) give the ordered pair \((a+b,a-b)\) in a common coset. The squared lengths of the pair sum to \(2\|a\|^2+2\|b\|^2\). Summing the corresponding weights proves the identity. Cauchy--Schwarz for the \(2^n\) class masses proves the inequality. \end{proof} \subsection{The theta polynomial at the two cusps} For unimodular \(L\), fix \(w\in\operatorname{Char}(L)\) and let \(S=\tfrac12w+L\) be its shadow. Then \(s(L)=4\min_{x\in S}\|x\|^2\). Using theta constants at \(it\), put \[ u(t)=\frac{\vartheta_2^4\vartheta_4^4}{16\vartheta_3^8}, \qquad v(t)=-\frac{\vartheta_3^4\vartheta_4^4}{16\vartheta_2^8}. \] \begin{lemma}\label{lem:poly} There is a real polynomial \(P\) such that \[ \Theta_L(t)=\vartheta_3(it)^n P(u(t)),\qquad \Theta_S(t)=\vartheta_2(it)^n P(v(t)). \] It satisfies \(P(0)=1\) and \(\deg P=d(L)/8\). If \(L\) has no unit vector, then \(P'(0)=-2n\). \end{lemma} \begin{proof} The Hecke expansion and its shadow transformation \cite[Eqs.~(3)--(7)]{ElkiesLong} write \(\Theta_L,\Theta_S\) as the same weighted homogeneous polynomial in \((\vartheta_3,E_4)\) and \((\vartheta_2,E_4)\), respectively, with degrees \(1,8\) and total degree \(n\). Here \(E_4=\Theta_{E_8}\) in the theta-series convention above. The Jacobi identities give \[ \frac{E_4(it)}{\vartheta_3(it)^8}=1-16u(t),\qquad \frac{E_4(it)}{\vartheta_2(it)^8}=1-16v(t). \] Thus both quotients by the corresponding \(n\)th power are values of a single polynomial \(P\). As \(t\to\infty\), \[ \vartheta_3(it)=1+2q+O(q^4),\qquad \vartheta_2(it)=2q^{1/4}(1+O(q^2)),\qquad u(t)=q+O(q^2),\qquad v(t)\sim-\frac1{4096q^2}. \] The constant term of \(\Theta_L\) gives \(P(0)=1\). In the shadow expansion a term \(v(t)^a\) contributes first at exponent \(n/4-2a\), and these exponents are distinct. The first exponent of \(\Theta_S\) is \(s(L)/4\), so \(n/4-2\deg P=s(L)/4\). Finally the coefficient of \(q\) in \(\Theta_L\) is \(2n+P'(0)\), which vanishes when \(L\) has no unit vector. \end{proof} \subsection{Proof of boundedness} For the translate \(\mathbb Z+\tfrac12\), negation interchanges its two cosets modulo \(2\mathbb Z\). These have equal Gaussian mass, so the inequality in \eqref{eq:midpoint-identity} is an equality. In theta notation this gives the duplication formula \[ \vartheta_2(it)^2=2\,\vartheta_2(2it)\vartheta_3(2it). \] Apply \eqref{eq:midpoint-identity} to \(H=L\) and \(T=S\). Using Lemma~\ref{lem:poly} and dividing out the \(n\)th power of the preceding identity gives \begin{equation}\label{eq:two-cusps} P(v(t))^2\le P(v(2t))P(u(2t))\qquad(t>0). \end{equation} \begin{proof}[Proof of Theorem~\ref{thm:elkies}] We may take \(L\) reduced, since its defect is unchanged by the unit summands. If the reduced ranks were unbounded at fixed \(k\), the polynomials of Lemma~\ref{lem:poly} would have degree at most \(k\), constant term \(1\), and unbounded first coefficient in absolute value. Divide each polynomial by the largest absolute value of its coefficients. By passing to a subsequence we obtain a coefficientwise limit \(Q\) of degree at most \(k\) whose largest absolute coefficient is \(1\) and for which \(Q(0)=0\). Because \eqref{eq:two-cusps} is homogeneous, the limit \(Q\) satisfies it for every fixed \(t>0\). Let \(a=\deg Q\ge1\) and let \(c\ne 0\) be its leading coefficient. Divide \eqref{eq:two-cusps} for \(Q\) by \(|v(t)|^{2a}\). The left side tends to \(c^2\) as \(t\to\infty\). On the right, \(Q(v(2t))/|v(t)|^{2a}\) stays bounded, since \(|v(2t)|/|v(t)|^2\to4096\). The other factor tends to \(Q(0)=0\). This contradiction bounds the reduced rank. Finiteness of the isometry classes follows from finiteness of positive definite integral lattices of bounded rank and determinant \cite[Chap.~II, p.~18]{MilnorHusemoller}. The explicit choice \eqref{eq:rank-bound} is proved in Appendix~\ref{app:effective}. \end{proof} \section{Integral lattices of arbitrary determinant}\label{sec:arbitrary} The determinant bound in the finiteness assertion can be separated from the reduced-rank bound. The latter uses the unimodular theorem together with the following estimate. \begin{lemma}\label{lem:character-average} Let \(U=\mathbb Z^r\perp V\) be a positive definite integral unimodular lattice, and let \(M\subset U\) have finite index. If \(M\) contains no unit vector, then \[ s(M)\le \frac r2+4\rho(V)^2, \] where \(\rho(V)\) is the Euclidean covering radius, with \(\rho(0)=0\). \end{lemma} \begin{proof} Put \(A=U/M\). The pairing modulo \(\mathbb Z\) is a map from \(M^*\) to \(\operatorname{Hom}(A,\mathbb Q/\mathbb Z)\) with kernel \(U^*=U\). It induces an isomorphism on \(M^*/U\), since both finite groups have order \([U:M]\). For a uniformly chosen character of \(A\), take a representative \(y\in M^*\) of the corresponding coset. If \(w\) is characteristic on \(U\), then every vector in \[ w+2y+2U \] is characteristic on \(M\). For a standard unit vector \(e_i\) in \(\mathbb Z^r\), write \(c_i\) for its class in \(A\). Its order \(t_i\) is at least two, since otherwise \(e_i\in M\). Every character of \(\langle c_i\rangle\) extends to \(A\), so \((y,e_i)\bmod\mathbb Z\) is uniform on \(\tfrac1{t_i}\mathbb Z/\mathbb Z\). Also \((w,e_i)\) is odd. Consequently the \(i\)th coordinate of \(w+2y\), reduced modulo \(2\mathbb Z\) to a representative of least absolute value, has expected square \[ \frac{1}{t_i}\sum_{j=0}^{t_i-1} \left(1-\frac{2j}{t_i}\right)^2 =\frac13+\frac{2}{3t_i^2}\le\frac12 . \] The representatives can be chosen in each coordinate simultaneously because \(2U=(2\mathbb Z)^r\perp 2V\). In the \(V\)-component, a shortest representative has length at most \(2\rho(V)\). For each character use these representatives to select a characteristic covector of \(M\). Linearity of expectation bounds the average squared norm by \(r/2+4\rho(V)^2\), which bounds the minimum \(s(M)\). \end{proof} \begin{theorem}\label{thm:all-integral-defect} Let \(D\ge0\), and let \(L\) be a positive definite integral lattice with \(d(L)\le D\). With \(B=B(\lfloor D/2\rfloor)\) as in Theorem~\ref{thm:elkies}, \[ \operatorname{rk}(L_{\mathrm{red}}) \le 2D+\frac{B(B-1)}4 . \] For any fixed upper bound on \(\det L\), the reduced lattices comprise only finitely many isometry classes. Here \(\det L\) denotes the Gram determinant. \end{theorem} \begin{proof} Replace \(L\) by its reduced summand and let \(n\) be its rank. The lattice \(M=L^{\perp 4}\) embeds with finite index into a positive definite integral unimodular lattice \(U\) of rank \(4n\), by Owens and Strle \cite[Proposition~3.1]{OwensStrle}. A characteristic vector of \(U\) is a characteristic covector of \(M\) in the same Euclidean space. Thus \(s(U)\ge s(M)=4s(L)\), giving \(d(U)\le4D\). By Lemma~\ref{lem:poly}, \(d(U)\) is a nonnegative multiple of eight. Write \(U=\mathbb Z^r\perp V\) with \(V\) reduced, and put \(b=\operatorname{rk}(V)\). Theorem~\ref{thm:elkies} gives \(b\le B\) and \(r=4n-b\). Since \(L\) is reduced, \(M\) contains no unit vector. Lemma~\ref{lem:character-average} now gives \[ 4(n-D)\le s(M)\le (4n-b)/2+4\rho(V)^2. \] For \(b>0\), Banaszczyk's transference bound \(\rho(V)\lambda_1(V^*)\le b/2\) \cite{Banaszczyk} applies, where \(\lambda_1\) denotes the length of a shortest nonzero vector. The reduced lattice \(V\) is unimodular and has \(\lambda_1(V)=\lambda_1(V^*)\ge\sqrt{2}\). Hence \(4\rho(V)^2\le b^2/2\), also true when \(b=0\). Substitution gives \(n\le2D+b(b-1)/4\). The bound with \(B\) follows because \(b(b-1)\) is nondecreasing on the nonnegative integers. The Gram determinant is preserved on removing the unit summands, and the finiteness assertion follows from bounded rank and determinant. \end{proof} \section{Stable intersection forms of smooth fillings}\label{sec:fillings} Let \(Y\) be a closed connected oriented three-manifold. All fillings in this section are smooth, compact and oriented, with boundary orientation \(Y\). For a filling \(Z\), denote its intersection form on \(\Lambda_Z=H_2(Z;\mathbb Z)/\operatorname{Tor}\) by \(Q_Z\). Its radical \(R_Z\) is primitive, since it is the kernel of the map \(\Lambda_Z\to\operatorname{Hom}(\Lambda_Z,\mathbb Z)\) defined by the pairing. Let \(S_Z\) be the nondegenerate form on \(\Lambda_Z/R_Z\). An integral splitting of this free quotient expresses \(Q_Z\) as the orthogonal sum of \(S_Z\) and a zero form. \begin{lemma}\label{lem:boundary-determinant} For a filling \(Z\) of \(Y\), \[ \operatorname{rk}(R_Z)\le b_1(Y),\qquad |\det S_Z|\le |\operatorname{Tor}H_1(Y;\mathbb Z)|. \] The determinant in rank zero is \(1\). \end{lemma} \begin{proof} Let \(j:H_2(Z;\mathbb Z)\to H_2(Z,Y;\mathbb Z)\) be the natural map. Poincar\'e--Lefschetz duality and the universal coefficient theorem identify the induced map on the free parts with \(Q_Z:\Lambda_Z\to\Lambda_Z^\vee\), where \(\Lambda_Z^\vee=\operatorname{Hom}(\Lambda_Z,\mathbb Z)\). Over \(\mathbb Q\), exactness identifies the radical with the image of \(H_2(Y;\mathbb Q)\), of dimension at most \(b_1(Y)\). For the determinant bound, the homology sequence embeds \(C=\operatorname{coker}j\) into \(H_1(Y;\mathbb Z)\). Passing to free parts before forming the cokernel amounts to quotienting \(C\) by the image of \(\operatorname{Tor}H_2(Z,Y;\mathbb Z)\). This image is finite. For any finite subgroup \(F\subset C\), the map \(\operatorname{Tor}C\to\operatorname{Tor}(C/F)\) is surjective, since an element whose multiple lies in \(F\) already has finite order. Thus the torsion subgroup of \(\operatorname{coker}Q_Z\) has order at most \(|\operatorname{Tor}H_1(Y;\mathbb Z)|\). In the integral splitting along \(R_Z\), this torsion subgroup is the discriminant group of \(S_Z\), of order \(|\det S_Z|\). This is the determinant estimate used in \cite[Sec.~5]{BehrensGolla}. \end{proof} Write \(\underline d(Y,\mathfrak t)\) for the fully twisted Heegaard Floer correction term over \(\mathbb F_2\) of Behrens and Golla. Define \[ D_Y=\max_{\substack{\mathfrak t\in\operatorname{Spin}^c(Y)\\ c_1(\mathfrak t)\ {\rm torsion}}} \bigl(4\underline d(Y,\mathfrak t)+2b_1(Y)\bigr). \] The indexing set is finite and nonempty. Stabilization for negative semidefinite forms means adjoining orthogonal copies of \(\langle-1\rangle\), with the same convention for the nondegenerate quotient and the full form. \begin{theorem}\label{thm:fillings} For any fixed \(Y\), the nondegenerate intersection forms \(S_Z\) of its negative semidefinite fillings form only finitely many stable isometry classes. The same is true of the full forms \(Q_Z\). If such a filling exists, then \(D_Y\ge0\). In that case the orthogonal complement in \(S_Z\) of the vectors of square \(-1\) has rank at most \[ 2D_Y+\frac{B_Y(B_Y-1)}4,\qquad B_Y=B(\lfloor D_Y/2\rfloor). \] The corresponding statements for positive semidefinite fillings use \(D_{-Y}\) and stabilization by \(\langle +1\rangle\). \end{theorem} \begin{proof} If \(Z\) is negative semidefinite, then \(L=-S_Z\) is positive definite of rank \(b_2^-(Z)\). Behrens and Golla \cite[Theorem~5.2]{BehrensGolla} give \(b_2^-(Z)+\kappa^2\le D_Y\) for every characteristic covector \(\kappa\) of \(S_Z\), with \(\kappa^2\) computed in the negative form. Maximizing the left side gives \(d(L)\le D_Y\). Nonnegativity of \(D_Y\) is \cite[Corollary~5.3]{BehrensGolla}. Together with Lemma~\ref{lem:boundary-determinant}, Theorem~\ref{thm:all-integral-defect} gives the rank bound and finiteness of the reduced forms of \(L\). Since \(R_Z\) is a zero summand of rank at most \(b_1(Y)\), the full forms are also finite up to stabilization. Reverse orientations to obtain the positive case. \end{proof} For a fixed nonempty disjoint union \(Y_1\sqcup\cdots\sqcup Y_h\), attach boundary one-handles along a tree connecting the boundary components. The boundary becomes \(Y_1\#\cdots\#Y_h\). The relative handle complex is concentrated in degree one, so this operation preserves integral second homology. Classes can be represented in the original interior, which preserves the pairing. If the filling also has closed components, combine each with the component with boundary by an interior connected sum, preserving the orthogonal sum of the intersection forms. Thus the stability assertion holds for any fixed nonempty boundary, including Fr\o yshov's disjoint unions of rational homology spheres. For a connected rational homology sphere \(R_Z=0\), and the theorem proves the Choe--Park conjecture \cite[Introduction]{ChoePark}. For general \(Y\) it extends \cite[Corollary~5.4]{BehrensGolla} to odd reduced forms. The lattice estimate in Theorem~\ref{thm:all-integral-defect} answers \cite[Question~5.5]{BehrensGolla} for arbitrary determinant. \begin{corollary}\label{cor:boyer} For each closed connected oriented three-manifold \(Y\), its simply connected negative semidefinite fillings form finitely many oriented homeomorphism types up to interior connected sum with \(\overline{\mathbb{CP}}^{\,2}\). For positive semidefinite fillings use \(\mathbb{CP}^2\). \end{corollary} \begin{proof} Let \(a\) be the order of the group of automorphisms of the torsion linking pairing on \(H_1(Y;\mathbb Z)\). For any fixed odd intersection form, Boyer's classification \cite[Theorem~(0.1)]{Boyer} associates to a simply connected filling a double coset of subgroups of this group and the Kirby--Siebenmann invariant. These invariants distinguish the oriented homeomorphism types. The Kirby--Siebenmann invariant vanishes for smooth fillings, so for a fixed odd form there are at most \(a\) such types. There are finitely many stable intersection forms by Theorem~\ref{thm:fillings}. If more than \(a\) stable homeomorphism types realized one of them, choose \(a+1\) representatives. Blow up each to a common rank strictly above all of their ranks. Their forms then agree, since the reduced form and the radical agree and the rank determines the number of \(\langle-1\rangle\) summands. The blowups preserve simple connectivity and make the common form odd. The bound for a fixed odd form now identifies two of these stabilized fillings by an oriented homeomorphism. This contradicts the choice of the representatives. The positive assertion follows by reversing orientations. \end{proof} \section{Finite moment estimates for integral lattice shells} \label{sec:shell-limit} The estimate below applies to arbitrary positive definite integral lattices. Its error term is uniform in the lattice for a fixed number of shells. \begin{theorem}\label{thm:shell-finite} For every integer $J\ge1$ there is a constant $C_J$ with the following property. For every positive definite integral lattice $L$ of rank $n\ge1$ there is a real random variable $X=X(L,J)$ supported on $[-2,2]$ such that \[ \left|\frac{j! A_j(L)}{n^j}-\mathbb E X^j\right| \le \frac{C_J}{n}\qquad(1\le j\le J). \] \end{theorem} \begin{proof} \emph{Coordinates on the large root components.} Enlarge $J$ to at least two and fix $R=128(J+1)^2$. The vectors of squared norm two form a simply laced root system in their span, since reflection in a root $\alpha$ sends $x$ to $x-(x,\alpha)\alpha$ and preserves $L$. Select the irreducible components of rank at least $R$. These have type $A_r$ or $D_r$ by the classification of simply laced root systems \cite[Chap.~4]{ConwaySloane}. Write $V_0$ for the orthogonal complement of the selected components. For $u\in V_0$ we have \begin{equation}\label{eq:residual-root-bound} \sum_{\alpha\in V_0,\ \alpha\text{ a root}}(u,\alpha)^2 \le 8R\|u\|^2 . \end{equation} Indeed, on an irreducible component $\Phi$ of rank $tJ$. For $A_r$ write the projection as $z-\bar z\mathbf1$, with $z\in\mathbb Z^{r+1}$, and normalize $\bar z=(\sum z_i)/(r+1)$ to lie in $[-1/2,1/2)$. This chooses a unique integral representative, since two representatives differ by an integral multiple of $\mathbf1$. Use $z$ collectively for these integer arrays, writing $Pz$ for the projection to the selected root spans, with the identity projection in type $D$. In type $A$, $|z_i|\le2|z_i-\bar z|$ for every coordinate. Consequently \[ \sum |z_i|\le \sum z_i^2\le4J,\qquad \|Pz\|^2=l-\epsilon,\quad l=\sum z_i^2,\quad \epsilon=\sum_{b\ \mathrm{of\ type}\ A} \frac{(\sum_i z_{b,i})^2}{r_b+1}\le\frac{16J^2}{R}<\frac18 . \] All sums other than the indicated type-$A$ sum run over all selected coordinates. The inequality $\|Pz\|^2\le j$ and $\epsilon<1/8$ imply $l\le j$, by integrality of $l$. Thus $u=x-Pz\in V_0$ has squared norm $b_0=h+\epsilon$, where $h=j-l\ge0$. \medskip \noindent\emph{Counting vectors with $h\ge1$.} Fix the array $z$. For two distinct residual vectors $u,u'$, the integer $t=j-(Pz+u,Pz+u')$ is positive and $(u,u')=b_0-t$. Join the two residuals if $t=1$. Their difference $\alpha=u-u'$ is then a root in $V_0$ with $(u,\alpha)=1$. At a fixed $u$ these roots are distinct, so \eqref{eq:residual-root-bound} bounds the maximum degree by $8RJ$. Color the graph with at most $1+8RJ$ colors. In a color class $t\ge2$, and the nonnegative inner products between unit normalizations of the residuals occur only for $2\le t\le h$. There are at most $h-1$ such values, and every negative inner product is at most $-1/(2J)$ since $b_0\le J$ and $\epsilon<1/8$. For $h\ge2$, the uniform part of the spherical code bound \cite[Theorem~1.4]{SphericalAngles} gives $O_J(n^{h-1})$ vectors in each class. For $h=1$, nonnegativity of the squared norm of the sum of the unit vectors gives the bound $1+2J$. The total number of slots is at most $2n$, and an integer array of squared norm $l$ occupies at most $l$ slots. There are therefore $O_J(n^l)$ such arrays. All cases with $h\ge1$ together contribute $O_J(n^{j-1})$ vectors to $A_j(L)$. \medskip \noindent\emph{Relations among the blocks when $h=0$.} The residual has squared norm $\epsilon<1/8$, so two candidate residuals differ by a lattice vector of length at most $2\sqrt{\epsilon}<1$. Thus at most one completion exists for each array. Arrays with an entry of absolute value at least two occupy at most $j-1$ slots and contribute $O_J(n^{j-1})$. It remains to count arrays with $j$ entries equal to $\pm1$ in distinct slots. Every such array obeys the chosen normalization in the $A$ blocks, since its coordinate sum in each block has absolute value at most $J$. Let $G$ be the direct sum of one copy of $\mathbb Z$ for each selected $A$ component and one copy of $\mathbb Z/2$ for each selected $D$ component. Write $e_b$ for the generator in block $b$. The signature $s\in G$ of an array records its coordinate sum in each block. Define \[ B(s,t)=\sum_{b\ \mathrm{of\ type}\ A}\frac{s_bt_b}{r_b+1}. \] Call $s$ admissible if there exists $u_s\in V_0$ with $Pz+u_s\in L$ and $\|u_s\|^2=B(s,s)$ for some integer array of signature $s$. Any two such arrays have projected difference in the sum of the selected root lattices, so the choice of array is immaterial. Generate a subgroup $H\subset G$ by the admissible signatures expressible as at most $J$ signed generators. Every element of $H$ is admissible. In fact, choose one witness for each generating signature. For two of these witnesses, the inner product of their selected projections is $(z,z')-B(s,t)$. Thus integrality of the full inner product gives \[ (u_s,u_t)-B(s,t)\in\mathbb Z . \] Both terms in this difference have absolute value at most $J^2/R$. Indeed, $B(s,s)\le J^2/R$ for a generating signature, and the inequalities follow by Cauchy--Schwarz. The difference is zero. Thus every integral linear combination of the witnesses has residual squared norm given exactly by $B$ on its combined signature. Its full vector belongs to $L$, proving the assertion. For a signed $j$-slot array with signature $s$, the projected norm is $j-B(s,s)$. It can be completed to a vector in the shell precisely if $s\in H$, since its signature has length at most $J$. An important consequence of admissibility is \begin{equation}\label{eq:distinct-block-marks} e_b\ne\pm e_c\ \text{in }G/H\qquad(b\ne c). \end{equation} If $e_b\pm e_c\in H$, take an array with one signed entry in each of the two blocks. Its admissible completion would be a root with nonzero projection to two distinct root components. Every root belongs to just one component, giving the contradiction. \medskip \noindent\emph{Character averaging.} Delete one slot from each $A_r$ block to leave exactly $r_b$ slots in every block. For an ordered admissible tuple with a deleted slot, mark such a position and fix the other $j-1$ signed slots, with signature $s$. By \eqref{eq:distinct-block-marks}, for each sign there is at most one block $b$ with $s\pm e_b\in H$. The deleted slot in that block is uniquely determined. There are at most $j(4n)^{j-1}$ choices of the marked position and the remaining entries, so the deletion costs $O_J(n^{j-1})$ tuples. Allowing repeated slots changes the count by another $O_J(n^{j-1})$, as is seen by fixing a coincident pair of positions. Take a Haar-uniform character $\chi$ of the compact dual of $G/H$ and put \[ X=2\sum_b\frac{r_b}{n}\operatorname{Re}\chi(e_b). \] Then $|X|\le2$ since $\sum_b r_b\le n$. The factor $2r_b\operatorname{Re}\chi(e_b)$ is the sum of the characters of the two signed marks over the $r_b$ retained slots. Expanding $(nX)^j$ and using $\mathbb E\chi(s)=\mathbf1_{s\in H}$ thus counts exactly the ordered signed $j$-tuples with total mark in $H$. Each distinct-slot array has $j!$ orderings. Accounting for the errors gives $j!A_j(L)=\mathbb E(nX)^j+O_J(n^{j-1})$. The group $H$ was chosen for the cutoff $J$, so the same $X$ works for every $1\le j\le J$. \end{proof} \begin{corollary}\label{thm:shell-limit} Given any sequence of integral positive definite lattices $L_i$ of ranks $n_i\to\infty$, there is a subsequence and a probability measure $\nu$ on $[-2,2]$ such that for every fixed integer $j\ge0$, \[ \lim_i A_j(L_i)/n_i^j=\frac1{j!}\int t^j\,d\nu(t). \] If $L_i$ have minimum at least two, then $\nu$ has mean zero. \end{corollary} \begin{proof} Choose integers $J_i\to\infty$ sufficiently slowly that $C_{J_i}/n_i\to0$, and extract a weakly convergent subsequence of the probability laws from Theorem~\ref{thm:shell-finite}. All fixed moments converge by compact support. The mean is the limit of $A_1(L_i)/n_i$. \end{proof} \begin{corollary}\label{cor:sharp-shell-constant} For every fixed positive integer $j$ one has \[ \lim_{n\to\infty}\ \sup_{\operatorname{rk}(L)=n} \frac{A_j(L)}{n^j}=\frac{2^j}{j!}, \] where $L$ ranges over positive definite integral lattices. \end{corollary} \begin{proof} Theorem~\ref{thm:shell-finite} bounds $j!A_j(L)/n^j$ above by $2^j+O_j(1/n)$. In $\mathbb Z^n$, the $2^j\binom nj$ vectors with $j$ entries equal to $\pm1$ give the matching lower bound. \end{proof} This sharpens the fixed-$j$ leading upper constant $2^j/(j-1)!$ in \cite[Theorem~1.1, (3)]{IntegralReverse}. The statement concerns a fixed squared norm as dimension grows. \section{Classification and unimodular realization of the shell limits} \label{sec:classified-shell-laws} Set $A_0(L)=1$. Given a measure $\mu$ on an abelian group written additively, $\mu^{*j}(0)$ denotes the mass at the identity of its $j$-fold convolution, with $\mu^{*0}=\delta_0$. \begin{theorem}\label{thm:all-shell-limits} A sequence $(a_j)_{j\geq0}$ occurs as \[ a_j=\lim_{m\to\infty}\frac{j!\,A_j(L_m)}{n_m^j}\qquad(j\geq0) \] for positive definite integral lattices $L_m$ of ranks $n_m\to\infty$ if and only if there are a countable discrete abelian group $\Gamma$ and a symmetric nonnegative measure $\mu$ on $\Gamma$, of total mass at most one, such that \[ a_j=2^j\mu^{*j}(0)\qquad(j\geq0). \] Every sequence in this classification is realized by odd unimodular lattices. It is realized by even unimodular lattices if and only if $a_{2j+1}=0$ for every $j\geq0$. \end{theorem} Equivalently, choose elements $g_i\in\Gamma$ distinct up to sign and weights $\lambda_i>0$ with $\sum_i\lambda_i\le1$. The list of marks may be empty, finite, or countably infinite. For a Haar-random character $\chi$ of the compact dual group, set \[ X=2\sum_i\lambda_i\operatorname{Re}\chi(g_i). \] The series converges uniformly on the dual, and $a_j=\mathbb E X^j$. Indeed, take $\mu=\sum_i(\lambda_i/2)(\delta_{g_i}+\delta_{-g_i})$ and apply character orthogonality. The quantity $2^{-j}a_j$ is the probability of returning at step $j$ in the walk with step measure $\mu$, with absorption at each step with probability $1-\mu(\Gamma)$. \begin{proof} \emph{Necessity.} Assume first that the limits exist and take $J_m\to\infty$ so slowly that $C_{J_m}/n_m\to0$ in Theorem~\ref{thm:shell-finite}. In its proof the approximating variable has the displayed character form, with a finitely generated group $\Gamma_m=G/H$, one weight $r_b/n_m$ per retained root component, and total weight at most one. Its marks are distinct up to sign by \eqref{eq:distinct-block-marks}. Sort the weights in descending order. If needed, pad the list by zero weights, assigning to them fresh independent generators after enlarging the group by a free summand. By diagonal extraction each weight $\lambda_{m,i}$ has a limit $\lambda_i$, and for each finitely supported integer vector $d$ the truth value of $\sum_i d_i g_{m,i}=0$ is eventually constant. There are only countably many such vectors. Those with eventual value true form a subgroup $N$ of $\mathbb Z^{(\mathbb N)}$. In the quotient $\Gamma=\mathbb Z^{(\mathbb N)}/N$ the images $g_i$ of the standard generators give exactly the limiting finite relations. In particular the marks remain distinct up to sign and $\sum_i\lambda_i\le1$. For any fixed number of leading terms, the moments of the corresponding character sums converge by expansion, since only finitely many of these relations enter each fixed moment. Character orthogonality gives \[ \mathbb E\bigl[\operatorname{Re}\chi(g_i) \operatorname{Re}\chi(g_l)\bigr] =\tfrac12\bigl({\bf1}_{g_i=g_l}+{\bf1}_{g_i=-g_l}\bigr). \] The weights decrease and have sum at most one, so $\lambda_{m,i}\le 1/(M+1)$ for $i>M$. The identity bounds the squared $L^2$-norm of the tail after $M$ terms by $4\sum_{i>M}\lambda_{m,i}^2\le4/(M+1)$, uniformly in $m$, and likewise for the limiting weights. The bound $|X|\le2$ and the Lipschitz bound for $x^j$ on $[-2,2]$ give convergence of every moment of the full sums. This proves necessity. \medskip \noindent\emph{Finite quotients and parity.} For the converse, keep finitely many positive marks $g_1,\ldots,g_h$, and fix a moment cutoff $J\geq1$. Let $A$ be a finite quotient of their generated subgroup in which all signed words of length at most $J$ that were nonzero stay nonzero. Such a quotient exists since finitely generated abelian groups are residually finite and the indicated set of words is finite. Write the images as $g_i$ as well, and denote the exponent of $A$ by $s$ (take $s=1$ for the trivial group). If all odd $a_j$ vanish, there is a homomorphism from the subgroup generated by all positive-weight marks to $\mathbb Z/2$ carrying every mark to $1$. Otherwise an integral relation of odd coefficient sum would give a signed zero word of odd length, and the product of its step masses would contribute positively to the corresponding $\mu^{*j}(0)$. Conversely, the absence of such a relation makes the homomorphism well defined. Intersecting the kernel of the finite quotient map with the kernel of the restricted parity homomorphism preserves the separation of the short words and makes the parity homomorphism descend to $A$. \medskip \noindent\emph{Realization by unimodular lattices.} Choose a large multiple $n$ of eight. For each $i\le h$ set $r_i=8s^2\lfloor n\lambda_i/(8s^2)\rfloor$ and take $n$ large enough that $r_i>Js^2$ for all these positive-weight marks. Put $r=\sum r_i$ and map \[ f:\mathbb Z^r\longrightarrow A \] by sending each coordinate vector in block $i$, of length $r_i$, to $g_i$. This map is onto. Its kernel $K$ has covolume $|A|$. For $\xi\in\widehat A$ use the additive description of characters in $\mathbb Q/\mathbb Z$. Let $y_\xi\in\mathbb Q^r$ take in each coordinate of block $i$ the common representative in $[0,1)$ of $\xi(g_i)$. Define \[ L_0=\bigcup_{\xi\in\widehat A}(K+y_\xi). \] Every $y_\xi$ pairs integrally with $K$ by the definition of $f$. The vector $y_\xi+y_\eta-y_{\xi+\eta}$ is integer and constant on each block. It lies in $K$, since block-constant integer vectors have image zero under $f$ when every $r_i$ is divisible by $s$. Thus the cosets in the union form a subgroup of $K^*/K$. Distinct characters give distinct cosets since the marks generate $A$. Moreover $(y_\xi,y_\eta)\in8\mathbb Z$, by the divisibility $8s^2\mid r_i$. Thus $L_0$ is integral, and the index $[L_0:K]=|A|=\operatorname{covol}(K)$ makes it unimodular. When the parity character exists, $K$ is even, because $f(z)=0$ implies $\sum z_i\equiv0\pmod2$. The identity $(y_\xi,y_\xi)\in8\mathbb Z$ then makes $L_0$ even as well. Any nontrivial character is nonintegral on at least one entire block. Every vector in its coset has squared norm at least $\min_i r_i/s^2>J$, since each coordinate in a shifted block has distance at least $1/s$ from the integers. The shells of $L_0$ through $J$ therefore agree with those of $K$. Take $L=L_0\perp E_8^{(n-r)/8}$. The exponent is a nonnegative integer. If the list of marks is empty use just the indicated $E_8$ sum. For fixed $j\le J$, ordered signed choices of $j$ distinct coordinates of $\mathbb Z^r$ with zero total mark parametrize the leading part of $j!A_j(K)$. Allowing repeated coordinates in these choices costs $O_j(n^{j-1})$. Arrays of norm $j$ using a coordinate of absolute value at least two also number $O_j(n^{j-1})$. A nonzero contribution of norm $l$ from the $E_8$ sum has at most $\lfloor l/2\rfloor$ occupied factors and hence has $O_j(n^{\lfloor l/2\rfloor})$ choices. Vectors using such factors contribute $O_j(n^{j-1})$ in total. It follows that \[ \frac{j!A_j(L)}{n^j} =\mathbb E_{\widehat A} \left(2\sum_{i\le h}\frac{r_i}{n} \operatorname{Re}\chi(g_i)\right)^j +O_j(n^{-1}). \] The finite quotient preserves these moments with weights $r_i/n$ because only relations of length at most $j$ occur. Let $J$ tend to infinity, exhaust the positive-weight marks, and at each stage take $n$ sufficiently large that the total rounding error is at most $1/J$ and $n$ increases to infinity. For each fixed $j$, the finite quotients preserve the moments of the retained terms once $J\ge j$. The omitted weights have total mass tending to zero, and the sums are bounded by two, so the moments tend to the desired ones. The construction is even in the parity case, and an even lattice has no odd shells. In every case adjoining one copy of $\mathbb Z$ makes the lattice odd unimodular and preserves all the limits. Terms involving a nonzero vector in this fixed summand contribute only $O_j(n^{j-1})$, and $(n+1)^j/n^j\to1$. \end{proof} For the following statement write $T_L(q)=\sum_{j\ge0}A_j(L)q^j$ for the theta series in its nome. \begin{corollary}\label{cor:normal-shell-limits} The entire functions obtainable as locally uniform limits of $z\mapsto T_{L_m}(z/n_m)$ for $n_m=\operatorname{rk}(L_m)\to\infty$, on the expanding disks $|z|0$ and $J\ge R$, the mass of $K\subseteq\mathbb Z^r$ at $R/n$ is at most $e^{3R}$. These bounds give local boundedness on $|z|\le R$ for this realizing sequence. Its Taylor coefficients converge to $\mathbb E X^j/j!$, so the normal-family theorem gives local uniform convergence to $\mathbb E e^{zX}$. Appending one unit summand and replacing $n$ by $n+1$ preserves this convergence. \end{proof} \begin{corollary}\label{cor:third-reduced} Among integral lattices of rank $n$ without unit vectors, the largest number of vectors of norm three is $n^3/3+O(n^2)$ as $n\to\infty$. For any sequence attaining leading coefficient $1/3$, every limiting shell profile is given by the walk with equal steps $+1,-1$ on $\mathbb Z/3$. The optimal leading coefficient is attained along a sequence of odd unimodular lattices without unit vectors. \end{corollary} \begin{proof} Use Theorem~\ref{thm:shell-finite} with $J=3$ and put $Y=X/2$. The unit-free condition gives $\mathbb E Y=O(1/n)$. On $[-1,1]$, \[ 0\le(1-Y)(Y+1/2)^2=1/4+3Y/4-Y^3. \] Thus $6A_3(L)/n^3\le2+O(1/n)$. The kernel of the coordinate-sum map $\mathbb Z^n\to\mathbb Z/3$ has no units and has precisely $2\binom n3$ vectors of squared norm three: their three entries have the same sign. For $n$ sufficiently large and divisible by $72$, the unimodular extension in the proof of Theorem~\ref{thm:all-shell-limits} for this one mark has the very same first three shells. Its norm-three vectors make it odd. Now use the character model of Theorem~\ref{thm:all-shell-limits} on a subsequence where each normalized shell count converges (such subsequences exist by the uniform bounds in Theorem~\ref{thm:shell-finite}). In the limiting model $\mathbb E Y=0$ and equality forces $Y\in\{1,-1/2\}$ almost surely, with Haar mass $1/3$ at $1$. A character gives $Y=1$ precisely if the positive weights sum to one and its value on every active mark is one. This set is the annihilator of the subgroup generated by the marks. Its Haar mass $1/3$ forces that subgroup to have order three. The zero mark has mass $\mathbb E Y=0$, and symmetry gives equal mass on the two nonzero elements. Since the marks were chosen distinct up to sign, there is exactly one active mark up to sign, of weight one and order three. This determines every limiting moment. \end{proof} \section{The cubic shell in the absence of unit vectors} Let $K_t=\{z\in\mathbb Z^t:\sum_i z_i\equiv0\pmod3\}$. Its norm-three vectors have three distinct nonzero coordinates, all of the same sign. In particular $A_3(K_t)=2\binom t3$. For structural results on configurations of vectors of squared norm three see Neumaier \cite{NeumaierThree} and Cao, Koolen, Liu and Yang \cite{CaoEtAl}. \begin{theorem}\label{thm:unitfree-cubic} For all sufficiently large $n$, an integral lattice $L$ of rank $n$ and minimum at least two satisfies \[ A_3(L)\le 2\binom n3. \] The equality cases are $K_n$ and, when $3\mid n$, its integral unimodular overlattice generated by $K_n$ and $\tfrac13\mathbf1+a e_1$, where $a\equiv n/3\pmod3$. \end{theorem} \begin{proof} \emph{Recovery of a large ternary sublattice.} Suppose there is a sequence of ranks tending to infinity and lattices with $A_3(L)\ge2\binom n3$ that do not have the stated description. Apply the diagonal extraction in the necessity proof of Theorem~\ref{thm:all-shell-limits}, taking the cutoffs $J\to\infty$ sufficiently slowly as there, and passing to a further subsequence on which all fixed shell counts normalized by $n^j$ converge. Corollary~\ref{cor:third-reduced} and its equality argument give a single positive limiting weight equal to one, with mark of order three. Thus the largest selected root component has rank $n-o(n)$. Its marked generator in the finite-stage quotient $G/H$ has order exactly three for all sufficiently large members of this subsequence: the relations $e_1=0$ and $3e_1=0$ have stabilized to false and true, respectively. Here the index $1$ indicates the largest weight in each member of the sequence. This component is therefore of type $A_{t-1}$, since a $D$-mark has order dividing two. In the notation of Theorem~\ref{thm:shell-finite}, the relation $3e_1\in H$ gives an admissible completion $Pz+u\in L$, where $z$ has three entries $+1$ in this component and vanishing coordinates elsewhere, $u$ is orthogonal to all selected spans, and $\|u\|^2=9/t$. On this block, $P$ is orthogonal projection onto the zero-sum hyperplane. The map \[ w\longmapsto Pw+\frac{\sum_i w_i}{3}u \] is an isometry from $\mathbb R^t$ onto the sum of that hyperplane and $\mathbb R u$, since the square of the second term is $(\sum_i w_i)^2/t$. Its restriction to $K_t$ has image in $L$, because $K_t$ is generated by the zero-sum integral arrays and $z$, whose images lie in $L$. Identify this subspace with $\mathbb R^t$ and put $h=n-t=o(n)$. \medskip \noindent\emph{Removal of the residual dimensions.} For any $x\in L$ of squared norm at most three, write $x=z'+v$ according to this subspace and its orthogonal complement. The first projection belongs to $K_t^*=\mathbb Z^t+\mathbb Z(\mathbf1/3)$. For large $t$, a nonintegral coset there has squared norm at least $t/9>3$. Hence all these $z'$ are integral. The vectors $v$ arising from this finite collection of short $x$ generate an integral lattice $B$ of rank at most $h$: their mutual inner products are differences of integers. An integral subgroup generated by finitely many vectors in a Euclidean space is discrete, since every nonzero element has squared norm at least one. For a vector of squared norm three, consider the squared norm of $z'$. If it is three, then $v=0$ and $z'\in K_t$, since any other integral coset modulo $K_t$ contains a unit. If it is two, then $\|v\|^2=1$. For $z'\in K_t$ this would give a unit $v\in L$. For $z'\notin K_t$ one may replace $z'$ by $\pm e_i$ in the same coset. The vector $\pm e_i+v$ would be a root with nonzero projection to $A_{t-1}$ and also with nonzero projection orthogonal to it, contrary to the decomposition into irreducible root components. Thus no such vector occurs. If $\|z'\|^2=1$, there are at most $2t$ choices of $z'$ and at most $A_2(B)$ choices of $v$. If $z'=0$, there are at most $A_3(B)$ choices. Together these give $O(th^2+h^3)$ by Theorem~\ref{thm:shell-finite}, with zero contribution for $h=0$. We have shown \[ A_3(L)\le2\binom t3+O(th^2+h^3). \] If $h>0$, since $t/n\to1$ and $h/n\to0$, the error is $o(n^2h)$, strictly smaller than $2[\binom n3-\binom t3]\asymp n^2h$. Thus $h=0$ eventually, and the lattice is an integral overlattice of $K_n$ without units. \medskip \noindent\emph{The integral overlattices.} The covolume of $K_n$ is three, so every proper integral overlattice has index three, as its index squared divides $\det K_n=9$. An integral-coordinate vector outside $K_n$ generates with it $\mathbb Z^n$, excluded by the unit condition. Any other overlattice has a generator modulo $K_n$ of the form $y=\tfrac13\mathbf1+a e_1$ with $a$ taken modulo three, after changing its sign if necessary. The condition $3y\in K_n$ forces $3\mid n$, and $\|y\|^2=n/9+2a/3+a^2$ is integral precisely when $a\equiv n/3\pmod3$. Since $y\in K_n^*$, these conditions also suffice for an integral index-three extension. Vectors in its two new cosets have squared norm at least $n/9$, so for $n>27$ it is unit-free and has the same cubic shell as $K_n$. This contradicts the choice of sequence and proves the theorem. \end{proof} \begin{corollary}\label{cor:min-three-kissing} Let $M_3(n)$ be the largest number of norm-three vectors in a rank-$n$ integral lattice of minimum at least three. Then \[ \limsup_{n\to\infty}\frac{M_3(n)}{n^2} =\frac43 . \] \end{corollary} \begin{proof} Write $S$ for the set of norm-three vectors and $N=|S|$. Distinct nonopposite vectors of $S$ have inner product $0$ or $\pm1$: an inner product $\pm2$ would give a root by addition or subtraction. This line-system interpretation is classical \cite[Proposition~1]{NeumaierThree}. For $x\in S$ project the neighbors $y\in S$ with $(x,y)=1$ orthogonally to $x^\perp$. The projected vectors $y-x/3$ have squared norm $8/3$ and after normalization their distinct inner products belong to $\{-1/2,-1/8,1/4\}$. Apply \cite[Theorem~5.4]{SphericalAngles} with one nonnegative inner product $\alpha=1/4$ and negative gap $\beta=1/8$. This bounds the number of neighbors by $(1+\alpha/\beta)\,2(n-1)+o(n)=(6+o(1))n$, uniformly in $x$ and the lattice. The opposite neighbors give the same bound by negation. Thus the Gram matrix $G$ of $S$ has \[ (3N)^2=(\operatorname{tr}G)^2 \le n\operatorname{tr}(G^2) \le nN\bigl(18+(12+o(1))n\bigr). \] This proves the upper bound. For $n=2^m-1$, index the coordinates by the nonzero elements $g_i$ of $\mathbb F_2^m$ and take the kernel of $\mathbb Z^n\longrightarrow\mathbb F_2^m$, $e_i\mapsto g_i$. This is the integral-coordinate preimage of the binary Hamming code. See \cite[Section~2]{MartinetVenkovOdd} for related code constructions of lattices of minimum three. It has no vectors of norm one or two. Each unordered pair of distinct marks determines a unique third mark with which their sum is zero. The $n(n-1)/6$ unordered zero-sum triples support eight norm-three vectors each, giving $4n(n-1)/3$ and establishing the claimed limsup. \end{proof} \section{Exact shell maxima in large rank}\label{sec:exact-shell} For $4\mid n$ let $D_n^+=D_n\cup((\frac12,\ldots,\frac12)+D_n)$, where $D_n=\{z\in\mathbb Z^n:\sum z_i\in2\mathbb Z\}$. Regev and Stephens-Davidowitz determined the exact maximum for squared norm at most two in every rank \cite[Theorem~4.1]{IntegralReverse}. Kominers classified equality in their general spherical-code bound for one shell \cite{KominersShell}. The next theorem determines the largest shell itself for every fixed squared norm in sufficiently large rank. \begin{theorem}\label{thm:exact-shell} For every integer $j\ge1$ there is $n_0(j)$ such that in every rank $n\ge n_0(j)$ and every positive definite integral lattice $L$, \[ A_j(L)\le A_j(\mathbb Z^n). \] For odd $j$, equality holds precisely for $L\cong\mathbb Z^n$. For even $j$, the equality cases up to isometry are $\mathbb Z^n$, $D_n$, and, when $4\mid n$, $D_n^+$. In particular, for each fixed positive integer $j$ and all sufficiently large $n$, $\mathbb Z^n$ uniquely maximizes the number of vectors of squared norm at most $j$ among integral lattices of rank $n$. \end{theorem} \begin{proof} For $j=1$ the assertion follows by splitting unit axes. Fix $j\ge2$. \medskip \noindent\emph{A small reduced complement.} There are constants $\eta_j>0$ and $N_j$ such that if $n\ge N_j$ and $K$ has rank $1\le d\le\eta_j n$ and contains no unit vector, then \begin{equation}\label{eq:small-complement-shell} A_j(\mathbb Z^{n-d}\perp K)< A_j(\mathbb Z^n). \end{equation} Indeed, the shell counts of an orthogonal sum are the convolution of the two shell-count sequences. For $d\le n/2$, the term from the first shell of $\mathbb Z^d$ in the convolution for $\mathbb Z^n$ is $2d\,A_{j-1}(\mathbb Z^{n-d})\gg_j d n^{j-1}$, using $j-1$ distinct coordinates with signs. This term is zero for $K$. The contributions to the convolution from those shells of $K$ of squared norm $2\le i\le j$ are bounded above by \[ \ll_j\sum_{i=2}^j d^i n^{j-i}=O_j(d^2 n^{j-2}), \] using $A_i(K)\ll_i d^i$ from Theorem~\ref{thm:shell-finite}. The norm-zero terms agree, and the remaining terms for $\mathbb Z^d$ are nonnegative. Taking $\eta_j\le1/2$ small enough gives the strict inequality. \medskip \noindent\emph{A large root component.} Suppose $A_j(L)\ge A_j(\mathbb Z^n)$. Take the random variable of Theorem~\ref{thm:shell-finite} for $J=j$. Since $A_j(\mathbb Z^n)\ge2^j\binom nj$, we have $\mathbb EX^j\ge2^j-O_j(n^{-1})$. On $[-2,2]$ one has $t^j\le 2^{j-2}t^2$. Hence $\mathbb EX^2\ge4-O_j(n^{-1})$, and the same simultaneous moment estimate gives $A_2(L)\ge2n^2-O_j(n)$. A component of rank $t$ has $t(t+1)$ roots in type $A$, $2t(t-1)$ in type $D$, and at most $30t$ in the exceptional types. If $r$ denotes the largest type-$D$ rank (zero if none exists), summing over the orthogonal components gives \[ A_2(L)\le n\max\{n+1,2r,30\}. \] It follows that $L$ contains an irreducible root component $D_r$ with $r\ge n-O_j(1)$ in all sufficiently large ranks. Let $V$ be the span of this $D_r$ and choose its standard coordinates. The projection of $L$ to $V$ lies in $D_r^*=\mathbb Z^r\cup((\frac12,\ldots,\frac12)+\mathbb Z^r)$. Let $L_1$ consist of the elements with integral projection and let $M$ be the projection of $L_1$ onto $V^\perp$. Then $L_1$ has index at most two in $L$ and $M$ spans $V^\perp$. Inner products in $M$ are integral, since they are differences of inner products in $L_1$ and in $\mathbb Z^r$. Thus $M$ is discrete and has rank $n-r$. For $r>4j$ every vector of squared norm $j$ lies in $L_1\subset\mathbb Z^r\perp M$, as half-integral projection costs at least $r/4$. Removing all unit axes of $M$ leaves a reduced summand of rank at most $n-r=O_j(1)$. Applying \eqref{eq:small-complement-shell} to this summand shows that $M$ is standard eventually, since a nonzero reduced summand would imply $A_j(L)4j$. For the ball count apply the proven bounds simultaneously for $1\le i\le j$. Equality forces equality on the first shell, hence $L\cong\mathbb Z^n$. \end{proof} \begin{corollary} Fix an integer $j\ge1$. For all sufficiently large $n$, a finite subset $S\subset S^{n-1}$ with $(u,v)\in j^{-1}\mathbb Z$ for all $u,v\in S$ has cardinality at most $A_j(\mathbb Z^n)$. Equality holds precisely for an orthogonal image of the normalized $j$th shell of $\mathbb Z^n$. \end{corollary} \begin{proof} The $\mathbb Z$-span of $\sqrt j S$ is integral. It is discrete: pairing with any real basis chosen from $\sqrt j S$ embeds this span into $\mathbb Z^r$ through an invertible real map on its $r$-dimensional span. Extend the lattice to rank $n$ by orthogonally adjoining $\sqrt{j+1}\mathbb Z^{n-r}$, which contributes no vector to the $j$th shell. Theorem~\ref{thm:exact-shell} bounds the cardinality. In the equality cases all the lattices listed there have the same $j$th shell as the standard lattice, up to orthogonal equivalence. \end{proof} \section{Stable finiteness at strongly modular levels} Bounded degree in a fixed theta expansion imposes a rank bound whenever the model theta series has a nonzero first coefficient. This follows from the moment limit of Section~\ref{sec:shell-limit}. \begin{corollary}\label{cor:bounded-modular-degree} Fix convergent real power series \(g(q)=1+cq+O(q^2)\) and \(u(q)=q+O(q^2)\), with \(c\ne0\), a positive integer \(v\), and \(D\ge0\). Positive definite integral lattices \(L\) of minimum at least two and rank \(n=va\) admitting \[ T_L(q)=g(q)^a P(u(q)),\qquad \deg P\le D, \] have bounded rank in terms of \(g,u,v,D\). \end{corollary} \begin{proof} Suppose \(n\to\infty\) and pass to the subsequence from Corollary~\ref{thm:shell-limit}. The coefficientwise limit of \(T_L(x/n)\) is \(\int e^{tx}\,d\nu(t)\). Since \(a=n/v\), the coefficientwise limit of \(a\log g(x/n)\) is \(cx/v\), so \(g(x/n)^a\) tends to \(e^{cx/v}\). The compositional inverse of \(n u(x/n)\) tends coefficientwise to \(x\), since its linear term is \(x\) and its higher coefficients tend to zero. Dividing the identity for \(T_L(x/n)\) by \(g(x/n)^a\) and composing with this inverse shows that \(P(x/n)\) has a coefficientwise limit \(Q(x)\). The degree bound gives \(\deg Q\le D\), and \[ \int e^{tx}\,d\nu(t)=e^{cx/v}Q(x). \] Both sides are entire by compact support of \(\nu\). On the imaginary axis the left side has modulus at most one and \(|e^{cx/v}|=1\), so \(Q\) is constant. Evaluation at zero gives \(Q=1\). The derivative at zero on the left is the mean of \(\nu\), which is zero since the lattices have no unit vector. On the right it is \(c/v\), a contradiction. \end{proof} For a squarefree positive integer \(N\) put \(\sigma_j(N)=\sum_{d\mid N}d^j\) and \(C_N=\mathop{\perp}_{d\mid N}\sqrt d\,\mathbb Z\). An integral lattice \(L\) is strongly \(N\)-modular if \(L\cong\sqrt d\,(L^*\cap d^{-1}L)\) for every \(d\mid N\). Write \(S(L)=\tfrac12\operatorname{Char}(L)\) for its shadow. For even \(L\) this is \(L^*\), and for odd \(L\) it is \(L_0^*\setminus L^*\), where \(L_0\) is the even sublattice. Set \(\mu(S)=\min_{x\in S}\|x\|^2\). \begin{theorem}\label{thm:strong-levels} Let \(N\in\{1,2,3,5,6,7,11,14,15,23\}\) and let \(D\) be a nonnegative integer. Suppose \(L\) is a positive definite integral strongly \(N\)-modular lattice rationally isometric to \(C_N^a\) and \[ N\mu(S(L))\ge \begin{cases} a\sigma_1(N)/4-2D,& N\text{ odd},\\ a\sigma_1(N/2)/2-D,& N\text{ even}. \end{cases} \] Then \(L\cong C_N^b\perp K\), where \(K\) belongs to a finite set of isometry classes depending only on \(N\) and \(D\). \end{theorem} \begin{proof} The theta series and the rescaled shadow theta series have the expansions \cite[Theorem~9 and Corollary~3]{RainsSloane} \cite[Theorem~1]{NebeStrong} \[ T_L(q)=g_1(q)^aP(g_2(q)),\qquad T_{\sqrt N S(L)}(q)=s_1(q)^aP(s_2(q)). \] Here \(T_X(q)=\sum_{x\in X}q^{\|x\|^2}\), \(g_1=1+2q+O(q^2)\), and \(g_2=q+O(q^2)\). For odd \(N\), the leading exponents of \(s_1,s_2\) are \(\sigma_1(N)/4\) and \(-2\). For even \(N\) they are \(\sigma_1(N/2)/2\) and \(-1\). Since the leading exponent of \(s_1^a s_2^i\) is strictly decreasing in \(i\), the minimum of the rescaled shadow determines \(\deg P\). The displayed hypothesis therefore gives \(\deg P\le D\). Nebe's splitting theorem \cite[Theorem~3(iii)]{NebeStrong} gives \(L=C_N^b\perp K\), where \(K\) is strongly \(N\)-modular, has no unit vector, and satisfies the same shadow-deficit bound with \(a\) replaced by \(a-b\). Its theta expansion has degree at most \(D\). Apply Corollary~\ref{cor:bounded-modular-degree} with \(v=\sigma_0(N)\) to bound \(\operatorname{rk}(K)\). Since \(K\cong\sqrt N K^*\), its Gram determinant is \(N^{\operatorname{rk}(K)/2}\). Bounded rank therefore gives finiteness up to isometry. \end{proof} For prescribed odd minimum \(\mu\ge3\), the \(s\)-extremal shadow equalities of Nebe and Schindelar \cite[Theorems~2.1 and~2.2]{NebeSchindelar} give the hypothesis of Theorem~\ref{thm:strong-levels} with \(D=\mu-1\), apart from their listed exceptional lattices. These form a finite list. For a lattice of minimum \(\mu\ge3\) the factor \(C_N^b\) is absent. Thus the isometry classes form a finite set, answering their fixed odd-minimum question \cite[Introduction]{NebeSchindelar}. \section{A linear bound for binary self-dual codes} \label{sec:binary-linear} For a binary self-dual code \(C\subset\mathbb F_2^n\), write \(\operatorname{wt}\) for Hamming weight. Its shadow is \[ S(C)=\{x\in\mathbb F_2^n:x\cdot c=\operatorname{wt}(c)/2 \pmod 2\text{ for every }c\in C\}. \] The right side is linear on \(C\): the correction term in the weight of a sum counts an intersection of supports, which is even by self-orthogonality. Since \(C=C^\perp\), \(S(C)\) is a single coset of \(C\). Write \(s(C)=\min_{x\in S(C)}\operatorname{wt}(x)\). A weight-two word forces all codewords to have equal entries on its two coordinates. Thus the length-two repetition code splits off orthogonally. Its shadow has minimum weight one, so deleting the summand reduces \(n\) by two and \(s(C)\) by one. Iterating gives the reduced code \(C_0\), which has no words of weight two, and preserves \(n-2s(C)\). Elkies asked whether the reduced length is bounded for each fixed \(k\) when \(s(C)\ge(n-8k)/2\) \cite[p.~650]{ElkiesLong}. This is Hypothesis~2.9 of Bennett and Fridberg \cite{BennettFridbergCodes}. \begin{theorem}\label{thm:binary-linear} If \(C\) is a binary self-dual code of length \(n\) and \(s(C)\ge(n-8k)/2\) for an integer \(k\ge0\), the length \(n_0\) of its reduced code satisfies \[ n_0\le \frac{10163}{370}\,k . \] \end{theorem} \begin{proof} Replace \(C\) by its reduced code and write its length as \(n=2m\). Assume \(m>0\). Take a minimum-weight shadow word \(x\), and put \(\delta=m-\operatorname{wt}(x)\). The all-ones word is in \(C\) because \(C\) is even and self-dual. Complementation preserves the shadow, so \(0\le\delta\le4k\). The projection of \(C\) onto the coordinates outside \(\operatorname{supp}(x)\) is injective. Any nonzero codeword supported on \(\operatorname{supp}(x)\) would decrease the weight of \(x\) when added to it. Thus there is an information set of size \(m\) among the zero coordinates of \(x\). With it first, the generator matrix is \([I_m\mid A]\) and \(x=(0,w)\) with \(\operatorname{wt}(w)=m-\delta\). Self-duality gives \(AA^{\mathsf T}=A^{\mathsf T}A=I_m\). Let \(a_j\) be column \(j\) of \(A\), of weight \(d_j\), and let \(e_j\) be the \(j\)th coordinate column. The codeword \((a_j^{\mathsf T},e_j^{\mathsf T})\) gives \[ w_j\equiv (d_j+1)/2\pmod 2 . \] Each \(d_j\) is odd by \(A^{\mathsf T}A=I_m\), and \(d_j=1\) would give a word of weight two. In particular, \(w_j=1\) forces \(d_j\equiv1\pmod4\) and hence \(d_j\ge5\). Choose a random row \(b\in\mathbb F_2^m\) with independent coordinates such that \(\mathbb E(-1)^{b_i}=\rho\), where \(0<\rho<1\). Then \(X=(b,bA+w)\) is a shadow word. The signed sum of its entries in the \(\{\pm1\}\) convention has expectation \[ \mathbb E\bigl[n-2\operatorname{wt}(X)\bigr] =m\rho+\sum_{j=1}^m(-1)^{w_j}\rho^{d_j} \ge m\rho-(m-\delta)\rho^5 . \] The equality follows by multiplying expectations over the \(d_j\) positions of \(a_j\), and the bound uses \(d_j\ge5\) for each negative term. By minimality of \(x\), this expectation is at most \(2\delta\). Rearrangement gives \[ n\le 2\delta\,\frac{2-\rho^5}{\rho-\rho^5} \le 8k\,\frac{2-\rho^5}{\rho-\rho^5}. \] Taking \(\rho=5/7\) gives the claimed constant. The case \(k=0\) also follows, since the inequality forces \(n=0\). \end{proof} The order in \(k\) is optimal. Elkies's reduced code of length \(22\) has \(s(C)=7\) \cite{ElkiesLong}. Its \(k\)-fold direct sum is reduced, has \(n-2s(C)=8k\), and has length \(22k\). \subsection{Quadratic comparisons and code equivalence} For the reduced code, a uniformly distributed shadow word has pairwise independent fair bits. Indeed, a dependence in one or two coordinates would produce a dual word of weight one or two. Thus the variance of its weight is \(n_0/4\). Complementation and the bound on \(s(C)\) place all shadow weights in \([n_0/2-4k,n_0/2+4k]\), giving \(n_0\le64k^2\). A second quadratic bound follows from Kominers \cite[Corollary~2]{KominersBinary}. For the Construction A lattice \(L_C=2^{-1/2}\{z\in\mathbb Z^{n_0}:z\bmod 2\in C_0\}\), there are no unit vectors, since such a vector would give a weight-two codeword. Its characteristic vectors are \(\sqrt{2}\,v\) with \(v\bmod 2\in S(C_0)\). Indeed, pairing with \(\sqrt{2}e_i\) forces this coordinate divisibility, and pairing with \(z/\sqrt{2}\) gives the shadow condition modulo two. Hence \(s(L_C)=2s(C_0)\) and its theta polynomial has degree at most \(k\). Kominers's Gaussian-mass estimate gives \(00\) occurs. For \(R\ge1\), one has \(h^2\le 1/256\). It follows that \begin{equation}\label{eq:three-args} 0<-v(2t)\le8192R^2,\qquad 04e^s\) the triangle inequality gives \(|R+r_i|\ge |r_i|/2\). Multiplying the bounds on \(|1+R/r_i|\) yields \[ \log |P(-R)|\ge F(s)-d\log(16d). \] Choose \(t\) giving this \(R\). By \eqref{eq:three-args}, \(|v(2t)|\le32768e^{2s}\) and \(u(2t)\le e^{-s}\), so the factorization gives \[ \log |P(v(2t))|\le F(2s)+d\log(32769),\qquad \log |P(u(2t))|\le F(-s)+d\log 2 . \] The polynomial evaluations are positive by Lemma~\ref{lem:poly}. Taking logarithms in \eqref{eq:two-cusps} therefore gives \begin{equation}\label{eq:log-roots} 2F(s)-F(2s)-F(-s)\le H_d\qquad(s\ge0). \end{equation} \subsection{Bounding the root of least absolute value} Put \(T=\max(0,-\min_i\gamma_i)\). For \(\gamma_i\le0\) the contribution to the left of \eqref{eq:log-roots} is \(\min(-\gamma_i,s)\), so at least one of these contributions is \(s\) for \(0\le s\le T\) if \(T>0\). A positive \(\gamma_i\) contributes zero for \(\gamma_i>2s\) and at least \(-\gamma_i\) otherwise. Thus \begin{equation}\label{eq:root-iteration} s\le H_d+\sum_{0<\gamma_i\le2s}\gamma_i \qquad(0\le s\le T). \end{equation} Let \(\beta_1\le\cdots\le\beta_m\) list the positive \(\gamma_i\), and put \(A_j=H_d+\sum_{i=1}^j\beta_i\), including \(A_0=H_d\). If \(T>0\), then \(m\le d-1\). In this case \eqref{eq:root-iteration} at \(s=T\) shows \(T\le A_m\). Whenever \(T>A_j\), take \(s\) just above \(A_j\) and below \(T\). The inequality forces an additional \(\beta_i\) to be at most \(2s\), since the first \(j\) terms together contribute at most \(A_j-H_d\). Letting \(s\downarrow A_j\) yields \(\beta_{j+1}\le2A_j\) and hence \(A_{j+1}\le3A_j\). Iterating until \(T\le A_j\) shows \(T\le3^m H_d\le3^{d-1}H_d\). The last bound also holds if \(T=0\). Finally \[ 2n=|P'(0)|=\left|\sum_{i=1}^d r_i^{-1}\right|\le d\,e^T . \] This proves \eqref{eq:rank-actual-degree}. Its right side is nondecreasing in the positive integer \(d\), giving \eqref{eq:rank-bound} for \(d\le k\). \section*{Use of AI} OpenAI's ChatGPT assisted with exploring proof strategies, developing and checking the arguments, searching the literature, and editing the manuscript. \begin{thebibliography}{99} \bibitem{SphericalAngles} I.~Balla, F.~Dr\"axler, P.~Keevash, and B.~Sudakov, \emph{Equiangular lines and spherical codes in Euclidean space}, Invent. Math. \textbf{211} (2018), no.~1, 179--212. \bibitem{Banaszczyk} W.~Banaszczyk, \href{https://doi.org/10.1007/BF01445125} {\emph{New bounds in some transference theorems in the geometry of numbers}}, Math. Ann. \textbf{296} (1993), 625--635. \bibitem{BehrensGolla} S.~Behrens and M.~Golla, \href{https://doi.org/10.4171/QT/102} {\emph{Heegaard Floer correction terms, with a twist}}, Quantum Topol. \textbf{9} (2018), no.~1, 1--37. \bibitem{BennettFridbergCodes} H.~Bennett and K.~Fridberg, \emph{On (non-)isomorphism of self-dual lattices and codes}, \href{https://arxiv.org/abs/2606.18662}{arXiv:2606.18662} (2026). \bibitem{Boyer} S.~Boyer, \emph{Simply-connected 4-manifolds with a given boundary}, Trans. Amer. Math. Soc. \textbf{298} (1986), no.~1, 331--357. \bibitem{CaoEtAl} M.-Y.~Cao, J.~H.~Koolen, J.-Y.~Liu, and Q.~Yang, \emph{Signed graphs with fixed smallest eigenvalue at least \(-3\) and their lattices}, \href{https://arxiv.org/abs/2607.02951}{arXiv:2607.02951} (2026). \bibitem{ChoePark} D.~H.~Choe and K.~Park, \href{https://doi.org/10.1016/j.topol.2018.01.013} {\emph{On intersection forms of definite 4-manifolds bounded by a rational homology 3-sphere}}, Topology Appl. \textbf{238} (2018), 59--75. \bibitem{ConwaySloane} J.~H.~Conway and N.~J.~A.~Sloane, \emph{Sphere packings, lattices and groups}, 3rd ed., Grundlehren Math. Wiss., vol.~290, Springer, New York, 1999. \bibitem{ElkiesStandard} N.~D.~Elkies, \emph{A characterization of the \(\mathbb Z^n\) lattice}, Math. Res. Lett. \textbf{2} (1995), no.~3, 321--326. \bibitem{ElkiesLong} N.~D.~Elkies, \emph{Lattices and codes with long shadows}, Math. Res. Lett. \textbf{2} (1995), no.~5, 643--651. \bibitem{ErnvallHytonen} A.-M.~Ernvall-Hyt\"onen, \href{https://doi.org/10.1109/TIT.2014.2311075} {\emph{Some results related to the conjecture by Belfiore and Sol\'e}}, IEEE Trans. Inform. Theory \textbf{60} (2014), no.~5, 2805--2812. \bibitem{Froyshov} K.~A.~Fr\o yshov, \emph{The Seiberg--Witten equations and four-manifolds with boundary}, Math. Res. Lett. \textbf{3} (1996), no.~3, 373--390. \bibitem{GaulterFirst} M.~Gaulter, \emph{Lattices without short characteristic vectors}, Math. Res. Lett. \textbf{5} (1998), 353--362. \bibitem{GaulterTwo} M.~Gaulter, \href{https://doi.org/10.5802/jtnb.594} {\emph{Characteristic vectors of unimodular lattices which represent two}}, J. Th\'eor. Nombres Bordeaux \textbf{19} (2007), no.~2, 405--414. \bibitem{GollaScaduto} M.~Golla and C.~Scaduto, \emph{On definite lattices bounded by integer surgeries along knots with slice genus at most 2}, Trans. Amer. Math. Soc. \textbf{372} (2019), no.~11, 7805--7829. \bibitem{HaradaLong} M.~Harada, \emph{Construction of some unimodular lattices with long shadows}, Int. J. Number Theory \textbf{7} (2011), 1345--1358. \bibitem{KominersShell} S.~D.~Kominers, \emph{Equality in a reverse Minkowski shell bound for integral lattices via spherical designs}, \href{https://arxiv.org/abs/2605.25126}{arXiv:2605.25126} (2026). \bibitem{KominersGaussian} S.~D.~Kominers, \emph{A sharp reverse Minkowski inequality for the Gaussian mass of integral unimodular lattices through rank 32}, \href{https://arxiv.org/abs/2606.01347}{arXiv:2606.01347} (2026). \bibitem{KominersBinary} S.~D.~Kominers, \emph{Majorization and Gaussian-mass maximality for Construction-A lattices from binary self-dual codes}, \href{https://arxiv.org/abs/2606.03482}{arXiv:2606.03482} (2026). \bibitem{MartinetVenkovOdd} J.~Martinet and B.~Venkov, \emph{On integral lattices having an odd minimum}, St. Petersburg Math. J. \textbf{16} (2005), no.~3, 507--539. \bibitem{MilnorHusemoller} J.~Milnor and D.~Husemoller, \emph{Symmetric bilinear forms}, Ergeb. Math. Grenzgeb., vol.~73, Springer, Berlin, 1973. \bibitem{NebeStrong} G.~Nebe, \href{https://doi.org/10.5802/jtnb.441} {\emph{Strongly modular lattices with long shadow}}, J. Th\'eor. Nombres Bordeaux \textbf{16} (2004), no.~1, 187--196. \bibitem{NebeSchindelar} G.~Nebe and K.~Schindelar, \href{https://doi.org/10.5802/jtnb.608} {\emph{\(S\)-extremal strongly modular lattices}}, J. Th\'eor. Nombres Bordeaux \textbf{19} (2007), no.~3, 683--701. \bibitem{NebeVenkov} G.~Nebe and B.~Venkov, \emph{Unimodular lattices with long shadow}, J. Number Theory \textbf{99} (2003), no.~2, 307--317. \bibitem{NeumaierThree} A.~Neumaier, \emph{On norm three vectors in integral Euclidean lattices. I}, Math. Z. \textbf{183} (1983), 565--574. \bibitem{OwensStrle} B.~Owens and S.~Strle, \href{https://doi.org/10.1353/ajm.2012.0026} {\emph{A characterisation of the \(\mathbb Z^n\oplus\mathbb Z(\delta)\) lattice and definite nonunimodular intersection forms}}, Amer. J. Math. \textbf{134} (2012), no.~4, 891--913. \bibitem{RainsShadowCodes} E.~M.~Rains, \emph{Shadow bounds for self-dual codes}, IEEE Trans. Inform. Theory \textbf{44} (1998), no.~1, 134--139. \bibitem{RainsSloane} E.~M.~Rains and N.~J.~A.~Sloane, \emph{The shadow theory of modular and unimodular lattices}, J. Number Theory \textbf{73} (1998), no.~2, 359--389. \bibitem{RegevGaussians} O.~Regev and N.~Stephens-Davidowitz, \href{https://doi.org/10.1137/15M1052226} {\emph{An inequality for Gaussians on lattices}}, SIAM J. Discrete Math. \textbf{31} (2017), no.~2, 749--757. \bibitem{RSAnnals} O.~Regev and N.~Stephens-Davidowitz, \href{https://doi.org/10.4007/annals.2024.199.1.1} {\emph{A reverse Minkowski theorem}}, Ann. of Math. (2) \textbf{199} (2024), no.~1, 1--49. \bibitem{IntegralReverse} O.~Regev and N.~Stephens-Davidowitz, \emph{A simple proof of a reverse Minkowski theorem for integral lattices}, J. Number Theory \textbf{279} (2026), 256--266. \bibitem{ScadutoFloer} C.~Scaduto, \href{https://doi.org/10.2140/gt.2024.28.1587} {\emph{On definite lattices bounded by a homology 3-sphere and Yang--Mills instanton Floer theory}}, Geom. Topol. \textbf{28} (2024), no.~4, 1587--1628. \end{thebibliography} \end{document}