math.CO — Combinatorics
Nim-values of two-move and symmetric three-move vector subtraction games, with machine-checked proofs
In a vector subtraction game a token sits at a point of ℕⁿ, a move subtracts one of finitely many fixed vectors, and the player who cannot move loses. For the symmetric three-move game T(a,b) with moves (a,b), (b,a), (a+b,a+b), Larsson, Saha and Yokoo determined the winner when b ≤ 2a; for b > 2a they show pictures of two games and leave the analysis open, and we know of no solution of any such game in the literature. We show that these games are governed by a translation: for an explicit vector w depending on a and b, the Sprague-Grundy value is unchanged under translation by w above the diagonal, and is periodic along the diagonal in a band next to it. A reduction theorem, proved for all a ≤ b, says that both statements hold everywhere once they hold on an explicit finite window, so that they determine the game from a finite table. We prove the two statements (i) for every m ≥ 2 when a ≤ 3 and (2m−1)a ≤ b ≤ 2ma; (ii) for every a when 2 ≤ m ≤ 14 and (2m−1)a ≤ b ≤ 2ma; (iii) for 1792 individual games, of which 862 lie in the complementary ranges 2ma < b < (2m+1)a, where a single formula for w fits every game tested and the general statement remains a conjecture. We also complete the known cases: the full Sprague-Grundy values of every two-move game in every dimension, by a three-case parity rule, and of T(a,b) for a ≤ b ≤ 2a. The reduction theorem, the two complete cases and 72 of the individual games are formally verified in Lean 4 with Mathlib. Results (i) and (ii) rest on an SMT solver and the other individual games on a short program; for each claim the paper states which check stands behind it.