X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=inline;f=matita%2Fcomponents%2Fng_paramodulation%2FnCicBlob.ml;h=9e17f86d551a7da4d3c10c8db5319a19a03a4da4;hb=db7ecce6c398a42f14557067bf18b61cf75da80e;hp=b9314a20317203d127413454acc13727d7c8616a;hpb=894d518aa760c9f816ddb0dc2b3fa88e1fe20a94;p=helm.git diff --git a/matita/components/ng_paramodulation/nCicBlob.ml b/matita/components/ng_paramodulation/nCicBlob.ml index b9314a203..9e17f86d5 100644 --- a/matita/components/ng_paramodulation/nCicBlob.ml +++ b/matita/components/ng_paramodulation/nCicBlob.ml @@ -45,8 +45,10 @@ with type t = NCic.term and type input = NCic.term = struct type t = NCic.term - let eq x y = x = y;; - (* NCicReduction.alpha_eq C.metasenv C.subst C.context x y;; *) + let eq x y = + (* CSC: NCicPp.status is the best I can put here *) + x = y || + NCicReduction.alpha_eq (new NCicPp.status) C.metasenv C.subst C.context x y;; let height_of_ref = function | NReference.Def h -> h @@ -79,9 +81,7 @@ with type t = NCic.term and type input = NCic.term = struct ;; let compare x y = - (* CSC: NCicPp.status is the best I can put here *) - if NCicReduction.alpha_eq (new NCicPp.status) [] [] [] x y then 0 - (* if x = y then 0 *) + if eq x y then 0 else compare x y ;;