*)
(* (weight of constants, [(meta, weight_of_meta)]) *)
+
+val time : bool
+val debug : bool
+val debug_metas: bool
+val debug_res: bool
+
type weight = int * (int * int) list;;
type comparison = Lt | Le | Eq | Ge | Gt | Incomparable;;
val string_of_weight: weight -> string
-val weight_of_term: ?consider_metas:bool -> Cic.term -> weight
+val weight_of_term:
+ ?consider_metas:bool ->
+ ?count_metas_occurrences:bool-> Cic.term -> weight
val normalize_weight: int -> weight -> weight
val string_of_pos: pos -> string
-val compute_equality_weight: Cic.term -> Cic.term -> Cic.term -> int
+val compute_equality_weight: Cic.term * Cic.term * Cic.term * comparison -> int
val debug_print: string Lazy.t -> unit