]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_paramodulation/terms.mli
...
[helm.git] / helm / software / components / ng_paramodulation / terms.mli
index d7f4b74e30c99792ce39c936d16d0a279cfe8c09..e0576d1f3e95dea87cd8d3955b125ac41e4f9588 100644 (file)
@@ -20,7 +20,7 @@ type 'a substitution = (int * 'a foterm) list
 
 type comparison = Lt | Eq | Gt | Incomparable
 
-type rule = SuperpositionRight | SuperpositionLeft | Demodulation
+type rule = Superposition | Demodulation
 
 (* A Discrimination tree is a map: foterm |-> (dir, clause) *)
 type direction = Left2Right | Right2Left | Nodir
@@ -54,7 +54,7 @@ type 'a passive_clause = int * 'a unit_clause (* weight * equation *)
 
 module M : Map.S with type key = int 
 
-type 'a bag = 'a unit_clause M.t 
+type 'a bag = ('a unit_clause * bool) M.t
 
 module type Blob =
   sig
@@ -71,8 +71,10 @@ module type Blob =
      * *)
     val pp : t -> string
 
-    val embed : t -> t foterm 
+    type input
+    val embed : input -> t foterm
     (* saturate [proof] [type] -> [proof] * [type] *)
-    val saturate : t -> t -> t foterm * t foterm
+    val saturate : input -> input -> t foterm * t foterm
+
   end