aboutsummaryrefslogtreecommitdiff
path: root/src/tac2tactics.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2017-08-04 18:02:57 +0200
committerPierre-Marie Pédrot2017-08-05 01:08:23 +0200
commit1f2de88e09c7bb1c0aa111db0d7d50b83f8a62d4 (patch)
tree11d9fab847de5cef36f1d3b0e8ee9ee2f1d3da62 /src/tac2tactics.mli
parentde88ba86e9d2a77883365503759eaec96928e9c4 (diff)
Exporting the rewrite tactic.
Diffstat (limited to 'src/tac2tactics.mli')
-rw-r--r--src/tac2tactics.mli13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/tac2tactics.mli b/src/tac2tactics.mli
index f29793411a..93cc6ecd68 100644
--- a/src/tac2tactics.mli
+++ b/src/tac2tactics.mli
@@ -7,6 +7,7 @@
(************************************************************************)
open Names
+open Locus
open Misctypes
open Tactypes
open Proofview
@@ -21,7 +22,15 @@ type induction_clause =
EConstr.constr with_bindings tactic destruction_arg *
intro_pattern_naming option *
or_and_intro_pattern option *
- Locus.clause option
+ clause option
val induction_destruct : rec_flag -> evars_flag ->
- induction_clause list -> EConstr.constr with_bindings option -> unit Proofview.tactic
+ induction_clause list -> EConstr.constr with_bindings option -> unit tactic
+
+type rewriting =
+ bool option *
+ multi *
+ EConstr.constr with_bindings tactic
+
+val rewrite :
+ evars_flag -> rewriting list -> clause -> unit tactic option -> unit tactic