On the Density of Context-Free and Counter Languages
arXiv:1903.03001 · doi:10.1142/S0129054118400051
Abstract
A language is said to be dense if every word in the universe is an infix of some word in . This notion has been generalized from the infix operation to arbitrary word operations in place of the infix operation (-dense, with infix-dense being the standard notion of dense). It is shown here that it is decidable, for a language accepted by a one-way nondeterministic reversal-bounded pushdown automaton, whether is infix-dense. However, it becomes undecidable for both deterministic pushdown automata (with no reversal-bound), and for nondeterministic one-counter automata. When examining suffix-density, it is undecidable for more restricted families such as deterministic one-counter automata that make three reversals on the counter, but it is decidable with less reversals. Other decidability results are also presented on dense languages, and contrasted with a marked version called -marked-density. Also, new languages are demonstrated to be outside various deterministic language families after applying different deletion operations from smaller families. Lastly, bounded-dense languages are defined and examined.