type 'a substitution = (int * 'a foterm) list
-type comparison = Lt | Le | Eq | Ge | Gt | Incomparable
+type comparison = Lt | Eq | Gt | Incomparable
type rule = SuperpositionRight | SuperpositionLeft | Demodulation
type direction = Left2Right | Right2Left | Nodir
type position = int list
type 'a proof =
- | Exact of 'a
+ | Exact of 'a foterm
| Step of rule * int * int * direction * position * 'a substitution
(* rule, eq1, eq2, direction of eq2, position, substitution *)
= Map.Make(OT)
type 'a bag = 'a unit_clause M.t
+
+module type Blob =
+ sig
+ type t
+ val eq : t -> t -> bool
+ val compare : t -> t -> int
+ val is_eq_predicate : t -> bool
+ val pp : t -> string
+ val embed : t -> t foterm
+ val saturate : t -> t -> t foterm * t foterm
+ end
+