X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fparamodulation%2Futils.mli;h=34e261d1749884782353d6755b966be0a1026131;hb=ab44166935d77276c04fcce50aa8281292776e29;hp=295d1aa4d47d4c73ed428fd6ea26f0577ff2625f;hpb=423f3f23abfe6d5906818c26ab92d3703714057d;p=helm.git diff --git a/helm/ocaml/paramodulation/utils.mli b/helm/ocaml/paramodulation/utils.mli index 295d1aa4d..34e261d17 100644 --- a/helm/ocaml/paramodulation/utils.mli +++ b/helm/ocaml/paramodulation/utils.mli @@ -5,7 +5,7 @@ type comparison = Lt | Le | Eq | Ge | Gt | Incomparable;; val print_metasenv: Cic.metasenv -> string -val print_subst: Cic.substitution -> string +val print_subst: ?prefix:string -> Cic.substitution -> string val string_of_weight: weight -> string @@ -29,6 +29,8 @@ val symbols_of_term: Cic.term -> int TermMap.t val lpo: Cic.term -> Cic.term -> comparison +val kbo: Cic.term -> Cic.term -> comparison + (** term-ordering function settable by the user *) val compare_terms: (Cic.term -> Cic.term -> comparison) ref @@ -36,3 +38,10 @@ type equality_sign = Negative | Positive val string_of_sign: equality_sign -> string +type pos = Left | Right + +val string_of_pos: pos -> string + +val compute_equality_weight: Cic.term -> Cic.term -> Cic.term -> int + +val debug_print: string -> unit