Skip to main content

The Hardest LL(k) Language

  • Conference paper
  • First Online:
Developments in Language Theory (DLT 2021)

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.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.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

Institutional subscriptions

References

  1. Autebert, J.: Non-principalité du cylindre des langages à compteur. Math. Syst. Theory 11, 157–167 (1977)

    Article  MathSciNet  Google Scholar 

  2. Boasson, L., Nivat, M.: Le cylindre des langages linéaires. Math. Syst. Theory 11, 147–155 (1977)

    Article  Google Scholar 

  3. Culik, K. II, Maurer, H.A.: On simple representations of language families. RAIRO Theor. Informatics Appl. 13(3), 241–250 (1979)

    Google Scholar 

  4. Greibach, S.A.: The hardest context-free language. SIAM J. Comput. 2(4), 304–310 (1973)

    Article  MathSciNet  Google Scholar 

  5. Greibach, S.A.: Jump PDA’s and hierarchies of deterministic context-free languages. SIAM J. Comput. 3(2), 111–127 (1974)

    Article  MathSciNet  Google Scholar 

  6. 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)

    Google Scholar 

  7. Kurki-Suonio, R.: Notes on top-down languages. BIT Numer. Math. 9(3), 225–238 (1969)

    Article  MathSciNet  Google Scholar 

  8. Lehtinen, T., Okhotin, A.: Homomorphisms preserving deterministic context-free languages. Int. J. Found. Comput. Sci. 24(7), 1049–1066 (2013)

    Article  MathSciNet  Google Scholar 

  9. 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

    Chapter  Google Scholar 

  10. Okhotin, A.: Conjunctive grammars. J. Autom. Lang. Comb. 6(4), 519–535 (2001)

    MathSciNet  MATH  Google Scholar 

  11. Okhotin, A.: Boolean grammars. Inf. Comput. 194(1), 19–48 (2004)

    Article  MathSciNet  Google Scholar 

  12. 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

    Chapter  Google Scholar 

  13. Okhotin, A.: Hardest languages for conjunctive and Boolean grammars. Inf. Comput. 266, 1–18 (2019)

    Article  MathSciNet  Google Scholar 

  14. Rosenkrantz, D.J., Stearns, R.E.: Properties of deterministic top-down grammars. Inf. Control. 17(3), 226–256 (1970)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics