计算机科学 > 形式语言与自动机理论
[提交于 2026年9月1日]
标题:Construction of a DFA for Computing Grundy Numbers in the Successful Derivation Games on Right-Linear Grammars
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Inoue et al. have introduced the successful derivation game (SDG) on context-free grammars (CFGs), which is a generalization of classic heap-based games including subtraction games and Keyles, and shown that the least upper bound of the Grundy numbers in the SDG on a given CFG G is undecidable in general even when we restrict G to be a linear CFG. This paper shows that for the SDG on a right-linear grammar (RLG), we can construct a DFA for computing the Grundy number of a given position. In other words, for the SDG on an RLG, the set of positions with a given Grundy number c is regular. As a corollary, the least upper bound of the Grundy numbers in the SDG on a given RLG is decidable. We also investigate the complexity of computing the least upper bound of the Grundy numbers in the SDG on a given RLG, and it is shown to be PSPACE-complete.
提交历史
来自:Yoshiaki Takata[v1] 2026年9月1日 星期二 08:04:28 UTC