An Overview of -calculus Sharing Graph Reduction
نویسنده
چکیده
Reduction Stefano Guerrini July 20, 1999 In the -calculus, the -reduction ( x:MN) ! M[N=x] replaces each occurrence of the bound variable x in M by a copy of the argument N. This operation could obviously duplicate work, since any reduction required to simplify the argument will be repeated on each copy. At rst glance, it could seem that by choosing an innermost reduction strategy (i.e., reducing arguments rst) we would easily solve this problem, simply because we would avoid copying redexes. Unfortunately, this is not true. First of all, we should also avoid reducing useless redexes (i.e., by the standardization theorem, redexes not reduced in the leftmost-outermost reduction), but they cannot be found e ectively in the calculus. Moreover, and this is the crucial point, even a reduction strategy that always reduces needed internal redexes is not guaranteed to reach the normal form (if it exists) in a minimal number of steps. As a matter of fact, in the case of the I-calculus, where all redexes are needed for computing the normal form, innermost reductions cannot be optimal.
منابع مشابه
Sharing in the Graph Rewriting Calculus
The graph rewriting calculus is an extension of the ρ-calculus, handling graph like structures, with explicit sharing and cycles, rather than simple terms. We study a reduction strategy for the graph rewriting calculus which is intended to maintain the sharing in the terms as long as possible. We show that the corresponding reduction relation is adequate w.r.t. the original semantics of the gra...
متن کاملSharing Implementations of Graph Rewriting Systems
Sharing graphs are a brilliant solution to the implementation of Lévy optimal reductions of λ-calculus. Sharing graphs are interesting on their own and optimal sharing reductions are just a particular reduction strategy of a more general sharing reduction system. The paper is a gentle introduction to sharing graphs and tries to confute some of the common myths on the difficulty of sharing imple...
متن کاملTowards a Sharing Strategy for the Graph Rewriting Calculus
The graph rewriting calculus is an extension of the ρ-calculus, handling graph like structures rather than simple terms. The calculus over terms is naturally generalized by using unification constraints in addition to the standard ρ-calculus matching constraints. The transformations are performed by explicit application of rewrite rules as first class entities. The possibility of expressing sha...
متن کاملA Fully Abstract Semantics for Concurrent Graph Reduction
This paper presents a fully abstract semantics for a variant of the untyped λ-calculus with recursive declarations. We first present a summary of existing work on full abstraction for the untyped λ-calculus, concentrating on ABRAMSKY and ONG’s work on the lazy λ-calculus. ABRAMSKY and ONG’s work is based on leftmost outermost reduction without sharing. This is notably inefficient, and many impl...
متن کاملComparing -calculus Translations in Sharing Graphs ?
Since Lamping's seminal work Lam90] on optimal graph reduction techniques for the-calculus, several diierent translations based on the same set of control operators (sharing graphs) have been proposed in the literature GAL92a, GAL92b, AL93a, As94]. In this paper we clarify the correspondence between all these translations, passing through the so called bus-notation GAL92a]. Indeed all the shari...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999