type 'ident intros_spec = int option * 'ident option list
+type 'term auto_params = 'term list * (string*string) list
+
type ('term, 'lazy_term, 'reduction, 'ident) tactic =
(* Higher order tactics (i.e. tacticals) *)
| Do of loc * int * ('term, 'lazy_term, 'reduction, 'ident) tactic
(* Real tactics *)
| Absurd of loc * 'term
| Apply of loc * 'term
- | ApplyS of loc * 'term * (string * string) list
+ | ApplyS of loc * 'term * 'term auto_params
| Assumption of loc
- | AutoBatch of loc * (string * string) list
+ | AutoBatch of loc * 'term auto_params
| Cases of loc * 'term * 'ident intros_spec
| Change of loc * ('term, 'lazy_term, 'ident) pattern * 'lazy_term
| Clear of loc * 'ident list
| Contradiction of loc
| Cut of loc * 'ident option * 'term
| Decompose of loc * 'ident option list
- | Demodulate of loc
+ | Demodulate of loc * 'term auto_params
| Destruct of loc * 'term list option
| Elim of loc * 'term * 'term option * ('term, 'lazy_term, 'ident) pattern *
'ident intros_spec
| Split of loc
| Symmetry of loc
| Transitivity of loc * 'term
- (* Costruttori Aggiunti *)
+ (* Declarative language *)
| Assume of loc * 'ident * 'term
| Suppose of loc * 'term *'ident * 'term option
| By_term_we_proved of loc *'term option * 'term * 'ident option * 'term option
| AndElim of loc * 'term * 'ident * 'term * 'ident * 'term
| RewritingStep of
loc * (string option * 'term) option * 'term *
- [ `Term of 'term | `Auto of (string * string) list | `Proof ] *
+ [ `Term of 'term | `Auto of 'term auto_params
+ | `Proof | `SolveWith of 'term ] *
bool (* last step*)
type search_kind = [ `Locate | `Hint | `Match | `Elim ]
(* real macros *)
| Check of loc * 'term
| Hint of loc * bool
- | AutoInteractive of loc * (string * string) list
+ | AutoInteractive of loc * 'term auto_params
| Inline of loc * presentation_style * string * string
(* URI or base-uri, name prefix *)