A ρ-Calculus of Explicit Constraint Application

https://doi.org/10.1016/j.entcs.2004.06.029Get rights and content
Under a Creative Commons license
open access

Abstract

Theoretical presentations of the ρ-calculus often treat the matching constraint computations as an atomic operation although matching constraints are explicitly expressed. Actual implementations have to take a much more realistic view: computations needed in order to find the solutions of a matching equation can be really important in some matching theories and the substitution application usually involves a term traversal.

Following the works on explicit substitutions in the λ-calculus, we propose, study and exemplify a ρ-calculus with explicit constraint handling, up to the level of substitution applications. The approach is general, allowing the extension to various matching theories. We show that the calculus is powerful enough to deal with errors. We establish the confluence of the calculus and the termination of the explicit constraint handling and application sub-calculus.

Keywords

ρ-calculus
matching
constraints
explicit substitutions

Cited by (0)