Abstract
We investigate the grammatical complexity of finite languages w.r.t. context-free grammars and variants thereof. For fixed alphabets, it is shown that both the minimal number of productions and the minimal size of a context-free grammar generating a finite language cannot be approximated within a factor of \(o(p^{1/6})\) and \(o(s^{1/7})\), respectively, unless . Here, p is the number of productions and s the size of the given grammar. Similar inapproximability results also hold for linear context-free and right-linear (or regular) grammars. As a byproduct, we show that the language of all cubes of a given length requires an exponential number of context-free productions and we also investigate upper and lower bounds on the complexity of the operations union and concatenation for finite languages.
S. Wolfsteiner—This research was completed while the author was on leave at the Institut für Informatik, Universität Giessen, Arndtstr. 2, 35392 Giessen, Germany, in 2017 and is supported by the Vienna Science Fund (WWTF) project VRG12-004.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Alspach, B., Eades, P., Rose, G.: A lower-bound for the number of productions required for a certain class of languages. Discrete Appl. Math. 6, 109–115 (1983)
Bucher, W.: A note on a problem in the theory of grammatical complexity. Theoret. Comput. Sci. 14(3), 337–344 (1981)
Bucher, W., Maurer, H.A., Culik II, K.: Context-free complexity of finite languages. Theoret. Comput. Sci. 28(3), 277–285 (1983)
Bucher, W., Maurer, H.A., Culik II, K., Wotschke, D.: Concise description of finite languages. Theoret. Comput. Sci. 14(3), 227–246 (1981)
Casel, K., Fernau, H., Gaspers, S., Gras, B., Schmid, M.L.: On the complexity of grammar-based compression over fixed alphabets. In: Chatzigiannakis, I., Mitzenmacher, M., Rabani, Y., Sangiorgi, D. (eds.) Proceedings of the 43rd International Colloquium on Automata, Languages, and Programming, volume 55 of LIPIcs, Rome, Italy, pp. 122:1–122:14. Schloss Dagstuhl-Leibniz-Zentrum für Informatik, Dagstuhl, Germany (2016)
Charikar, M., et al.: The smallest grammar problem. IEEE Trans. Inf. Theory 51(7), 2554–2576 (2005)
Dassow, J.: Descriptional complexity and operations – two non-classical cases. In: Pighizzini, G., Câmpeanu, C. (eds.) DCFS 2017. LNCS, vol. 10316, pp. 33–44. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-60252-3_3
Dassow, J., Harbich, R.: Production complexity of some operations on context-free languages. In: Kutrib, M., Moreira, N., Reis, R. (eds.) DCFS 2012. LNCS, vol. 7386, pp. 141–154. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-31623-4_11
Eberhard, S., Hetzl, S.: On the compressibility of finite languages and formal proofs. Inf. Comput. 259, 191–213 (2018)
Filmus, Y.: Lower bounds for context-free grammars. Inform. Process. Lett. 111(18), 895–898 (2011)
Ginsburg, S., Spanier, E.H.: Quotients of context-free languages. J. ACM 10(4), 487–492 (1963)
Harrison, M.A.: Introduction to Formal Language Theory. Addison-Wesley, Boston (1978)
Holzer, M., Kutrib, M.: Descriptional complexity–an introductory survey. In: Martín-Vide, C. (ed.) Scientific Applications of Language Methods, pp. 1–58. World Scientific (2010)
Hunt III, H.B.: On the time and tape complexity of languages. Ph.D. thesis, Cornell University, Ithaca, New York, USA (1973)
Tovey, C.A.: A simplified NP-complete satisfiability problem. Discrete Appl. Math. 8(1), 85–89 (1984)
Tuza, Zs.: On the context-free production complexity of finite languages. Discrete Appl. Math. 18(3), 293–304 (1987)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this paper
Cite this paper
Gruber, H., Holzer, M., Wolfsteiner, S. (2018). On Minimal Grammar Problems for Finite Languages. In: Hoshi, M., Seki, S. (eds) Developments in Language Theory. DLT 2018. Lecture Notes in Computer Science(), vol 11088. Springer, Cham. https://doi.org/10.1007/978-3-319-98654-8_28
Download citation
DOI: https://doi.org/10.1007/978-3-319-98654-8_28
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-98653-1
Online ISBN: 978-3-319-98654-8
eBook Packages: Computer ScienceComputer Science (R0)