Advertisement

State Grammars with Stores

Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10952)

Abstract

State grammars are context-free grammars where the productions have states associated with them, and can only be applied to a nonterminal if the current state matches the state in the production. Once states are added to grammars, it is natural to add various stores, similar to machine models. With such extensions, productions can only be applied if both the state and the value read from each store matches between the current sentential form and the production. Here, generative capacity results are presented for different derivation modes, with and without additional stores. In particular, with the standard derivation relation, it is shown that adding reversal-bounded counters does not increase the capacity, and states are enough. Also, state grammars with reversal-bounded counters that operate using leftmost derivations are shown to coincide with languages accepted by one-way machines with a pushdown and reversal-bounded counters, and these are surprisingly shown to be strictly weaker than state grammars with the standard derivation relation (and no counters). Complexity results of some decision problems involving state grammars with counters are also studied.

Keywords

Grammars Reversal-bounded counters Automata models Matrix grammars 

References

  1. 1.
    Dassow, J., Păun, G.: Regulated Rewriting in Formal Language Theory. EATCS Monographs on Theoretical Computer Science. Springer, Heidelberg (1989)CrossRefGoogle Scholar
  2. 2.
    Ginsburg, S., Spanier, E.: Finite turn pushdown automata. SIAM J. Control 4(3), 429–453 (1966)MathSciNetCrossRefGoogle Scholar
  3. 3.
    Greibach, S.: Remarks on blind and partially blind one-way multicounter machines. Theoret. Comput. Sci. 7, 311–324 (1978)MathSciNetCrossRefGoogle Scholar
  4. 4.
    Gurari, E.M., Ibarra, O.H.: The complexity of decision problems for finite-turn multicounter machines. J. Comput. Syst. Sci. 22(2), 220–229 (1981)MathSciNetCrossRefGoogle Scholar
  5. 5.
    Harrison, M.: Introduction to Formal Language Theory. Addison-Wesley Series in Computer Science. Addison-Wesley Publishing Co., Boston (1978)MATHGoogle Scholar
  6. 6.
    Hauschildt, D., Jantzen, M.: Petri net algorithms in the theory of matrix grammars. Acta Informatica 31(8), 719–728 (1994)MathSciNetCrossRefGoogle Scholar
  7. 7.
    Hopcroft, J.E., Ullman, J.D.: Introduction to Automata Theory, Languages, and Computation. Addison-Wesley, Reading (1979)MATHGoogle Scholar
  8. 8.
    Ibarra, O., McQuillan, I.: The effect of end-markers on counter machines and commutativity. Theoret. Comput. Sci. 627, 71–81 (2016)MathSciNetCrossRefGoogle Scholar
  9. 9.
    Ibarra, O.H.: Reversal-bounded multicounter machines and their decision problems. J. ACM 25(1), 116–133 (1978)MathSciNetCrossRefGoogle Scholar
  10. 10.
    Ibarra, O.H.: Grammatical characterizations of NPDAs and VPDAs with counters. In: Han, Y.S., Salomaa, K. (eds.) 21st International Conference on Implementation and Application of Automata, CIAA 2016, Seoul, South Korea. Lecture Notes in Computer Science, vol. 9705, p. 11 (2016). Invited abstract, journal version submittedGoogle Scholar
  11. 11.
    Kasai, T.: An hierarchy between context-free and context-sensitive languages. J. Comput. Syst. Sci. 4(5), 492–508 (1970)MathSciNetCrossRefGoogle Scholar
  12. 12.
    Moriya, E.: Some remarks on state grammars and matrix grammars. Inf. Control 23, 48–57 (1973)MathSciNetCrossRefGoogle Scholar
  13. 13.
    Moriya, E., Hofbauer, D., Huber, M., Otto, F.: On state-alternating context-free grammars. Theoret. Comput. Sci. 337(1), 183–216 (2005)MathSciNetCrossRefGoogle Scholar
  14. 14.
    Rozenberg, G., Vermeir, D.: On the effect of the finite index restriction on several families of grammars. Inf. Control 39, 284–302 (1978)MathSciNetCrossRefGoogle Scholar
  15. 15.
    Salomaa, A.: Matrix grammars with a leftmost restriction. Inf. Control 20(2), 143–149 (1972)MathSciNetCrossRefGoogle Scholar
  16. 16.
    Stiebe, R.: Slender matrix languages, pp. 375–385. World Scientific (2000)Google Scholar

Copyright information

© IFIP International Federation for Information Processing 2018

Authors and Affiliations

  1. 1.Department of Computer ScienceUniversity of CaliforniaSanta BarbaraUSA
  2. 2.Department of Computer ScienceUniversity of SaskatchewanSaskatoonCanada

Personalised recommendations