Games as recursive coalgebras: A categorical view on the Nim-sum
Ryuya Hora

TL;DR
This paper provides a categorical framework using recursive coalgebras to reinterpret combinatorial games like Nim, explaining the nim-sum operation through a systematic, algebraic approach that unifies game decomposition and synthesis.
Contribution
It introduces a categorical reinterpretation of combinatorial games and the nim-sum using recursive coalgebras, generalizing the Nim-sum rule within a structured mathematical framework.
Findings
Provides a categorical model of impartial games
Generalizes the nim-sum rule for Conway addition
Establishes a well-behaved category of games with rich structure
Abstract
In 1901, Bouton proved that a winning strategy of the game of Nim is given by the bitwise XOR, called the nim-sum. But, why does such a weird binary operation work? Led by this question, this paper introduces a categorical reinterpretation of combinatorial games and the nim-sum. The main categorical gadget used here is recursive coalgebras, which allow us to redefine games as ``graphs on which we can conduct recursive calculation'' in a concise and precise way. For game-theorists, we provide a systematic framework to decompose an impartial game into simpler games and synthesize the quantities on them, which generalizes the nim-sum rule for the Conway addition. To read the first half of this paper, the categorical preliminaries are limited to the definitions of categories and functors. For category theorists, this paper offers a nicely behaved category of games , which…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
