X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2FfoUnif.ml;h=0946873b9af5c11fea237022b2394a40393e3de6;hb=1cdd34d7c286ab22d942e2dd1b1420e1c1caeff6;hp=05fdbe37cdca5b4b301a0e840890cc5337cf173a;hpb=9883f04161a9972f0641dd85faf224b4f2846f05;p=helm.git diff --git a/helm/software/components/ng_paramodulation/foUnif.ml b/helm/software/components/ng_paramodulation/foUnif.ml index 05fdbe37c..0946873b9 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 : Terms.Blob) = struct - module Subst = FoSubst (*.Subst(B)*) +module Founif (B : Orderings.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 : Terms.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 @@ -106,5 +107,6 @@ module Founif (B : Terms.Blob) = struct in equiv Subst.id_subst s t ;; + end