Abstract 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 Ginsburg (1966). Thus, we present a length characterization for bounded context-free languages. We then study slender context-free languages, i.e., those containing at most a constant number of words of each length. Recently, Ilie proved that every such language can be described by a finite union of terms of the form uv i wx i y (Ilie, 1994). We provide a completely different proof of this, using constructive methods. This enables us to prove that thinness and slenderness are decidable. Our proofs are based upon a novel characterization of languages in terms of the structure of the infinite paths in their prefix closure. This characterization seems to be interesting in itself, and can be expanded to more general families of languages.
[1]
Gheorghe Paun,et al.
Thin and Slender Languages
,
1995,
Discret. Appl. Math..
[2]
P. Hammer,et al.
Discrete Applied Mathematics Volume 37-38
,
1992
.
[3]
Gheorghe Paun,et al.
Language-theoretic problems arising from Richelieu cryptosystems
,
1993,
Theor. Comput. Sci..
[4]
Michael A. Harrison,et al.
Introduction to formal language theory
,
1978
.
[5]
Gheorghe Paun,et al.
Decision Problems Concerning the Thinness of DOL Languages
,
1992,
Bull. EATCS.
[6]
Lucian Ilie.
On a Conjecture about Slender Context-Free Languages
,
1994,
Theor. Comput. Sci..
[7]
Gheorghe Paun,et al.
Closure Properties of Slender Languages
,
1993,
Theor. Comput. Sci..
[8]
Seymour Ginsburg,et al.
The mathematical theory of context free languages
,
1966
.