\documentclass[11pt]{amsproc} % Fonts, page layout, and mathematics \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{amssymb,mathtools,array} \usepackage{microtype,enumitem} \usepackage[letterpaper,hmargin=1.1in,vmargin=1.05in]{geometry} \setlength{\emergencystretch}{2em} \allowdisplaybreaks[1] % Latin Modern supplies Romanian t with comma below (U+021B) in QX. \ifdefined\pdftexversion \DeclareMicrotypeSet*[protrusion]{maintext}{encoding={OT1,T1,TS1}} \DeclareMicrotypeSet*[expansion]{mainfonts}{encoding={OT1,T1,TS1},family={rm*,sf*}} \DeclareFontEncoding{QX}{}{} \DeclareFontSubstitution{QX}{lmr}{m}{n} \DeclareUnicodeCharacter{021B}{{\fontencoding{QX}\selectfont\symbol{181}}} \pdfglyphtounicode{tcommaaccent}{021B} \fi % Citations, links, and PDF metadata \usepackage[numbers]{natbib} \renewcommand{\bibsection}{\section*{\refname}} \renewcommand{\bibfont}{\footnotesize} \setlength{\bibsep}{0pt plus 0.1ex} \usepackage[hidelinks]{hyperref} \newcommand{\doi}[1]{\href{https://doi.org/#1}{\nolinkurl{#1}}} \hypersetup{ pdfauthor={Scott Duke Kominers}, pdftitle={Completing the Kim--Kim--Oh Classification of Minimal-Rank n-Universal Lattices for 2 <= n <= 8} } % Theorem environments share a counter within each section. \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{certificate}[theorem]{Certificate} % Number systems \newcommand{\Z}{\mathbb{Z}} \newcommand{\Q}{\mathbb{Q}} \newcommand{\F}{\mathbb{F}} \newcommand{\R}{\mathbb{R}} \title[Minimal-Rank $n$-Universal Lattices ($2\le n\le 8$)]% {Completing the Kim--Kim--Oh Classification of\\ Minimal-Rank $n$-Universal Lattices for $2\le n\le 8$} \author{Scott Duke Kominers} \address{Harvard Business School; Department of Economics and Center of Mathematical Sciences and Applications, Harvard University; and a16z Frontier Research} \email{kominers@fas.harvard.edu} \subjclass[2020]{Primary 11E12, 11E25; Secondary 11E08, 11E20} \keywords{integral quadratic forms, universal lattices, representations of lattices} \date{November 20, 2026} \thanks{I thank Aaron Tievsky, who introduced me to quadratic forms and the work of Kim, Kim, and Oh~\cite{KKO} more than twenty years ago. I appreciate comments at that time from Ellen Dickstein Kominers, Paul Kominers, William Kominers, Chris Mihelich, Antoni Rangachev, John Rickert, Jenny Sendova, Chris Skinner, Larry Washington, Susan Schwartz Wildstrom, and many others; and more recently from Glenn Bruda, Noam~D.~Elkies, Ben Golub, Vita Kala, Steven~J.\ Miller, Joachim Neu, Byeong-Kweon Oh, Ken Ono, Igor Rapinchuk, Tim Roughgarden, and Jesse Shapiro. This work was conducted while I was visiting the Technological Innovation, Entrepreneurship, and Strategic Management (TIES) Group at the MIT Sloan School of Management; I greatly appreciate their hospitality. My earliest thinking about this problem was supported by a Research Science Institute summer scholarship.} \begin{document} \begin{abstract} A positive-definite integral lattice is \emph{$n$-universal} if it represents every positive-definite integral lattice of rank~$n$. We complete the classification of minimal-rank $n$-universal lattices for $2\le n\le 8$ by resolving the three cases left open by Kim, Kim, and Oh. We show that $I_3\perp A_1\perp A_2$ and $I_3\perp A_2\perp\langle 3\rangle$ are $3$-universal, whereas $I_6\perp A_2$ is \emph{not} $5$-universal. \end{abstract} \maketitle \section{Introduction} A \emph{lattice} is a free $\Z$-module of finite rank with a positive-definite symmetric bilinear form $(\ ,\ )$ taking values in $\Z$. In a basis $e_1,\ldots,e_n$ of $\Lambda$, the \emph{Gram matrix} is $G=((e_i,e_j))$ and the \emph{determinant} is $\det\Lambda=\det G$. Write $Q_F(z)=z^{\mathsf{T}}Fz$ for any symmetric matrix $F$. The \emph{norm} $Q(u)=(u,u)$ equals $Q_G(z)$ for the coordinate column $z$ of $u$. We say that a lattice $L$ \emph{represents} a lattice $\Lambda$ if there exists an isometric embedding $\Lambda\hookrightarrow L$ (not necessarily primitive). We identify a lattice in a chosen basis with its Gram matrix. Thus $L$ represents $G$ precisely when $L$ contains vectors with Gram matrix $G$. A lattice is \emph{$n$-universal} if it represents every lattice of rank $n$; it then represents every lattice of rank $ri$. This changes $M_{k\ell}$ for $k,\ell>i$ by $-M_{ki}M_{i\ell}/d$. At $2$, $d$ is odd and this correction belongs to $16\Z_2$. At $3$, $d\equiv J_{ii}\pmod{9}$ has valuation at most $1$ and the correction belongs to $27\Z_3$. In each case the basis change is integral and preserves the congruences on the remaining block. The ratio of the $i$-th diagonal entry to $J_{ii}$ lies in $1+8\Z_2$ or $1+3\Z_3$, respectively, so it equals $u_i^2$ for some $u_i\in\Z_p^\times$. Multiplying the $i$-th orthogonal basis vector by $u_i^{-1}$ gives a basis with Gram matrix $J$. Thus the combined change of basis $P\in\mathrm{GL}_5(\Z_p)$ satisfies $P^{\mathsf{T}}(J+E)P=J$. In the basis with Gram matrix $J$, the original three columns have coordinates $Y=P^{-1}X$. Hence $Y^{\mathsf{T}}JY=X^{\mathsf{T}}(J+E)X=C$. Moreover, $P^{-1}$ takes a $\Z_p$-basis extending the columns of $X$ to one extending the columns of $Y$. Thus $Y$ gives a primitive embedding of the lattice with Gram matrix $C$ into $K_{j,p}$. \end{proof} Let $\mathcal{R}_{j,p}$ consist of the classes $[X^{\mathsf{T}}JX]_p$ as $X$ ranges over $5\times3$ matrices over $\Z_p$ of rank $3$ modulo $p$. By Lemma~\ref{lem:local-precision}, $[C]_p\in\mathcal{R}_{j,p}$ certifies that $K_{j,p}$ primitively represents $C$. We compute $\mathcal{R}_{j,p}$ in Python by enumerating the possible residues of each row of $X$ in turn, as described in Appendix~\ref{app:correction-tests}. \section{Reduced bases and primes dividing the binary determinant} \label{finite:geometry} We take a Hermite--Korkine--Zolotarev reduced basis $e_1,e_2,e_3$ of $\Lambda$ \cite[Definition~16]{Nguyen} and write its Gram matrix as \[ G = \begin{pmatrix} a & b & r_1 \\ b & c & r_2 \\ r_1 & r_2 & f \end{pmatrix} = \begin{pmatrix} B & r \\ r^{\mathsf{T}} & f \end{pmatrix}, \qquad \delta = \det B = ac-b^2, \quad D = \det G. \] The Gram--Schmidt vectors of this basis have squared lengths $a$, $\beta=\delta/a$, and $\gamma=D/\delta$, respectively. By size reduction and a choice of signs for $e_2,e_3$, \[ 0\le 2b\le a,\qquad 0\le 2r_1\le a,\qquad 2|ar_2-br_1|\le\delta. \] Since $e_1$ is shortest, $a\le\min(c,f)$ and $\beta=c-b^2/a\ge c-a/4\ge 3c/4$. In the lattice projected onto $e_1^\perp$, the projection of $e_2$ is shortest among nonzero vectors. Comparing it with the projection of $e_3$ gives \[ \beta\le f-r_1^2/a =\gamma+\beta\left(\frac{ar_2-br_1}{\delta}\right)^2 \le\gamma+\beta/4. \] Thus we have \begin{equation} \label{eq:lengths} a\le c\le 4\beta/3,\qquad \gamma\ge 3\beta/4. \end{equation} Write $\lambda=(x,y,k)^{\mathsf{T}}$ for the coefficients of the linear form in this basis and put $\alpha=(x,y)^{\mathsf{T}}$ and $\mu=\alpha^{\mathsf{T}}B^{-1}r$. Positive definiteness of $C=G-s\lambda\lambda^{\mathsf{T}}$ is equivalent to $s\lambda^{\mathsf{T}}G^{-1}\lambda<1$. Completing squares gives \begin{equation} \label{eq:highcost} s\lambda^{\mathsf{T}}G^{-1}\lambda =s\left(\frac{x^2}{a}+\frac{(y-bx/a)^2}{\beta} +\frac{(k-\mu)^2}{\gamma}\right). \end{equation} For fixed $x,y$, the leading block $B'=B-s\alpha\alpha^{\mathsf{T}}$ has determinant $\Delta=\delta(1-s\alpha^{\mathsf{T}}B^{-1}\alpha)$. Thus $B'$ is positive definite (written $B'>0$) precisely when $\Delta>0$. The determinant of the full matrix is \[ \det C=\frac{D\Delta}{\delta} -s\delta\bigl(k-\mu\bigr)^2. \] By Sylvester's criterion \cite[Theorem~7.2.5(b)]{HornJohnson}, $C$ is positive definite precisely when $B'>0$ and $\det C>0$. When $\Delta>0$, the formula for $\det C$ shows that $\det C>0$ precisely when $k$ lies in the open interval \[ I(\alpha)=(\mu-\theta,\ \mu+\theta),\qquad \theta=\sqrt{\frac{D\Delta}{s\delta^2}}=\sqrt{\frac{\gamma\Delta}{s\delta}}. \] This yields an upper bound on $D$ when $L$ fails to represent $\Lambda$. Fix $\alpha$ with $\Delta>0$ and an arithmetic progression $k_0+m\Z$ with $k_0\in\Z$ and $m\in\Z_{>0}$, and suppose there is an integer $g\ge 1$ such that any $g$ consecutive terms of the progression include a $k$ for which $K_{j,p}$ represents $C_G((x,y,k)^{\mathsf{T}})$ at every prime $p$. If $\theta>mg/2$, then $I(\alpha)$ contains a closed interval of length $mg$, hence $g$ consecutive terms of $k_0+m\Z$, hence such a $k$. For this $k$ the matrix $C$ is positive definite, and Lemma~\ref{lem:functional}(a) shows that $L$ represents $G$. Consequently, if $L$ fails to represent $\Lambda$, then $\theta\le mg/2$, that is, $\gamma\le s\delta(mg)^2/(4\Delta)$. Since $D=\delta\gamma$, we have \begin{equation} \label{eq:sectionbound} D\le\frac{s\delta^2(mg)^2}{4\Delta} \end{equation} for every such choice of $\alpha$, $k_0+m\Z$, and $g$. \begin{lemma} \label{lem:scalar-slice} Fix $p\ge 5$ with $G\not\equiv 0\pmod{p}$, and fix $\alpha=(x,y)^{\mathsf{T}}$. If $p\nmid\Delta$, then $C$ has rank at least $2$ modulo $p$ for every $k$. If $p\mid\Delta$ and $(B,\alpha)\ne(0,0)\bmod p$, the integers $k$ for which $C\bmod p$ has rank at most $1$ lie in at most two residue classes modulo $p$. At most one such class occurs if, in addition, $p\nmid\delta$, $B\equiv 0\bmod p$, or $B'\equiv 0\bmod p$. \end{lemma} \begin{proof} We work over $\F_p$. If $B'$ is nonsingular, then it already gives rank at least $2$. Now suppose $B'$ is singular and $(B,\alpha)\ne(0,0)$. For $z\in\F_p^2$ put $\alpha(z)=\alpha^{\mathsf{T}}z$ and $r(z)=r^{\mathsf{T}}z$. If $C$ has rank at most $1$, then the Gram determinant of $(z_1,z_2,0)^{\mathsf{T}}$ and $(0,0,1)^{\mathsf{T}}$ for the form $C\bmod p$ vanishes. Thus \[ (Q_B(z)-s\alpha(z)^2)(f-sk^2)-(r(z)-sk\alpha(z))^2=0. \] For $B\ne0$ choose $z$ with $Q_B(z)\ne0$. The coefficient of $k^2$ is $-sQ_B(z)\ne0$, giving at most two roots. For $B=0$ we have $\alpha\ne0$. If $r\ne0$, choose $z$ outside the union of $\ker\alpha$ and $\ker r$, which has at most $2p-10$ is allowed, and $sx^2\le 720$ and each $p\ge 5$ dividing $\delta$ but not $a$, exclude $y\equiv bxa^{-1}\pmod{p}$. This makes $p\nmid\Delta$. Since $h\mid 6$, one of the $g_t$ terms of $y_0+h\Z$ nearest $bx/a$ avoids all these classes. For $x=0$ apply the signed-divisor condition with $c_*=c$ to choose $y$ in $y_0+h\Z$. Thus $|y-bx/a|\le w/2$, where $w=hg_t$ for $x>0$ and $w=12$ for $x=0$. \emph{Choosing $k$.} With $x,y$ fixed, every $k\in k_0(y)+m\Z$ gives a matrix $C$ primitively represented by $K_{j,2}$ and $K_{j,3}$, by \eqref{eq:choices-23} and Lemma~\ref{lem:local-precision}. We seek a $k$ in this progression for which $C$ is positive definite and $C\bmod p$ represents $j$ at every prime $p\ge 5$. Once $B'>0$, positive definiteness restricts $k$ to the interval $I(\alpha)$ of Section~\ref{finite:geometry}, centered at $\mu$. Such a $k$ exists whenever \begin{equation} \label{eq:scalar-cost} \beta>\frac{s}{1-sx^2/a} \left(\frac{w^2}{4}+\frac{m^2g_t^2}{3}\right). \end{equation} Since $|y-bx/a|\le w/2$, the first two terms in parentheses in \eqref{eq:highcost} sum to less than $1/s$. Hence $B'>0$ and $0<\Delta\le\delta$. For $p\ge 5$ with $p\nmid\Delta$, the nonsingular block $B'\bmod p$ already represents $j$. For each $p\ge 5$ dividing $\Delta$, we shall exclude at most one residue class modulo $p$ from the choice of $k$; for every integer $k$ outside that class, if any, $C\bmod p$ represents $j$ over $\F_p$. One of $x,y$ is a signed divisor of $6$, so $\alpha\not\equiv 0\pmod{p}$. If $p\nmid\delta$, Lemma~\ref{lem:scalar-slice} shows that $C\bmod p$ has rank at least $2$ outside at most one residue class modulo $p$, and Lemma~\ref{lem:functional}(b) gives representation of $j$. If $p$ divides both $\delta$ and $\Delta$, then \eqref{eq:shared-prime} gives $ay\equiv bx\pmod{p}$. For $x>0$ the choice of $y$ forces $p\mid a$. For $x=0$ the same follows since $p\nmid y$. Then $p\mid b$ and $\Delta\equiv-sx^2c\pmod{p}$. For $x>0$ this forces $p\mid c$. Whenever $p\mid c$, we have $B\equiv 0\pmod{p}$, so Lemma~\ref{lem:scalar-slice} gives rank at least $2$ for $C\bmod p$ except possibly when $k$ lies in a single residue class modulo $p$. It remains to consider $x=0$ and $p\nmid c$. Here $B'\equiv\operatorname{diag}(0,c-sy^2)\pmod{p}$. Since $p\mid a$ and $p\nmid c$, the signed-divisor condition with $c_*=c$ gives two possibilities for $c-sy^2$ modulo $p$. If $c-sy^2\equiv 0\pmod{p}$, then $B'\equiv 0\pmod{p}$ and Lemma~\ref{lem:scalar-slice} gives $\operatorname{rank}(C\bmod p)\ge 2$ for all $k$ outside at most one residue class modulo $p$. Otherwise $c-sy^2=ju^2$ in $\F_p$ for some $u\in\F_p^\times$. For every $k$, the vector $(0,u^{-1},0)^{\mathsf{T}}$ then has norm $j$ for $C\bmod p$, so no residue class is excluded. Since $0<\Delta\le\delta$, at most $t$ primes $p\ge 5$ divide $\Delta$. Among the $g_t$ terms of $k_0(y)+m\Z$ nearest $\mu$, the gap bound gives a $k$ outside every excluded class. Thus $C\bmod p$ represents $j$ at every $p\ge 5$. Moreover, $|k-\mu|\le mg_t/2$. Using $\gamma\ge 3\beta/4$, we obtain $s(k-\mu)^2/\gamma\le sm^2g_t^2/(3\beta)$. Together with $|y-bx/a|\le w/2$, inequality~\eqref{eq:scalar-cost} now gives $s\lambda^{\mathsf{T}}G^{-1}\lambda<1$ in \eqref{eq:highcost}. Thus $C$ is positive definite. Lemma~\ref{lem:functional}(b) gives representation of $C$ by $K_{j,p}$ at every $p\ge 5$, and \eqref{eq:choices-23} gives it at $2$ and $3$. Lemma~\ref{lem:functional}(a) now gives an embedding $\Lambda\hookrightarrow L$. Fix $L$, $a$, and $t$. For each pair $(\sigma_2,\sigma_3)$ in Certificate~\ref{cert:progressions}, minimize the right-hand side of \eqref{eq:scalar-cost} over its valid triples. The certificate supplies at least one, so the minimum is finite. Let $H_j(a,t)$ be the largest of these minima. An exception satisfies $3a/4\le\beta=\delta/a\le H_j(a,t)$ by \eqref{eq:lengths}. Hence $H_j(a,t)^2\ge 3\delta/4\ge 3P_t/4$. The estimate in Appendix~\ref{app:prescriptions} rules this out for $t\ge 27$. For $t<27$ we compute the endpoints of the determinant intervals in the following certificate. \begin{certificate}[Determinant ranges] \label{cert:ranges} For $a\ge 2$ and $0\le t<27$, the interval \[ \max(P_t,3a^2/4)\le\delta\le\min(P_{t+1}-1,aH_j(a,t)) \] contains an integer for 536 pairs $(a,t)$ for $L_6$ and 1,136 for $L_9$. The largest $a$ values in the respective lists of pairs are $494$ and $855$. \end{certificate} \subsection{The remaining binary blocks} \label{sec:finite} For the fixed $L$, write \[ \mathcal{B}_j=\bigcup_{(a,t)}\mathcal{B}_j(a,t), \] where $(a,t)$ ranges over the pairs in Certificate~\ref{cert:ranges} and $\mathcal{B}_j(a,t)$ comprises the integral matrices $B=\left(\begin{smallmatrix}a&b\\b&c\end{smallmatrix}\right)$ with \[ 0\le 2b\le a,\qquad c\ge a,\qquad \delta=ac-b^2 \text{ in the corresponding determinant interval}. \] To enumerate $\mathcal{B}_j(a,t)$, we take each integer $\delta$ in the interval and each $b$ with $0\le 2b\le a$, and keep $c=(\delta+b^2)/a$ when it is an integer with $c\ge a$. Every exception has its leading block in $\mathcal{B}_j$: in the reduced basis of Section~\ref{finite:geometry} we have $0\le 2b\le a\le c$, and Section~\ref{sec:high} places $\delta$ in the determinant interval for $a=G_{11}$ and the $t$ with $P_t\le\delta0$. For $p=2,3$ and each maximal Gram class $\sigma_p=[G]_p$ with leading block $[B]_p$, we seek an arithmetic progression for $k$ on which $K_{j,p}$ primitively represents $C_G(\lambda)$. For this purpose we use the following sufficient \emph{local representation conditions}, at $2$ and $3$, respectively, \begin{equation} \label{eq:block-23} [C_G(\lambda)]_2\in\mathcal{R}_{j,2}, \qquad \lambda\bmod 3\in\mathcal{U}_{j,3}(\sigma_3). \end{equation} At $2$, the first inclusion asks whether three vectors of $K_{j,2}$ independent modulo $2$ have Gram class $[C_G(\lambda)]_2$. For fixed $\sigma_2,x,y$ this depends only on $k\bmod 4$. At $3$, we prescribe $k$ only modulo $3$, although $[C_G(\lambda)]_3$ can depend on $k\bmod 9$. The second inclusion therefore requires $[C_G(\lambda')]_3\in\mathcal{R}_{j,3}$ for every integral column $\lambda'\equiv\lambda\pmod{3}$. By Lemma~\ref{lem:local-precision}, each inclusion in \eqref{eq:block-23} gives the claimed primitive representation over the corresponding $\Z_p$. For each $\sigma_p$, take the least positive step of an arithmetic progression all of whose terms satisfy the inclusion at $p$. Discard $\alpha$ if any $\sigma_p$ admits no such progression. Otherwise the least steps divide $4$ at $2$ and $3$ at $3$, so their maximum $m_p$ at each prime is a multiple of every step there. By the Chinese remainder theorem, for each completion $G$ maximal at both primes there is an arithmetic progression $k_0+m\Z$, with $m=m_2m_3$, on which both inclusions in \eqref{eq:block-23} hold. Here $k_0$ may depend on $G$. At $p\ge 5$ dividing $\Delta$, put $\nu_p=2$ if $p\mid\delta$ and $B\not\equiv 0\pmod{p}$, and $\nu_p=1$ otherwise. Maximality gives $G\not\equiv 0\pmod{p}$, so Lemma~\ref{lem:scalar-slice} shows that, for each fixed $G$, the integers $k$ for which $C\bmod p$ has rank at most $1$ lie in at most $\nu_p$ residue classes modulo $p$. Thus $L$ represents every maximal ternary lattice with leading block $B=\left(\begin{smallmatrix}a&b\\b&c\end{smallmatrix}\right)$ in a reduced basis if a positive integer $g$ satisfies \begin{equation} \label{eq:whole-block} \sum_{\substack{p\mid\Delta\\p\ge 5}}\nu_p\lceil g/p\rceil0$ up to simultaneous sign, since $C_G(-\lambda)=C_G(\lambda)$. For each pair, factor $\Delta$ and omit primes $p\ge 5$ dividing $\Delta$ at which a diagonal entry of $B'$ lies in $j(\F_p^\times)^2$, since then $C\bmod p$ represents $j$ for every $k$. Discard the pair if both $B$ and $\alpha$ vanish modulo any remaining prime. Take the least $g\ge 1$, if it exists, for which the sum in \eqref{eq:whole-block} over just the remaining primes is less than $g$. Equation~\eqref{eq:sectionbound} then bounds $D$ for every exception in this class. For each class take the least bound obtained from these pairs and round it down to an integer. Retain the class if this bound is at least~$D_0$. If any class is retained, let $U(B)$ be the largest of the retained bounds. This argument by last-column class applies directly to every block in $\mathcal{B}_j$, whether or not one first seeks a single pair for the entire block. \emph{Enumeration and witnesses.} For each retained last-column class, we use a program to enumerate the integral completions $G$ allowed by $D_0\le\det G\le U(B)$ and the reduction conditions of Appendix~\ref{app:bounded}. For each such $G$ that is maximal at $3$ and has relatively prime entries, we may now choose the covector $\lambda$ separately. \begin{certificate}[Coverage and representations] \label{cert:finite} Fix $L\in\{L_6,L_9\}$ with the decomposition given in~\eqref{eq:pairs}. \begin{enumerate}[label=\textup{(\alph*)},leftmargin=2em,nosep] \item For all but 836 blocks for $L_6$ and 5,147 for $L_9$ in $\mathcal{B}_j^{\circ}$, there is a recorded pair $(x,y)$ with integers $m,g\ge 1$ satisfying \eqref{eq:whole-block}. For each maximal completion $G$ of such a block there is a $k_0$ for which the local representation conditions~\eqref{eq:block-23} hold throughout $k_0+m\Z$. Hence every maximal ternary lattice with this leading block in a reduced basis embeds in $L$. \item For each block without a recorded pair in~\textup{(a)}, every last-column class $\rho$ compatible with maximality at $2$ and $3$ has a finite upper bound \eqref{eq:sectionbound} on the determinant of an exception in that class. Exactly 99 blocks for $L_6$ and 162 for $L_9$ have a class whose least bound is at least $D_0$. For each such block $B$, the certificate identifies those classes and their common upper bound $U(B)$. \item In the classes specified in~\textup{(b)}, exactly 10,905 Gram matrices for $L_6$ and 7,556 for $L_9$ satisfy $D_0\le D\le U(B)$, the reduced-basis inequalities and sign conventions of Appendix~\ref{app:bounded}, maximality at $3$, and coprimality of the entries. For every such $G$, the recorded $\lambda$ gives a positive-definite $C_G(\lambda)$ represented by $K_{j,p}$ at every prime $p$. \end{enumerate} \end{certificate} For $L=L_9$, consider again $G=\operatorname{diag}(2,3,5)$ from Section~\ref{sec:high}. Its leading block $B=\operatorname{diag}(2,3)$ passes to the last-column test in part~(b), with $D_0=14$ and $U(B)=81$. This test rules out an exception in the class of the original last column $(0,0,5)$ modulo~$24$. The only completions of $B$ requiring individual witnesses in part~(c) have last column $(1,1,f)$ with $f\in\{4,5,8,9,12,13\}$. At $p=2,3$, part~(c) requires only an isometric embedding of $M=(\Z_p^3,C)$ into $K_{j,p}$. When $[C]_p\notin\mathcal{R}_{j,p}$, the certificate specifies an integral index-$p$ overlattice $M'$ of $M$ whose Gram matrix $F$ satisfies $[F]_p\in\mathcal{R}_{j,p}$. Lemma~\ref{lem:local-precision} then gives a primitive embedding of $M'$ into $K_{j,p}$; its restriction to $M$ gives the required local embedding. The bounds in Section~\ref{sec:high} and parts~(a) and~(b) of Certificate~\ref{cert:finite} reduce the proof to the ternary Gram matrices $G$ enumerated in part~(c). For each such $G$, the recorded $\lambda$ gives a positive-definite $C_G(\lambda)$ represented by $K_{j,p}$ at every prime, so Lemma~\ref{lem:functional}(a) shows that $L$ represents $G$ over $\Z$. Thus neither $L_6$ nor $L_9$ has an exception. Since every ternary lattice embeds in a maximal integral overlattice (Section~\ref{sec:prelim}), both lattices are $3$-universal, proving Theorem~\ref{thm:main}(i) and~(ii). \section{The quinary counterexample} \label{sec:five} \begin{proposition} \label{prop:exception} The lattice $I_6\perp A_2$ does not represent the quinary lattice $\Lambda_{117}$ with Gram matrix \begin{equation} \label{eq:quinary} \begin{pmatrix} 2 & -1 & 0 & 1 & 0 \\ -1 & 2 & -1 & 0 & 1 \\ 0 & -1 & 2 & 0 & 0 \\ 1 & 0 & 0 & 6 & -1 \\ 0 & 1 & 0 & -1 & 7 \end{pmatrix}. \end{equation} \end{proposition} \begin{proof} The leading principal minors are $2,3,4,21,117$, so $\Lambda_{117}$ is positive definite of determinant $117$. Suppose the basis in which \eqref{eq:quinary} is written maps to $w_1,w_2,w_3,w_4,w_5$ in $I_6\perp A_2$. For $1\le i\le 3$, the vector $w_i$ has norm~$2$. A nonzero $A_2$ component already has norm at least~$2$, so $w_i$ lies in one summand. The pairings $(w_1,w_2)=(w_2,w_3)=-1$ put all three vectors in the same summand. They are independent, so this summand is $I_6$. Each of these three vectors has exactly two nonzero coordinates, both $\pm1$. The support of $w_2$ meets each of the other two supports in one coordinate. Since $(w_1,w_3)=0$, the supports of $w_1$ and $w_3$ are disjoint or equal. Equal supports would give $w_1\equiv w_3\pmod{2}$, contrary to their pairings $1$ and $0$ with $w_4$. Thus after permuting the coordinate vectors $\varepsilon_i$ of $I_6$, the support of $w_i$ is $\{i,i+1\}$ for $1\le i\le 3$. Changing the signs of the coordinate vectors then gives $w_i=\varepsilon_i-\varepsilon_{i+1}$ for $1\le i\le 3$. Write $w_4=(u_0,u)$ and $w_5=(v_0,v)$ in $I_4\perp(I_2\perp A_2)$. The pairings with $w_i=\varepsilon_i-\varepsilon_{i+1}$ give \[ u_0=(\xi+1,\xi,\xi,\xi),\qquad v_0=(\eta+1,\eta+1,\eta,\eta). \] The bounds $Q(u_0)\le 6$ and $Q(v_0)\le 7$ force $\xi,\eta\in\{-1,0\}$. Both values of $\eta$ give $Q(v)=5$. If $\xi=0$, then $Q(u)=5$ and $|(u,v)|=|-1-(u_0,v_0)|\in\{1,2\}$. If $\xi=-1$, then $Q(u)=3$ and $|(u,v)|\in\{0,3\}$. Now $2$ is the only positive norm below $6$ in $A_2$. Indeed, its norm form is $2(h^2-h\ell+\ell^2)$, and $h^2-h\ell+\ell^2\equiv(h+\ell)^2\pmod{3}$ excludes norm $4$. Since $3$ is not a sum of two squares, a norm-$5$ vector of $I_2\perp A_2$ lies in $I_2$, and a norm-$3$ vector projects to a vector of norm $1$ in $I_2$. In particular $v\in I_2$. Let $u'$ be the projection of $u$ to $I_2$. Since $(u',v)=(u,v)$, the Gram determinant of $u',v$ equals $5Q(u')-(u,v)^2$. If $X$ is their coordinate matrix in the basis $\varepsilon_5,\varepsilon_6$, this determinant is $\det(X^{\mathsf{T}}X)=(\det X)^2$. For $\xi=0$ its possible values are $24,21$, and for $\xi=-1$ they are $5,-4$. None is an integer square. \end{proof} Proposition~\ref{prop:exception} proves Theorem~\ref{thm:main}(iii). \section*{Use of generative AI} I used LLMs to assist with computations, coding, and synthesis in the preparation of this article, including GPT-6.2 Astra, GPT-5.* Pro, Claude Fable 5, Claude Opus 5.5, Claude Opus 4.*, and Gemini 3 Pro (all accessed in part via Poe with the support of Quora, where I am an advisor). Additionally, I used Refine.ink to review the draft for consistency, completeness, and clarity. The choice of problem, the methods, and the final written form are my own. Any errors remain my responsibility. \appendix \raggedbottom \section{Finite verification} \label{app:verification} For each $L\in\{L_6,L_9\}$, our Python search computes the local representation tables at $2$ and $3$ and uses them to bound the leading binary block $B$ of a possible exception. For each $B\in\mathcal{B}_j^{\circ}$ it seeks one pair $(x,y)$ that proves $L$ represents every maximal ternary lattice with leading block $B$ in a reduced basis. For the remaining blocks it bounds $\det G$ in each last-column class and enumerates the ternary Gram matrices $G$ still requiring individual verification; for each such $G$ it tries covectors $\lambda\in\{-2,-1,0,1,2\}^3$ until $C_G(\lambda)$ is positive definite and represented by $K_{j,p}$ at every prime. Table~\ref{tab:verification-commands} gives the commands to run from \path{python/} in release~v4 of the accompanying repository.\footnote{\url{https://github.com/scduko/Kim-Kim-Oh-Classification/tree/v4}.} Both run on Python~3.10 or later and use only the standard library for exact integer and rational arithmetic. The checker starts from the same primitive representation tables and maximality tests as the search. It reconstructs the local choices and determinant ranges, checks that the block and last-column bounds cover every possible exception, and verifies a witness for each remaining Gram matrix. Below, program paths are relative to \path{python/}. The five certificate files are in its \path{certificates/} subdirectory. \begin{table}[htbp] \centering \caption{Commands for reproducing the search and checking the certificates} \label{tab:verification-commands} \footnotesize \begin{tabular}{@{}ll@{}} Command & Reference transcript in \path{expected_output/} \\ \hline \verb|python3 reproduce_ternary_search.py --workers 4| & \path{ternary_search.txt} \\ \verb|python3 verify_ternary_certificates.py --workers 4| & \path{certificate_verification.txt} \end{tabular} \end{table} \subsection{Local representation tables} \label{app:correction-tests} The local tables identify which Gram classes admit a primitive representation by $K_{j,p}$ at $p=2,3$. In the \path{verification/} directory, \path{local_representation.py} constructs $\mathcal{R}_{j,p}$ and counts the classes $[G]_p$ of maximal ternary $\Z_p$-lattices in Table~\ref{tab:gram-classes}. The module \path{residue_census.py} then determines the coefficient classes $\mathcal{U}_{j,p}([G]_p)$ used in Section~\ref{sec:high}. Fix $p\in\{2,3\}$ and let $J=\operatorname{diag}(d_1,\ldots,d_5)$ be the Gram matrix of $K_{j,p}$ in Table~\ref{tab:local-targets}. Writing $z_i^{\mathsf{T}}$ for row $i$ of $X$ gives $X^{\mathsf{T}}JX=\sum_i d_i z_i z_i^{\mathsf{T}}$. To construct $\mathcal{R}_{j,p}$, suppose the first $i-1$ rows contribute the matrix $M$ to this sum and their reductions span $V\subseteq\F_p^3$. Appending row $z^{\mathsf{T}}$ in position $i$ gives the update \[ ([M]_p,V)\longmapsto \bigl([M+d_i zz^{\mathsf{T}}]_p,\ V+\F_p(z \mathbin{\mathrm{mod}} p)\bigr). \] Start with $M=0$ and $V=\{0\}$. Enumerate $z$ modulo $4$ at $2$ and modulo $9$ at $3$ (modulo $3$ suffices if $3\mid d_i$). These residues determine both entries on the right. After five rows, $[M]_p\in\mathcal{R}_{j,p}$ precisely when the pair $([M]_p,\F_p^3)$ occurs. The maximal classes in Table~\ref{tab:gram-classes} are determined by $4\nmid\det G$ at $2$ and \eqref{eq:maximal} at $3$. The last two columns count primitively represented classes among all Gram residues, including those of nonmaximal lattices. \begin{table}[htbp] \centering \caption{Counts of ternary Gram matrix classes at $p=2,3$} \label{tab:gram-classes} \begin{tabular}{c|r|r|r|r} $p$ & All Gram residues & Classes of maximal lattices & $|\mathcal{R}_{3,p}|$ & $|\mathcal{R}_{9,p}|$ \\ \hline $2$ & $32{,}768$ & $21{,}504$ & $28{,}420$ & $22{,}624$ \\ $3$ & $531{,}441$ & $459{,}108$ & $451{,}386$ & $355{,}485$ \end{tabular} \end{table} To construct $\mathcal{U}_{j,p}([G]_p)$, we test the lifts of each $\bar\lambda\in\F_p^3$ for membership of $[C_G(\lambda)]_p$ in $\mathcal{R}_{j,p}$. The class $[s\lambda\lambda^{\mathsf{T}}]_p$ depends only on $\lambda\bmod 2$ for $(p,s)=(2,2)$, on $\lambda\bmod 4$ for $(2,1)$, and on $\lambda\bmod 9$ at $3$. \subsection{Arithmetic progressions and the uniform bound} \label{app:prescriptions} For each triple $(x,h,m)$ in Certificate~\ref{cert:progressions}, $h$ is the common difference of the arithmetic progression $y_0+h\Z$. Once $y$ is chosen, $m$ is the common difference of $k_0(y)+m\Z$. These common differences enter the bound $H_j(a,t)$ that gives the determinant intervals in Certificate~\ref{cert:ranges}; the module \path{verification/scalar_sieve.py} computes these intervals. With \texttt{--verify-tables}, \path{audit/verify_steps_and_ranges.py} reconstructs the pairs $(h,m)$ and checks the interval endpoints. \emph{Local choices.} For fixed $\sigma$ and $x\bmod p$, list the pairs $(y,k)\bmod p$ with $(x,y,k)^{\mathsf{T}}\bmod p\in\mathcal{U}_{j,p}(\sigma)$. In the pair of local moduli $(h_p,m_p)$, a modulus of $1$ allows all residues modulo $p$, and a modulus of $p$ selects one residue. The residue selected for $k$ may depend on $y$. Thus $(1,1)$ is available if all pairs occur, $(1,p)$ if every $y\bmod p$ admits some $k\bmod p$, $(p,1)$ if some $y\bmod p$ admits every $k\bmod p$, and $(p,p)$ if at least one pair occurs. If one pair divides another in both coordinates, keep the smaller pair, whose contribution to \eqref{eq:scalar-cost} is no larger. When $x=0$, the signed-divisor condition also holds for each divisor $h'$ of $h$, since every residue class modulo $h'$ contains a residue class modulo $h$. The 176 records in \path{local_progression_steps.tsv} group maximal Gram matrix classes by $K_j$, $p$, the retained lists for each $x\bmod p$, and the first diagonal entry (modulo $8$ at $2$ or $9$ at $3$). The checker reconstructs each list and the number of classes in each group. For fixed $a$ take the groups whose first entries agree with $a$ modulo $4$ at $2$ and modulo $3$ at $3$. For each $x$, the Chinese remainder theorem combines a choice of $(h_2,m_2)$ and $(h_3,m_3)$ into the triple $(x,h_2h_3,m_2m_3)$. For $x=0$ test every $y_0\bmod h$ and every $c_*\bmod\prod_{p\mid a,\ p\ge 5}p$ as in Section~\ref{sec:high}. For $2\le a\le 84$ the checker verifies that at least one triple remains for each pair after imposing the restrictions on $x$. For $a\ge 73$ only $x>0$ is used, and then $sx^2\le 724(3066g_t^2)^2$. As $t$ increases, $\sqrt{P_t}$ grows by $\sqrt{q_{t+1}}$, while $g_t^2$ grows by $4((t+5)/(t+4))^2$. The former factor exceeds the latter at $t=27$ and the inequality persists by monotonicity. This rules out $\sqrt{3P_t/4}\le H_j(a,t)$ for all $t\ge 27$. \emph{Determinant ranges.} For $t<27$ evaluate $H_j(a,t)$ in rational arithmetic. Test $2\le a\le 72$ individually. For $a\ge 73$ choose $a_0\in[73,84]$ with $a_0\equiv a\pmod{12}$. The same triples are available for $a$ and $a_0$, though their bounds in \eqref{eq:scalar-cost} use the actual first entry. For each triple the bound decreases as $a$ increases. Thus $H_j(a,t)\le H_j(a_0,t)$. If $3P_t>4H_j(a_0,t)^2$, discard the class. Otherwise $3a/4\le\beta\le H_j(a,t)$ gives $a\le 4H_j(a_0,t)/3$. Within these limits the checker computes the integer endpoints in Certificate~\ref{cert:ranges} and compares them with the intervals used to enumerate the blocks. \subsection{Enumeration of bounded matrices} \label{app:bounded} Certificate~\ref{cert:finite} reduces the candidate binary blocks to a finite list of ternary Gram matrices and gives a representation for each. The programs \path{audit/verify_block_coverage.py} and \path{audit/verify_representation_witnesses.py} verify the completeness of this list and the representations, respectively. The checker enumerates the blocks of $\mathcal{B}_j(a,t)$ (Section~\ref{sec:finite}) in $(b,c)$ order for each pair $(a,t)$ of Certificate~\ref{cert:ranges}. For each $b$ it takes the integers $c\ge a$ for which $ac-b^2$ lies in the corresponding determinant interval. It retains $B$ in $\mathcal{B}_j^{\circ}$ when $H_j(B,t)$ is defined and $ac-b^2\le aH_j(B,t)$. \emph{Pairs recorded for entire blocks.} The file \path{binary_block_pairs.json.gz} either gives one pair $(x,y)$ for $B$ or records that $D$ must be bounded separately for each last-column class. To check a recorded pair at $p$, range over the classes $\sigma=[G]_p$ of maximal $\Z_p$-lattices with leading block $[B]_p$. At $2$, keep the $k\bmod 4$ for which $[C]_2\in\mathcal{R}_{j,2}$. At $3$, keep the $k\bmod 3$ with $(x,y,k)^{\mathsf{T}}\bmod 3\in\mathcal{U}_{j,3}(\sigma)$. An empty set rules out the pair. Otherwise the least step is $1$ for the full set, $2$ at $p=2$ if the proper set contains an entire parity class, and the modulus ($4$ or $3$) in the other cases. Take the largest step over these matrix classes at each prime. With their product $m$ the checker verifies \eqref{eq:whole-block} for the recorded pair. The search uses the following sufficient estimate for the sum in \eqref{eq:whole-block}. \begin{lemma} \label{lem:window} Let $d$ be the product of the primes from $5$ through $47$ dividing $\Delta>0$. Let $\ell,\ell_2$ be the largest nonnegative integers with $53^\ell\le\Delta/d$ and $53^{\ell_2}\le\gcd(\Delta,\delta)$, respectively. The first inequality in \eqref{eq:whole-block} holds if \[ \sum_{p\mid d}\nu_p\lceil g/p\rceil +(\ell+\ell_2)\lceil g/53\rceil1$, provided $g\le 5$. \end{lemma} \begin{proof} The distinct primes $p\ge 53$ dividing $\Delta$ have product dividing $\Delta/d$, so there are at most $\ell$. Those with weight $2$ also divide $\gcd(\Delta,\delta)$, so at most $\ell_2$ contribute twice. In the last case all weights are $1$, at most one prime divides $d$, and $\lceil g/p\rceil=1$ for every $p\ge 5$. \end{proof} \emph{Last-column classes.} For each remaining block take $\rho=(r_1,r_2,f)\bmod 24$ with $4\nmid D$ and $G\not\equiv 0\bmod 3$. For each $\rho$ try the pairs $(x,y)$ with $B'>0$ up to simultaneous sign. They lie in the finite box $sx^2