]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_paramodulation/foUtils.ml
right inference step completed
[helm.git] / helm / software / components / ng_paramodulation / foUtils.ml
index 624b6c99cf3a842fb791a1a552245a61cfcc2c03..76e9735be4c546a08fb029531842fc99cf47289f 100644 (file)
@@ -20,6 +20,11 @@ let rec lexicograph f l1 l2 =
   | [],_ -> ~-1
   | _,[] -> 1
 ;;
+  
+let mk_id = 
+  let id = ref 0 in
+  fun () -> incr id; !id
+;;
 
 module Utils (B : Terms.Blob) = struct
   module Subst = FoSubst.Subst(B) ;;
@@ -102,11 +107,6 @@ module Utils (B : Terms.Blob) = struct
   ;;
 
   (* may be moved inside the bag *)
-  let mk_id = 
-    let id = ref 0 in
-    fun () -> incr id; !id
-  ;;
-
   let mk_unit_clause maxvar ty proofterm =
     let varlist =
       let rec aux acc = function