]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/paramodulation/utils.mli
version 0.7.1
[helm.git] / helm / ocaml / paramodulation / utils.mli
index 235085ab149eb488b9507af12412414f7aff19cc..e69caed4d6644bf46c9704b76006bcc1c8b94c43 100644 (file)
@@ -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
 
@@ -19,11 +19,25 @@ 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
+
+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