arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.07911cs.FLcs.LOmath.GR
收藏

索引语言的切片闭包与带计数约束的词方程

Slice closures of indexed languages and word equations with counting constraints

Laura Ciobanu, Georg Zetzsche

AI总结:

本文研究索引语言 Parikh 像的切片闭包,证明可计算最小切片的半线性表示,并据此解决仿射关系判定及带有理数与计数约束词方程的可判定性问题。

摘要:

索引语言是形式语言理论中的一个经典概念。作为二阶下推自动机在语言层面的等价物,它们在高阶模型检测中受到了相当多的关注。遗憾的是,对索引语言判定计数性质是众所周知的困难:迄今为止,所有关于非正则计数性质的结果都表明其不可判定。本文中,我们开启了对索引语言(的 Parikh 像)的切片闭包的研究。切片是自然数向量的集合,满足若 u、u+v、u+w 均属于该集合,则 u+v+w 也属于该集合。我们的主要结果是:给定索引语言 L,可以计算包含 L 的 Parikh 像的最小切片的半线性表示。我们给出两个应用。第一,可以计算索引语言的 Parikh 像所满足的所有仿射关系的集合。特别地,这肯定地回答了 Kobayashi 提出的问题:在给定索引语言中,是否每个词中 a 的数量都与 b 的数量相同,这一问题是否可判定。作为第二个应用,我们证明了带有理数约束和一类计数约束的词方程(方程组)的可判定性:这些约束使我们能够寻找计数函数(由自动机定义)不为零的解。例如,可以判定带有理数约束的词方程是否存在这样一个解,其中变量 X 和 Y 中 a 的出现次数不同。

英文摘要:

Indexed languages are a classical notion in formal language theory. As the language equivalent of second-order pushdown automata, they have received considerable attention in higher-order model checking. Unfortunately, counting properties are notoriously difficult to decide for indexed languages: So far, all results about non-regular counting properties show undecidability. In this paper, we initiate the study of slice closures of (Parikh images of) indexed languages. A slice is a set of vectors of natural numbers such that membership of $u,u+v,u+w$ implies membership of $u+v+w$. Our main result is that given an indexed language $L$, one can compute a semilinear representation of the smallest slice containing $L$'s Parikh image. We present two applications. First, one can compute the set of all affine relations satisfied by the Parikh image of an indexed language. In particular, this answers affirmatively a question by Kobayashi: Is it decidable whether in a given indexed language, every word has the same number of $a$'s as $b$'s. As a second application, we show decidability of (systems of) word equations with rational constraints and a class of counting constraints: These allow us to look for solutions where a counting function (defined by an automaton) is not zero. For example, one can decide whether a word equation with rational constraints has a solution where the number of occurrences of $a$ differs between variables $X$ and $Y$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