A Rewriting Calculus for Cyclic Higher-order Term Graphs |
| |
Authors: | C. Bertolissi P. Baldan H. Cirstea C. Kirchner |
| |
Affiliation: | aLORIA INRIA INPL NANCY II, 54506 Vandoeuvre-lès-Nancy BP 239 Cedex France;bDipartimento di Informatica, Università Ca' Foscari di Venezia, Italy |
| |
Abstract: | Introduced at the end of the nineties, the Rewriting Calculus (ρ-calculus, for short) is a simple calculus that fully integrates term-rewriting and λ-calculus. The rewrite rules, acting as elaborated abstractions, their application and the obtained structured results are first class objects of the calculus. The evaluation mechanism, generalizing beta-reduction, strongly relies on term matching in various theories.In this paper we propose an extension of the ρ-calculus, handling graph like structures rather than simple terms. The transformations are performed by explicit application of rewrite rules as first class entities. The possibility of expressing sharing and cycles allows one to represent and compute over regular infinite entities.The calculus over terms is naturally generalized by using unification constraints in addition to the standard ρ-calculus matching constraints. This therefore provides us with the basics for a natural extension of an explicit substitution calculus to term graphs. Several examples illustrating the introduced concepts are given. |
| |
Keywords: | rewriting calculus cyclic lambda calculus term graphs matching and unification constraints |
本文献已被 ScienceDirect 等数据库收录! |
|