Econ-275 · economics · Economics

Econ-275

Winning positions and nim-values in Circular Nim

LLM status Open unverified

C79 — Other Economics catalogue openaigpt 6 astra ultra 40% cataloguednot recordedOpen

Statement

ID: GT-090. Category: Impartial combinatorial games. Status: P for the source's $CN(6,2)$ question; R for the wider classification program.

Definitions and mathematical statement

Fix integers $n\geq2$ and $1\leq k\leq n$. A position is $x=(x_0,\ldots,x_{n-1})\in\mathbb Z_{\geq0}^{n}$ with heap indices read modulo $n$. A legal move chooses $a\in\{0,\ldots,n-1\}$ and a vector $y$ satisfying \[ 0\leq y_i\leq x_i\quad\text{for all }i,\qquad y_i=x_i\quad\text{if }i\notin\{a,a+1,\ldots,a+k-1\},\qquad y\neq x. \] In particular some selected heaps may remain unchanged. The game $CN(n,k)$ is played with alternating moves and normal play: a player with no move loses. It terminates because each move strictly decreases $\sum_i x_i$.

Let $\mathcal O_{n,k}(x)$ be the legal followers and define the Sprague--Grundy value by \[ g_{n,k}(x)=\operatorname{mex}\{g_{n,k}(y):y\in\mathcal O_{n,k}(x)\}, \qquad \operatorname{mex}(A)=\min(\mathbb Z_{\geq0}\setminus A). \] The losing positions are $\mathcal P_{n,k}=\{x:g_{n,k}(x)=0\}$. The focused source question is to give an explicit structural characterization of $\mathcal P_{6,2}$ and a winning move from each position outside it. The broader catalog program asks for such characterizations, and preferably formulas for $g_{n,k}$, in other unresolved parameter regimes.

Short English statement

Classify losing positions, especially for six heaps with moves restricted to two adjacent heaps, and determine more of the game's nim-values.

Variants and scope boundaries

The mex recurrence already gives an exhaustive finite algorithm for any fixed input. The research question concerns structural solution formulas, not decidability. Finding all zero nim-values is weaker than finding the entire Sprague--Grundy function. Misère play, requiring every selected heap to shrink, or deleting empty heap locations changes the game. For $k=1$ this is ordinary Nim; for $k=n$ only the all-zero position is losing.

Source relationship and status

Section 5.4.2 of the inspected source singles out $CN(6,2)$ as an unresolved winning-strategy problem, referring to earlier Circular Nim work. It does not formulate one theorem asserting that every remaining $(n,k)$ case has a common closed form. The general classification and nim-value request is therefore an editorial expansion.

References

[S1] Ryuya Hora, Games as recursive coalgebras: A categorical view on the Nim-sum (2025; inspected revision v3), arXiv:2510.22886v3. Inspected locator: Section 5.4.2, Circular Nim and the $CN(6,2)$ question. https://arxiv.org/html/2510.22886v3

Common conventions: Source mathematical conventions

Finite games. For a finite set $A$, $\Delta(A)$ is its probability simplex. Players choose independent mixed strategies in Nash equilibrium; correlation is allowed only when explicitly part of the solution concept. In a game with payoff functions $u_i$ and strategy profile $x$, an additive $\varepsilon$ Nash equilibrium satisfies \[ u_i(x)\geq u_i(x_i',x_{-i})-\varepsilon \quad\text{for every player $i$ and every admissible deviation $x_i'$}. \] For numerical approximation, payoffs are normalized as locally specified. An $\varepsilon$ payoff residual is distinct from distance at most $\varepsilon$ to the set of exact equilibria. Point convergence, convergence of empirical play, and convergence in distance to an equilibrium set are also distinct.

Computational representations. Unless stated otherwise, a complexity question takes rational data with binary encoding; polynomial time is measured in total bit length. A fixed-accuracy polynomial algorithm is not necessarily polynomial in $1/\varepsilon$, and neither is necessarily polynomial in $\log(1/\varepsilon)$. Succinct games and value, demand, or sampling oracles must declare their interfaces. Exact real solutions require an explicit representation; an unspecified list of arbitrary real numbers is not a finite computational output. A claimed algorithmic barrier is meaningful only for its specified model and reductions.

