X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2Fsuperposition.mli;h=6deb0a4eb7a07c7e090e856c35ffa76a8ceab732;hb=df1201e37d6f2631dc31ffc87b979a6c81180a3a;hp=b67233563591d624f42bdaba3e1a2564f6b61e54;hpb=637114791874df9ebc4e0f0936513c71886a913f;p=helm.git diff --git a/helm/software/components/ng_paramodulation/superposition.mli b/helm/software/components/ng_paramodulation/superposition.mli index b67233563..6deb0a4eb 100644 --- a/helm/software/components/ng_paramodulation/superposition.mli +++ b/helm/software/components/ng_paramodulation/superposition.mli @@ -11,18 +11,58 @@ (* $Id: index.mli 9822 2009-06-03 15:37:06Z tassi $ *) - module Superposition (B : Terms.Blob) : sig - val superposition_right_with_table : + (* bag, maxvar, meeting point *) + exception Success of B.t Terms.bag * int * B.t Terms.unit_clause + + (* The returned active set is the input one + the selected clause *) + val infer_right : + B.t Terms.bag -> + int -> (* maxvar *) + B.t Terms.unit_clause -> (* selected passive *) + Index.Index(B).active_set -> + B.t Terms.bag * int * Index.Index(B).active_set * B.t Terms.unit_clause list + + val infer_left : B.t Terms.bag -> int -> (* maxvar *) + B.t Terms.unit_clause -> (* selected goal *) + Index.Index(B).active_set -> + B.t Terms.bag * int * B.t Terms.unit_clause list + + val demodulate : + B.t Terms.bag -> B.t Terms.unit_clause -> + Index.Index(B).DT.t -> B.t Terms.bag * B.t Terms.unit_clause + + val simplify : Index.Index(B).DT.t -> - B.t Terms.bag * int * B.t Terms.unit_clause list - - end + B.t Terms.bag -> + B.t Terms.unit_clause -> + (B.t Terms.bag * B.t Terms.unit_clause) option + + (* may raise success *) + val simplify_goal : + int -> + Index.Index(B).DT.t -> + B.t Terms.bag -> + B.t Terms.unit_clause -> + B.t Terms.bag * B.t Terms.unit_clause + + val one_pass_simplification: + B.t Terms.unit_clause -> + Index.Index(B).active_set -> + B.t Terms.bag -> + (B.t Terms.unit_clause * B.t Terms.bag * Index.Index(B).active_set) option + val keep_simplified: + B.t Terms.unit_clause -> + Index.Index(B).active_set -> + B.t Terms.bag -> + (B.t Terms.unit_clause * B.t Terms.bag * Index.Index(B).active_set) option + + end