aboutsummaryrefslogtreecommitdiff
path: root/tactics/autorewrite.mli
diff options
context:
space:
mode:
Diffstat (limited to 'tactics/autorewrite.mli')
-rw-r--r--tactics/autorewrite.mli7
1 files changed, 7 insertions, 0 deletions
diff --git a/tactics/autorewrite.mli b/tactics/autorewrite.mli
index f0557f9d30..632a281709 100644
--- a/tactics/autorewrite.mli
+++ b/tactics/autorewrite.mli
@@ -9,6 +9,8 @@
(*i $Id$ i*)
(*i*)
+open Term
+open Tacexpr
open Tacmach
(*i*)
@@ -22,6 +24,11 @@ val add_rew_rules : string -> raw_rew_rule list -> unit
val autorewrite : tactic -> string list -> tactic
val autorewrite_in : Names.identifier -> tactic -> string list -> tactic
+(* Rewriting rules *)
+(* the type is the statement of the lemma constr. Used to elim duplicates. *)
+type rew_rule = constr * types * bool * glob_tactic_expr
+
+val find_base : string -> rew_rule list
val auto_multi_rewrite : string list -> Tacticals.clause -> tactic