In this paper we investigate languages containing at most a bounded number of words of each length. We first show that the context-free languages for which the number of words of every length is bounded by a fixed polynomial are exactly the bounded context-free languages in the sense of . Thus, we p
On lengths of words in context-free languages
β Scribed by Lucian Ilie
- Publisher
- Elsevier Science
- Year
- 2000
- Tongue
- English
- Weight
- 292 KB
- Volume
- 242
- Category
- Article
- ISSN
- 0304-3975
No coin nor oath required. For personal study only.
β¦ Synopsis
We consider slender languages, that is, languages for which the number of words of the same length is bounded from above by a constant. It is known that the slender context-free languages are precisely the unions of paired loops, that is, ΓΏnite unions of sets of the form {uv n wx n y | nΒΏ0}. Analysing the structure of the derivation trees of such loops, we ΓΏnd some upper bounds for the lengths of words in the loops of a slender context-free language, i.e., the words u; v; w; x; y in the notation above. These upper bounds depend on the given language only. Using this result, we give two new and simple proofs for the decidability of the slenderness problem for context-free languages. Moreover, due to the constructivity of our proof, we are able to ΓΏnd e ectively a representation as union of paired loops for an arbitrary slender context-free language; even a representation as a disjoint such union. As a consequence, we prove that the maximal number of words of the same length is computable. Finally, some undecidable problems are investigated.
π SIMILAR VOLUMES
Let A be a finite, totally ordered alphabet, and let P be the lexicographic ordering on A\*. Let X be a subset of A\*. The language of minimal words of X is the subset of X composed of the lexicographically minimal word of X for each length: The aim of this paper is to prove that if L is a context-