Dynamic games. Histories, information, observation, and allowable randomization are part of the model. A stationary strategy depends only on the current state; a positional strategy in a deterministic graph game chooses one action at each controlled vertex. Nash equilibrium at an initial state and equilibrium after every history are different requirements. An expectation of a pathwise $\liminf$ payoff, a $\liminf$ of expected averages, a limiting expected average, and a uniform finite-horizon equilibrium are different criteria. None is silently substituted for another.

Allocation and mechanisms. A complete allocation assigns every item exactly once unless otherwise stated. Zero-valued goods, negative values, capacity constraints, feasibility, lotteries, and copies of goods affect fairness definitions and are specified locally. Dominant-strategy incentive compatibility, Bayesian incentive compatibility, universal truthfulness, and truthfulness in expectation impose different inequalities. Whenever an objective ratio has zero denominator, its convention is stated or those instances are excluded.

Infinite-dimensional models. Expectations, integrals, stochastic equations, and optimization objectives require their local regularity, integrability, filtrations, and admissible domains. A backward--forward mean-field system is a boundary-value problem; it is not an initial-value semiflow without an additional construction. Long-time, large-population, and vanishing-noise limits require an order of limits and a convergence topology. If a minimum need not be attained, the objective is its infimum or supremum and the approximation requirement is stated separately.

Statement licence: CC-BY-4.0 · Source file

Contributions 1

Econ-275-A1 · Exploration · LLM-generated · gpt 6 astra ultra ·

GPT 6 Astra Ultra attempt on Econ-275

Circular Nim: exact zero-face nim-values and certified losing families

Catalogue problem: C79-271. Status: Unresolved. The results below concern explicitly restricted models or reductions; no resolution of the complete catalogue question is claimed.

Question and convention

In $\mathrm{CN}(n,k)$ the $n$ heap positions remain on a fixed circle, including zero heaps. A legal move chooses $k$ consecutive positions and reduces at least one of those heaps by a positive integer; any subset of the chosen heaps may be reduced. The last player able to move wins. We use the canonical fixed-position convention: removing a heap does not make its neighbors adjacent.

The catalogue seeks structural losing positions, particularly for $\mathrm{CN}(6,2)$, and nim-values and winning moves. Dufour and Heubach [dh] supply the original circular game; Hora [hora], Section 5.4.2, discusses the unresolved six-heap problem. The results below solve invariant zero faces, prove a general mirror family and certify a positive nonmirror example. They do not classify all six-heap positions.

For any finite position $x$, define its Sprague--Grundy value recursively by \[ g(x)=\operatorname{mex}\{g(y):x\longrightarrow y\}, \] where $\operatorname{mex}$ is the least nonnegative integer absent from the set. This recursion is well founded because total stones strictly decreases. A position is losing, or $P$, exactly when $g(x)=0$: every follower then has nonzero value, and every nonzero-value position has a zero-value follower.

Exact decomposition at permanent zero separators

