X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2Fterms.ml;h=1d1465f9e6d7cfe5525792835ddafed373f44706;hb=a232a59672817abd3d6ec07db0b20d8b3fe5ad3b;hp=0e7bed7fb15ae7d3ab1eda117675f37b9412ff90;hpb=637114791874df9ebc4e0f0936513c71886a913f;p=helm.git diff --git a/helm/software/components/ng_paramodulation/terms.ml b/helm/software/components/ng_paramodulation/terms.ml index 0e7bed7fb..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,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