X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fauto.mli;h=d5297e7b84eddfe62e7bd995356be43045b81e00;hb=b4f6b1a39b59e923527f5c17d8fdd0fa1e13e1bf;hp=eb612ac3a05221fdbe59be4f1deb1239f414fcc8;hpb=cf4088e2cabcbce9b112f1e1fd5cfd38fe16d427;p=helm.git diff --git a/helm/software/components/tactics/auto.mli b/helm/software/components/tactics/auto.mli index eb612ac3a..d5297e7b8 100644 --- a/helm/software/components/tactics/auto.mli +++ b/helm/software/components/tactics/auto.mli @@ -23,35 +23,56 @@ * http://cs.unibo.it/helm/. *) -(* stops at the first solution *) +type auto_params = Cic.term list * (string * string) list + val auto_tac: dbd:HSql.dbd -> - params:(string * string) list -> - universe:Universe.universe -> + params:auto_params -> + automation_cache:AutomationCache.cache -> ProofEngineTypes.tactic val applyS_tac: dbd:HSql.dbd -> term: Cic.term -> - params:(string * string) list -> - universe:Universe.universe -> + params:auto_params -> + automation_cache:AutomationCache.cache -> ProofEngineTypes.tactic val demodulate_tac : dbd:HSql.dbd -> - universe:Universe.universe -> + params:auto_params -> + automation_cache:AutomationCache.cache -> ProofEngineTypes.tactic +val demodulate_theorem : + automation_cache:AutomationCache.cache -> + UriManager.uri -> + Cic.term * Cic.term + +val solve_rewrite_tac: + params:auto_params -> + automation_cache:AutomationCache.cache -> + unit -> ProofEngineTypes.tactic + type auto_status = - Cic.context * (int * Cic.term * bool * int * (int * Cic.term) list) list * + Cic.context * + (* or list: goalno, goaltype, grey, depth, candidates: (goalno, c) *) + (int * Cic.term * bool * int * (int * Cic.term Lazy.t) list) list * + (* and list *) (int * Cic.term * int) list * - Cic.term list + (* last moves *) + Cic.term Lazy.t list + val get_auto_status : unit -> auto_status val pause: bool -> unit val step : unit -> unit val give_hint : int -> unit +val give_prune_hint : int -> unit val lambda_close : - ?prefix_name:string -> Cic.term -> Cic.metasenv -> Cic.context -> Cic.term + ?prefix_name:string -> Cic.term -> Cic.metasenv -> Cic.context -> Cic.term * + int val pp_proofterm: Cic.term -> string +val revision : string (* svn revision *) +val size_and_depth : Cic.context -> Cic.metasenv -> Cic.term -> int * int