X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fparamodulation%2Futils.mli;h=71f2fc1b5d5a3adee6f1d2634784b2c3797bb9f1;hb=cb7af66937e8c72ae6ea6694350a0c86f3e6ccf9;hp=471e6e307f654f37f24fd5949d55e8a266467f1d;hpb=03cff55eef08d25984bc92080e4cac93889f3ba7;p=helm.git diff --git a/helm/ocaml/paramodulation/utils.mli b/helm/ocaml/paramodulation/utils.mli index 471e6e307..71f2fc1b5 100644 --- a/helm/ocaml/paramodulation/utils.mli +++ b/helm/ocaml/paramodulation/utils.mli @@ -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,19 @@ 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 + +type equality_sign = Negative | Positive + +val string_of_sign: equality_sign -> string + +type pos = Left | Right + +val string_of_pos: pos -> string