Odd-length rim-hook game: the Grundy value is ∣λ∣|\lambda| mod 2 plus twice the parity of the tt-weight

Visual overview from the paper. Full size
Edition 3 · On this site since · Verify & co-author
Kind
Theorem (Lean 4 + Mathlib proof and exact computational checks)
Status
Proved and verified in Lean 4 + Mathlib (2 of 2 main results, 6 audited declarations, zero sorry, zero native_decide, standard axioms only); unrefereed
Headline in Lean
Unconditionally proved in Lean 4 + Mathlib (2/2 main results in pure-kernel Lean 4 across `lean/OddLengthRimHookGameTheGrundyValueIsLam/`, 6 audited declarations, zero sorry, zero native_decide, standard axioms only).
Lean share
2 of 2 main results in Lean (100%) · 3 of 3 abstract claims (100%) · 3 of 15 all paper claims (20%)
Preprint DOI
10.5281/zenodo.24732087 (Zenodo / CERN preprint, v3: 10.5281/zenodo.24732088)
Prior work
Not found in the searches logged; credited prior work includes C. P. Welter, *The theory of a class of games on a sequence of squares, in terms of the advancing operation in a special...
On this page
  1. The statement
  2. Check it yourself
  3. Status and who checked it
  4. Prior work
  5. Further reading

The statement

Fix an even parameter t≥2t\ge 2. Two players alternately peel from a Young diagram λ\lambda a rim hook of odd length at most t+1t+1, or length tt; the last player to move wins. Let wt(λ)w_t(\lambda) count the cells whose hook length tt divides. We prove that gg satisfies the Sprague--Grundy recursion if and only if g(λ)=(∣λ∣ mod 2)+2 (wt(λ) mod 2)g(\lambda) = (|\lambda| \bmod 2)+2\,(w_t(\lambda) \bmod 2) everywhere, so gg exists, is unique, and takes values in {0,1,2,3}\{0,\allowbreak 1,\allowbreak 2,\allowbreak 3\}. Hence λ\lambda is a second-player win if and only if ∣λ∣|\lambda| and wt(λ)w_t(\lambda) are both even. At t=2t=2, (2,2)(2,\allowbreak 2) loses while options (2,1)(2,\allowbreak 1) and (2)(2) have values 11 and 22. Both main results (2 of 2) and all abstract claims (3 of 3) are proved in pure-kernel Lean 4 with audited statement fidelity, corroborated across all 508 partitions with ∣λ∣≤14|\lambda|\le 14. For t=2t=2 this is the 33-Welter game; for t≥4t\ge 4 no source with these move sets appeared in logged searches.

Check it yourself

  • Replay from the archive: the downloadable archive (checker.zip) holds the script papers/odd-length-rim-hook-game-the-grundy-value-is-lam/draft3/compute.py, but it was not run to completion from the archive alone, because it imports a Python module that is not in the download. To check the Lean proofs, build lean/OddLengthRimHookGameTheGrundyValueIsLam/ in Lean 4.
  • Lean 4 kernel verification: the archive contains the Lean 4 sources (lean/OddLengthRimHookGameTheGrundyValueIsLam/), axiom audit output, and trust-boundary manifest linking every paper claim to its Lean declaration.

Status and who checked it

  • Verified in Lean 4 + Mathlib. Verified unconditionally in Lean 4 + Mathlib (6 audited declarations, zero sorry, zero native_decide, standard axioms only, library lean/OddLengthRimHookGameTheGrundyValueIsLam/): 2 of 2 main results proved in the pure Lean kernel.
  • Unrefereed. All automated manuscript, citation, and statement-fidelity checks passed on the 7-page preprint. No human mathematician has yet refereed the proof.

Prior work

Searches run. Prior-work searches and full-text citation checks were logged alongside the preprint. The result was not found in the searches logged.

Credited. C. P. Welter, The theory of a class of games on a sequence of squares, in terms of the advancing operation in a special group, Indagationes Mathematicae (Proceedings) 57 (1954), 194–200. DOI 10.1016/S1385-7258(54)50028-4; J. Kahane and A. S. Fraenkel, k-Welter—a generalization of Welter's game, Journal of Combinatorial Theory, Series A 46 (1987), 1–20. DOI 10.1016/0097-3165(87)90073-2; N. Duvdevani and A. S. Fraenkel, Properties of k-Welter's game, Discrete Mathematics 76 (1989), 197–221. DOI 10.1016/0012-365X(89)90320-8; Y. Irie, p-Saturations of Welter's game and the irreducible representations of symmetric groups, Journal of Algebraic Combinatorics 48 (2018), 247–287. DOI 10.1007/s10801-017-0799-6, arXiv:1604.07214v3; Y. Irie, A base-p Sprague--Grundy type theorem for p-calm subtraction games: Welter's game and representations of generalized symmetric groups, preprint (2021). arXiv:1912.12573v3; G. James and A. Kerber, The Representation Theory of the Symmetric Group, Encyclopedia of Mathematics and its Applications 16, Addison-Wesley (1981); A. N. Siegel, Combinatorial Game Theory, Graduate Studies in Mathematics 146, American Mathematical Society (2013). DOI 10.1090/gsm/146; L. de Moura and S. Ullrich, The Lean 4 theorem prover and programming language, Automated Deduction – CADE 28, Lecture Notes in Comput. Sci. 12699 (2021), 625–635. DOI 10.1007/978-3-030-79876-5_37.

Still owed. MathSciNet, zbMATH, books in print, and paywalled journal articles not reachable in open-access full text.

Further reading

  • C. P. Welter, The theory of a class of games on a sequence of squares, in terms of the advancing operation in a special group, Indagationes Mathematicae (Proceedings) 57 (1954), 194–200. DOI 10.1016/S1385-7258(54)50028-4
  • J. Kahane and A. S. Fraenkel, k-Welter—a generalization of Welter's game, Journal of Combinatorial Theory, Series A 46 (1987), 1–20. DOI 10.1016/0097-3165(87)90073-2
  • N. Duvdevani and A. S. Fraenkel, Properties of k-Welter's game, Discrete Mathematics 76 (1989), 197–221. DOI 10.1016/0012-365X(89)90320-8
  • Y. Irie, p-Saturations of Welter's game and the irreducible representations of symmetric groups, Journal of Algebraic Combinatorics 48 (2018), 247–287. DOI 10.1007/s10801-017-0799-6, arXiv:1604.07214v3
  • Y. Irie, A base-p Sprague--Grundy type theorem for p-calm subtraction games: Welter's game and representations of generalized symmetric groups, preprint (2021). arXiv:1912.12573v3
  • G. James and A. Kerber, The Representation Theory of the Symmetric Group, Encyclopedia of Mathematics and its Applications 16, Addison-Wesley (1981)
  • A. N. Siegel, Combinatorial Game Theory, Graduate Studies in Mathematics 146, American Mathematical Society (2013). DOI 10.1090/gsm/146
  • L. de Moura and S. Ullrich, The Lean 4 theorem prover and programming language, Automated Deduction – CADE 28, Lecture Notes in Comput. Sci. 12699 (2021), 625–635. DOI 10.1007/978-3-030-79876-5_37
  • The mathlib Community, The Lean mathematical library, Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (2020), 367–381. DOI 10.1145/3372885.3373824
  • S. Zhang, On the linearity of the periods of subtraction games, Theoretical Computer Science 985 (2024), 114350. DOI 10.1016/j.tcs.2023.114350
  • R. Sprague, Über zwei Abarten von Nim, Tohoku Mathematical Journal, initial Series 43 (1937), 351–354. Zbl 0017.14602
Short

Watch on YouTube ↗