X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2Fterms.mli;h=e0576d1f3e95dea87cd8d3955b125ac41e4f9588;hb=65e1aa022da79a3a880f5c2d5d0d512b80e50635;hp=d7f4b74e30c99792ce39c936d16d0a279cfe8c09;hpb=637114791874df9ebc4e0f0936513c71886a913f;p=helm.git diff --git a/helm/software/components/ng_paramodulation/terms.mli b/helm/software/components/ng_paramodulation/terms.mli index d7f4b74e3..e0576d1f3 100644 --- a/helm/software/components/ng_paramodulation/terms.mli +++ b/helm/software/components/ng_paramodulation/terms.mli @@ -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