X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=components%2Ftactics%2Fparamodulation%2Findexing.mli;h=7caaa78f47974b9d8b5f01b0d0d71d3c85ec532b;hb=dd5b7e474d70a87846f977f887d045f77342ae62;hp=1c6102a07aa304563d70aac7825a12357aec3e02;hpb=ba2372bd35aec412f5a7b61e5431236505567c43;p=helm.git diff --git a/components/tactics/paramodulation/indexing.mli b/components/tactics/paramodulation/indexing.mli index 1c6102a07..7caaa78f4 100644 --- a/components/tactics/paramodulation/indexing.mli +++ b/components/tactics/paramodulation/indexing.mli @@ -25,6 +25,8 @@ (* $Id$ *) +type goal = Equality.goal_proof * Cic.metasenv * Cic.term + module Index : sig module PosEqSet : Set.S @@ -38,24 +40,26 @@ val index : Index.t -> Equality.equality -> Index.t val remove_index : Index.t -> Equality.equality -> Index.t val in_index : Index.t -> Equality.equality -> bool val empty : Index.t -val match_unif_time_ok : float ref -val match_unif_time_no : float ref -val indexing_retrieval_time : float ref val init_index : unit -> unit -val build_newtarget_time : float ref +val unification : + Cic.metasenv * Cic.context * CicUniv.universe_graph -> + Index.t -> + Equality.equality -> + (Subst.substitution * Equality.equality * bool) option val subsumption : Cic.metasenv * Cic.context * CicUniv.universe_graph -> Index.t -> Equality.equality -> - (Equality.substitution * Equality.equality) option + (Subst.substitution * Equality.equality * bool) option val superposition_left : - int -> Cic.conjecture list * Cic.context * CicUniv.universe_graph -> Index.t -> - Equality.equality -> - int * Equality.equality list + goal -> + goal list val superposition_right : + ?subterms_only:bool -> + UriManager.uri -> int -> 'a * Cic.context * CicUniv.universe_graph -> Index.t -> @@ -64,17 +68,16 @@ val superposition_right : val demodulation_equality : ?from:string -> + UriManager.uri -> int -> Cic.metasenv * Cic.context * CicUniv.universe_graph -> Index.t -> Utils.equality_sign -> Equality.equality -> int * Equality.equality val demodulation_goal : - int -> Cic.metasenv * Cic.context * CicUniv.universe_graph -> Index.t -> - (Equality.goal_proof * Equality.old_proof) * Cic.metasenv * Index.key -> - bool * int * - ((Equality.goal_proof * Equality.old_proof) * Cic.metasenv * Index.key) + goal -> + bool * goal val demodulation_theorem : 'a -> Cic.metasenv * Cic.context * CicUniv.universe_graph -> @@ -85,3 +88,5 @@ val check_target: Cic.context -> Equality.equality -> string -> unit + (** profiling *) +val get_stats: unit -> string