X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Ftactics%2Fparamodulation%2Findexing.mli;h=8af265f907f945c4a597b24e299e64b5da29dc22;hb=9559b53134624dbee523cf6406a9852665c0ff77;hp=4d99385eded2aa02bd76c82ecf596b6fa2c9ff75;hpb=102b6ad309695168ae95c2d4a9c3daa96599de21;p=helm.git diff --git a/components/tactics/paramodulation/indexing.mli b/components/tactics/paramodulation/indexing.mli index 4d99385ed..8af265f90 100644 --- a/components/tactics/paramodulation/indexing.mli +++ b/components/tactics/paramodulation/indexing.mli @@ -25,20 +25,18 @@ (* $Id$ *) -val beta_expand_time : float ref - 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 @@ -48,34 +46,35 @@ val build_newtarget_time : float ref val subsumption : Cic.metasenv * Cic.context * CicUniv.universe_graph -> Index.t -> - Inference.equality -> - bool * Cic.substitution + Equality.equality -> + (Subst.substitution * Equality.equality) option val superposition_left : int -> Cic.conjecture list * Cic.context * CicUniv.universe_graph -> Index.t -> - Inference.equality -> - int * Inference.equality list + Equality.equality -> + int * Equality.equality list val superposition_right : int -> 'a * Cic.context * CicUniv.universe_graph -> Index.t -> - Inference.equality -> - 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 * Cic.metasenv * Index.key -> + bool * int * + (Equality.goal_proof * Cic.metasenv * Index.key) val demodulation_theorem : 'a -> Cic.metasenv * Cic.context * CicUniv.universe_graph -> @@ -84,7 +83,5 @@ val demodulation_theorem : 'a * (Cic.term * Index.key * Cic.metasenv) val check_target: Cic.context -> - Inference.equality -> string -> Cic.term * CicUniv.universe_graph + Equality.equality -> string -> unit -(* maxmeta for relocate *) -val local_max : int ref