paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Slice closures of indexed languages and word equations with counting constraints

索引语言的切片闭包与带计数约束的词方程
LICS Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science2024匹配度 2/10 · 该论文属于形式语言与自动机理论,研究索引语言的切片闭包与词方程计数约束,与用户关注的 PL 与 AI 交叉(静态分析、LLM/Agent、浮点、贝叶斯)无直接关联。其理论结果可能对字符串约束求解有间接意义,但缺乏工程实现与 AI 结合,不属于核心研究方向。引用 2 inbox
Laura Ciobanu, Georg Zetzsche
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:证明可计算索引语言 Parikh 像的最小切片半线性表示,并据此判定词方程计数约束。

索引语言是二阶下推自动机的语言等价物,在模型检测中很重要,但其非正则计数性质此前多不可判定。本文研究索引语言 Parikh 像的切片闭包:切片是对加法封闭的自然数向量集合。作者证明,给定索引语言 L,可计算包含 L 的 Parikh 像的最小切片的半线性表示。由此可计算 L 的 Parikh 像满足的所有仿射关系,并肯定回答 Kobayashi 的问题:索引语言中每个词是否 a 与 b 数量相同可判定。第二个应用是带有理约束和一类计数约束的词方程(组)的可判定性,例如可判定解中变量 X 与 Y 的 a 出现次数不同。

问题
索引语言的非正则计数性质大多不可判定;本文研究其 Parikh 像的切片闭包,以统一处理这类计数问题。
方法
定义切片(对加法封闭的自然数向量集),证明能计算包含给定索引语言 Parikh 像的最小切片的半线性表示,并用于推导仿射关系与判定计数约束。
评估
以可计算性与可判定性定理为评估,给出半线性表示算法,并导出 Kobayashi 问题的肯定答案以及带计数约束词方程的可判定性。
原文摘要(Abstract)

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+υ, u+w implies membership of u + υ + 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.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{CiobanuZ24,
  title = {Slice closures of indexed languages and word equations with counting constraints},
  author = {Laura Ciobanu and Georg Zetzsche},
  booktitle = {LICS},
  year = {2024},
  doi = {10.1145/3661814.3662134}
}