src/Rewriter/TestRulesProofs.v
raw| 1 | Require Crypto.Util.PrimitiveHList. |
| 2 | Require Import Crypto.Rewriter.TestRules. |
| 3 | |
| 4 | Local Ltac start_proof := |
| 5 | cbv [snd]; hnf; cbv [PrimitiveHList.hlist]; |
| 6 | repeat apply PrimitiveProd.Primitive.pair; try exact tt. |
| 7 | Lemma test_rewrite_rules_proofs |
| 8 | : PrimitiveHList.hlist (@snd bool Prop) test_rewrite_rulesT. |
| 9 | Proof using Type. |
| 10 | start_proof. |
| 11 | all: try reflexivity. |
| 12 | (** If testing out rules, change Qed to Admitted *) |
| 13 | Qed. |
| 14 | (* |
| 15 | Admitted. |
| 16 | *) |