Discrete Mathematics & Theoretical Computer Science (Jan 2005)

Undecidable problems concerning densities of languages

  • Jakub Kozik

DOI
https://doi.org/10.46298/dmtcs.3471
Journal volume & issue
Vol. DMTCS Proceedings vol. AF,..., no. Proceedings

Abstract

Read online

In this paper we prove that the question whether a language presented by a context free grammar has density, is undecidable. Moreover we show that there is no algorithm which, given two unambiguous context free grammars on input, decides whether the language defined by the first grammar has a relative density in the language defined by the second one. Our techniques can be extended to show that this problem is undecidable even for languages given by grammars from $LL(k)$ (for sufficiently large fixed $k ∈ \mathbb{N} )$.

Keywords