X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Ftactics%2Fparamodulation%2Findexing.mli;h=1c6102a07aa304563d70aac7825a12357aec3e02;hb=1f82709017e4ec5bab8e0311e00992b89572d856;hp=8a6f9c2b6c7923eda5f8636605fd4cbb965ab661;hpb=7f2444c2670cadafddd8785b687ef312158376b0;p=helm.git diff --git a/components/tactics/paramodulation/indexing.mli b/components/tactics/paramodulation/indexing.mli index 8a6f9c2b6..1c6102a07 100644 --- a/components/tactics/paramodulation/indexing.mli +++ b/components/tactics/paramodulation/indexing.mli @@ -28,15 +28,15 @@ module Index : sig module PosEqSet : Set.S - with type elt = Utils.pos * Inference.equality + with type elt = Utils.pos * Equality.equality and type t = Equality_indexing.DT.PosEqSet.t type t = Discrimination_tree.DiscriminationTreeIndexing(PosEqSet).t type key = Cic.term end -val index : Index.t -> Inference.equality -> Index.t -val remove_index : Index.t -> Inference.equality -> Index.t -val in_index : Index.t -> Inference.equality -> bool +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 @@ -46,41 +46,42 @@ val build_newtarget_time : float ref val subsumption : Cic.metasenv * Cic.context * CicUniv.universe_graph -> Index.t -> - 'a * 'b * ('c * Index.key * Index.key * 'd) * Cic.metasenv * 'e -> - bool * Cic.substitution + Equality.equality -> + (Equality.substitution * Equality.equality) option val superposition_left : int -> - Cic.metasenv * Cic.context * CicUniv.universe_graph -> + Cic.conjecture list * Cic.context * CicUniv.universe_graph -> Index.t -> - 'a * Inference.proof * - (Index.key * Index.key * Index.key * Utils.comparison) * Cic.metasenv * 'c -> - int * - (int * Inference.proof * - (Index.key * Index.key * Index.key * Utils.comparison) * Cic.metasenv * - 'e list) - list + Equality.equality -> + int * Equality.equality list + val superposition_right : int -> - Cic.metasenv * Cic.context * CicUniv.universe_graph -> + 'a * Cic.context * CicUniv.universe_graph -> Index.t -> - 'a * Inference.proof * - (Cic.term * Index.key * Index.key * Utils.comparison) * - Cic.metasenv * Cic.term list -> int * Inference.equality list + Equality.equality -> + int * Equality.equality list + val demodulation_equality : + ?from:string -> int -> Cic.metasenv * Cic.context * CicUniv.universe_graph -> Index.t -> - Utils.equality_sign -> Inference.equality -> int * Inference.equality + Utils.equality_sign -> Equality.equality -> int * Equality.equality val demodulation_goal : int -> Cic.metasenv * Cic.context * CicUniv.universe_graph -> Index.t -> - Inference.proof * Cic.metasenv * Index.key -> - int * (Inference.proof * Cic.metasenv * Index.key) + (Equality.goal_proof * Equality.old_proof) * Cic.metasenv * Index.key -> + bool * int * + ((Equality.goal_proof * Equality.old_proof) * Cic.metasenv * Index.key) val demodulation_theorem : 'a -> Cic.metasenv * Cic.context * CicUniv.universe_graph -> Index.t -> Cic.term * Index.key * Cic.metasenv -> 'a * (Cic.term * Index.key * Cic.metasenv) +val check_target: + Cic.context -> + Equality.equality -> string -> unit