aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/montgomery64_2e221m3/feadd.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/Specific/montgomery64_2e221m3/feadd.v')
-rw-r--r--src/Specific/montgomery64_2e221m3/feadd.v14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Specific/montgomery64_2e221m3/feadd.v b/src/Specific/montgomery64_2e221m3/feadd.v
new file mode 100644
index 000000000..32df43ead
--- /dev/null
+++ b/src/Specific/montgomery64_2e221m3/feadd.v
@@ -0,0 +1,14 @@
+Require Import Crypto.Arithmetic.PrimeFieldTheorems.
+Require Import Crypto.Specific.montgomery64_2e221m3.Synthesis.
+
+(* TODO : change this to field once field isomorphism happens *)
+Definition add :
+ { add : feBW_small -> feBW_small -> feBW_small
+ | forall a b, phiM_small (add a b) = F.add (phiM_small a) (phiM_small b) }.
+Proof.
+ Set Ltac Profiling.
+ Time synthesize_add ().
+ Show Ltac Profile.
+Time Defined.
+
+Print Assumptions add.