Skip to main content

Minimizing Rules and Nonterminals in Semi-conditional Grammars: Non-trivial for the Simple Case

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10881))

Abstract

A simple semi-conditional (SSC) grammar is a form of regulated rewriting system where the derivations are controlled either by a permitting string alone or by a forbidden string alone and is specified in the rule. The maximum length i (j, resp.) of the permitting (forbidden, resp.) strings serves as a measure of descriptional complexity known as the degree of such grammars. In addition to the degree, the numbers of nonterminals and of conditional rules are also counted into the descriptional complexity measures of these grammars. We improve on some previously obtained results on computational completeness of SSC grammars by minimizing the number of nonterminals and/or the number of conditional rules for a given degree (ij). More specifically, we prove that every recursively enumerable language is generated by an SSC grammar of (i) degree (2, 1) with at most eight conditional rules and nine nonterminals, (ii) degree (3, 1) with at most seven conditional rules and eight nonterminals and (iii) degree (3, 1) with at most nine conditional rules and seven nonterminals.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Chomsky, N.: A note on phrase structure grammars. Inf. Control (now Inf. Comput.) 2, 393–395 (1959)

    Article  MathSciNet  Google Scholar 

  2. Chomsky, N.: On certain formal properties of grammars. Inf. Control (now Inf. Comput.) 2, 137–167 (1959)

    Article  MathSciNet  Google Scholar 

  3. Dassow, J., Păun, Gh.: Regulated Rewriting in Formal Language Theory. EATCS Monographs in Theoretical Computer Science, vol. 18. Springer, Heidelberg (1989)

    Chapter  Google Scholar 

  4. Fernau, H., Freund, R., Oswald, M., Reinhardt, K.: Refining the nonterminal complexity of graph-controlled, programmed, and matrix grammars. J. Autom. Lang. Comb. 12(1/2), 117–138 (2007)

    MathSciNet  MATH  Google Scholar 

  5. Fernau, H., Kuppusamy, L., Oladele, R.O.: New nonterminal complexity results for semi-conditional grammars. Accepted at Computability in Europe, CiE 2018 (2018)

    Google Scholar 

  6. Gazdag, Z., Tichler, K.: On the power of permitting semi-conditional grammars. In: Charlier, É., Leroy, J., Rigo, M. (eds.) DLT 2017. LNCS, vol. 10396, pp. 173–184. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-62809-7_12

    Chapter  Google Scholar 

  7. Geffert, V.: How to generate languages using only two pairs of parentheses. J. Inf. Process. Cybern. EIK 27(5/6), 303–315 (1991)

    MATH  Google Scholar 

  8. Geffert, V.: Normal forms for phrase-structure grammars. RAIRO Informatique théorique et Applications/Theor. Inf. Appl. 25, 473–498 (1991)

    MathSciNet  MATH  Google Scholar 

  9. Ginsburg, S., Rice, H.G.: Two families of languages related to ALGOL. J. ACM 9(3), 350–371 (1962)

    Article  MathSciNet  Google Scholar 

  10. Masopust, T.: Formal models: regulation and reduction. Ph.D. thesis, Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic (2007)

    Google Scholar 

  11. Masopust, T.: A note on the generative power of some simple variants of context-free grammars regulated by context conditions. In: Dediu, A.H., Ionescu, A.M., Martín-Vide, C. (eds.) LATA 2009. LNCS, vol. 5457, pp. 554–565. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-00982-2_47

    Chapter  Google Scholar 

  12. Masopust, T., Meduna, A.: Descriptional complexity of generalized forbidding grammars. In: Geffert, V., Pighizzini, G. (eds.) 9th International Workshop on Descriptional Complexity of Formal Systems - DCFS, pp. 170–177. University of Kosice, Slovakia (2007)

    Google Scholar 

  13. Mayer, O.: Some restrictive devices for contrext-free languages. Inf. Control (now Inf. Comput.) 20, 69–92 (1972)

    Article  Google Scholar 

  14. Meduna, A., Gopalaratnam, M.: On semi-conditional grammars with productions having either forbidding or permitting conditions. Acta Cybern. 11, 309–323 (1994)

    MathSciNet  MATH  Google Scholar 

  15. Meduna, A., Svec, M.: Reduction of simple semi-conditional grammars with respect to the number of conditional productions. Acta Cybern. 15(3), 353–360 (2002)

    MathSciNet  MATH  Google Scholar 

  16. Okubo, F.: A note on the descriptional complexity of semi-conditional grammars. Inf. Process. Lett. 110(1), 36–40 (2009)

    Article  MathSciNet  Google Scholar 

  17. Oladele, R.O., Isah, S.N.: Reduction of simple semi-conditional grammars. Pac. J. Sci. Technol. 18(1), 112–116 (2017)

    Google Scholar 

  18. Vaszil, G.: On the descriptional complexity of some rewriting mechanisms regulated by context conditions. Theor. Comput. Sci. 330, 361–373 (2005)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgments

This research would not have been possible without a visit of L. Kuppusamy and R. O. Oladele to the first author at the University of Trier, Germany, subsidized by CIRT, Center for Informatics Research and Technology. We also like to thank the referees for carefully reading and commenting on the submitted version.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lakshmanan Kuppusamy .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Fernau, H., Kuppusamy, L., Oladele, R.O., Raman, I. (2018). Minimizing Rules and Nonterminals in Semi-conditional Grammars: Non-trivial for the Simple Case. In: Durand-Lose, J., Verlan, S. (eds) Machines, Computations, and Universality. MCU 2018. Lecture Notes in Computer Science(), vol 10881. Springer, Cham. https://doi.org/10.1007/978-3-319-92402-1_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-92402-1_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-92401-4

  • Online ISBN: 978-3-319-92402-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics