aboutsummaryrefslogtreecommitdiff
path: root/theories
diff options
context:
space:
mode:
authorKazuhiko Sakaguchi2020-06-20 20:45:15 +0900
committerKazuhiko Sakaguchi2020-06-20 21:58:49 +0900
commit8095d7d14cea6937346b960063d90cbb159612df (patch)
tree609ea84add5d5fca94882e104872b2970749fc57 /theories
parent43dba0d74b6cc39eea149c2908291e9108d21e71 (diff)
Add a pre-hook mechanism for the `zify` tactic
Diffstat (limited to 'theories')
-rw-r--r--theories/micromega/Zify.v5
1 files changed, 4 insertions, 1 deletions
diff --git a/theories/micromega/Zify.v b/theories/micromega/Zify.v
index 2df3c57d32..183fd6a914 100644
--- a/theories/micromega/Zify.v
+++ b/theories/micromega/Zify.v
@@ -11,12 +11,15 @@
Require Import ZifyClasses ZifyInst.
Declare ML Module "zify_plugin".
-(** [zify_post_hook] is there to be redefined. *)
+(** [zify_pre_hook] and [zify_post_hook] are there to be redefined. *)
+Ltac zify_pre_hook := idtac.
+
Ltac zify_post_hook := idtac.
Ltac iter_specs := zify_iter_specs.
Ltac zify := intros;
+ zify_pre_hook ;
zify_elim_let ;
zify_op ;
(zify_iter_specs) ;