REVIEW 2 major objections 4 minor 14 references
On the weak $k$-metric dimension of Hamming graphs
T0 review · 2 major / 4 minor · reviewed 2026-08-07 · deepseek-v4-flash
Pith's one-line read For every n≥3 and 2≤k≤2n, the weak k-metric dimension of the square Hamming graph is exactly ceil(4n/3) for k=2, n·ceil(k/2) for k=3 or even k, and n·ceil(k/2)−1 for odd k≥5.
desk verdict The main theorem is not proven as written: the k=3 lower bound rests on a false counting claim and the k=2 lower bound fails at n=7, though the even-k cases and the ILP work are solid. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The central mechanism is the layer structure of $K_n\,\square\,K_n$: the vertex set is $\mathbb{Z}_n\times\mathbb{Z}_n$, split into $n$ vertical layers $iK_n$ and $n$ horizontal layers $K_n^j$, each a clique. The distance between two vertices is 0, 1, or 2 depending on how many coordinates differ, so the weak $k$-resolving sum for a pair with one equal coordinate is exactly the number of selected vertices in the two corresponding layers, and for a non-aligned pair it counts contributions from four layers minus coincidences at the two intersection vertices. The upper-bound constructions are diagonal sets $D_i=\{(i+r,r): r\in\mathbb{Z}_n\}$; deleting the right number of diagonals leaves the required per-layer counts. The improved ILP formulation $F_{gh}$ aggregates variables by layers, with $h_j$ for horizontal and $g_i$ for vertical layers, and for $k\ge 4$ it drops the non-aligned-pair constraints altogether via Proposition 4.1.
What would settle it
Run an exhaustive computation on $K_3\,\square\,K_3$: the theorem says $\mathrm{wdim}_3=6$, so a 5-vertex weak 3-resolving set would refute the $k=3$ case; checking all $n\ge 3$ for a weak 3-resolving set of size $2n-1$ would settle it generally.
Extended reading notes
Core claim
The central claim is Theorem 1.1: for $n\ge 3$ and $2\le k\le 2n$, $\mathrm{wdim}_k(K_n\,\square\,K_n)$ equals $\lceil 4n/3\rceil$ when $k=2$, $n\lceil k/2\rceil$ when $k=3$ or $k$ is even, and $n\lceil k/2\rceil-1$ when $k\ge 5$ is odd. The proof splits by cases: for $k\ge 4$ it builds weak $k$-resolving sets from diagonal families that leave exactly $k/2$ or $(k+1)/2$ selected vertices in each layer; for $k=2$ it uses periodic block patterns; for $k=3$ it takes the upper bound from the $k=4$ case by monotonicity and then argues that every layer needs at least one selected vertex, ruling out a resolving set of size $2n-1$. The same framework proves the feasibility bound $\kappa(K_n\,\square\,K_m)=2m$ when $n\ge m$, so in the square case $2\le k\le 2n$ is the entire nontrivial range.
Load-bearing premise
The proof that no weak 3-resolving set of $K_n\,\square\,K_n$ can have fewer than $2n$ vertices depends on a precise count of how many selected vertices must lie in the union of two particular rows/columns of the grid; if that count is not exactly as the paper states, the $k=3$ part of the theorem is not established.
Editorial extensions
If this is right
- For every $n\ge 3$ the family $K_n\,\square\,K_n$ now has a closed-form weak $k$-metric dimension for every feasible $k$, leaving no gap between $k=2$ and $k=2n$.
- The $k=3$ value $2n$ equals the $k=4$ value, so weakening the threshold from 4 to 3 does not reduce the required number of selected vertices in the square Hamming graph.
- The ILP formulation $F_{gh}$, which removes the non-aligned-pair constraints for $k\ge 4$, solves the reported $K_n\,\square\,K_m$ instances for $k\ge 4$ in under five seconds, making exact values computationally accessible for larger rectangular Hamming graphs.
- If Conjecture 6.1 holds, then for $m\ge n+1$ and $k\ge 3$ the value $\mathrm{wdim}_k(K_n\,\square\,K_m)$ depends only on $m$ and $k$, following the pattern $m\lceil k/2\rceil$ for even $k$ and $m\lceil k/2\rceil-1$ for odd $k$; the computational tables match this for all tested instances.
Reading between the lines
- Beyond the paper, the diagonal and layer-counting techniques likely extend to higher-dimensional Hamming graphs $K_n^d$, a direction the paper names as future work; if the pattern persists, $\mathrm{wdim}_k(K_n^d)$ would take a similar piecewise-linear form in $n$ and $k$ over the feasible range up to $\kappa=2n^{d-1}$.
- Beyond the paper, the redundancy of non-aligned-pair constraints for $k\ge 4$ may hold for any Cartesian product of complete graphs, since the distance structure is coordinate-based; this could simplify ILP formulations for hypercubes and other Hamming graphs.
- Beyond the paper, the computational tables show that for $k=3$ in $K_n\,\square\,K_m$ the values sometimes deviate from the conjecture for small $m$, suggesting the small-threshold regime may have its own distinct formula, possibly involving a condition like $m\ge cn$, rather than following the $k\ge 4$ pattern.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper determines the weak k-metric dimension of the Cartesian product K_n □ K_n for every n ≥ 3 and 2 ≤ k ≤ 2n, proving a piecewise formula involving ceilings. The proof combines diagonal upper-bound constructions with layer-counting lower-bound arguments, and it also proposes an improved ILP formulation for K_n □ K_m and reports computational experiments. I verified the upper-bound constructions and the ILP reduction, but found load-bearing errors in the lower-bound proofs for k = 3 and k = 2, so the central theorem is not established as written.
Significance. If the formula were established, it would give the exact weak k-metric dimension for all feasible k in this family, complementing the previously known k = 1 result. The ILP formulation with the reduced constraint set is a useful practical contribution, and the computational experiments support the conjectured formula for rectangular Hamming graphs. However, because the lower bounds for two cases of the main theorem are not proved, the central claim of the paper is currently unsupported.
major comments (2)
- [§3.2, Case 1 (proof of wdim_3 ≥ 2n)] In Case 1, the proof considers the pair (x, j) and (i, y) and asserts that, since (i, j) and (x, y) contribute zero, at least three vertices of Y must lie in V(xK_n) ∪ V(K^y_n) \ {(x, y)}. This is false: under the layer-count structure established earlier, xK_n and K^y_n each contain exactly two vertices of Y, both contain (x, y), and their other Y-vertices are distinct, so the union minus (x, y) contains exactly two vertices of Y. Moreover, if (x, j) or (i, y) belongs to Y, that vertex contributes 2, so the required total of 3 can be attained with fewer than three vertices in the union. The asserted contradiction—that one of xK_n or K^y_n contains three vertices of Y—does not follow. Since Case 2 invokes the same “parallel argument”, the lower bound wdim_3(K_n □ K_n) ≥ 2n is not established. This is a load-bearing gap for Theorem 1.1.
- [§3.3 (proof of wdim_2 ≥ ⌈4n/3⌉)] After ruling out an isolated vertex, the proof tries to exclude a component isomorphic to K2. The estimate |E(GY)| ≥ 2n − 1 − ⌊(n − 1)/2⌋ > ⌈4n/3⌉ is asserted for all n ≥ 6. For n = 7 the left-hand side is 14 − 1 − 3 = 10 and the right-hand side is ⌈28/3⌉ = 10, so the strict inequality fails. Consequently the argument does not rule out a K2 component for n = 7, and the later step that assumes every component has size at least 3 cannot be applied to n = 7. Since n = 7 is not covered by the preliminary computer check (which covers only n ∈ {3, 4, 5}), the lower bound for k = 2 is missing for n = 7.
minor comments (4)
- [§3.1, Case 1] The displayed inequality “4 k/4 − 4 = 2k − 4” is ambiguous and appears to be a typographical error; it should presumably read “4·(k/2) − 4 = 2k − 4” or otherwise be rewritten for clarity.
- [§3.3] The preliminary computer check for n ∈ {3, 4, 5} is asserted without details; if it is to be part of the proof, the authors should supply the code or hand-check arguments, and in any case the case n = 7 must be handled explicitly.
- [Introduction] The introduction says the result is proved “for any integer n ≥ 2”, while Theorem 1.1 and the abstract state n ≥ 3; this inconsistency should be corrected.
- [Section 4] The notation for the formulations alternates between Fs, F−s, and Fgh; making the subscript/superscript notation uniform would improve readability.
Circularity Check
No circularity: Theorem 1.1 is a new exact-value computation whose upper and lower bounds are derived by explicit layer counts, not by fitting or by assuming the result.
full rationale
The paper's central result, wdim_k(K_n square K_n) for 2 <= k <= 2n, is obtained through direct combinatorial constructions and lower-bound arguments. The upper bounds for even and odd k are built from explicit diagonal sets X_t and X'_t, and the lower bounds use pigeonhole/layer-counting contradictions; none of these steps is equivalent to the stated formula by construction. The only self-citation of note is Proposition 2.1, quoted as [9, Observation 5], where one author of the present paper is a coauthor. That result is a general identity kappa(G) = min{Delta(x,y)} that follows immediately from the definition of a weak k-resolving set and is not a disguised version of the target formula; it is used only to determine the feasible range k <= 2n. Similarly, the identity dim(G) = wdim_1(G) is cited from [9] only as background and is not used in the proof of Theorem 1.1 for k >= 2. The ILP discussion cites and improves the earlier formulation of [9], but that is an independent computational methodology, not a derivation of the closed-form formula. The weaknesses identified by the reader, namely the false counting claim in Section 3.2 Case 1 and the failing inequality in Section 3.3 for n = 7, are mathematical correctness gaps in lower-bound proofs, not instances of circularity: they do not make the theorem's conclusion an input to its proof. Consequently, no step of the derivation chain reduces to its own inputs, and no fitted parameter is renamed as a prediction.
Assumptions & free parameters
assumptions (2)
- standard math Distance in K_n□K_n equals the number of coordinates in which two vertices differ.
- domain assumption κ(G) = min{Δ(x,y) : x≠y}, from [9, Observation 5].
Cite this review
Pith. "Pith review of On the weak $k$-metric dimension of Hamming graphs." pith.science (2026). https://pith.science/paper/LSGVW3DH
@misc{pith2026250519642,
author = {Pith},
title = {Pith review of: On the weak $k$-metric dimension of Hamming graphs},
year = {2026},
howpublished = {\url{https://pith.science/paper/LSGVW3DH}},
note = {Machine review of arXiv:2505.19642}
}
abstract
Given a connected graph $G$, a set of vertices $X\subset V(G)$ is a weak $k$-resolving set of $G$ if for each two vertices $y,z\in V(G)$, the sum of the values $|d_G(y,x)-d_G(z,x)|$ over all $x\in X$ is at least $k$, where $d_G(u,v)$ stands for the length of a shortest path between $u$ and $v$. The cardinality of a smallest weak $k$-resolving set of $G$ is the weak $k$-metric dimension of $G$, and is denoted by $\mathrm{wdim}_k(G)$. In this paper, $\mathrm{wdim}_k(K_n\,\square\,K_n)$ is determined for every $n\ge 3$ and every $2\le k\le 2n$. An improvement of a known integer linear programming formulation for this problem is developed and implemented for the graphs $K_n\,\square\,K_m$. Conjectures regarding these general situations are posed.
Figures
Reference graph
Works this paper leans on
-
[9]
Peterin, J
I. Peterin, J. Sedlar, R. ˇSkrekovski, I. G. Yero, Resolving vertices of graphs with differences, Comput. Appl. Math. 43 (2024) article 275
2024
-
[1]
R. F. Bailey, P. Spiga, Metric dimension of dual polar graphs, Arch. Math. 120 (2023) 467–478. 17
work page 2023
-
[2]
L. M. Blumenthal, Theory and Applications of Distance Geometry. Oxford University Press (1953)
work page 1953
-
[3]
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, SIAM J. Discrete Math. 21 (2007) 423–441
work page 2007
-
[4]
Dankelmann, J
P. Dankelmann, J. Morgan, E. Rivett-Carnac, Metric dimension and diameter in bipartite graphs, Discuss. Math. Graph Theory 43 (2023) 487–498
2023
-
[5]
A. Estrada-Moreno, J. A. Rodr ´ ıguez-Vel´ azquez, I. G. Yero, Thek-metric dimension of a graph, Appl. Math. Inf. Sci. 9 (2015) 2829–2840
work page 2015
-
[6]
B. Foster-Greenwood, Ch. Uhl, Metric dimension of a direct product of three complete graphs, Electron. J. Combin. 31 (2024) article 2.13
work page 2024
-
[7]
Harary, R
F. Harary, R. A. Melter, On the metric dimension of a graph, Ars Combin. 2 (1976) 191–195
1976
Show all 14 references
-
[8]
Kuziak, I
D. Kuziak, I. G. Yero, Metric dimension related parameters in graphs: A survey on combina- torial, computational and applied results, arXiv:2107.04877 [math.CO]
-
[10]
P. J. Slater, Leaves of trees, Cong. Numer. 14 (1975) 549–559
1975
-
[11]
B. C. Tapendra, S. Dueck, The metric dimension of circulant graphs, Opuscula Math. 45(1) (2025) 39–51
2025
-
[12]
R. C. Tillquist, M. E. Lladser, Low-dimensional representation of genomic sequences, J. Math. Biol. 79 (2019) 1–29
2019
-
[13]
R. C. Tillquist, R. M. Frongillo, M. E. Lladser, Getting the lay of the land in discrete space: A survey of metric dimension and its applications, SIAM Rev. 65 (2023) 919–962
2023
-
[14]
Fico ® xpress solver
Xpress. Fico ® xpress solver. https://www.fico.com/es/products/fico-xpress-solver. 18
Reviewed August 7, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.