]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/paramodulation/utils.mli
snapshot (first version in which some extensions work, e.g. infix +)
[helm.git] / helm / ocaml / paramodulation / utils.mli
index 471e6e307f654f37f24fd5949d55e8a266467f1d..1adf90e5045094c048c30fe624f3d4ade8b2e068 100644 (file)
@@ -9,7 +9,7 @@ val print_subst: Cic.substitution -> string
 
 val string_of_weight: weight -> string
 
-val weight_of_term: Cic.term -> weight
+val weight_of_term: ?consider_metas:bool -> Cic.term -> weight
 
 val normalize_weight: int -> weight -> weight
 
@@ -23,4 +23,11 @@ val nonrec_kbo_w: (Cic.term * weight) -> (Cic.term * weight) -> comparison
 
 val names_of_context: Cic.context -> (Cic.name option) list
 
+module TermMap: Map.S with type key = Cic.term
 
+val symbols_of_term: Cic.term -> int TermMap.t
+
+val lpo: Cic.term -> Cic.term -> comparison
+
+(** term-ordering function settable by the user *)
+val compare_terms: (Cic.term -> Cic.term -> comparison) ref