]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_paramodulation/nCicBlob.ml
rewritten instantiate code
[helm.git] / helm / software / components / ng_paramodulation / nCicBlob.ml
index 2ed7eef23b005efff510e2daa6a9619f9ea67d84..91746f210480f9eefae71b9cfde9aea198c238c0 100644 (file)
@@ -27,7 +27,7 @@ with type t = NCic.term and type input = NCic.term = struct
 
   let rec compare x y = 
     match x,y with
-    | NCic.Rel i, NCic.Rel j -> i-j
+    | NCic.Rel i, NCic.Rel j -> j-i
     | NCic.Meta (i,_), NCic.Meta (j,_) -> i-j
     | NCic.Const r1, NCic.Const r2 -> NReference.compare r1 r2
     | NCic.Appl l1, NCic.Appl l2 -> FoUtils.lexicograph compare l1 l2