X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=components%2Ftactics%2Fparamodulation%2Futils.mli;h=f44cab460ee5837043e07cfc29eb23a5f7d5fbe7;hb=97d5c628470f472501ee41a5cc2e045ca89bfbf0;hp=ce14d480f0735a426035191df6d833385258b181;hpb=7f2444c2670cadafddd8785b687ef312158376b0;p=helm.git diff --git a/components/tactics/paramodulation/utils.mli b/components/tactics/paramodulation/utils.mli index ce14d480f..f44cab460 100644 --- a/components/tactics/paramodulation/utils.mli +++ b/components/tactics/paramodulation/utils.mli @@ -24,17 +24,27 @@ *) (* (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;; +type environment = Cic.metasenv * Cic.context * CicUniv.universe_graph + val print_metasenv: Cic.metasenv -> string val print_subst: ?prefix:string -> Cic.substitution -> string 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 @@ -73,7 +83,7 @@ type pos = Left | Right 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 @@ -82,3 +92,6 @@ val eq_ind_r_URI: unit -> UriManager.uri val sym_eq_URI: unit -> UriManager.uri val eq_XURI: unit -> UriManager.uri val trans_eq_URI: unit -> UriManager.uri + +val metas_of_term: Cic.term -> int list +