A rewriting calculus for cyclic higher-order term graphs - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2004

A rewriting calculus for cyclic higher-order term graphs


Introduced at the end of the nineties, the Rewriting Calculus (rho-calculus, for short) is a simple calculus that fully integrates term-rewriting and lambda-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 rho-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 rho-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.


Other [cs.OH]
No file

Dates and versions

inria-00100095 , version 1 (26-09-2006)


  • HAL Id : inria-00100095 , version 1


Clara Bertolissi, Paolo Baldan, Horatiu Cirstea, Claude Kirchner. A rewriting calculus for cyclic higher-order term graphs. 2nd International Workshop on Term Graph Rewriting - TERMGRAPH'2004, Oct 2004, Rome, Italy, 20 p. ⟨inria-00100095⟩
84 View
0 Download


Gmail Facebook Twitter LinkedIn More