ScienceDirect® Home Skip Main Navigation Links
You have guest access to ScienceDirect. Find out more.
 
Home
Browse
My Settings
Alerts
Help
 Quick Search
 Search tips (Opens new window)
    Clear all fields    
 
Font Size: Decrease Font Size  Increase Font Size
 Abstract - selected
Purchase PDF (292 K)

Article Toolbox
 
 
 
Related Articles in ScienceDirect
View More Related Articles
 
View Record in Scopus
 
doi:10.1016/S0304-3975(98)00266-7    
How to Cite or Link Using DOI (Opens New Window)

Copyright © 2000 Elsevier Science B.V. All rights reserved.

On lengths of words in context-free languages

Purchase the full-text article



References and further reading may be available for this article. To view references and further reading you must purchase this article.

Lucian Ilie1, Corresponding Author Contact Information, E-mail The Corresponding Author

Turku Centre for Computer Science TUCS, FIN-20520 Turku, Finland


Received 1 September 1997;
revised 1 September 1998.
Communicated by A. Salomaa.
Available online 16 January 2002.

Abstract

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, finite unions of sets of the form {uvnwxny | ngreater-or-equal, slanted0}. Analysing the structure of the derivation trees of such loops, we find 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 find effectively 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.

Author Keywords: Slender language; Single and paired loops; Decidability; Effective constructions; Context-free language

1 Research supported by the Academy of Finland, Project 137358.

Corresponding Author Contact Information On leave of absence from Faculty of Mathematics, University of Bucharest, Str. Academiei 14, R-70109 Bucharest, Romania; email: eucili@utu.fi


 
Home
Browse
My Settings
Alerts
Help
Elsevier.com (Opens new window)
About ScienceDirect  |  Contact Us  |  Information for Advertisers  |  Terms & Conditions  |  Privacy Policy
Copyright © 2008 Elsevier B.V. All rights reserved. ScienceDirect® is a registered trademark of Elsevier B.V.