From 19fd81bfae1d8fad0b31a8415e4259c11ab80c0a Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Tue, 26 Jun 2018 15:01:10 -0400 Subject: Add specialize_all_ways, fix a proof in src/Compilers/Z/ArithmeticSimplifierInterp.v --- src/Util/Tactics/SpecializeAllWays.v | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/Util/Tactics/SpecializeAllWays.v (limited to 'src/Util/Tactics') 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. -- cgit v1.2.3