[论文解读] On Remoteness Functions of Exact Slow $k$-NIM with $k+1$ Piles
本文通过证明一种简单策略——若所有堆均为奇数,则保留最大堆;若存在偶数堆,则保留最小偶数堆——解决了具有 $k+1$ 堆的精确慢速 $k$-NIM 游戏,该策略能最优地确定远端函数。作者建立了计算 Smith 远端函数的多项式时间算法,并识别出 P-位置,表明该策略可使 N-位置实现最快胜利,P-位置实现最长抵抗。
Given integer $n$ and $k$ such that $0 < k \leq n$ and $n$ piles of stones, two player alternate turns. By one move it is allowed to choose any $k$ piles and remove exactly one stone from each. The player who has to move but cannot is the loser. Cases $k=1$ and $k = n$ are trivial. For $k=2$ the game was solved for $n \leq 6$. For $n \leq 4$ the Sprague-Grundy function was efficiently computed (for both the normal and misère versions). For $n = 5,6$ a polynomial algorithm computing P-positions was obtained. Here we consider the case $2 \leq k = n-1$ and compute Smith's remoteness function, whose even values define the P-positions. In fact, an optimal move is always defined by the following simple rule: if all piles are odd, keep a largest one and reduce all other; if there exist even piles, keep a smallest one of them and reduce all other. Such strategy is optimal for both players, moreover, it allows to win as fast as possible from an N-position and to resist as long as possible from a P-position.
研究动机与目标
- 确定具有 $k+1$ 堆的精确慢速 $k$-NIM 中 P-位置的结构及远端函数。
- 证明一种特定走法规则——基于堆的奇偶性与大小——可为双方玩家定义最优策略。
- 开发一种高效算法,以多项式时间计算 Smith 远端函数并识别 P-位置。
- 表明 P-位置的集合是半线性的,支持关于多维减法游戏的广泛猜想。
提出的方法
- 定义 M 规则:若所有堆均为奇数,则减少除最大堆外的所有堆;若存在偶数堆,则减少除最小偶数堆外的所有堆。
- 证明 M 规则从任意位置出发,最多按堆的重排顺序,定义了唯一的最优走法。
- 引入远端函数 $\mathcal{R}(x)$,通过按距离终端状态的步数迭代标记位置来计算。
- 使用 $(k+1)$-元组的逆字典序,高效计算偶数 $b$ 的基本位置 $\ell(x,b)$。
- 定义 $b_t(x)$ 为最大的偶数 $b$,使得存在一个基本位置 $z \preceq x$,满足对所有 $i \geq t$ 有 $z_i = b$,且对所有 $i < t$ 有 $|x_i - z_i| \leq 1$。
- 构造 $E(x) = \max_t b_t(x)$,并从 $E(x)$ 和 M 走法的结果推导出 $\mathcal{B}(x)$,从而实现在多项式时间内计算 $\mathcal{R}(x)$。
实验结果
研究问题
- RQ1能否为具有 $k+1$ 堆的精确慢速 $k$-NIM 高效计算 Smith 远端函数?
- RQ2M 规则策略是否在 N-位置下最小化游戏长度、在 P-位置下最大化游戏长度,从而实现最优策略?
- RQ3该游戏中 P-位置的集合是否如多维减法游戏猜想所预测的那样为半线性?
- RQ4当 $k$ 作为输入的一部分时,远端函数能否在多项式时间内计算?
- RQ5该游戏的哪些结构性质使得存在一种简单、基于规则的最优策略?
主要发现
- M 规则策略——基于奇偶性与大小——为具有 $k+1$ 堆的精确慢速 $k$-NIM 中任意位置定义了唯一的最优走法。
- Smith 远端函数 $\mathcal{R}(x)$ 等于当双方均遵循 M 规则时,从 $x$ 到终端位置的步数。
- 存在一种多项式时间算法可计算 $\mathcal{R}(x)$,从而识别出 P-位置,即使 $k$ 是输入的一部分也成立。
- 对于非异常位置,$\mathcal{B}(x)$ 通过 $E(x) = \max_t b_t(x)$ 计算,其中 $b_t(x)$ 由堆值上的线性约束推导得出。
- P-位置的集合是半线性的,为此类非平凡减法游戏提供了一个无限家族的实例。
- 远端函数 $\mathcal{R}(x)$ 为偶数,当且仅当 $x$ 是 P-位置,从而确认了该函数在位置分类中的作用。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。