diff options
author | Jason Gross <jgross@mit.edu> | 2017-06-11 18:16:45 -0400 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-06-11 18:16:45 -0400 |
commit | 263cef127d5e6a3e016f062a10045d9c80a46bd8 (patch) | |
tree | dc67aac28fae20f5298b53642da7bf2ea9e714f4 /src | |
parent | 1d03974139f5cbba67f163fe5f01b156b0d3f5ae (diff) |
Add script to remake Tactics.v file
Diffstat (limited to 'src')
-rw-r--r-- | src/Util/Tactics.v | 7 | ||||
-rwxr-xr-x | src/Util/remake_tactics.sh | 9 |
2 files changed, 13 insertions, 3 deletions
diff --git a/src/Util/Tactics.v b/src/Util/Tactics.v index bab3daf75..4d39d4954 100644 --- a/src/Util/Tactics.v +++ b/src/Util/Tactics.v @@ -4,12 +4,12 @@ Require Export Crypto.Util.Tactics.BreakMatch. Require Export Crypto.Util.Tactics.ChangeInAll. Require Export Crypto.Util.Tactics.ClearAll. Require Export Crypto.Util.Tactics.ClearDuplicates. +Require Export Crypto.Util.Tactics.ClearbodyAll. Require Export Crypto.Util.Tactics.Contains. Require Export Crypto.Util.Tactics.ConvoyDestruct. -Require Export Crypto.Util.Tactics.Head. Require Export Crypto.Util.Tactics.DebugPrint. -Require Export Crypto.Util.Tactics.DestructHyps. Require Export Crypto.Util.Tactics.DestructHead. +Require Export Crypto.Util.Tactics.DestructHyps. Require Export Crypto.Util.Tactics.DestructTrivial. Require Export Crypto.Util.Tactics.DoWithHyp. Require Export Crypto.Util.Tactics.ESpecialize. @@ -17,9 +17,10 @@ Require Export Crypto.Util.Tactics.ETransitivity. Require Export Crypto.Util.Tactics.EvarExists. Require Export Crypto.Util.Tactics.Forward. Require Export Crypto.Util.Tactics.GetGoal. +Require Export Crypto.Util.Tactics.Head. Require Export Crypto.Util.Tactics.MoveLetIn. -Require Export Crypto.Util.Tactics.OnSubterms. Require Export Crypto.Util.Tactics.Not. +Require Export Crypto.Util.Tactics.OnSubterms. Require Export Crypto.Util.Tactics.PrintContext. Require Export Crypto.Util.Tactics.Revert. Require Export Crypto.Util.Tactics.RewriteHyp. diff --git a/src/Util/remake_tactics.sh b/src/Util/remake_tactics.sh new file mode 100755 index 000000000..69e94cc0b --- /dev/null +++ b/src/Util/remake_tactics.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +cat > Tactics.v <<EOF +(** * Generic Tactics *) +Require Export Crypto.Util.FixCoqMistakes. +EOF +FILES="$(cd Tactics; git ls-files '*.v')" +for i in $FILES; do + echo "Require Export Crypto.Util.Tactics.${i%.v}." >> Tactics.v +done |