aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/solinas64_2e255m2e4m2e1m1/feadd.v
blob: b336ae62edac019b20aca7e7e62ec4e7e6762915 (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_2e255m2e4m2e1m1.Synthesis.

(* TODO : change this to field once field isomorphism happens *)
Definition add :
  { add : feBW_tight -> feBW_tight -> feBW_loose
  | forall a b, phiBW_loose (add a b) = F.add (phiBW_tight a) (phiBW_tight b) }.
Proof.
  Set Ltac Profiling.
  Time synthesize_add ().
  Show Ltac Profile.
Time Defined.

Print Assumptions add.