Solution to Bucher's density problem for context-free languages
Rastko Maslic, Jeffrey Shallit
Key points
From the paper's conclusion- We first construct an infinite language $D$ with context-free complement such that, for every regular language $R$, either $D\cap R$ or $D\setminus R$ is finite.
Abstract
In 1980 Bucher asked whether, given context-free languages $L\subseteq U$ with $U\setminus L$ infinite, there must be a context-free language $K$ between them for which both $K\setminus L$ and $U\setminus K$ are infinite. We give a negative answer. We first construct an infinite language $D$ with context-free complement such that, for every regular language $R$, either $D\cap R$ or $D\setminus R$ is finite. The words of $D$ encode computations of factorials; repetition of letters ensures that each finite automaton either accepts all but finitely many words of $D$ or rejects all but finitely many words of $D$, while a one-counter automaton recognizes errors in the encodings. We then construct $L$ and $U$ from the complement of $D$. A grammar argument shows that any context-free intermediate language $K$ would divide $D$ in the same way as some regular language. This proves the required impossibility. Both $L$ and $U$ can be taken over a binary alphabet.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Factor-Two Lower Bound for Complementing Two-Way Deterministic Finite AutomataarXiv · 2026
- Some complete $\omega$-powers of a one-counter language in the difference hierarchyarXiv · 2026
- Context-Free Fixed Points and Complete Classification of Orbits in Picard Iteration for Guarded Power Language OperatorsarXiv · 2026
- The Regular Cover Problem is NP-completearXiv · 2026
- Formal Grammars and Generating Functions: From Algebraic Structure to Non-Algebraic and Non-Derivable SeriesarXiv · 2026
- Guillotine and Tiling Cofiniteness in Unary Picture LanguagesarXiv · 2026