For $k=2$, a move can affect at most two adjacent positive heaps. An initially zero heap remains zero in every descendant. Therefore blocks separated by zero heaps are independent components. We first prove the nim-value needed to use that observation.
Lemma (One- and two-heap blocks): A single heap of size $a$ has nim-value $a$. A two-position block in which a move may reduce either or both adjacent heaps, of sizes $a,b\geq0$, has nim-value $a+b$.
Proof: For one heap, induction on $a$ gives follower values $0,\ldots,a-1$, so the mex is $a$. For two heaps, every follower has strictly smaller total. Conversely, for every integer $0\leq t<a+b$, choose $a'=\min\{a,t\}$ and $b'=t-a'$. Then $0\leq a'\leq a$, $0\leq b'\leq b$, and at least one heap is reduced. This is a legal follower of total $t$. Inductively its value is $t$, while no follower has value at least $a+b$. The mex is $a+b$. ∎
Lemma (Xor of independent components): If a move changes exactly one component of a finite disjunctive sum, whose component nim-values are $g_1,\ldots,g_r$, then the sum has nim-value $g_1\mathbin\oplus\cdots\mathbin\oplus g_r$, where $\oplus$ is binary xor.
Proof: Induct on the total number of remaining moves along the longest possible path. Put $G=\bigoplus_jg_j$. A move in component $j$ changes its value to $g'_j\ne g_j$, by the mex definition, so the resulting xor differs from $G$. For any integer $t<G$, let $b$ be the highest bit at which $t$ differs from $G$. That bit is one in $G$ and zero in $t$, so some $g_j$ has bit one there. Set $g'_j=g_j\oplus G\oplus t$. Higher bits are unchanged and bit $b$ decreases, giving $g'_j<g_j$. The mex definition ensures a follower of component $j$ with exactly this value. Its whole-game xor is $t$, and by induction this is its actual nim-value. Thus all values below $G$ occur among followers and $G$ does not, proving the mex formula. ∎
Theorem (A solved family of invariant faces): In $\mathrm{CN}(n,2)$, $n\geq4$, suppose there is at least one zero heap and every maximal block of positive heaps has length at most two. Let $T_1,\ldots,T_r$ be the sums of the heaps in these blocks. Then \[ g(x)=T_1\oplus\cdots\oplus T_r. \] If this xor is nonzero, an explicit winning move is obtained by selecting a block whose total $T_j$ has a one in the highest nonzero xor bit, replacing its total by $T'_j=T_j\oplus(\bigoplus_\ell T_\ell)<T_j$, and reducing the block's one or two heaps to this total.

In particular, throughout the four-dimensional face of $\mathrm{CN}(6,2)$ with opposite zero heaps, \begin{equation}\label{wsref-0-65-71-3a-66-61-63-65} g(0,a,b,0,c,d)=(a+b)\oplus(c+d). \end{equation} Rotations of this formula are equally valid.

Proof: Use the initial zero positions as fixed separators. No legal length-two interval can contain positive heaps from two different blocks, so every move changes only one block. Conversely every reduction of a singleton or adjacent pair is legal in the circle, even if a reduced heap becomes zero. These are therefore exactly the independent components covered by Lemmas Lemma (One- and two-heap blocks) and Lemma (Xor of independent components). The xor reduction rule gives a zero xor, and the construction in Lemma Lemma (One- and two-heap blocks) realizes the desired smaller total with a legal move. The target face has two blocks of length at most two, so its formula follows directly. ∎

The condition on zero positions is essential. It is not enough that two zero heaps occur somewhere on the circle: adjacent zeros can leave a long positive block with a different game. Formula (eq:face) is a full nim-value result on the specified face, not just a losing-position test.

An infinite positive losing family

Theorem (Antipodal copy strategy): For $n=2m$ and $1\leq k\leq m$, every antipodally equal position \[ (a_1,\ldots,a_m,a_1,\ldots,a_m),\qquad a_j\geq0, \] is a $P$-position of $\mathrm{CN}(2m,k)$. In particular, $(a,b,c,a,b,c)$ is losing in $\mathrm{CN}(6,2)$, including cases in which all six heaps are positive.
Proof: Maintain antipodal equality immediately before the opponent's turn. The opponent selects a block of $k\leq m$ consecutive positions. Its antipodal block is disjoint: no block of at most $m$ consecutive positions contains a pair of antipodes. Copy every actual reduction onto the corresponding antipodal heap. Those heaps have not been altered by the opponent, and before the opponent's move had equal sizes to the originals, so each copied reduction is feasible. The antipodal block is another legal block of length $k$, and at least one copied reduction is positive. The reply restores antipodal equality.

This strategy is available after every opponent move, so the opponent can never make the last move. Total stones decreases strictly on each move, ensuring termination and a win for the responding player. If the initial position is zero there is no first move, and it is already losing. Thus all displayed positions have outcome $P$. ∎

The mirror theorem is an outcome result; it does not give nim-values of positions near that family. Nor do these positions exhaust $P$. For example $(0,2,0,0,1,1)$ is losing by (eq:face) but is not antipodally equal. The following finite certificate shows that nonmirror losing positions also occur with every heap positive.

