X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftactics%2Fauto.mli;h=a45083f390da6b1521606bfb424149f286b3f428;hb=281f0c7b4fc0d5b97025625af2ecff85edebbb5c;hp=cfb31a8c4c15a7f62d0b5405e89143ea7139dfe7;hpb=66929b8edb58d468a134b648466f3e9c45ba5c0e;p=helm.git diff --git a/helm/software/components/tactics/auto.mli b/helm/software/components/tactics/auto.mli index cfb31a8c4..a45083f39 100644 --- a/helm/software/components/tactics/auto.mli +++ b/helm/software/components/tactics/auto.mli @@ -23,35 +23,46 @@ * 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 -> + params:auto_params -> universe:Universe.universe -> ProofEngineTypes.tactic val applyS_tac: dbd:HSql.dbd -> term: Cic.term -> - params:(string * string) list -> + 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 -> - ?steps:int -> - unit -> - ProofEngineTypes.tactic + 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