Grammatical characterizations of NPDAs and VPDAs with counters

Abstract We give a characterization of NPDAs with reversal-bounded counters (NPCMs) in terms of context-free grammars with monotonic counters. We show that the grammar characterization can be used to give simple proofs of previously known results such as the semilinearity of the Parikh map of any language accepted by an NPCM. We prove a Chomsky–Schutzenberger-like theorem: A language L is accepted by an NPCM if and only if there is a k ≥ 1 and an alphabet Σ containing at least k distinguished symbols, p 1 , . . . , p k , such that L = h ( D ∩ E k ( R ) ) for some homomorphism h, Dyck language D ⊆ Σ ⁎ , and regular set R ⊆ Σ ⁎ , where E k ( R ) = { w | w ∈ R , | w | p 1 = ⋯ = | w | p k } . We also give characterizations of other machine models, such as visibly pushdown automata with reversal-bounded counters (VPCMs). We then investigate the complexity of some decision problems concerning these grammatical models. Finally, we introduce other grammatical models equivalent to NPCM.

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

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

[3]  Alfred V. Aho,et al.  Indexed Grammars—An Extension of Context-Free Grammars , 1967, SWAT.

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

[5]  K. Mehlhorn Pebbling Moutain Ranges and its Application of DCFL-Recognition , 1980, ICALP.

[6]  Gerald Gazdar,et al.  Applicability of Indexed Grammars to Natural Languages , 1988 .

[7]  Oscar H. Ibarra,et al.  Visibly Pushdown Automata and Transducers with Counters , 2016, Fundam. Informaticae.

[8]  Alfred V. Aho,et al.  Nested Stack Automata , 1969, Journal of the ACM.

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

[10]  Seymour Ginsburg,et al.  The mathematical theory of context free languages , 1966 .

[11]  Oscar H. Ibarra,et al.  Reachability Analysis for Some Models of Infinite-State Transition Systems , 2000, CONCUR.

[12]  Oscar H. Ibarra,et al.  On Finite-Index Indexed Grammars and Their Restrictions , 2016, LATA.

[13]  David J. Weir,et al.  The equivalence of four extensions of context-free grammars , 1994, Mathematical systems theory.

[14]  Rainer Parchmann,et al.  Linear Indexed Languages , 1984, Theor. Comput. Sci..

[15]  Seymour Ginsburg,et al.  Derivation-Bounded Languages , 1968, J. Comput. Syst. Sci..

[16]  S. J. Walljasper Left-Derivation Bounded Languages , 1974, J. Comput. Syst. Sci..

[17]  Oscar H. Ibarra,et al.  Binary Reachability Analysis of Discrete Pushdown Timed Automata , 2000, CAV.

[18]  Anthony Widjaja Lin,et al.  Model Checking Recursive Programs with Numeric Data Types , 2011, CAV.

[19]  Rohit Parikh,et al.  On Context-Free Languages , 1966, JACM.

[20]  Gheorghe Paun,et al.  Regulated Rewriting in Formal Language Theory , 1989 .

[21]  Rajeev Alur,et al.  Visibly pushdown languages , 2004, STOC '04.