X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2Fterms.mli;h=d7f4b74e30c99792ce39c936d16d0a279cfe8c09;hb=40ce8d1c14808ea7608ee2988bd9aba77ddf8200;hp=c16b6f9b7212dd564aa07c67b4a39a1ee8eb86e6;hpb=6b0a195b180e3526af7b55771b2df7b10acd7c30;p=helm.git diff --git a/helm/software/components/ng_paramodulation/terms.mli b/helm/software/components/ng_paramodulation/terms.mli index c16b6f9b7..d7f4b74e3 100644 --- a/helm/software/components/ng_paramodulation/terms.mli +++ b/helm/software/components/ng_paramodulation/terms.mli @@ -21,7 +21,10 @@ type 'a substitution = (int * 'a foterm) list type comparison = Lt | Eq | Gt | Incomparable type rule = SuperpositionRight | SuperpositionLeft | Demodulation + +(* A Discrimination tree is a map: foterm |-> (dir, clause) *) type direction = Left2Right | Right2Left | Nodir + type position = int list type 'a proof = @@ -51,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 M.t module type Blob = sig @@ -62,7 +65,7 @@ module type Blob = type t val eq : t -> t -> bool val compare : t -> t -> int - val is_eq_predicate : t -> bool + val eqP : t (* TODO: consider taking in input an imperative buffer for Format * val pp : Format.formatter -> t -> unit * *)