Abstract
As its computation proceeds, a one-way deterministic pushdown automaton (or a 1dpda) changes the height (or volume) of its stack (or pushdown store) by switching between a non-decreasing phase and a decreasing phase. Such a changing of the two different phases is referred to as a “turn” of the machine. Languages that are recognized by k-turn 1dpda’s for each fixed number k are succinctly called k-turn deterministic context-free (dcf) languages. We first discuss closure properties of k-turn dcf languages. Such closure properties help us prove that finite-turn dcf languages are precisely characterized by a deterministic analogue of ultralinear grammars, called LR(1)-ultralinear grammars. In particular, when a 1dpda is further required to empty its stack at the beginning of each turn, the associated languages are characterized in terms of LR(1)-metalinear grammars. As an immediate application of these grammar characterizations, we prove a structural lemma, known as a pumping lemma, for finite-turn dcf languages.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
A tape is said to be read-once if its tape head never moves back to the left and, whenever it scans a non-blank symbol, it must move to the right.
- 2.
- 3.
These languages coincide with quasi-rational languages and are also characterized by context-free grammars of finite “indices”, where the index of a derivation refers to the maximum number of occurrences of variables in the sentential forms used in the derivation (see, e.g., [1]).
- 4.
The use of endmarkers and a halting set pair \((Q_{acc},Q_{rej})\) does not change the computational power of 1dpda’s. In particular, the right endmarker helps a machine empty its stack at the end of its computation.
- 5.
This grammar is also categorized to an expansive grammar (see, e.g., [1]).
References
Autebert, J.-M., Berstel, J., Boasson, L.: Context-Free Languages and Pushdown Automata. In: Rozenberg, G., Salomaa, A. (eds.) Handbook of Formal Languages, pp. 111–174. Springer, Heidelberg (1997). https://doi.org/10.1007/978-3-642-59136-5_3
Berstel, J.: Transductions and Context-Free Languages. Teubner Verlag, Wiesbaden (1979). https://doi.org/10.1007/978-3-663-09367-1
Boasson, L.: Two iteration theorems for some families of languages. J. Comput. Syst. Sci. 7, 583–596 (1973)
Chan, T.: Reversal complexity of counter machines. In: Proceedings of the Thirteenth Annual ACM Symposium on Theory of Computing (STOC 1981), pp. 146–157 (1981)
Eremondi, J., Ibarra, O.H., McQuillan, I.: Insertion operations on deterministic reversal-bounded counter machines. J. Comput. Syst. Sci. 104, 244–257 (2019)
Fernau, H., Wolf, P., Yamakami, T.: Synchronizing deterministic push-down automata can be really hard. In: Proceedings of the MFCS 2020. LIPIcs, pp. 33:1–33:15 (2020)
Ginsburg, S., Greibach, S.: Deterministic context free languages. Inform. Control 9, 620–648 (1966)
Ginsburg, S., Spanier, E.H.: Finite-turn pushdown automata. SIAM J. Comput. 4, 429–453 (1966)
Greibach, S.A.: The unsolvability of the recognition of linear context-free languages. J. ACM 13, 582–587 (1966)
Greibach, S.A.: An infinite hierarchy of context-free languages. J. ACM 16, 91–106 (1969)
Hopcroft, J. E., Ullman, J. D.: Formal Languages and Their Relation to Automata. Addison-Wesley Educational Publishers, Boston (1969)
Knuth, D.E.: On the translation of languages from left to right. Inform. Control 8, 607–639 (1965)
Kutrib, M., Malcher, A.: Finite turns and the regular closure of linear context-free languages. Discret. Appl. Math. 155, 2152–2164 (2007)
Malcher, A.: On recursive and non-recursive trade-offs between finite-turn pushdown automata. J. Autom. Lang. Comb. 12, 265–277 (2007)
Magalini, E., Pighizzini, G.: A pumping condition for ultralinear languages. Int. J. Found. Comput. Sci. 18, 1303–1312 (2007)
Moriya, E., Tada, T.: On the space complexity of turn bounded pushdown automata. Int. J. Comput. Math. 80, 295–304 (2003)
La Torre, S., Madhusudan, P., Parlato, G.: The language theory of bounded context-switching. In: López-Ortiz, A. (ed.) LATIN 2010. LNCS, vol. 6034, pp. 96–107. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-12200-2_10
Valiant, L.G.: Decision procedures for families of determinsitic pushdown automata. Ph.D. Dissertation, University of Warwick (1973)
Valiant, L.G.: The equivalence problem for determinsitic finite-turn pushdown automata. Inform. Control 25, 123–133 (1974)
Yamakami, T.: Behavioral strengths and weaknesses of various models of limited automata. In: Catania, B., Královič, R., Nawrocki, J., Pighizzini, G. (eds.) SOFSEM 2019. LNCS, vol. 11376, pp. 519–530. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-10801-4_40
Yamakami, T.: Intersection and union hierarchies of deterministic context-free languages and pumping lemmas. In: Leporati, A., Martín-Vide, C., Shapira, D., Zandron, C. (eds.) LATA 2020. LNCS, vol. 12038, pp. 341–353. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-40608-0_24
Yamakami, T.: The no endmarker theorem for one-way probabilistic pushdown automata. Manuscript, available at arXiv:2111.02688 (2021)
Yamakami, T., Mikami, E.: Synchronizing words for real-time deterministic pushdown automata. In: Giri, D., Raymond Choo, K.K., Ponnusamy, S., Meng, W., Akleylek, S., Prasad Maity, S. (eds.) Proceedings of the Seventh International Conference on Mathematics and Computing. AISC, vol. 1412, pp. 551–562. Springer, Singapore (2022). https://doi.org/10.1007/978-981-16-6890-6_41
Yu, S.: A pumping lemma for deterministic context-free languages. Inform. Process. Lett. 31, 47–51 (1989)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Yamakami, T. (2022). Formal Grammars for Turn-Bounded Deterministic Context-Free Languages. In: Seidl, H., Liu, Z., Pasareanu, C.S. (eds) Theoretical Aspects of Computing – ICTAC 2022. ICTAC 2022. Lecture Notes in Computer Science, vol 13572. Springer, Cham. https://doi.org/10.1007/978-3-031-17715-6_27
Download citation
DOI: https://doi.org/10.1007/978-3-031-17715-6_27
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-17714-9
Online ISBN: 978-3-031-17715-6
eBook Packages: Computer ScienceComputer Science (R0)