X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2Fterms.ml;h=1d1465f9e6d7cfe5525792835ddafed373f44706;hb=138af8ad1b6a6382606e367cc906f4232fa626ff;hp=9b374a8a5f4acbbbf6c57d5cae9c5b5d23b4b57f;hpb=6b0a195b180e3526af7b55771b2df7b10acd7c30;p=helm.git diff --git a/helm/software/components/ng_paramodulation/terms.ml b/helm/software/components/ng_paramodulation/terms.ml index 9b374a8a5..1d1465f9e 100644 --- a/helm/software/components/ng_paramodulation/terms.ml +++ b/helm/software/components/ng_paramodulation/terms.ml @@ -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,16 +56,17 @@ 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 type t val eq : t -> t -> bool val compare : t -> t -> int - val is_eq_predicate : t -> bool + 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