diff options
author | Jason Gross <jgross@mit.edu> | 2017-04-05 02:51:16 -0400 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-04-05 02:51:16 -0400 |
commit | 5562729887f61affeb12c5566f1b26eaf2727893 (patch) | |
tree | a64bc73af3d70625680f5ee008bb3525b502794e /src/Util/Tactics/ChangeInAll.v | |
parent | fa5c6aed76360c188ac097259b774ba32129aecb (diff) |
Add Tactics.ChangeInAll
Diffstat (limited to 'src/Util/Tactics/ChangeInAll.v')
-rw-r--r-- | src/Util/Tactics/ChangeInAll.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Util/Tactics/ChangeInAll.v b/src/Util/Tactics/ChangeInAll.v new file mode 100644 index 000000000..865a723da --- /dev/null +++ b/src/Util/Tactics/ChangeInAll.v @@ -0,0 +1,7 @@ +(** Work around "Cannot create self-referring hypothesis" coming from + [change x with y in *] *) +Local Ltac change_in_all from to := + change from with to; + repeat match goal with + | [ H : _ |- _ ] => progress change from with to in H + end. |