paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Edit Distance for Pushdown Automata

下推自动机的编辑距离
LMCS vol.Volume 13, Issue 32017匹配度 2/10 · 该论文研究下推自动机到有限自动机的编辑距离可判定性与复杂度,属于纯自动机/形式语言理论,可作为递归程序与规约之间距离的形式化基础;但未涉及 LLM/Agent、静态分析工具、浮点程序分析或贝叶斯程序分析,与用户当前研究画像的核心交叉方向距离较远。引用 14 inbox
Krishnendu Chatterjee, Thomas A. Henzinger, Rasmus Ibsen-Jensen, Jan Otop
dblp: 2026-09-10crossref: 2026-09-10arxiv: 2026-09-10

AI 速览

一句话:完整刻画了下推自动机到有限自动机编辑距离的阈值判定与有限性判定的可判定性和复杂度。

编辑距离可推广到语言之间:从语言 L1 到 L2 的编辑距离是最小的 k,使得 L1 中每个词都能通过至多 k 次插入、删除和替换变为 L2 中的某个词。本文研究下推自动机及其子类之间的编辑距离计算问题。由于计算到下推自动机的编辑距离不可判定,本文将下推自动机视为带递归的程序实现,将有限自动机对应的正则语言视为规范,关注从下推自动机到有限自动机的编辑距离。作者给出了两个核心判定问题的完整可判定性与复杂度图景:给定阈值 k,判定编辑距离是否不超过 k;以及判定编辑距离是否为有限。该工作系统刻画了这些问题在自动机理论框架下的可判定性边界与复杂度分类。

问题
研究如何判定从下推自动机(作为递归程序模型)到有限自动机(作为正则规范)的语言编辑距离是否不超过给定阈值,以及该距离是否有限;而反向计算到下推自动机的编辑距离不可判定。
方法
在语言编辑距离定义下,利用自动机理论与可判定性/复杂度分析,系统研究下推自动机到有限自动机编辑距离的两个判定问题。
评估
通过理论证明给出这两类问题的完整可判定性与复杂度刻画,而非实现或实验评估。
原文摘要(Abstract)

The edit distance between two words $w_1, w_2$ is the minimal number of word operations (letter insertions, deletions, and substitutions) necessary to transform $w_1$ to $w_2$. The edit distance generalizes to languages $\mathcal{L}_1, \mathcal{L}_2$, where the edit distance from $\mathcal{L}_1$ to $\mathcal{L}_2$ is the minimal number $k$ such that for every word from $\mathcal{L}_1$ there exists a word in $\mathcal{L}_2$ with edit distance at most $k$. We study the edit distance computation problem between pushdown automata and their subclasses. The problem of computing edit distance to a pushdown automaton is undecidable, and in practice, the interesting question is to compute the edit distance from a pushdown automaton (the implementation, a standard model for programs with recursion) to a regular language (the specification). In this work, we present a complete picture of decidability and complexity for the following problems: (1)~deciding whether, for a given threshold $k$, the edit distance from a pushdown automaton to a finite automaton is at most $k$, and (2)~deciding whether the edit distance from a pushdown automaton to a finite automaton is finite.Comment: An extended version of a paper accepted to ICALP 2015 with the same title. The paper has been accepted to the LMCS journal

链接与引用

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

BibTeX
@article{ChatterjeeHIO15,
  title = {Edit Distance for Pushdown Automata},
  author = {Krishnendu Chatterjee and Thomas A. Henzinger and Rasmus Ibsen-Jensen and Jan Otop},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 13, Issue 3},
  year = {2017},
  doi = {10.23638/lmcs-13(3:23)2017}
}