Skip to Main content Skip to Navigation

Deep-Embedded Unification

Abstract : We present some experiments with CiME/Coccinelle about standard first-order unification of deep-embedded terms in the Coq proof assistant. We have modelled parts of the usual inference rules for unification, namely Decompose, Merge and Coalesce as Coq functions and we proved their soundness and completeness. Regarding the Generalized Occur-Check, we use the CiME rewriting toolbox as an oracle either to provide a total ordering compatible with Occur-Check, or to exhibit a cycle. Then, using these informations, it is possible to prove in Coq that there is no most general unifier (mgu), or to compute it and prove that it actually enjoys the mgu properties. All together, it means that it is possible to compute an mgu for deep-embedded terms in Coq. This is a first step towards formal proofs of confluence for TRS.
Complete list of metadata
Contributor : Laboratoire Cedric <>
Submitted on : Friday, March 6, 2015 - 11:13:32 AM
Last modification on : Tuesday, April 21, 2020 - 1:10:05 AM


  • HAL Id : hal-01125541, version 1



Evelyne Contejean, Julien Forest, Xavier Urbain. Deep-Embedded Unification. [Research Report] CEDRIC-08-1547, CEDRIC Lab/CNAM. 2008. ⟨hal-01125541⟩



Record views