diff options
author | 2017-04-07 14:28:56 -0400 | |
---|---|---|
committer | 2017-04-07 14:28:56 -0400 | |
commit | aef441932b830e770a71ef150c6f784ca69e555d (patch) | |
tree | d3ed485a9b821595193b15d1c9b5437f50e78394 /src/Specific/IntegrationTestMul.v | |
parent | 75a6259813c1476e926454728c9b32fc324b8a7f (diff) |
Add Display files and targets
Diffstat (limited to 'src/Specific/IntegrationTestMul.v')
-rw-r--r-- | src/Specific/IntegrationTestMul.v | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/Specific/IntegrationTestMul.v b/src/Specific/IntegrationTestMul.v index ec9120246..0cbc3966e 100644 --- a/src/Specific/IntegrationTestMul.v +++ b/src/Specific/IntegrationTestMul.v @@ -11,6 +11,8 @@ Require Import Crypto.Util.Tactics.Head. Require Import Crypto.Util.Tactics.MoveLetIn. Import ListNotations. +Require Import Crypto.Specific.IntegrationTestTemporaryMiscCommon. + Require Import Crypto.Compilers.Z.Bounds.Pipeline. Section BoundedField25p5. @@ -39,23 +41,6 @@ Section BoundedField25p5. Let phi : feBW -> F m := fun x => B.Positional.Fdecode wt (BoundedWordToZ _ _ _ x). - (** TODO MOVE ME *) - (** The [eexists_sig_etransitivity] tactic takes a goal of the form - [{ a | f a = b }], and splits it into two goals, [?b' = b] and - [{ a | f a = ?b' }], where [?b'] is a fresh evar. *) - Definition sig_eq_trans_exist1 {A B} (f : A -> B) - (b b' : B) - (pf : b' = b) - (y : { a : A | f a = b' }) - : { a : A | f a = b } - := let 'exist a p := y in exist _ a (eq_trans p pf). - Ltac eexists_sig_etransitivity := - lazymatch goal with - | [ |- { a : ?A | @?f a = ?b } ] - => let lem := open_constr:(@sig_eq_trans_exist1 A _ f b _) in - simple refine (lem _ _) - end. - (* TODO : change this to field once field isomorphism happens *) Definition mul : { mul : feBW -> feBW -> feBW |