X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fparamodulation%2Futils.mli;h=1adf90e5045094c048c30fe624f3d4ade8b2e068;hb=349a0e23813a7f33853e1f8fe48230276ac22934;hp=164d4f303b8fde4cc44371ee9c7c7a9b977172cd;hpb=6cce91267c785d7790e9377717a13d0546bb68e1;p=helm.git diff --git a/helm/ocaml/paramodulation/utils.mli b/helm/ocaml/paramodulation/utils.mli index 164d4f303..1adf90e50 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 @@ -19,11 +19,15 @@ val compare_weights: ?normalize:bool -> weight -> weight -> comparison val nonrec_kbo: Cic.term -> Cic.term -> comparison -val string_of_equality: - ?env:Inference.environment -> Inference.equality -> string - 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