]> matita.cs.unibo.it Git - helm.git/blobdiff - components/tactics/paramodulation/equality_indexing.mli
now destruct takes an optional list of term rather than a sigle optional term
[helm.git] / components / tactics / paramodulation / equality_indexing.mli
index d7c3bec5ec179db7cb33028b566f84ea694f8578..f9b51a5893e575fd9d4f3594297a8bb9efa584e7 100644 (file)
 
 module type EqualityIndex =
   sig
-    module PosEqSet : Set.S with type elt = Utils.pos * Inference.equality
-    val arities : (Cic.term, int) Hashtbl.t
-    type key = Cic.term
+    module PosEqSet : Set.S with type elt = Utils.pos * Equality.equality
     type t = Discrimination_tree.DiscriminationTreeIndexing(PosEqSet).t
     val empty : t
-    val retrieve_generalizations : t -> key -> PosEqSet.t
-    val retrieve_unifiables : t -> key -> PosEqSet.t
+    val retrieve_generalizations : t -> Cic.term -> PosEqSet.t
+    val retrieve_unifiables : t -> Cic.term -> PosEqSet.t
     val init_index : unit -> unit
-    val remove_index : t -> Inference.equality -> t
-    val index : t -> Inference.equality -> t
-    val in_index : t -> Inference.equality -> bool
+    val remove_index : t -> Equality.equality -> t
+    val index : t -> Equality.equality -> t
+    val in_index : t -> Equality.equality -> bool
   end
 
 module DT : EqualityIndex