Abstract
We address several types of decision questions related to context-free languages when an NPDA is given as input. First we consider the question of whether the NPDA makes a bounded number of stack reversals (over all accepting inputs) and show that this problem is undecidable even when the NPDA is only 2-ambiguous. We consider the same problem for counter machines (i.e., whether the counter makes a bounded number of reversals) and show that it is also undecidable. On the other hand, we show that the problem is decidable for unambiguous NPDAs even when augmented with reversal-bounded counters. Next, we look at problems of equivalence, containment and disjointness with fixed languages. With the fixed language L 0 being one of the following: P = \(\{ x \# x^r \ | \) x ∈ (0 + 1)* }, P u = \(\{ x x^r \ | \) x ∈ (0 + 1)* }, D k = Dyck language with k-type of parentheses, or S k = two-sided Dyck language with k types of parentheses, we consider problems such as: ‘Is L(M) ∩ L 0 = ∅?’, ‘Is L(M) ⊆ L 0?’, or ‘Is L(M) = L 0?’, where M is an input NPDA (or a restricted form of it). For example, we show that the problem, ‘Is L(M) ∩ P?’, is undecidable when M is a deterministic one-counter acceptor, while the problem ‘Is L(M) ⊆ P?’ is decidable even for NPDAs augmented with reversal-bounded counters. Another result is that the problem ‘Is L(M) ⊆ P u ?’ is decidable in polynomial time for M an NPDA. We also show several other related decidability and undecidability results.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Bertoni, A., Choffrut, C., Radicioni, R.: The inclusion problem of context-free languages: some tractable cases. In: Diekert, V., Nowotka, D. (eds.) DLT 2009. LNCS, vol. 5583, pp. 103–112. Springer, Heidelberg (2009)
Book, R., Otto, F.: String Rewriting Systems. Springer, New York (1993)
Durbin, R.: Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids. Cambridge University Press (1998)
Ginsburg, S., Spanier, E.: Finite-turn pushdown automata. SIAM J. on Control 4, 429–453 (1966)
Greibach, S.A.: An infinite hierarchy of context-free languages. J. Assoc. Comput. Mach. 16, 91–106 (1969)
Greibach, S.A., Friedman, E.P.: Superdeterministic PDAs: a subcase with a decidable inclusion problem. J. Assoc. Comput. Mach. 27, 675–700 (1980)
Gurari, E., Ibarra, O.H.: The complexity of decision problems for finite-turn multicounter machines. J. Comput. System Sci. 22, 220–229 (1981)
Harrison, M.A.: Introduction to Formal Languages. Addison-Wesley (1978)
Hopcroft, J.E., Motwani, R., Ullman, J.D.: Introduction to Automata Theory, Languages and Computation, 3rd edn. Addison-Wesley (2006)
Hunt, H.B., Rosenkrantz, D.J.: Computational parallels between the regular and context-free languages. In: Symp. on Theory of Computing, pp. 64–74 (1974)
Ibarra, O.H.: Reversal-bounded multicounter machines and their decision problems. J. Assoc. Comput. Mach. 25, 116–133 (1978)
Ibarra, O.H., Ravikumar, B.: On sparseness and ambiguity for acceptors and transducers. In: Monien, B., Vidal-Naquet, G. (eds.) STACS 1986. LNCS, vol. 210, pp. 171–179. Springer, Heidelberg (1986)
Ibarra, O.H., Ravikumar, B.: On bounded languages and reversal-bounded automata. In: Dediu, A.-H., Martín-Vide, C., Truthe, B. (eds.) LATA 2013. LNCS, vol. 7810, pp. 359–370. Springer, Heidelberg (2013)
Ibarra, O.H., Yen, H.-C.: On the containment and equivalence problems for two-way transducers. TCS 429, 155–163 (2012)
Lohrey, M.: Word problems and membership problems on compressed words. SIAM Journal on Computing 35(5), 1210–1240 (2006)
Malcher, A., Pighizzini, G.: Descriptional complexity of bounded context-free languages. In: Harju, T., Karhumäki, J., Lepistö, A. (eds.) DLT 2007. LNCS, vol. 4588, pp. 312–323. Springer, Heidelberg (2007)
Minsky, M.: Recursive unsolvability of Post’s problem of Tag and other topics in the theory of Turing machines. Ann. of Math. (74), 437–455 (1961)
Sénizergues, G.: Complete formal systems for equivalence problems. Theoret. Comput. Sci. 231(1), 309–334 (2000)
Stirling, C.: Deciding DPDA equivalence is primitive recursive. In: Widmayer, P., Triguero, F., Morales, R., Hennessy, M., Eidenbenz, S., Conejo, R. (eds.) ICALP 2002. LNCS, vol. 2380, pp. 821–832. Springer, Heidelberg (2002)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Ibarra, O.H., Ravikumar, B. (2013). Some Decision Problems Concerning NPDAs, Palindromes, and Dyck Languages. In: Konstantinidis, S. (eds) Implementation and Application of Automata. CIAA 2013. Lecture Notes in Computer Science, vol 7982. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-39274-0_18
Download citation
DOI: https://doi.org/10.1007/978-3-642-39274-0_18
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-39273-3
Online ISBN: 978-3-642-39274-0
eBook Packages: Computer ScienceComputer Science (R0)