]> matita.cs.unibo.it Git - helm.git/blobdiff - components/tactics/auto.mli
moved to pkg-ocaml-maint
[helm.git] / components / tactics / auto.mli
index 7150a124687af4e7e72da23a5c4a3cdd0eb7a61f..a40d00fc5970fa4bb569a0213c624ccdeb44f58e 100644 (file)
  *)
 
 (* stops at the first solution *)
-val auto: 
-  AutoTypes.universe ->
-  AutoTypes.cache ->
-  Cic.context ->
-  Cic.metasenv ->
-  ProofEngineTypes.goal list -> (* goals in AND *)
-  AutoTypes.flags ->
-    (Cic.substitution * Cic.metasenv) option * AutoTypes.cache
-
-val auto_all_solutions: 
-  AutoTypes.universe ->
-  AutoTypes.cache ->
-  Cic.context ->
-  Cic.metasenv ->
-  ProofEngineTypes.goal list ->
-  AutoTypes.flags ->
-    (Cic.substitution * Cic.metasenv) list * AutoTypes.cache
+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