aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-06-03 17:10:08 +0200
committerPierre-Marie Pédrot2016-06-03 17:11:07 +0200
commit89a1ea67a72500eeae1d003dd346f01ded514f7b (patch)
tree8134c12bef64decc00490519f2f04e06932355e0 /plugins
parent9d60ddc84e95a030913fc4b3db705f3ec894fdb2 (diff)
parent3206bf597d63066d9d9f8adfd0fe76e3c1c97e4d (diff)
Remove a few tactics from the Tacexpr AST.
Note that this breaks a few badly written scripts using intro in strict mode without providing an existing identifier.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/romega/ReflOmegaCore.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/romega/ReflOmegaCore.v b/plugins/romega/ReflOmegaCore.v
index 36511386ac..5e43dfc42d 100644
--- a/plugins/romega/ReflOmegaCore.v
+++ b/plugins/romega/ReflOmegaCore.v
@@ -1074,16 +1074,19 @@ Qed.
avait utilisé le test précédent et fait une elimination dessus. *)
Ltac elim_eq_term t1 t2 :=
+ let Aux := fresh "Aux" in
pattern (eq_term t1 t2); apply bool_eq_ind; intro Aux;
[ generalize (eq_term_true t1 t2 Aux); clear Aux
| generalize (eq_term_false t1 t2 Aux); clear Aux ].
Ltac elim_beq t1 t2 :=
+ let Aux := fresh "Aux" in
pattern (beq t1 t2); apply bool_eq_ind; intro Aux;
[ generalize (beq_true t1 t2 Aux); clear Aux
| generalize (beq_false t1 t2 Aux); clear Aux ].
Ltac elim_bgt t1 t2 :=
+ let Aux := fresh "Aux" in
pattern (bgt t1 t2); apply bool_eq_ind; intro Aux;
[ generalize (bgt_true t1 t2 Aux); clear Aux
| generalize (bgt_false t1 t2 Aux); clear Aux ].