\documentclass[11pt]{amsart} \usepackage{amssymb,amsmath,amsthm,enumerate,url} \usepackage[margin=1in]{geometry} \usepackage[unicode,hidelinks]{hyperref} \hypersetup{pdftitle={The even-sum case of the Gledel–Jäger conjecture on the metric dimension of Cartesian products of three complete graphs},pdfauthor={Peiwei Wu and Qian Peng}} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{proposition}[theorem]{Proposition} \newtheorem*{mainthm}{Main Theorem} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \newcommand{\cl}{\mathcal{C}} \newcommand{\eps}{\varnothing} \title[Metric dimension of three complete graph factors]{The even-sum case of the Gledel--J\"ager conjecture on the metric dimension of Cartesian products of three complete graphs} \author{Peiwei Wu} \author{Qian Peng} \thanks{Peiwei Wu and Qian Peng, The University of Melbourne, Melbourne, Australia. Qian Peng is the corresponding author.} \date{30 November 2026} \subjclass[2020]{05C12, 05C76} \keywords{metric dimension, resolving set, Cartesian product, Hamming graph, static black-peg Mastermind} \begin{document} \begin{abstract} Let $1\le a\le b\le c$, let $n=a+b+c$, and let $f(a,b,c)$ be the metric dimension of $K_a\square K_b\square K_c$. We prove that $f(a,b,c)\ge n/2$ whenever $n$ is even and $3a>b+c$. This settles the even-sum case of a conjecture of Gledel and J\"ager. Together with their upper bound and Jung's odd-sum lower bound, it gives $f(a,b,c)=\lfloor n/2\rfloor$ throughout $3a>b+c$, apart from the singleton graph. The proof counts questions according to how often each of their colours is used. At size $n/2-1$ only six patterns survive this count, and exchanges of colour classes rule them out. \end{abstract} \maketitle \section{Introduction} A set $W$ of vertices in a connected graph is \emph{resolving} if each vertex is determined by its distances to the vertices in $W$. The least size of such a set is the \emph{metric dimension}. Write $f(a,b,c)$ for the metric dimension of $K_a\square K_b\square K_c$, where $1\le a\le b\le c$. Gledel and J\"ager~\cite{GJ} determined $f(a,b,c)$ when $3a\le b+c$. In the remaining range they proved, apart from the singleton graph, \begin{equation}\label{eq:GJ} \Big\lfloor\frac{a+b+c}{2}\Big\rfloor-1 \;\le\; f(a,b,c)\;\le\; \Big\lfloor\frac{a+b+c}{2}\Big\rfloor \qquad (3a>b+c). \end{equation} They obtained the upper value for $(a,a,2a-1)$ with $a\ge2$, noted that it holds on the nontrivial diagonal by the work of J\"ager and Drewes~\cite{JD}, and verified the other cases with $a+b+c\le21$. They conjectured that the upper value always holds in this range. Jung~\cite{Jung} proved the lower bound $\lfloor (a+b+c)/2\rfloor$ for odd sums $a+b+c\ge5$ and verified four additional even-sum cases with sum $22$. The remaining question is whether a resolving set can have $n/2-1$ vertices when $n=a+b+c$ is even and $3a>b+c$. We prove that it cannot. \begin{theorem}[Even-sum lower bound]\label{thm:even} Let $a,b,c\ge1$ with $n=a+b+c$ even and $4\min(a,b,c)>n$. Then every resolving set of $K_a\square K_b\square K_c$ has at least $n/2$ elements. \end{theorem} \begin{mainthm}[Gledel--J\"ager conjecture] Let $1\le a\le b\le c$ with $3a>b+c$ and $(a,b,c)\ne(1,1,1)$. Then $f(a,b,c)=\lfloor(a+b+c)/2\rfloor$. \end{mainthm} For ordered triples, $4\min(a,b,c)>n$ is equivalent to $3a>b+c$. The Main Theorem follows from \eqref{eq:GJ}, Theorem~\ref{thm:even}, and the following result of Jung, whose argument is recalled in Section~\ref{sec:odd}. \begin{theorem}[Jung~\cite{Jung}]\label{thm:odd} Let $a,b,c\ge1$ with $n=a+b+c$ odd and $n\ge5$. Then every resolving set of $K_a\square K_b\square K_c$ has at least $\lfloor n/2\rfloor$ elements. \end{theorem} For instance, $f(7,8,9)=12$ and $f(2k,2k+1,2k+3)=3k+2$ for every $k\ge3$. On the boundary $3a=b+c$, Gledel and J\"ager found that $f(a,b,c)=\lfloor n/2\rfloor-1$, with the exception of $(4,6,6)$. The proof uses the black-peg Mastermind interpretation of~\cite{GJ}. A vertex of the product is a triple of colours, one for each peg. For a question $q$ and a secret $s$, the number of agreements $g(q,s)=\#\{i:q_i=s_i\}$ is three minus their graph distance. A resolving set is therefore a list of questions whose agreement vectors distinguish the secrets. If there are only $n/2-1$ questions, the colour classes on each peg must be mostly singletons and pairs. The count in Section~\ref{sec:counting} describes the exceptions. In each of the six resulting cases, the small classes either allow two different secrets with the same answers or violate the count on an individual peg. Section~\ref{sec:upper} gives a separate verification of the published upper construction by reduction to a finite catalogue. \section{Partitions and exchanges}\label{sec:exchange} Let $Q\subseteq [N_1]\times[N_2]\times[N_3]$ be a set of questions. For a peg $i$ and a colour $u\in[N_i]$ let $\cl_i(u)=\{q\in Q:q_i=u\}$, the \emph{colour class} of $u$. The nonempty colour classes of peg $i$ form a partition $\Pi_i$ of $Q$; a colour with empty class is \emph{unused}. Let $m_i=1$ if peg $i$ has an unused colour and $m_i=0$ otherwise. For $q\in Q$, $C_i(q)$ denotes the class of $q$ on peg $i$. Every secret $s$ has the answer vector $\big(g(q,s)\big)_{q\in Q}=\sum_{i=1}^3 \mathbf 1_{\cl_i(s_i)}$. For example, suppose the second peg has a colour class $\{u,v\}$, the first peg has a singleton $\{u\}$, and the third peg has a singleton $\{v\}$. If each peg also has an unused colour, one secret can select the class $\{u,v\}$ on the second peg and unused colours elsewhere. Another can select the two singleton classes and the unused colour on the second peg. Both give one agreement at $u$ and $v$ and zero elsewhere. We use \emph{exchanges} to record this equality of answers. \begin{definition} An \emph{exchange} consists of a nonempty set $I\subseteq\{1,2,3\}$ of pegs and, for $i\in I$, two different sets $A_i\neq B_i$, each a class of $\Pi_i$ or the empty set (the latter allowed only if $m_i=1$), such that the $A_i$ ($i\in I$) are pairwise disjoint, the $B_i$ ($i\in I$) are pairwise disjoint, and $\bigcup_{i\in I}A_i=\bigcup_{i\in I}B_i$. \end{definition} \begin{lemma}[exchange lemma]\label{lem:exchange} $Q$ is resolving if and only if each peg has at most one unused colour and there is no exchange. \end{lemma} \begin{proof} Two unused colours on one peg give distinct secrets with identical answers by keeping the other two coordinates fixed. Given an exchange, let $s,s'$ be secrets with $\cl_i(s_i)=A_i$, $\cl_i(s'_i)=B_i$ for $i\in I$ (an unused colour where the set is empty) and $s_i=s'_i$ for $i\notin I$. Then $s\ne s'$ and the answer vectors agree, because $\sum_{i\in I}\mathbf1_{A_i}=\mathbf 1_{\bigcup A_i}=\mathbf 1_{\bigcup B_i}=\sum_{i\in I}\mathbf1_{B_i}$. Conversely, suppose that each peg has at most one unused colour. Let $s\ne s'$ have the same answers and let $I=\{i:s_i\neq s'_i\}$, $A_i=\cl_i(s_i)$, $B_i=\cl_i(s'_i)$. Two different colours of one peg have disjoint classes, so $A_i\cap B_i=\eps$. They cannot both be empty because at most one colour per peg is unused, so $A_i\ne B_i$. Fix $q\in Q$ and let $L=\{i\in I:q\in A_i\}$, $R=\{i\in I:q\in B_i\}$. Then $L\cap R=\eps$ and, by equality of the answers, $|L|=|R|$; as $|I|\le3$ this forces $|L|=|R|\le1$. Hence the $A_i$ are pairwise disjoint, the $B_i$ are pairwise disjoint, and $q\in\bigcup A_i\iff q\in\bigcup B_i$. \end{proof} \begin{remark}\label{rem:weak} The first half of the proof uses only $\sum_{i\in I}\mathbf 1_{A_i}=\sum_{i\in I}\mathbf 1_{B_i}$. Hence any family of sets $A_i\ne B_i$ ($i\in I$), each a class of $\Pi_i$ or empty (empty only if $m_i=1$), with this property shows that $Q$ is not resolving, whether or not the $A_i$ (or the $B_i$) are disjoint; we call such families exchanges as well. To check an exchange it suffices to see that every question lies in as many $A$-sets as $B$-sets. \end{remark} For a resolving set the indicators $m_i\in\{0,1\}$ therefore count the unused colours exactly. The numbers $N_i=|\Pi_i|+m_i$ are recovered from the partitions. \section{Local obstructions and counting}\label{sec:counting} We say that $q$ is \emph{alone on peg $i$} if $C_i(q)=\{q\}$, and write $S(q)$ for the set of pegs on which $q$ is alone. A \emph{coincidence} of the pegs $i\ne j$ is a set that is a class of both $\Pi_i$ and $\Pi_j$; for example $\{q\}$ if $S(q)\supseteq\{i,j\}$, or $\{q,r\}$ if $q$ and $r$ share their colours on both pegs $i$ and $j$. \begin{lemma}\label{lem:basic} Let $Q$ be resolving. \begin{enumerate}[(a)] \item No peg has two unused colours. \item For $i\neq j$ there is at most one coincidence of $i$ and $j$, and none if $m_i=m_j=1$. In particular at most one question $q$ has $S(q)\supseteq\{i,j\}$. \item There are no three distinct questions $q_{12},q_{13},q_{23}$ with $S(q_{ij})\supseteq\{i,j\}$. \item If $m_i=m_j=1$ and $\{i,j,k\}=\{1,2,3\}$, there are no two questions $q\neq r$ with $S(q)\supseteq\{i,k\}$ and $S(r)\supseteq\{j,k\}$. \end{enumerate} \end{lemma} \begin{proof} (a) Two secrets differing only in two unused colours of one peg. (b) Two coincidences $C\ne C'$ give the exchange $A_i=C$, $A_j=C'$, $B_i=C'$, $B_j=C$; a coincidence $C$ with $m_i=m_j=1$ gives $A_i=C$, $A_j=\eps$, $B_i=\eps$, $B_j=C$. (c) $A_1=\{q_{12}\}$, $A_2=\{q_{23}\}$, $A_3=\{q_{13}\}$, $B_1=\{q_{13}\}$, $B_2=\{q_{12}\}$, $B_3=\{q_{23}\}$. (d) $A_i=\{q\}$, $A_j=\eps$, $A_k=\{r\}$, $B_i=\eps$, $B_j=\{r\}$, $B_k=\{q\}$. \end{proof} Parts (a)--(d) are Lemma~3.1(a)--(e) of \cite{GJ} (taken from \cite{JD}); the exchange proofs are included for completeness. \smallskip We now count how far the classes are from pairs. Write $q=|Q|$, let $x_i$ count the colours used exactly once on peg $i$, and put $e_i=\sum_{C\in\Pi_i}\max(|C|-2,0)$. Thus a singleton removes one occurrence relative to a pair, and $e_i$ counts the occurrences in larger classes beyond the first two. Put $M=m_1+m_2+m_3$, $X=x_1+x_2+x_3$, $E=e_1+e_2+e_3$, and let $t_j$ be the number of questions $q$ with $|S(q)|=j$. Counting the questions peg by peg, $q=x_i+\sum_{|C|\ge2}|C|=x_i+2(N_i-m_i-x_i)+e_i$, i.e. \begin{equation}\label{eq:peg} 2N_i=q+2m_i+x_i-e_i\qquad(i=1,2,3), \end{equation} and counting singleton classes by questions, $X=\sum_{q\in Q}|S(q)|=q-t_0+t_2+2t_3$. Summing \eqref{eq:peg}, \begin{equation}\label{eq:count} 2n=4q+2M-E-t_0+t_2+2t_3 . \end{equation} Each question with $|S|=2$ covers one pair of pegs and one with $|S|=3$ covers three; by Lemma~\ref{lem:basic}(b) every pair is covered at most once, so $t_2+2t_3\le 3$, and $t_2+2t_3\le2$ by (c). If $M=2$, say $m_i=m_j=1$, then (b) and (d) give $t_3=0$ and $t_2\le1$; if $M=3$ then $t_2=t_3=0$. \section{The odd case}\label{sec:odd} \begin{lemma}[pure lemma]\label{lem:pure} Let $Q$ be resolving, with $m_1=m_2=m_3=1$, every class of size at most $2$, and $|S(q)|=1$ for every $q\in Q$. Then $Q=\eps$. \end{lemma} \begin{proof} Write $\alpha$ for the empty set on any peg (allowed, as all $m_i=1$). Suppose $q_0\in Q$ and let $S(q_0)=\{i\}$ and $\{i,j,k\}=\{1,2,3\}$. Then $C_j(q_0)=\{q_0,r\}$ for some $r\ne q_0$, and $r$ is alone on $i$ or on $k$ (not on $j$). If $r$ is alone on $k$: $A_j=\{q_0,r\}$, $A_i=A_k=\alpha$, $B_i=\{q_0\}$, $B_k=\{r\}$, $B_j=\alpha$ is an exchange. If $r$ is alone on $i$, then $C_k(r)=\{r,p\}$ with $p\ne r$. If $p=q_0$, then $\{q_0,r\}$ is a coincidence of $j$ and $k$, excluded by Lemma~\ref{lem:basic}(b). Otherwise $p$ is alone on $i$ or on $j$. If $p$ is alone on $j$: $A_k=\{r,p\}$, $B_i=\{r\}$, $B_j=\{p\}$ (other sets empty). If $p$ is alone on $i$: $A_i=\{q_0\}$, $A_k=\{r,p\}$, $A_j=\alpha$, $B_i=\{p\}$, $B_j=\{q_0,r\}$, $B_k=\alpha$. In every case there is an exchange, a contradiction. \end{proof} \begin{proof}[Proof of Theorem~\ref{thm:odd}] Let $Q$ be resolving with $q=|Q|\le\lfloor n/2\rfloor-1=(n-3)/2$, so $2n-4q\ge6$. By \eqref{eq:count}, $2M+t_2+2t_3=2n-4q+E+t_0\ge6$. By the bounds after \eqref{eq:count}, $2M+t_2+2t_3\le 5$ unless $M=3$; hence $M=3$, $t_2=t_3=0$, and then $E=t_0=0$ and $4q=2n-6$. So every class has size at most $2$ and $|S(q)|=1$ for all $q$, and Lemma~\ref{lem:pure} gives $Q=\eps$, whence $n=3$, contrary to $n\ge5$. \end{proof} \section{The even case}\label{sec:even} In the odd case the counting inequality is tight and forces every nonempty class to be a singleton or a pair. In the even case the identity still forces a resolving set below the upper bound to have exactly $n/2-1$ questions. There is now room for a few exceptions. We record their possible forms and then use \eqref{eq:peg} to control each peg separately. Let $n$ be even, $4N_i>n$ for all $i$, and suppose $Q$ is resolving with $q=|Q|\le n/2-1$. As $n$ is even, $4$ divides $2n-4q$; by \eqref{eq:count} and the bounds after it, $4\le 2n-4q=2M+t_2+2t_3-E-t_0\le 6$. Hence $n=2q+2$ and \begin{equation}\label{eq:even} 2M+t_2+2t_3=4+E+t_0 . \end{equation} By \eqref{eq:peg}, $4N_i-n=2(2m_i+x_i-e_i-1)$, so the hypothesis becomes \begin{equation}\label{eq:range} w_i:=2m_i+x_i-e_i\ \ge\ 2\qquad(i=1,2,3). \end{equation} From \eqref{eq:even} and the bounds after \eqref{eq:count} we obtain six cases (up to permuting the pegs; \eqref{eq:range} is symmetric): \smallskip \begin{tabular}{lll} (M3) & $m=(1,1,1)$, & $t_2=t_3=0$, $E+t_0=2$;\\ (M2p) & $m=(1,1,0)$, & $t_0=t_2=t_3=E=0$;\\ (M2a) & $m=(1,1,0)$, & $t_2=t_0=1$, $t_3=E=0$;\\ (M2b) & $m=(1,1,0)$, & $t_2=E=1$, $t_3=t_0=0$;\\ (M1i) & $m=(1,0,0)$, & $t_3=1$, $t_2=t_0=E=0$;\\ (M1ii) & $m=(1,0,0)$, & $t_2=2$, $t_3=t_0=E=0$. \end{tabular} \smallskip \noindent ($M=0$ is impossible since $t_2+2t_3\le2<4$.) We show that each case contradicts resolvability or \eqref{eq:range}. \emph{Conventions.} $C_p(x)$ is the class of $x$ on peg $p$; if $C_p(x)=\{x,w\}$, then $w$ is the \emph{partner} of $x$ on $p$. A question alone on exactly one peg $t$ is \emph{of type $t$}. In every case except (M3) at most two questions have no type, and $E=0$ means that all classes have size at most $2$. We use freely that a question in a class of size at least $2$ on peg $p$ is not alone on $p$, and that two classes of the same peg are equal or disjoint. All exchanges below are checked as in Remark~\ref{rem:weak}. \subsection{Four exchange patterns} The following lemmas show how pairs and singletons on different pegs can produce equal response vectors. An empty class in a displayed exchange represents an unused colour on that peg. \begin{lemma}[mixed classes]\label{lem:mixed} Let $\{i,j,k\}=\{1,2,3\}$. If $Q$ is resolving, there are no two distinct two-element classes $\{u_1,u_2\}$ and $\{v_1,v_2\}$ of peg $k$ with $u_1,v_1$ alone on $i$ and $u_2,v_2$ alone on $j$. \end{lemma} \begin{proof} $A_k=\{u_1,u_2\}$, $A_i=\{v_1\}$, $A_j=\{v_2\}$, $B_k=\{v_1,v_2\}$, $B_i=\{u_1\}$, $B_j=\{u_2\}$. \end{proof} \begin{lemma}[three in a row]\label{lem:three} Let $\{t,l,l'\}=\{1,2,3\}$, let $c_1\ne c_3$ be alone on $t$, and let $c_2\notin\{c_1,c_3\}$ satisfy $C_l(c_2)=\{c_1,c_2\}$ and $C_{l'}(c_2)=\{c_2,c_3\}$. If $m_l=m_{l'}=1$, or if some question $y$ is alone on both $l$ and $l'$, then $Q$ is not resolving. \end{lemma} \begin{proof} $A_t=\{c_1\}$, $A_{l'}=\{c_2,c_3\}$, $A_l=X$, $B_t=\{c_3\}$, $B_l=\{c_1,c_2\}$, $B_{l'}=X$, where $X=\eps$ in the first case and $X=\{y\}$ in the second ($y\notin\{c_1,c_2,c_3\}$). \end{proof} \begin{lemma}[coincidence and mixed class]\label{lem:mixcoin} Let $\{i,j,k\}=\{1,2,3\}$, let $y$ be alone on $i$ and on $k$, and let $m_j=1$. If $Q$ is resolving, then no two-element class $\{c,d\}$ of peg $k$ has $c$ alone on $i$ and $d$ alone on $j$, and no class $\{c,d\}$ of peg $i$ has $c$ alone on $k$ and $d$ alone on $j$. \end{lemma} \begin{proof} For the first claim, $A_i=\{y\}$, $A_j=\eps$, $A_k=\{c,d\}$, $B_i=\{c\}$, $B_j=\{d\}$, $B_k=\{y\}$. The second claim is the first one with $i$ and $k$ exchanged. \end{proof} \begin{lemma}[splitting]\label{lem:split} Suppose that $Q$ is resolving, $m_1=m_2=m_3=1$ and $\{t,l,l'\}=\{1,2,3\}$. No class of peg $l$ is the disjoint union of a class of $l'$ and a class of $t$. In particular, there is no class $\{v,w\}$ of $l$ with $v$ alone on $t$ and $w$ alone on $l'$, and no class $\{u,v,w\}$ of $l$ such that $\{u,v\}$ is a class of $l'$ and $w$ is alone on $t$. \end{lemma} \begin{proof} If $C=C'\sqcup C''$ with classes $C,C',C''$ of $l,l',t$, then $A_l=C$, $B_{l'}=C'$, $B_t=C''$ (all other sets empty) is an exchange. \end{proof} We also use Lemma~\ref{lem:basic}(b): two pegs have at most one coincidence, and none if both have unused colours. For instance, if $y$ is alone on $l$ and $l'$, no pair $\{u,v\}$ is a class of both $l$ and $l'$. \subsection{Case (M2p)} Here $m=(1,1,0)$; let $i,j$ be the pegs with $m=1$ and $k$ the third one. Every question has a type and $E=0$. By \eqref{eq:range}, $x_k\ge2$: there are two questions $p\ne p'$ of type $k$. \emph{Claim: if $p$ is of type $k$, its partner $r$ on $i$ is of type $j$.} Otherwise $r$ is of type $k$. Let $s$ be the partner of $r$ on $j$. Then $s\ne p$, since $\{p,r\}$ would be a coincidence of $i,j$; $s$ is not of type $k$ by Lemma~\ref{lem:three} for $p,r,s$; so $s$ is of type $i$. Let $r'$ be the partner of $p$ on $j$. If $r'$ is of type $k$, then $r'\ne r$ and $r,p,r'$ contradict Lemma~\ref{lem:three}. So $r'$ is of type $i$, and $\{p,r'\}$, $\{r,s\}$ are different classes of $j$ (as $r\notin\{p,r'\}$), contradicting Lemma~\ref{lem:mixed}. By the claim, the partners $r,r''$ of $p,p'$ on $i$ are of type $j$, and the different classes $\{p,r\}$, $\{p',r''\}$ of $i$ contradict Lemma~\ref{lem:mixed}. \subsection{Case (M1i)} Here $m=(1,0,0)$, say $m_i=1$; a question $z$ is alone on all three pegs, every other question has a type, and $E=0$. By \eqref{eq:range}, $x_j\ge2$, so some $b\ne z$ is of type $j$. \emph{Claim: if $v\ne z$ is of type $t$ and $w$ is its partner on $l$, then $w$ is of type $l'$, where $\{t,l,l'\}=\{1,2,3\}$.} Clearly $w\ne z$. Suppose that $w$ is of type $t$, and let $x$ be its partner on $l'$. Then $x\ne v$ ($\{v,w\}$ and $\{z\}$ would be two coincidences of $l,l'$), $x\ne z$, and $x$ is not of type $t$ (Lemma~\ref{lem:three} with $y=z$, for $v,w,x$); so $x$ is of type $l$. Let $y'$ be the partner of $v$ on $l'$. If $y'$ is of type $t$, then $y'\ne w$ (again two coincidences) and $w,v,y'$ contradict Lemma~\ref{lem:three}. Otherwise $y'$ is of type $l$, and $\{v,y'\}$, $\{w,x\}$ are different classes of $l'$ contradicting Lemma~\ref{lem:mixed}. Let $c$ and $a$ be the partners of $b$ on $i$ and on $k$; by the claim, $c$ is of type $k$ and $a$ of type $i$. Let $w$ be the partner of $a$ on $j$ and $a_2$ that of $c$ on $j$; by the claim, $w$ is of type $k$ and $a_2$ of type $i$. If $w\ne c$, the classes $\{a,w\}$ and $\{a_2,c\}$ of $j$ are different and contradict Lemma~\ref{lem:mixed}. Hence $C_i(b)=\{b,c\}$, $C_j(a)=\{a,c\}$ and $C_k(a)=\{a,b\}$, and $A_i=\{a\}$, $A_j=\{z\}$, $A_k=\{c\}$, $B_i=\eps$, $B_j=\{a,c\}$, $B_k=\{z\}$ is an exchange. \subsection{Case (M1ii)} Here $m=(1,0,0)$; two questions $y,y'$ are alone on two pegs each, every other question has a type, and $E=0$. By Lemma~\ref{lem:basic}(b) they cover different pairs: $S(y)=\{k',k''\}$ and $S(y')=\{k,k''\}$ with $\{k,k',k''\}=\{1,2,3\}$. As $t_3=0$, $y$ is not alone on $k$ and $y'$ is not alone on $k'$. The sets $\{y\}$ and $\{y'\}$ are coincidences of $k',k''$ and of $k,k''$. \emph{Claim: if $u$ is of type $k'$, then $C_k(u)=\{u,y\}$, and the partner of $u$ on $k''$ is of type $k$.} Let $w$ be the partner of $u$ on $k$ (so $w\ne y'$) and suppose $w\ne y$. If $w$ is of type $k''$, then $\{u,w\}$ and $C_k(y)=\{y,u_0\}$, where $u_0$ is of type $k'$ or $k''$, are different classes of $k$, each consisting of a question alone on $k'$ and one alone on $k''$; this contradicts Lemma~\ref{lem:mixed}. If $w$ is of type $k'$, let $x$ be its partner on $k''$; then $x\ne u$ (two coincidences of $k,k''$), $x\notin\{y,y'\}$, and $x$ is not of type $k'$ (Lemma~\ref{lem:three} with $y'$, for $u,w,x$), so $x$ is of type $k$. The partner $x'$ of $u$ on $k''$ is not of type $k'$ (Lemma~\ref{lem:three} for $w,u,x'$), so it is of type $k$, and $\{u,x'\}$, $\{w,x\}$ are different classes of $k''$ contradicting Lemma~\ref{lem:mixed}. Hence $w=y$. Finally, if the partner $x'$ of $u$ on $k''$ were of type $k'$, then also $C_k(x')=\{x',y\}$, and $C_k(y)$ would contain $y,u,x'$. By symmetry ($k\leftrightarrow k'$, $y\leftrightarrow y'$), a question $v$ of type $k$ has $C_{k'}(v)=\{v,y'\}$, and its partner on $k''$ is of type $k'$. Let $i$ be the peg with $m_i=1$. The other two pegs $p$ satisfy $x_p\ge2$ by \eqref{eq:range}. \begin{itemize} \item $i=k''$. As $x_{k'}\ge2$, some $u\ne y$ is alone on $k'$, i.e.\ of type $k'$; let $v$ be its partner on $k''$. By the claims, $C_k(u)=\{u,y\}$, $v$ is of type $k$, and $C_{k'}(v)=\{v,y'\}$. Exchange: $A_{k''}=\{u,v\}$, $A_k=\{y'\}$, $A_{k'}=\{y\}$, $B_{k''}=\eps$, $B_k=\{y,u\}$, $B_{k'}=\{v,y'\}$. \item $i=k$. Again $x_{k'}\ge2$ gives $u$ of type $k'$ and its partner $v$ on $k''$, with $C_{k'}(v)=\{v,y'\}$. Exchange: $A_k=\{v\}$, $A_{k'}=\{y\}$, $A_{k''}=\{y'\}$, $B_k=\eps$, $B_{k'}=\{v,y'\}$, $B_{k''}=\{y\}$. \item $i=k'$. This is the previous case with $k\leftrightarrow k'$ and $y\leftrightarrow y'$. \end{itemize} \subsection{Case (M2a)} Here $m_i=m_j=1$ and $m_k=0$; one question $y$ is alone on two pegs, one question $z$ is alone on no peg, every other question has a type, and $E=0$. By Lemma~\ref{lem:basic}(b), $S(y)\ne\{i,j\}$; after renaming $i,j$ we have $S(y)=\{i,k\}$. Condition \eqref{eq:range} is not needed here. (a) \emph{No question is of type $j$.} Let $v$ be of type $j$, with partners $w_1$ on $i$ and $w_2$ on $k$. By Lemma~\ref{lem:mixcoin}, each $w_\nu$ is $z$ or of type $j$. If $w_1=w_2=z$, then $\{v,z\}$ and $\{y\}$ are two coincidences of $i,k$. If both are of type $j$, they are different (same reason) and $w_1,v,w_2$ contradict Lemma~\ref{lem:three} (with $y$). If $w_1=z$ and $w_2$ is of type $j$, the partner $w_3$ of $w_2$ on $i$ is not $z$ (as $C_i(z)=\{z,v\}$), so it is of type $j$; moreover $w_3\ne v$, and $v,w_2,w_3$ contradict Lemma~\ref{lem:three}. The case $w_2=z$ is symmetric. (b) Let $p$ be the partner of $z$ on $i$. By (a), $p$ is of type $k$. Let $w$ be the partner of $p$ on $j$. Then $w\ne z$ (else $\{z,p\}$ is a coincidence of $i,j$), and $w=y$ or $w$ is of type $i$: if $w$ were of type $k$, its partner $w'$ on $i$ would be of type $k$ by (a) (note $w'\ne z$, as $C_i(z)=\{z,p\}$, and $w'\ne p$), and $p,w,w'$ would contradict Lemma~\ref{lem:three}. (c) Let $c$ be the partner of $z$ on $j$; $c\ne p$ by Lemma~\ref{lem:basic}(b). \begin{itemize} \item $c=y$. Exchange: $A_i=\{z,p\}$, $A_j=\eps$, $A_k=\{y\}$, $B_i=\eps$, $B_j=\{y,z\}$, $B_k=\{p\}$. \item $c$ of type $i$. Let $d$ be its partner on $k$; by (a), $d=z$ or $d$ is of type $i$. If $d$ is of type $i$: $A_i=\{d\}$, $A_j=\{z,c\}$, $A_k=\{p\}$, $B_i=\{z,p\}$, $B_j=\eps$, $B_k=\{c,d\}$. If $d=z$, then $w=y$: otherwise $w$ is of type $i$, and $\{p,w\}$ and $C_j(y)=\{y,u\}$, where $u\ne z$ (as $C_j(z)=\{z,c\}$) is of type $i$ or $k$, are different classes of $j$ contradicting Lemma~\ref{lem:mixed}. Then $A_i=\{y\}$, $A_j=\{z,c\}$, $A_k=\{p\}$, $B_i=\eps$, $B_j=\{y,p\}$, $B_k=\{z,c\}$ is an exchange. \item $c$ of type $k$. Let $w''$ be its partner on $i$; it is of type $k$ by (a), since $w''\ne z$ (as $C_i(z)=\{z,p\}$); also $w''\ne p$. Let $x$ be the partner of $w''$ on $j$. Then $x\ne z$ (as $C_j(z)=\{z,c\}$) and $x$ is not of type $j$. If $x$ is of type $k$, then $x\ne c$ (two coincidences are impossible) and $c,w'',x$ contradict Lemma~\ref{lem:three}. If $x=y$ or $x$ is of type $i$, then $\{w'',x\}$ and $\{p,w\}$ are two different classes of $j$ (as $w''\notin\{p,w\}$), each consisting of a question alone on $k$ and one alone on $i$, contradicting Lemma~\ref{lem:mixed}. \end{itemize} \subsection{Case (M2b)} Here $m_i=m_j=1$ and $m_k=0$; again $y$ is the only question alone on two pegs and $S(y)=\{i,k\}$; there is exactly one class $T$ of size $3$, say on peg $L$, all other classes have size at most $2$, and every question other than $y$ has a type. By \eqref{eq:range}, $x_k\ge 2+e_k$, $x_i\ge e_i$ and $x_j\ge e_j$. (a) \emph{If all classes of $j$ have size at most $2$, no question $p\ne y$ of type $k$ has a class of size $2$ on $i$.} Let $r$ be the partner of $p$ on $i$; it is of type $k$ by Lemma~\ref{lem:mixcoin}. Let $s$ be the partner of $r$ on $j$; $s\ne p$ (coincidence of $i,j$) and $s$ is not of type $k$ (Lemma~\ref{lem:three} for $p,r,s$), so $s$ is alone on $i$. The partner $r'$ of $p$ on $j$ is not of type $k$ (Lemma~\ref{lem:three} for $r,p,r'$), so it is alone on $i$ as well. Now $\{p,r'\}$ and $\{r,s\}$ are different classes of $j$, contradicting Lemma~\ref{lem:mixed}. \emph{$L=k$.} By \eqref{eq:range} some $p\ne y$ is alone on $k$; this contradicts (a). \emph{$L=j$.} By \eqref{eq:range} some $v$ is alone on $j$. Its partners on $i$ and on $k$ are alone on $j$ by Lemma~\ref{lem:mixcoin}, they are different (coincidence of $i,k$), and they contradict Lemma~\ref{lem:three} (with $y$). \emph{$L=i$.} By \eqref{eq:range} some $p\ne y$ is of type $k$, and $p\in T$ by (a). Write $T=\{p,b,c\}$; $b$ and $c$ are of type $j$ or $k$. (b) \emph{The partner on $j$ of a member $m\in T$ of type $k$ is $y$ or a member of $T$ of type $k$.} If it is of type $i$, then it and $C_j(y)$ give two different classes of $j$ contradicting Lemma~\ref{lem:mixed}; if it is of type $k$ and not in $T$, it contradicts (a). (c) \emph{The partner $w$ on $k$ of a member $m\in T$ of type $j$ is a member of $T$ of type $j$.} It is of type $j$ by Lemma~\ref{lem:mixcoin}. If $w\notin T$, its partner $w''$ on $i$ is of type $j$ (Lemma~\ref{lem:mixcoin}), $w''\ne m$, and $m,w,w''$ contradict Lemma~\ref{lem:three} (with $y$). If exactly one of $b,c$ is of type $j$, its partner on $k$ contradicts (c). If both are of type $j$, then $C_k(b)=\{b,c\}$ by (c) and $C_j(p)=\{p,y\}$ by (b), and $A_i=T$, $A_j=\eps$, $A_k=\{y\}$, $B_i=\eps$, $B_j=\{y,p\}$, $B_k=\{b,c\}$ is an exchange. If both are of type $k$, the partners on $j$ of $p,b,c$ lie in $\{y\}\cup T$ by (b); as $y$ has only one partner, two members $u,v$ of $T$ form a class of $j$. With $T=\{u,v,w\}$, $A_i=T$, $A_j=\eps$, $A_k=\{y\}$, $B_i=\{y\}$, $B_j=\{u,v\}$, $B_k=\{w\}$ is an exchange. \subsection{Case (M3)} Here $m_1=m_2=m_3=1$, no question is alone on two pegs, $E+t_0=2$, and \eqref{eq:range} reads $x_p\ge e_p$. There are no coincidences, Lemma~\ref{lem:three} holds with $X=\eps$, and Lemma~\ref{lem:split} gives: ($*$) \emph{if $x$ is of type $t$ and $C_l(x)=\{x,w\}$, then $w$ is not of type $l'$}, where $\{t,l,l'\}=\{1,2,3\}$. \emph{$(t_0,E)=(1,1)$.} Let $z$ be the question alone on no peg and $T$ the class of size $3$, on peg $L$. By \eqref{eq:range} some $v$ is alone on $L$; its classes on the other two pegs $l,l'$ are pairs $\{v,w_1\}$, $\{v,w_2\}$, and by ($*$) each $w_\nu$ is $z$ or of type $L$. If $w_1=w_2=z$, then $\{v,z\}$ is a coincidence. If both are of type $L$, they are different and contradict Lemma~\ref{lem:three}. If $w_1=z$ and $w_2$ is of type $L$, the partner $w_3$ of $w_2$ on $l$ is not $z$ (as $C_l(z)=\{z,v\}$), so it is of type $L$ by ($*$); $w_3\ne v$, and $v,w_2,w_3$ contradict Lemma~\ref{lem:three}. The case $w_2=z$ is symmetric. \emph{$(t_0,E)=(0,2)$.} Every question has a type, and every question lies in a class of size at least $3$: otherwise its two partners have its own type by ($*$), are different, and contradict Lemma~\ref{lem:three}. If a class of size $4$, or two classes of size $3$, lie on one peg $p$, then $e_p=2$, but no question is alone on $p$ (every question lies in a big class, and all big classes lie on $p$), contrary to $x_p\ge e_p$. Hence there are exactly two classes $T_1,T_2$ of size at least $3$, both of size $3$, on different pegs $p_1,p_2$; let $p_3$ be the third peg. By $x_{p_1}\ge1$ some $a$ is alone on $p_1$, so $a\in T_2$; by $x_{p_2}\ge1$ some $b$ is alone on $p_2$, so $b\in T_1$. The partner $w$ of $b$ on $p_3$ is of type $p_2$ by ($*$), hence lies in $T_1$; write $T_1=\{b,w,m\}$. By Lemma~\ref{lem:split}, $m$ is not alone on $p_2$, so it is of type $p_3$. Likewise, the partner $a'$ of $a$ on $p_3$ is of type $p_1$, and $T_2=\{a,a',m'\}$ with $m'$ of type $p_3$. If $m\notin T_2$, its partner on $p_2$ lies in a big class other than $T_2$, i.e.\ in $T_1$, so it is $b$ or $w$; but these are alone on $p_2$. Hence $m\in T_2$, $m=m'$, and $A_{p_1}=T_1$, $A_{p_3}=\{a,a'\}$, $B_{p_2}=T_2$, $B_{p_3}=\{b,w\}$ (other sets empty) is an exchange. \emph{$(t_0,E)=(2,0)$.} Let $z\ne z'$ be the questions alone on no peg; all classes have size at most $2$ and all other questions have a type. By ($*$), the partner on $l$ of a question of type $t$ is $z$, $z'$ or of type $t$. Let $a_p$ be the partner of $z$ on peg $p$; the $a_p$ are distinct (no coincidences). By Lemma~\ref{lem:three} with middle question $z$: ($**$) \emph{no two of the $a_p$, on pegs $p\ne q$, are both alone on the third peg.} \emph{Some $a_P=z'$.} Let $Q_1,Q_2$ be the other two pegs. Then $a_{Q_1}$ is alone on $P$ or $Q_2$, $a_{Q_2}$ is alone on $P$ or $Q_1$, and not both are alone on $P$ by ($**$). Since $C_P(z)=C_P(z')=\{z,z'\}$, the partner on $P$ of any other question is neither $z$ nor $z'$. \begin{itemize} \item $a_{Q_1}$ of type $Q_2$, $a_{Q_2}$ of type $Q_1$. The partner $w$ of $a_{Q_2}$ on $P$ is of type $Q_1$. Its partner $c$ on $Q_2$ is not $z$ (as $C_{Q_2}(z)=\{z,a_{Q_2}\}$) and not of type $Q_1$ (Lemma~\ref{lem:three} for $a_{Q_2},w,c$), so $c=z'$. Exchange: $A_P=\{z,z'\}$, $A_{Q_1}=\{w\}$, $A_{Q_2}=\{a_{Q_1}\}$, $B_P=\eps$, $B_{Q_1}=\{z,a_{Q_1}\}$, $B_{Q_2}=\{z',w\}$. \item $a_{Q_1}$ of type $Q_2$, $a_{Q_2}$ of type $P$. The partner $b'$ of $a_{Q_1}$ on $P$ is of type $Q_2$. Exchange: $A_{Q_2}=\{z,a_{Q_2}\}$, $A_P=\{a_{Q_1},b'\}$, $A_{Q_1}=\eps$, $B_{Q_2}=\{b'\}$, $B_P=\{a_{Q_2}\}$, $B_{Q_1}=\{z,a_{Q_1}\}$. \item $a_{Q_1}$ of type $P$, $a_{Q_2}$ of type $Q_1$: the previous case with $Q_1\leftrightarrow Q_2$. \end{itemize} \emph{No $a_p$ equals $z'$.} Then $a_p$ is of type $\sigma(p)\ne p$, and $\sigma$ is a cyclic permutation of the pegs by ($**$). Let $b_p$ be the partner of $a_p$ on the peg $\sigma^2(p)$; then $b_p\ne z$ (no coincidences), so $b_p=z'$ or $b_p$ is of type $\sigma(p)$. If some $b_q$ is of type $\sigma(q)$, the second exchange above, with the pegs $(Q_2,P,Q_1)$ replaced by $(\sigma(q),\sigma^2(q),q)$, applies: $A_{\sigma(q)}=\{z,a_{\sigma(q)}\}$, $A_{\sigma^2(q)}=\{a_q,b_q\}$, $B_{\sigma(q)}=\{b_q\}$, $B_{\sigma^2(q)}=\{a_{\sigma(q)}\}$, $B_q=\{z,a_q\}$. Otherwise $C_{\sigma^2(p)}(a_p)=\{a_p,z'\}$ for every $p$, and for $\sigma=(1\,2\,3)$ the sets $A_1=\{z,a_1\}$, $A_2=\{z',a_3\}$, $A_3=\{a_2\}$, $B_1=\{z',a_2\}$, $B_2=\{a_1\}$, $B_3=\{z,a_3\}$ form an exchange (symmetrically for $\sigma=(1\,3\,2)$). This completes the proof of Theorem~\ref{thm:even}, and with it of the Main Theorem. \qed \section{Triples below half the sum} We now combine the Main Theorem with Gledel and J\"ager's formulas on and beyond $b+c=3a$. This identifies every triple whose metric dimension lies below $\lfloor(a+b+c)/2\rfloor$. \begin{corollary}\label{cor:deficit} Let $1\le a\le b\le c$. Then $f(a,b,c)<\lfloor(a+b+c)/2\rfloor$ exactly in the following cases: \begin{enumerate}[(i)] \item $(a,b,c)=(1,1,1)$; \item $b+c=3a$ and $(a,b,c)\ne(4,6,6)$; \item $b+c=3a+2$ and $c<2b$. \end{enumerate} In each case the deficit is one. \end{corollary} \begin{proof} In the strict balanced range apply the Main Theorem, with the singleton treated separately. At $b+c=3a$ the assertion is the boundary formula of Gledel and J\"ager~\cite[Table~1]{GJ}. Now suppose that $b+c>3a$. If $c\ge 2b$ then $c\ge a+b$, and equality would force $a=b$ and $c=2a$, contrary to $b+c>3a$. Thus $c\ge a+b+1$, so their formula $f=c-1$ gives $f\ge\lfloor(a+b+c)/2\rfloor$. If $c<2b$, set $h=b+c-3a\ge1$. By their other formula the difference from the threshold is \[ f-\lfloor(a+b+c)/2\rfloor =\lfloor 2(h-1)/3\rfloor-\lfloor h/2\rfloor. \] For $h=1,2,3$ this equals $0,-1,0$, respectively. For $h\ge4$, we have $2(h-1)/3\ge h/2$, so the difference is nonnegative. \end{proof} \section{A finite verification of the published upper construction}\label{sec:upper} Gledel and J\"ager's upper bound~\cite[Theorem~14]{GJ} already suffices for the Main Theorem. We verify their construction by a different argument that also covers the boundary $3a=b+c$. The rows in the construction form blocks of unbounded length, but a hypothetical collision uses at most three colours on each side. Consequently, a long block contains consecutive rows that neither secret matches. Deleting such a pair leaves a collision in a smaller board of the same form. Write $\delta=n\bmod 2$, $q=\lfloor n/2\rfloor$ and put \[ x=2a-q,\qquad y=2b-q,\qquad z=2(c-\delta)-q. \] Then $q=x+y+z$, the three parameters have the same parity, and $x\le y\le z+2\delta$, $2x\ge\delta$. They are nonnegative except for the singleton board: if $z<0$ then $\delta=1$, $c=a=b$ and $z=(a-3)/2<0$. The inverse formulas are $a=(q+x)/2$, $b=(q+y)/2$, $c=(q+z)/2+\delta$. We describe the published lists up to a renaming of colours. Rows of a homogeneous block form an even cycle. One peg has a distinct singleton colour on each row. On the other two pegs, doubleton colour classes are pairs of consecutive rows, alternating between the two pegs. A block of length two uses the same pair of rows on two different pegs; blocks of length zero are omitted. When $x,y,z$ are even, the three homogeneous blocks have lengths $x,y,z$ and the singleton peg is, respectively, the first, second and third. When $x,y,z$ are odd, the first two homogeneous blocks have lengths $x-1$ and $y-1$. The last block is a cycle with singleton pegs $A,B,C,\ldots,C$ in cyclic order, with $z$ rows of type $C$. Here $A,B,C$ denote pegs $1,2,3$. The edge $AB$ is a third-peg doubleton. The path from $B$ through all the $C$ rows back to $A$ alternates first- and second-peg doubletons, starting on the first peg. Across blocks the colours on each peg are disjoint. There are $\delta$ unused third-peg colours. For $(4,4,4)$ and $(4,4,5)$ we use the six special rows of~\cite[Table~3(a)]{GJ}. \begin{proposition} If any list in this family fails to resolve its board, then one fails with $\max(x,y,z)\le 8$ for even parameters or $\max(x,y,z)\le9$ for odd parameters. \end{proposition} \begin{proof} Let two distinct secrets have identical answers and discard the coordinates on which they agree. The two sums of the remaining class indicators agree on every row, so their supports coincide. Read this support from one secret. On a homogeneous cycle the support is a union of at most three cyclic intervals: at most one singleton and two adjacent pairs. It thus contains at most five rows in at most three components. On the linear run of $C$ rows in the mixed block, the same bounds hold for ordinary intervals. The edge $AB$ misses this run. If a homogeneous cycle contains no two consecutive unmarked rows, its complement has at most three rows, one in each gap. Such a cycle has length at most eight. On the $C$ run there are at most four gaps when both ends are included, so a run without two consecutive unmarked rows has length at most nine. The same upper bounds hold for an empty support in the absence of two consecutive unmarked rows. Delete two consecutive unmarked rows from a block requiring reduction. The edge between them disappears and the two outside edges, of the same peg type, give a single edge between the remaining endpoints. This preserves the cycle pattern, including at either end of the $C$ run. Every selected nonempty class is untouched, since it missed both rows. The number $\delta$ of unused colours is preserved. The two shortened secrets still differ on the same coordinates, and their indicator sums agree on the retained rows. On coordinates discarded at the outset one can choose any common colour. Thus the shortened list also fails. Clip each even parameter at eight and each odd parameter at nine by repeating these deletions. For an odd homogeneous parameter exceeding nine the cycle has length at least ten; an odd mixed parameter exceeding nine has at least eleven $C$ rows. All required deletions therefore exist. At the end, the inequalities $x\le y\le z+2\delta$ and $2x\ge\delta$ still hold. Common parity is preserved and the inverse formulas give positive sorted orders. A shortened parameter finishes at eight or nine, so this procedure never introduces the exceptional core $x=y=z=2$. The exceptional starting lists are already among the bounded cases. \end{proof} The formal proof makes the choice of rows explicit. On a homogeneous cycle of length $2k$, consider the $k$ disjoint pairs of rows $(2j,2j+1)$, numbered from zero. A singleton can meet one pair. Of the two doubleton classes a secret can select, one lies in a single pair and the other can meet two. Thus at most four pairs are excluded and $k\ge5$ gives a permissible deletion. In a mixed block with $z\ge11$, consider the five pairs $(2j,2j+1)$ for $1\le j\le5$ on the $C$ run. Here one selected first-peg colour can meet two of the five pairs, a second-peg colour can meet one and a third-peg colour can meet one. Equality of the two response vectors forces zero matches for both secrets on the selected pair. After deletion, the colours chosen on each side remain distinct on every differing peg. This allows the proof to compress each block even when some pegs of a secret carry colours from another block. \begin{proposition}\label{prop:finite} All 148 admissible capped boards distinguish every pair of secrets. \end{proposition} \begin{proof} Enumerate the capped triples of common parity and $\delta\in\{0,1\}$, retaining the positive sorted orders with $3a\ge b+c$. The singleton is handled directly. The four counts by parameter parity and $\delta$ are \[ \begin{array}{c|rr} & \delta=0 & \delta=1\\ \hline \text{even}&34&30\\ \text{odd}&35&49 \end{array} \] For a board with ordered rows $r_0,\ldots,r_{q-1}$, define the contribution of colour $v$ on peg $p$ by \[ D_p(v)=\sum_{j=0}^{q-1}4^j\mathbf 1_{(r_j)_p=v}. \] The integer $K(s)=\sum_{p=1}^3D_p(s_p)$ has the responses to $s$ as its base-four digits. For each board the certificate supplies the contribution tables and a list of $abc$ triples. The verifier recomputes every table entry from the rows, checks that each listed triple belongs to the board, and checks that consecutive keys increase strictly. Strict increase gives $abc$ distinct secrets, so every board vertex occurs and no two have the same response vector. The catalogue contains 194,139 secrets counted across the 148 boards, and the largest alphabet sum is 55. The certificates and a verifier for the enumeration are in the accompanying archive. \end{proof} The preceding propositions verify Gledel and J\"ager's upper bound for every positive ordered triple with $3a\ge b+c$. Each row is a vertex of the Cartesian product. Taking the set of rows gives a resolving set with cardinality at most the number of rows. For the singleton the empty set resolves. The supplement also includes two independent checks of the capped boards, one using base-four integers and the other the three sets of rows with at least one, two and three agreements. \section*{Verification and data availability} The \href{https://doi.org/10.5281/zenodo.24648495}{archived source and certificates} include the lower-bound proofs and the reduction to the 148 boards in Proposition~\ref{prop:finite}. The Lean~4 development proves the exact equality for the shortest-walk metric on the graph. It covers the exchange criterion, the six even-sum cases, both types of two-row deletion, and the finite catalogue. Corollary~\ref{cor:deficit} uses the known exact formulas outside the strict balanced region. The archive also provides independent scripts that check the capped boards from their response vectors. \subsection*{Author contributions and use of AI} Peiwei Wu and Qian Peng selected the research question, searched the literature, and discussed and reviewed the original arguments. Anthropic Claude developed the initial proof arguments and Lean formalization and drafted the original manuscript. In the lower-bound proof, OpenAI Codex corrected the exchange criterion and used the counting identity to derive the six even-sum cases. Codex also checked prior work, developed and implemented the reduction of the upper construction to 148 boards and its certificate proofs, and revised the exposition. \begin{thebibliography}{9} \bibitem{CHMPPSW} J.~C\'aceres, C.~Hernando, M.~Mora, I.~M.~Pelayo, M.~L.~Puertas, C.~Seara, D.~R.~Wood, On the metric dimension of Cartesian products of graphs, \emph{SIAM J. Discrete Math.} 21 (2007) 423--441. \bibitem{GJ} V.~Gledel, G.~J\"ager, On the metric dimension of $K_a\times K_b\times K_c$, \href{https://arxiv.org/abs/2408.17229}{arXiv:2408.17229} (2024). A conference version appears as Determining the metric dimension of $K_a\times K_b\times K_c$ by static black-peg Mastermind, \emph{Fundamentals of Computation Theory}, FCT 2025, pp.~194--207. \href{https://doi.org/10.1007/978-3-032-04700-7_15}{doi:10.1007/978-3-032-04700-7\_15}. \bibitem{Jung} H. C. Jung, The odd-sum case of the Gledel--J\"ager conjecture on the metric dimension of $K_a\square K_b\square K_c$, with four further even-sum values, Zenodo preprint (26 November 2026), \url{https://doi.org/10.5281/zenodo.24553339}. \bibitem{JD} G.~J\"ager, F.~Drewes, The metric dimension of $\mathbb Z_n\times\mathbb Z_n\times\mathbb Z_n$ is $\lfloor 3n/2\rfloor$, \emph{Theoret. Comput. Sci.} 806 (2020) 344--362. \end{thebibliography} \end{document}