X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fng_paramodulation%2Fparamod.mli;h=367d7939448f269ebedd755cb688cbc887155c9c;hb=277fc8ff21ce3dbd6893b1994c55cf5c06a98355;hp=13fe56fc5ccb6a5a95e06816ff72e27d5a291ed2;hpb=2bcf927f58bac034b8758173cdbd16cb7475de36;p=helm.git diff --git a/helm/software/components/ng_paramodulation/paramod.mli b/helm/software/components/ng_paramodulation/paramod.mli index 13fe56fc5..367d79394 100644 --- a/helm/software/components/ng_paramodulation/paramod.mli +++ b/helm/software/components/ng_paramodulation/paramod.mli @@ -11,20 +11,53 @@ (* $Id: orderings.ml 9869 2009-06-11 22:52:38Z denes $ *) -module Paramod ( B : Orderings.Blob ) : +module type Paramod = sig + type t + type input + type state type szsontology = - | Unsatisfiable of (B.t Terms.bag * int * int list) list + | Unsatisfiable of + (t Terms.bag * int * t Terms.substitution * int list) list | GaveUp | Error of string - | Timeout of int * B.t Terms.bag - type bag = B.t Terms.bag * int - val mk_passive : bag -> B.input * B.input -> bag * B.t Terms.unit_clause - val mk_goal : bag -> B.input * B.input -> bag * B.t Terms.unit_clause + | Timeout of int * t Terms.bag + type bag = t Terms.bag * int + val empty_state : state + val bag_of_state :state -> bag + val replace_bag : state -> bag -> state + val mk_passive : bag -> input * input -> bag * t Terms.unit_clause + val mk_goal : bag -> input * input -> bag * t Terms.unit_clause + val forward_infer_step : + state -> + t Terms.unit_clause -> + int -> + state + val goal_narrowing : + int + -> int + -> float option + -> state + -> state val paramod : + useage:bool -> max_steps:int -> ?timeout:float -> bag -> - g_passives:B.t Terms.unit_clause list -> - passives:B.t Terms.unit_clause list -> szsontology + g_passives:t Terms.unit_clause list -> + passives:t Terms.unit_clause list -> szsontology + val demod : + state -> input* input -> szsontology + val fast_eq_check : + state -> input* input -> szsontology + val nparamod : + useage:bool -> + max_steps:int -> + ?timeout:float -> + state -> + input* input -> + szsontology end + +module Paramod ( B : Orderings.Blob ) : Paramod +with type t = B.t and type input = B.input