Abstract
This paper establishes an analogue of Greibach’s hardest language theorem (“The hardest context-free language”, SIAM J. Comp., 1973) for the subfamily of LL languages. The first result is that there is a language \(L_0\) defined by an LL(1) grammar in the Greibach normal form, to which every language L defined by an LL(1) grammar in the Greibach normal form can be reduced by a homomorphism, that is, \(w \in L\) if and only if \(h(w) \in L_0\). Then it is shown that this statement does not hold for LL(k) languages. The second hardest language theorem is then established in the following form: there is a language \(L_0\) defined by an LL(1) grammar in the Greibach normal form, such that, for every language L defined by an LL(k) grammar, there exists a homomorphism h, for which \(w \in L\) if and only if \(h(w \$) \in L_0\), where \(\$\) is a new symbol.
This work was supported by the Russian Science Foundation, project 18-11-00100.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Autebert, J.: Non-principalité du cylindre des langages à compteur. Math. Syst. Theory 11, 157–167 (1977)
Boasson, L., Nivat, M.: Le cylindre des langages linéaires. Math. Syst. Theory 11, 147–155 (1977)
Culik, K. II, Maurer, H.A.: On simple representations of language families. RAIRO Theor. Informatics Appl. 13(3), 241–250 (1979)
Greibach, S.A.: The hardest context-free language. SIAM J. Comput. 2(4), 304–310 (1973)
Greibach, S.A.: Jump PDA’s and hierarchies of deterministic context-free languages. SIAM J. Comput. 3(2), 111–127 (1974)
Korenjak, A.J., Hopcroft, J.E.: Simple deterministic languages. In: 7th Annual Symposium on Switching and Automata Theory, Berkeley, California, USA, 23–25 October 1966, pp. 36–46. IEEE Computer Society (1966)
Kurki-Suonio, R.: Notes on top-down languages. BIT Numer. Math. 9(3), 225–238 (1969)
Lehtinen, T., Okhotin, A.: Homomorphisms preserving deterministic context-free languages. Int. J. Found. Comput. Sci. 24(7), 1049–1066 (2013)
Mrykhin, M., Okhotin, A.: On hardest languages for one-dimensional cellular automata. In: Leporati, A., Martín-Vide, C., Shapira, D., Zandron, C. (eds.) LATA 2021. LNCS, vol. 12638, pp. 118–130. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-68195-1_10
Okhotin, A.: Conjunctive grammars. J. Autom. Lang. Comb. 6(4), 519–535 (2001)
Okhotin, A.: Boolean grammars. Inf. Comput. 194(1), 19–48 (2004)
Okhotin, A.: A tale of conjunctive grammars. In: Hoshi, M., Seki, S. (eds.) DLT 2018. LNCS, vol. 11088, pp. 36–59. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-98654-8_4
Okhotin, A.: Hardest languages for conjunctive and Boolean grammars. Inf. Comput. 266, 1–18 (2019)
Rosenkrantz, D.J., Stearns, R.E.: Properties of deterministic top-down grammars. Inf. Control. 17(3), 226–256 (1970)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Mrykhin, M., Okhotin, A. (2021). The Hardest LL(k) Language. In: Moreira, N., Reis, R. (eds) Developments in Language Theory. DLT 2021. Lecture Notes in Computer Science(), vol 12811. Springer, Cham. https://doi.org/10.1007/978-3-030-81508-0_25
Download citation
DOI: https://doi.org/10.1007/978-3-030-81508-0_25
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-81507-3
Online ISBN: 978-3-030-81508-0
eBook Packages: Computer ScienceComputer Science (R0)