Language classes generated by tree controlled grammars with bounded nonterminal complexity

  • Authors:
  • Sherzod Turaev;Jürgen Dassow;Florin Manea;Mohd Hasan Selamat

  • Affiliations:
  • Faculty of Computer Science and Information Technology, University Putra Malaysia, 43400 UPM Serdang, Selangor, Malaysia;Otto-von-Guericke-Universität Magdeburg, Fakultät für Informatik, PSF 4120, D-39016 Magdeburg, Germany;Institut für Informatik, Christian-Albrechts-Universität zu Kiel, Christian-Albrechts-Platz 4, D-24098 Kiel, Germany;Faculty of Computer Science and Information Technology, University Putra Malaysia, 43400 UPM Serdang, Selangor, Malaysia

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2012

Quantified Score

Hi-index 5.23

Visualization

Abstract

A tree controlled grammar is specified as a pair (G,G^') where G is a context-free grammar and G^' is a regular grammar. Its language consists of all terminal words with a derivation in G such that all levels of the corresponding derivation tree-except the last level-belong to L(G^'). We define the nonterminal complexity V ar(H) of H=(G,G^') as the sum of the numbers of nonterminals of G and G^'. In Turaev et al. (2011) [23] it is shown that tree controlled grammars H with V ar(H)@?9 are sufficient to generate all recursively enumerable languages. In this paper, we improve the bound to seven. Moreover, we show that all linear and regular simple matrix languages can be generated by tree controlled grammars with a nonterminal complexity bounded by three, and we prove that this bound is optimal for the mentioned language families. Furthermore, we show that any context-free language can be generated by a tree controlled grammar (G,G^') where the number of nonterminals of G and G^' is at most four.