On collapsible pushdown automata, their graphs and the power of links

Higher-Order Pushdown Automata (HOPDA) are abstract machines equipped with a nested stacks of stacks... of stacks of stacks. Collapsible pushdown automata (CPDA) enhance these stacks with the addition of ‘links’ emanating from atomic elements to the higher-order stacks below. For trees CPDA are equi-expressive with recursion schemes, which can be viewed as simply-typed λY terms. With vanilla HOPDA, one can only capture schemes satisfying a syntactic constraint called safety. This dissertation begins with some results concerning the significance of links in terms of recursion schemes. We introduce a fine-grained notion of safety that allows us to correlate the need for links of a given order with the imposition of safety on variables of a corresponding order. This generalises some joint work with William Blum that shows we can dispense with homogeneous types when characterising safety. We complement this result with a demonstration that homogeneity by itself does not constrain the expressivity of otherwise unrestricted recursion schemes. The main results of the dissertation, however, concern the configuration graphs of CPDA. Whilst the configuration graphs of HOPDA are well understood and have decidable MSO theories (they coincide with the Caucal hierarchy), relatively little is known about the transition graphs of CPDA. It is known that they already have undecidable MSO theories at order-2, but Kartzow recently showed that 2-CPDA graphs are tree automatic and hence first-order logic is decidable at order-2. We provide a characterisation of the decidability of first-order logic on CPDA graphs in terms of quantifier-alternation and the order of CPDA stacks and the links contained within. Whilst this characterisation is fairly comprehensive, we do leave open the question of decidability for some sub-classes of CPDA. It turns out that decidability can be highly sensitive to the order of links in a stack relative to the order of the stack itself. In addition to some strong and surprising undecidability results, we also develop further Kartzow’s work on 2-CPDA. We introduce prefix-rewrite systems for nested-words that characterise the configuration graphs of both 2-CPDA and 2-HOPDA, capturing the power of collapse precisely in terms outside of the language of CPDA. It also formalises and demonstrates the inherent asymmetry of the collapse operation. This generalises the rational prefix-rewriting systems characterising conventional pushdown graphs and we believe establishes the 2-CPDA graphs as an interesting and robust class.

[1]  C.-H. Luke Ong,et al.  On Model-Checking Trees Generated by Higher-Order Recursion Schemes , 2006, 21st Annual IEEE Symposium on Logic in Computer Science (LICS'06).

[2]  Thierry Cachat,et al.  Higher Order Pushdown Automata, the Caucal Hierarchy of Graphs and Parity Games , 2003, ICALP.

[3]  Jolie G. de Miranda Structures generated by higher-order grammars and the safety constraint , 2006 .

[4]  C.-H. Luke Ong,et al.  Symbolic Backwards-Reachability Analysis for Higher-Order Pushdown Systems , 2007, FoSSaCS.

[5]  Pawel Parys Collapse Operation Increases Expressive Power of Deterministic Higher Order Pushdown Automata , 2011, STACS.

[6]  Achim Blumensath,et al.  Finite Presentations of Infinite Structures: Automata and Interpretations , 2004, Theory of Computing Systems.

[7]  Dexter Kozen,et al.  Parikh's theorem in commutative Kleene algebra , 1999, Proceedings. 14th Symposium on Logic in Computer Science (Cat. No. PR00158).

[8]  Rajeev Alur,et al.  A Temporal Logic of Nested Calls and Returns , 2004, TACAS.

[9]  H. Gaifman On Local and Non-Local Properties , 1982 .

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

[11]  C. Delhommé Automaticité des ordinaux et des graphes homogènes , 2004 .

[12]  Andrzej S. Murawski,et al.  Collapsible Pushdown Automata and Recursion Schemes , 2008, LICS.

[13]  Neil Immerman Languages which capture complexity classes , 1983, STOC '83.

[14]  Antoine Meyer,et al.  Winning Regions of Higher-Order Pushdown Games , 2008, 2008 23rd Annual IEEE Symposium on Logic in Computer Science.

[15]  Pawel Urzyczyn,et al.  Higher-Order Pushdown Trees Are Easy , 2002, FoSSaCS.

[16]  André Nies,et al.  Automatic Structures: Richness and Limitations , 2004, LICS.

[17]  E. Allen Emerson,et al.  Tree automata, mu-calculus and determinacy , 1991, [1991] Proceedings 32nd Annual Symposium of Foundations of Computer Science.

[18]  Arnaud Carayol,et al.  Positional Strategies for Higher-Order Pushdown Parity Games , 2008, MFCS.

[19]  C.-H. Luke Ong,et al.  Verifying higher-order functional programs with pattern-matching algebraic data types , 2011, POPL '11.

[20]  Arnaud Carayol,et al.  Regular Sets of Higher-Order Pushdown Stacks , 2005, MFCS.

[21]  Dexter Kozen,et al.  RESULTS ON THE PROPOSITIONAL’p-CALCULUS , 2001 .

[22]  R. Alur,et al.  Adding nesting structure to words , 2006, JACM.

[23]  C.-H. Luke Ong,et al.  Recursion Schemes and Logical Reflection , 2010, 2010 25th Annual IEEE Symposium on Logic in Computer Science.

[24]  Olivier Serre Note on winning positions on pushdown games with [omega]-regular conditions , 2003, Inf. Process. Lett..

[25]  Didier Caucal On infinite transition graphs having a decidable monadic theory , 2003, Theor. Comput. Sci..

[26]  Igor Walukiewicz,et al.  Unsafe Grammars and Panic Automata , 2005, ICALP.

[27]  Klaus Aehlig,et al.  Safety Is not a Restriction at Level 2 for String Languages , 2005, FoSSaCS.

[28]  C.-H. Luke Ong,et al.  On Full Abstraction for PCF: I, II, and III , 2000, Inf. Comput..

[29]  Achim Blumensath,et al.  Automatic structures , 2000, Proceedings Fifteenth Annual IEEE Symposium on Logic in Computer Science (Cat. No.99CB36332).

[30]  David E. Muller,et al.  The Theory of Ends, Pushdown Automata, and Second-Order Logic , 1985, Theor. Comput. Sci..

[31]  Werner Damm,et al.  An Automata-Theoretical Characterization of the OI-Hierarchy , 1986, Inf. Control..

[32]  Swarat Chaudhuri,et al.  Languages of Nested Trees , 2006, CAV.

[33]  Anil Nerode,et al.  Automatic Presentations of Structures , 1994, LCC.

[34]  Marcelo Arenas,et al.  Regular Languages of Nested Words: Fixed Points, Automata, and Synchronization , 2010, Theory of Computing Systems.

[35]  William Blum,et al.  The Safe Lambda Calculus , 2007, TLCA.

[36]  Alexander Kartzow A Pumping Lemma for Collapsible Pushdown Graphs of Level 2 , 2011, CSL.

[37]  Thierry Cachat,et al.  Uniform Solution of Parity Games on Prefix-Recognizable Graphs , 2003, INFINITY.

[38]  Didier Caucal On Infinite Terms Having a Decidable Monadic Theory , 2002, MFCS.

[39]  C.-H. Luke Ong,et al.  On Global Model Checking Trees Generated by Higher-Order Recursion Schemes , 2009, FoSSaCS.

[40]  Igor Walukiewicz,et al.  On the Expressive Completeness of the Propositional mu-Calculus with Respect to Monadic Second Order Logic , 1996, CONCUR.

[41]  Arnaud Carayol,et al.  The Caucal Hierarchy of Infinite Graphs in Terms of Logic and Higher-Order Pushdown Automata , 2003, FSTTCS.

[42]  Alfred V. Aho Indexed Grammars-An Extension of Context Free Grammars , 1967, SWAT.

[43]  Naoki Kobayashi Types and higher-order recursion schemes for verification of higher-order programs , 2009, POPL '09.

[44]  Antoine Meyer,et al.  Symbolic Reachability Analysis of Higher-Order Context-Free Processes , 2004, FSTTCS.

[45]  Igor Walukiewicz,et al.  Krivine machines and higher-order schemes , 2011, Inf. Comput..

[46]  Edmund M. Clarke,et al.  Counterexample-guided abstraction refinement , 2003, 10th International Symposium on Temporal Representation and Reasoning, 2003 and Fourth International Conference on Temporal Logic. Proceedings..

[47]  Pawel Urzyczyn,et al.  Deciding Monadic Theories of Hyperalgebraic Trees , 2001, TLCA.

[48]  Alexander Kartzow Collapsible Pushdown Graphs of Level 2 are Tree-Automatic , 2010, STACS.

[49]  Robert H. Gilman A Shrinking Lemma for Indexed Languages , 1996, Theor. Comput. Sci..

[50]  Achim Blumensath Prefix-Recognisable Graphs and Monadic Second-Order Logic , 2001 .

[51]  Takeshi Hayashi On Derivation Trees of Indexed Grammars —An Extension of the uvwxy-Theorem— , 1973 .

[52]  Klaus Aehlig,et al.  The Monadic Second Order Theory of Trees Given by Arbitrary Level-Two Recursion Schemes Is Decidable , 2005, TLCA.

[53]  Colin Stirling,et al.  Modal Logics and mu-Calculi: An Introduction , 2001, Handbook of Process Algebra.

[54]  Arnaud Carayol,et al.  Linear Orders in the Pushdown Hierarchy , 2010, ICALP.

[55]  Pierre Crégut,et al.  An abstract machine for Lambda-terms normalization , 1990, LISP and Functional Programming.

[56]  Emil L. Post A variant of a recursively unsolvable problem , 1946 .

[57]  C. Stirling Decidability of Bisimulation Equivalence for Pushdown Processes , 2000 .