TL;DR
Even when we design languages to make their hierarchical "tree" structure explicit—as is the case with Visibly Pushdown Languages (VPLs)—that structure remains effectively invisible to simpler computational models like finite automata. This paper proves that the problem of determining whether a regular language can separate two disjoint VPLs is undecidable, resolving a challenging open problem in formal language theory.
What Problem Does This Paper Address?
In computer science, we often deal with two main types of formal languages: Regular Languages (simple, recognized by finite automata, and very "well-behaved") and Context-Free Languages (CFLs, which can describe hierarchical structures like code or natural language but are harder to analyze).
Because CFLs are difficult to work with—for instance, determining if two CFLs are disjoint is undecidable—researchers created Visibly Pushdown Languages (VPLs). In a VPL, every symbol in the alphabet is tagged as a "push" (opening a bracket), a "pop" (closing a bracket), or "internal." This makes the underlying tree structure "visible" and restores many nice properties, such as decidability for intersection and universality.
However, a lingering question remained: Can a simple finite automaton "see" this structure well enough to distinguish between two VPLs? Specifically, given two disjoint VPLs ($L_1$ and $L_2$), is there an algorithm to decide if there exists a regular language $R$ that contains all of $L_1$ but none of $L_2$? This is known as the separability problem. This paper sets out to prove that, despite the "visible" nature of these languages, this problem is just as undecidable as it is for general, "invisible" context-free languages.
Methods
The author employs a proof by reduction. They start with a known undecidable problem—separability for general Context-Free Grammars (CFGs)—and show how to transform it into a separability problem for Binary Flattened tree Grammars (BFGs), which are equivalent to VPLs.
The core of the method involves a "padding" technique. The author constructs a way to wrap words from a general CFG in structural "brackets" (the visible part of a VPL). The goal is to show that if a finite automaton could separate these new "visible" languages, it would effectively be separating the original "invisible" CFGs.
To prove this, the author uses the concept of a syntactic semigroup. Since a finite automaton has a finite number of states, it eventually becomes "blind" to certain repetitions (a pumping property). The author mathematically constructs specific "padding" sequences that exploit this blindness, ensuring that the structural tags added to the language don't actually help the finite automaton distinguish between the underlying strings.
Datasets
Not applicable. This is a theoretical paper in formal language theory and does not use empirical datasets or benchmarks. The "data" consists of formal definitions of grammars and automata.
Key Insights and Ideas
- The Irony of Visibility: The most striking insight is that "visibility" is relative to the observer. While a pushdown automaton (which has memory) can use the tags in a VPL to understand its structure perfectly, a finite automaton (which has no memory) is essentially "fooled" by the tags. To the simpler machine, the structural information is just more noise.
- The Power of Padding: The author demonstrates that you can always find a specific "padding" (sequences of structural symbols) that makes a complex language look like a simpler one to a Deterministic Finite Automaton (DFA).
- Algebraic Blindness: By using the syntactic semigroup of the DFA, the author proves there is a number $\omega$ such that the DFA cannot distinguish between a word repeated $\omega$ times and the same word repeated $2\omega$ times. This "pumping" property is the lever used to prove undecidability.
Key Results
- Undecidability of BFG-SEPARABILITY: The paper formally proves that it is impossible to create an algorithm that decides if two BFGs (and by extension, two VPLs) are separable by a regular language.
- Resolution of Alur’s Problem: This result directly answers a "Challenging Open Problem" posed by Rajeev Alur on his website in 2013 regarding "regular restrictions" of nested words.
- Generalization: The author notes that this undecidability applies to any class of languages that satisfies certain basic closure and pumping properties, such as languages recognizable by first-order logic.
Limitations and Future Work
- Binary Arity: The proof specifically focuses on binary trees (where nodes have zero or two children). While the author mentions that the proof is actually easier for arbitrary arity, they chose the binary case because it is more robust—it prevents an automaton from "cheating" by simply counting the number of children a node has.
- Specific Subclasses: While the general problem is undecidable, the paper notes that separability is decidable for certain very specific subclasses (like "piecewise testable languages"). Future work could involve identifying exactly where the boundary lies between decidable and undecidable separability for other restricted classes of automata.
Summary updated