X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fauto.mli;h=a45083f390da6b1521606bfb424149f286b3f428;hb=cf25aeb5fa2c00ebfe93454fbe33421d590506d4;hp=c9f3b9b095655944a41c0471e02aa8eadbd25c8b;hpb=be292a08ee0c8792b21105952626da05d5f645b9;p=helm.git diff --git a/helm/software/components/tactics/auto.mli b/helm/software/components/tactics/auto.mli index c9f3b9b09..a45083f39 100644 --- a/helm/software/components/tactics/auto.mli +++ b/helm/software/components/tactics/auto.mli @@ -23,25 +23,56 @@ * http://cs.unibo.it/helm/. *) -(* stops at the first solution *) -val auto: - HMysql.dbd -> - AutoCache.cache -> - Cic.context -> - Cic.metasenv -> - ProofEngineTypes.goal list -> (* goals in AND *) - AutoTypes.flags -> - (Cic.substitution * Cic.metasenv) option * AutoCache.cache - -val auto_all_solutions: - HMysql.dbd -> - AutoCache.cache -> - Cic.context -> - Cic.metasenv -> - ProofEngineTypes.goal list -> - AutoTypes.flags -> - (Cic.substitution * Cic.metasenv) list * AutoCache.cache +type auto_params = Cic.term list * (string * string) list + +val auto_tac: + dbd:HSql.dbd -> + params:auto_params -> + universe:Universe.universe -> + ProofEngineTypes.tactic val applyS_tac: - dbd:HMysql.dbd -> term: Cic.term -> params:(string * string) list -> + dbd:HSql.dbd -> + term: Cic.term -> + params:auto_params -> + universe:Universe.universe -> ProofEngineTypes.tactic + +val demodulate_tac : + dbd:HSql.dbd -> + params:auto_params -> + universe:Universe.universe -> + ProofEngineTypes.tactic + +val demodulate_theorem : + universe:Universe.universe -> + UriManager.uri -> + Cic.term * Cic.term + +val solve_rewrite_tac: + params:auto_params -> + universe:Universe.universe -> + unit -> ProofEngineTypes.tactic + +type auto_status = + 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 * + (* 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 * + int + +val pp_proofterm: Cic.term -> string +val revision : string (* svn revision *) +val size_and_depth : Cic.context -> Cic.metasenv -> Cic.term -> int * int