Affiliation:
1. The MITRE Corporation, Burlington Road Bedford, MA 01730, USA
Abstract
Term graphs are a natural generalization of terms in which structure sharing is allowed. Structure sharing makes term graph rewriting a time- and space-efficient method for implementing term rewrite systems. Certain structure sharing schemes can lead to a situation in which a term graph component is rewritten to another component that contains the original. This phenomenon, called redex capturing, introduces cycles into the term graph which is being rewritten—even when the graph and the rule themselves do not contain cycles. In some applications, redex capturing is undesirable, such as in contexts where garbage collectors require that graphs be acyclic. In other applications, for example in the use of the fixed-point combinator Y, redex capturing acts as a rewriting optimization. We show, using results about infinite rewritings of trees, that term graph rewriting with arbitrary structure sharing (including redex capturing) is sound for left-linear term rewrite systems.
Publisher
World Scientific Pub Co Pte Lt
Subject
Computer Science (miscellaneous)
Cited by
5 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Modes of Convergence for Term Graph Rewriting;Logical Methods in Computer Science;2012-06-01
2. Graph transformation for specification and programming;Science of Computer Programming;1999-04
3. Transitive term graph rewriting;Information Processing Letters;1996-11
4. Term graph rewriting and garbage collection using opfibrations;Theoretical Computer Science;1994-08
5. Critical pairs in term graph rewriting;Mathematical Foundations of Computer Science 1994;1994