X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2Fsuperposition.mli;h=c67dbfb07dbbc13b3297d0b8903305a9680cf588;hb=509151febaf7817e5b6ac4bd22a3d9ffa1d9a1be;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..c67dbfb07 100644 --- a/helm/software/components/ng_paramodulation/superposition.mli +++ b/helm/software/components/ng_paramodulation/superposition.mli @@ -11,18 +11,74 @@ (* $Id: index.mli 9822 2009-06-03 15:37:06Z tassi $ *) - -module Superposition (B : Terms.Blob) : +module Superposition (B : Orderings.Blob) : sig - val superposition_right_with_table : + (* bag, maxvar, meeting point *) + exception Success of + B.t Terms.bag + * int + * B.t Terms.unit_clause + * B.t Terms.substitution + + (* 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 + int -> + 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 : + no_demod:bool -> + int -> + Index.Index(B).DT.t -> + B.t Terms.bag -> + B.t Terms.unit_clause list -> + B.t Terms.unit_clause -> + (B.t Terms.bag * B.t Terms.unit_clause) option + + val one_pass_simplification: + B.t Terms.unit_clause -> + Index.Index(B).active_set -> + B.t Terms.bag -> + int -> + B.t Terms.bag * (B.t Terms.unit_clause * Index.Index(B).active_set) option + val keep_simplified: + B.t Terms.unit_clause -> + Index.Index(B).active_set -> + B.t Terms.bag -> + int -> + B.t Terms.bag * (B.t Terms.unit_clause * Index.Index(B).active_set) option + val orphan_murder: + B.t Terms.bag -> + B.t Terms.unit_clause list -> + B.t Terms.unit_clause -> + bool + val are_alpha_eq : + B.t Terms.unit_clause -> + B.t Terms.unit_clause -> + bool + end