aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/solinas64_2e384m79x2e376m1/fesub.v
blob: ee8c2349cfa5079f11c27c3bf2d3e795f6b838d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Specific.solinas64_2e384m79x2e376m1.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.