Some Decision Problems Concerning NPDAs, Palindromes, and Dyck Languages

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 L0 being one of the following: P = $\{ x \# x^r \ | $x∈(0+1)* }, Pu = $\{ x x^r \ | $x∈(0+1)* }, Dk = Dyck language with k-type of parentheses, or Sk = two-sided Dyck language with k types of parentheses, we consider problems such as: 'Is L(M)∩L0 = ∅?', 'Is L(M)⊆L0?', or 'Is L(M) = L0?', 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)⊆Pu?' is decidable in polynomial time for M an NPDA. We also show several other related decidability and undecidability results.

[1]  Sheila A. Greibach,et al.  An Infinite Hierarchy of Context-Free Languages , 1969, JACM.

[2]  Durbin,et al.  Biological Sequence Analysis , 1998 .

[3]  Eitan M. Gurari,et al.  The Complexity of Decision Problems for Finite-Turn Multicounter Machines , 1981, J. Comput. Syst. Sci..

[4]  Alberto Bertoni,et al.  The Inclusion Problem of Context-Free Languages: Some Tractable Cases , 2009, Developments in Language Theory.

[5]  Andreas Malcher,et al.  Descriptional Complexity of Bounded Context-Free Languages , 2007, Developments in Language Theory.

[6]  Oscar H. Ibarra,et al.  On Sparseness, Ambiguity and other Decision Problems for Acceptors and Transducers , 1986, STACS.

[7]  Sean R. Eddy,et al.  Biological Sequence Analysis: Probabilistic Models of Proteins and Nucleic Acids , 1998 .

[8]  Harry B. Hunt,et al.  Computational Parallels Between the Regular and Context-Free Languages , 1978, SIAM J. Comput..

[9]  S. Ginsburg,et al.  Finite-Turn Pushdown Automata , 1966 .

[10]  Robin Milner,et al.  On Observing Nondeterminism and Concurrency , 1980, ICALP.

[11]  Colin Stirling,et al.  Deciding DPDA Equivalence Is Primitive Recursive , 2002, ICALP.

[12]  Jeffrey D. Ullman,et al.  Introduction to Automata Theory, Languages and Computation , 1979 .

[13]  Sheila A. Greibach,et al.  Superdeterministic PDAs , 1980, J. ACM.

[14]  Oscar H. Ibarra,et al.  On Bounded Languages and Reversal-Bounded Automata , 2013, LATA.

[15]  Wojciech Rytter,et al.  On the Maximal Number of Cubic Runs in a String , 2010, LATA.

[16]  M. Minsky Recursive Unsolvability of Post's Problem of "Tag" and other Topics in Theory of Turing Machines , 1961 .

[17]  Friedrich Otto,et al.  String-Rewriting Systems , 1993, Text and Monographs in Computer Science.

[18]  György E. Révész Introduction to formal languages , 1983 .

[19]  Oscar H. Ibarra,et al.  Reversal-Bounded Multicounter Machines and Their Decision Problems , 1978, JACM.

[20]  Grzegorz Rozenberg,et al.  Developments in Language Theory II , 2002 .

[21]  Oscar H. Ibarra,et al.  On the containment and equivalence problems for two-way transducers , 2012, Theor. Comput. Sci..

[22]  Géraud Sénizergues,et al.  Complete formal systems for equivalence problems , 2000, Theor. Comput. Sci..

[23]  Markus Lohrey,et al.  Word Problems and Membership Problems on Compressed Words , 2006, SIAM J. Comput..

[24]  Michael A. Harrison,et al.  Introduction to formal language theory , 1978 .