X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fauto.mli;h=a40d00fc5970fa4bb569a0213c624ccdeb44f58e;hb=10d3194c1b42dfa72e51000ff2cc217f937b43ac;hp=5883f0bf2ac72d0ff024157f12bc428729246882;hpb=2eaee49a7ff3ed74598a0db84ce4dbc5bca92380;p=helm.git diff --git a/helm/software/components/tactics/auto.mli b/helm/software/components/tactics/auto.mli index 5883f0bf2..a40d00fc5 100644 --- a/helm/software/components/tactics/auto.mli +++ b/helm/software/components/tactics/auto.mli @@ -24,23 +24,49 @@ *) (* 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 - -val applyS_tac: dbd:HMysql.dbd -> term: Cic.term -> ProofEngineTypes.tactic +val auto_tac: + dbd:HSql.dbd -> + params:(string * string) list -> + universe:Universe.universe -> + ProofEngineTypes.tactic +val applyS_tac: + dbd:HSql.dbd -> + term: Cic.term -> + params:(string * string) list -> + universe:Universe.universe -> + ProofEngineTypes.tactic + +val demodulate_tac : + dbd:HSql.dbd -> + universe:Universe.universe -> + ProofEngineTypes.tactic + +val solve_rewrite_tac: + universe:Universe.universe -> + ?steps:int -> + 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) list) list * + (* and list *) + (int * Cic.term * int) list * + (* last moves *) + Cic.term 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