Skip to main content

Some Decision Problems Concerning NPDAs, Palindromes, and Dyck Languages

  • Conference paper
Implementation and Application of Automata (CIAA 2013)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 7982))

Included in the following conference series:

  • 708 Accesses

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.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

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

    Chapter  Google Scholar 

  2. Book, R., Otto, F.: String Rewriting Systems. Springer, New York (1993)

    Book  MATH  Google Scholar 

  3. Durbin, R.: Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids. Cambridge University Press (1998)

    Google Scholar 

  4. Ginsburg, S., Spanier, E.: Finite-turn pushdown automata. SIAM J. on Control 4, 429–453 (1966)

    MathSciNet  MATH  Google Scholar 

  5. Greibach, S.A.: An infinite hierarchy of context-free languages. J. Assoc. Comput. Mach. 16, 91–106 (1969)

    Article  MathSciNet  MATH  Google Scholar 

  6. Greibach, S.A., Friedman, E.P.: Superdeterministic PDAs: a subcase with a decidable inclusion problem. J. Assoc. Comput. Mach. 27, 675–700 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  7. Gurari, E., Ibarra, O.H.: The complexity of decision problems for finite-turn multicounter machines. J. Comput. System Sci. 22, 220–229 (1981)

    Article  MathSciNet  MATH  Google Scholar 

  8. Harrison, M.A.: Introduction to Formal Languages. Addison-Wesley (1978)

    Google Scholar 

  9. Hopcroft, J.E., Motwani, R., Ullman, J.D.: Introduction to Automata Theory, Languages and Computation, 3rd edn. Addison-Wesley (2006)

    Google Scholar 

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

    Google Scholar 

  11. Ibarra, O.H.: Reversal-bounded multicounter machines and their decision problems. J. Assoc. Comput. Mach. 25, 116–133 (1978)

    Article  MathSciNet  MATH  Google Scholar 

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

    Google Scholar 

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

    Chapter  Google Scholar 

  14. Ibarra, O.H., Yen, H.-C.: On the containment and equivalence problems for two-way transducers. TCS 429, 155–163 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  15. Lohrey, M.: Word problems and membership problems on compressed words. SIAM Journal on Computing 35(5), 1210–1240 (2006)

    Article  MathSciNet  MATH  Google Scholar 

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

    Chapter  Google Scholar 

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

    Google Scholar 

  18. Sénizergues, G.: Complete formal systems for equivalence problems. Theoret. Comput. Sci. 231(1), 309–334 (2000)

    Article  MathSciNet  MATH  Google Scholar 

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

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics