Higher type recursive program schemes and the nested pushdown automaton
نویسندگان
چکیده
When implementing recursive programs on a standard von Neumann random access machine (RAM) it is natural and well known how to use a pushdown store in order to keep track of the recursive procedure calls when the program runs. The more abstract world of program schemes abounds with examples of this pushdown – recursion relation. As a concrete example it is well known how to implement monadic recursive program schemes (de Bakker Scott schemes) on a pushdown automaton with data storage. In this case he reverse direction can be easily proved, too: The pushdown automaton considered has exactly the same computational power as de Bakker Scott schemes. Higher type concepts are at the heart of modern object oriented and functional programming languages in particular. The aim of this paper is to develop a theoretically well founded framework for implementing higher type recursion. We show that a natural generalization of the classical pushdown store, the nested pushdown allows to extend the equivalence above to a natural hierarchy of “higher type de Bakker Scott schemes ”. ∗) e-mail: [email protected]
منابع مشابه
Recursive Schemes, Krivine Machines, and Collapsible Pushdown Automata
Higher-order recursive schemes offer an interesting method of approximating program semantics. The semantics of a scheme is an infinite tree labeled with built-in constants. This tree represents the meaning of the program up to the meaning of built-in constants. It is much easier to reason about properties of such trees than properties of interpreted programs. Moreover some interesting properti...
متن کاملModel Checking and Functional Program Transformations
We study a model for recursive functional programs called higher order recursion schemes (HORS). We give new proofs of two verification related problems: reflection and selection for HORS. The previous proofs are based on the equivalence between HORS and collapsible pushdown automata and they lose the structure of the initial program. The constructions presented here are based on shape preservi...
متن کاملOn the Equivalence Problem for Attribute Systems
The authors have shown in Courcelle et al. (1982) that certain attribute systems called strongly noneireular can be translated into recursive program schemes taking derivation trees as arguments and called primitive reeursive schemes with parameters. In particular, the equivalence problem for strongly noncircular attribute systems reduces to the equivalence problem for the latter class of progr...
متن کاملNested Timed Automata
This paper proposes a new timed model named nested timed automata (NeTAs). An NeTA is a pushdown system whose stack symbols are timed automata (TAs). It either behaves as the top TA in the stack, or switches from one TA to another by pushing, popping, or changing the top TA of the stack. Different from existing component-based context-switch models such as recursive timed automata and timed rec...
متن کاملKrivine Machines and Higher-Order Schemes
We propose a new approach to analysing higher-order recursive schemes. Many results in the literature use automata models generalising pushdown automata, most notably higher-order pushdown automata with collapse (CPDA). Instead, we propose to use the Krivine machine model. Compared to CPDA, this model is closer to lambdacalculus, and incorporates nicely many invariants of computations, as for e...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005