]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_paramodulation/orderings.mli
better type for comparison and implementation of KBO orderings
[helm.git] / helm / software / components / ng_paramodulation / orderings.mli
index 59cfde124c3468adbbbc7d567fb02d53d4b88880..c7f67aa09313fb1ec9127856ec9f8d06b7c3338e 100644 (file)
 
 (* $Id: nCic.ml 9058 2008-10-13 17:42:30Z tassi $ *)
 
-val compare_terms : 'a Terms.foterm -> 'a Terms.foterm -> Terms.comparison
+module Orderings (B : Terms.Blob) :
+  sig 
+
+    (* This order relation should be:
+     * - stable for instantiation
+     * - total on ground terms
+     *
+     * The output can range only on Eq, Lt, Gt, Incomparable
+     *)
+    val compare_terms : 
+          B.t Terms.foterm -> B.t Terms.foterm -> Terms.comparison
+
+  end