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