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