Edit Distance for Pushdown Automata
Krishnendu Chatterjee, Thomas A. Henzinger, Rasmus Ibsen-Jensen and, Jan Otop

TL;DR
This paper investigates the computational complexity and decidability of calculating the edit distance from pushdown automata to finite automata, revealing which problems are solvable and under what conditions.
Contribution
It provides a comprehensive analysis of the decidability and complexity of edit distance problems between pushdown automata and finite automata.
Findings
Deciding if the edit distance is at most a threshold is decidable.
Deciding if the edit distance is finite is decidable.
The problem of computing exact edit distance is undecidable.
Abstract
The edit distance between two words is the minimal number of word operations (letter insertions, deletions, and substitutions) necessary to transform to . The edit distance generalizes to languages , where the edit distance from to is the minimal number such that for every word from there exists a word in with edit distance at most . 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicssemigroups and automata theory · Algorithms and Data Compression · Logic, programming, and type systems
