X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2FfoUnif.ml;h=916e33ca83aa5d4039ab46ec279aecf35ae65707;hb=2041f4fefe300f77338f6aea598f025f84db1bbc;hp=427db4f95bfca6c911bb5b1f6d9cf5dd786430ef;hpb=2bcf927f58bac034b8758173cdbd16cb7475de36;p=helm.git diff --git a/helm/software/components/ng_paramodulation/foUnif.ml b/helm/software/components/ng_paramodulation/foUnif.ml index 427db4f95..916e33ca8 100644 --- a/helm/software/components/ng_paramodulation/foUnif.ml +++ b/helm/software/components/ng_paramodulation/foUnif.ml @@ -25,11 +25,11 @@ let mem2 a b l = aux false false l ;; -module Founif (B : Orderings.Blob) = struct +module FoUnif (B : Terms.Blob) = struct module Subst = FoSubst module U = FoUtils.Utils(B) - let unification vars locked_vars t1 t2 = + let unification (* vars *) locked_vars t1 t2 = let rec occurs_check subst what where = match where with | Terms.Var i when i = what -> true @@ -81,6 +81,7 @@ module Founif (B : Orderings.Blob) = struct subst ;; +(* Sets of variables in s and t are assumed to be disjoint *) let alpha_eq s t = let rec equiv subst s t = let s = match s with Terms.Var i -> Subst.lookup i subst | _ -> s