X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fparamodulation%2Futils.mli;h=e69caed4d6644bf46c9704b76006bcc1c8b94c43;hb=12cc5b2b8e7f7bb0b5e315094b008a293a4df6b1;hp=1adf90e5045094c048c30fe624f3d4ade8b2e068;hpb=92d100db14a01e3fb70a7d5151ac1e60d5a782a0;p=helm.git diff --git a/helm/ocaml/paramodulation/utils.mli b/helm/ocaml/paramodulation/utils.mli index 1adf90e50..e69caed4d 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 @@ -31,3 +31,13 @@ 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 + +val compute_equality_weight: Cic.term -> Cic.term -> Cic.term -> int