aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/solinas64_2e255m2e4m2e1m1/femul.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-10-14 16:01:37 -0400
committerGravatar Jason Gross <jasongross9@gmail.com>2017-10-18 23:01:29 -0400
commit0b03656ba15c354165ee14eda054de4489faeb9c (patch)
tree9c28e78ef48389a350fd8603d49f9eedc8f0c31f /src/Specific/solinas64_2e255m2e4m2e1m1/femul.v
parentd36702195ac82c2636b2f5842ae5fe210b7c415f (diff)
Run remake_curves.py
Diffstat (limited to 'src/Specific/solinas64_2e255m2e4m2e1m1/femul.v')
-rw-r--r--src/Specific/solinas64_2e255m2e4m2e1m1/femul.v14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Specific/solinas64_2e255m2e4m2e1m1/femul.v b/src/Specific/solinas64_2e255m2e4m2e1m1/femul.v
new file mode 100644
index 000000000..14820c29b
--- /dev/null
+++ b/src/Specific/solinas64_2e255m2e4m2e1m1/femul.v
@@ -0,0 +1,14 @@
+Require Import Crypto.Arithmetic.PrimeFieldTheorems.
+Require Import Crypto.Specific.solinas64_2e255m2e4m2e1m1.Synthesis.
+
+(* TODO : change this to field once field isomorphism happens *)
+Definition mul :
+ { mul : feBW -> feBW -> feBW
+ | forall a b, phiBW (mul a b) = F.mul (phiBW a) (phiBW b) }.
+Proof.
+ Set Ltac Profiling.
+ Time synthesize_mul ().
+ Show Ltac Profile.
+Time Defined.
+
+Print Assumptions mul.