diff options
author | Jason Gross <jagro@google.com> | 2018-06-26 15:01:10 -0400 |
---|---|---|
committer | Jason Gross <jagro@google.com> | 2018-06-26 15:01:10 -0400 |
commit | 19fd81bfae1d8fad0b31a8415e4259c11ab80c0a (patch) | |
tree | 5aab218ad86e39f47cbec46728ad778329c30063 /src/Util/Tactics | |
parent | bdb73e3541400f7197fb683eb5f140c62d749ad8 (diff) |
Add specialize_all_ways, fix a proof in src/Compilers/Z/ArithmeticSimplifierInterp.v
Diffstat (limited to 'src/Util/Tactics')
-rw-r--r-- | src/Util/Tactics/SpecializeAllWays.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Util/Tactics/SpecializeAllWays.v b/src/Util/Tactics/SpecializeAllWays.v new file mode 100644 index 000000000..154f1d2ae --- /dev/null +++ b/src/Util/Tactics/SpecializeAllWays.v @@ -0,0 +1,8 @@ +Require Export Crypto.Util.FixCoqMistakes. +Require Export Crypto.Util.Tactics.UniquePose. + +Ltac specialize_all_ways := + repeat match goal with + | [ H : ?A, H' : forall a : ?A, _ |- _ ] + => unique pose proof (H' H) + end. |