]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_paramodulation/terms.ml
added (but not active) last chance idea
[helm.git] / helm / software / components / ng_paramodulation / terms.ml
index 0e7bed7fb15ae7d3ab1eda117675f37b9412ff90..1d1465f9e6d7cfe5525792835ddafed373f44706 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
 type direction = Left2Right | Right2Left | Nodir
 type position = int list
 
@@ -56,7 +56,7 @@ module OT =
 module M : Map.S with type key = int 
   = Map.Make(OT) 
 
-type 'a bag = 'a unit_clause M.t
+type 'a bag = ('a unit_clause * bool) M.t
 
 module type Blob =
   sig
@@ -65,7 +65,8 @@ module type Blob =
     val compare : t -> t -> int
     val eqP : t
     val pp : t -> string
-    val embed : t -> t foterm
-    val saturate : t -> t -> t foterm * t foterm
+    type input
+    val embed : input -> t foterm
+    val saturate : input -> input -> t foterm * t foterm
   end