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 (i, j). 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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Chomsky, N.: A note on phrase structure grammars. Inf. Control (now Inf. Comput.) 2, 393–395 (1959)
Chomsky, N.: On certain formal properties of grammars. Inf. Control (now Inf. Comput.) 2, 137–167 (1959)
Dassow, J., Păun, Gh.: Regulated Rewriting in Formal Language Theory. EATCS Monographs in Theoretical Computer Science, vol. 18. Springer, Heidelberg (1989)
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)
Fernau, H., Kuppusamy, L., Oladele, R.O.: New nonterminal complexity results for semi-conditional grammars. Accepted at Computability in Europe, CiE 2018 (2018)
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
Geffert, V.: How to generate languages using only two pairs of parentheses. J. Inf. Process. Cybern. EIK 27(5/6), 303–315 (1991)
Geffert, V.: Normal forms for phrase-structure grammars. RAIRO Informatique théorique et Applications/Theor. Inf. Appl. 25, 473–498 (1991)
Ginsburg, S., Rice, H.G.: Two families of languages related to ALGOL. J. ACM 9(3), 350–371 (1962)
Masopust, T.: Formal models: regulation and reduction. Ph.D. thesis, Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic (2007)
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
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)
Mayer, O.: Some restrictive devices for contrext-free languages. Inf. Control (now Inf. Comput.) 20, 69–92 (1972)
Meduna, A., Gopalaratnam, M.: On semi-conditional grammars with productions having either forbidding or permitting conditions. Acta Cybern. 11, 309–323 (1994)
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)
Okubo, F.: A note on the descriptional complexity of semi-conditional grammars. Inf. Process. Lett. 110(1), 36–40 (2009)
Oladele, R.O., Isah, S.N.: Reduction of simple semi-conditional grammars. Pac. J. Sci. Technol. 18(1), 112–116 (2017)
Vaszil, G.: On the descriptional complexity of some rewriting mechanisms regulated by context conditions. Theor. Comput. Sci. 330, 361–373 (2005)
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
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this paper
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)