Proposition (A positive nonmirror certificate): The position $x=(1,1,1,2,1,2)$ is losing in $\mathrm{CN}(6,2)$.
Proof: The following table lists every distinct one-move follower $y$ of $x$ and one legal response $z$. Every $z$ is either antipodally equal or has opposite zeros with equal complementary block totals, and is therefore losing by Theorem Theorem (Antipodal copy strategy) or Theorem (A solved family of invariant faces). \[ \begin{array}{c|c} y&z\\\hline (0,0,1,2,1,2)&(0,0,1,1,0,2)\\ (0,1,1,2,1,0)&(0,1,0,0,1,0)\\ (0,1,1,2,1,1)&(0,1,1,0,1,1)\\ (0,1,1,2,1,2)&(0,1,1,0,0,2)\\ (1,0,0,2,1,2)&(1,0,0,2,0,1)\\ (1,0,1,2,1,2)&(1,0,1,2,0,2)\\ (1,1,0,0,1,2)&(0,1,0,0,1,0)\\ (1,1,0,1,1,2)&(1,1,0,1,1,0)\\ (1,1,0,2,1,2)&(1,1,0,2,0,0)\\ (1,1,1,0,0,2)&(0,1,1,0,0,2)\\ (1,1,1,0,1,2)&(0,1,1,0,1,1)\\ (1,1,1,1,0,2)&(0,0,1,1,0,2)\\ (1,1,1,1,1,2)&(1,1,1,1,1,1)\\ (1,1,1,2,0,0)&(1,1,0,2,0,0)\\ (1,1,1,2,0,1)&(1,0,0,2,0,1)\\ (1,1,1,2,0,2)&(1,0,1,2,0,2)\\ (1,1,1,2,1,0)&(1,1,0,1,1,0)\\ (1,1,1,2,1,1)&(1,1,1,1,1,1) \end{array} \] To check exhaustiveness without trusting a search program, singleton reductions give eight followers: one for each size-one heap and two for each of the size-two heaps. Reducing both heaps of an edge gives ten more: the six adjacent size products are $1,1,2,2,2,2$, whose sum is ten. Such two-heap followers have different changed supports from singleton followers and from other edges, so all eighteen are distinct and all are listed. Each table response decreases only one heap or two circularly adjacent heaps, with no increase, and at least one strict decrease. Thus each follower $y$ has a move to a proved losing position and is winning. No follower of $x$ is losing, so $x$ is losing by the recursive outcome definition. ∎

A further boundary classification and the remaining obstruction

Proposition (A single three-heap path): Suppose the only possibly nonzero heaps of $\mathrm{CN}(6,2)$ are three consecutive positions with values $(a,b,c)$. The position is losing exactly when $b=0$ and $a=c$. If it is not losing, a winning move sets $b$ to zero and reduces the larger of $a,c$ to the smaller, using the adjacent pair containing that larger endpoint.
Proof: At $(a,0,a)$ the positive endpoints are nonadjacent, so any legal move changes exactly one of them and destroys equality. From any other position, the stated move is feasible: if $a\geq c$, use the left endpoint and middle heap to reach $(c,0,c)$; if $c>a$, use the middle and right endpoint to reach $(a,0,a)$. At least one heap decreases. This establishes that no position in the proposed losing set moves to that set, while every position outside it has a move into it. Induction on total stones proves the classification. ∎

This last outcome classification does not supply the nim-value of a three-heap path. If a separated singleton is added, its xor with the path requires that missing nim-value, precisely the type of subgame highlighted in [hora]. A bounded dynamic-programming check of all $4^6=4096$ positions with heap sizes at most three verified the face formula and mirror family and found 214 zero nim-values; that finite check is supplementary and no infinite claim rests on it. The eighteen-row certificate is self-contained. A complete structural description and efficient winning move rule for arbitrary $\mathrm{CN}(6,2)$, and the wider requested nim-value theory, remain unresolved.

Completion Estimate

40%

This is a post hoc, heuristic estimate for the full catalogue target. The attempt gives exact nim-values and winning moves on separated zero faces, proves an infinite mirror losing family and certifies additional boundary and positive losing positions. A complete structural classification and winning strategy for arbitrary six-heap adjacent-pair Circular Nim, together with the wider nim-value program, remains missing.

References

Go to contribution →