]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/paramodulation/saturation.ml
Discrimination and trie removed.
[helm.git] / helm / ocaml / paramodulation / saturation.ml
index 9e533d8d635bd1c707706eec04107b37afb70e1b..2e7f1f21a82c8ff0a2117314872d6a18a1e9c96d 100644 (file)
@@ -54,7 +54,8 @@ let symbols_ratio = ref (* 0 *) 3;;
 let symbols_counter = ref 0;;
 
 (* non-recursive Knuth-Bendix term ordering by default *)
-Utils.compare_terms := Utils.nonrec_kbo;; 
+(* Utils.compare_terms := Utils.nonrec_kbo;; *)
+Utils.compare_terms := Utils.ao;;
 
 (* statistics... *)
 let derived_clauses = ref 0;;
@@ -141,7 +142,7 @@ let select env goals passive (active, _) =
           (* Negatives aren't indexed, no need to remove them... *)
           (Negative, hd),
           ((tl, EqualitySet.remove hd neg_set), (pos, pos_set), passive_table)
-      | [], hd::tl ->
+      | [], (hd:EqualitySet.elt)::tl ->
           let passive_table =
             Indexing.remove_index passive_table hd
           in