From 631e3c7dca28f754f997f9d079d6900d76b8430e Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Thu, 2 Nov 2017 04:37:37 -0400 Subject: python3 generate_parameters.py primes.txt; (cd src/Specific/CurveParameters/; ./remake_curves.sh -f) --- src/Specific/solinas64_2e369m25/fesub.v | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/Specific/solinas64_2e369m25/fesub.v (limited to 'src/Specific/solinas64_2e369m25/fesub.v') diff --git a/src/Specific/solinas64_2e369m25/fesub.v b/src/Specific/solinas64_2e369m25/fesub.v new file mode 100644 index 000000000..bd57fb249 --- /dev/null +++ b/src/Specific/solinas64_2e369m25/fesub.v @@ -0,0 +1,14 @@ +Require Import Crypto.Arithmetic.PrimeFieldTheorems. +Require Import Crypto.Specific.solinas64_2e369m25.Synthesis. + +(* TODO : change this to field once field isomorphism happens *) +Definition sub : + { sub : feBW_tight -> feBW_tight -> feBW_loose + | forall a b, phiBW_loose (sub a b) = F.sub (phiBW_tight a) (phiBW_tight b) }. +Proof. + Set Ltac Profiling. + Time synthesize_sub (). + Show Ltac Profile. +Time Defined. + +Print Assumptions sub. -- cgit v1.2.3