diff options
Diffstat (limited to 'src/Specific/solinas64_2e495m31_9limbs')
-rw-r--r-- | src/Specific/solinas64_2e495m31_9limbs/fecarry.v | 14 | ||||
-rw-r--r-- | src/Specific/solinas64_2e495m31_9limbs/fecarryDisplay.v | 4 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/Specific/solinas64_2e495m31_9limbs/fecarry.v b/src/Specific/solinas64_2e495m31_9limbs/fecarry.v new file mode 100644 index 000000000..a19bd3081 --- /dev/null +++ b/src/Specific/solinas64_2e495m31_9limbs/fecarry.v @@ -0,0 +1,14 @@ +Require Import Crypto.Arithmetic.PrimeFieldTheorems. +Require Import Crypto.Specific.solinas64_2e495m31_9limbs.Synthesis. + +(* TODO : change this to field once field isomorphism happens *) +Definition carry : + { carry : feBW_loose -> feBW_tight + | forall a, phiBW_tight (carry a) = (phiBW_loose a) }. +Proof. + Set Ltac Profiling. + Time synthesize_carry (). + Show Ltac Profile. +Time Defined. + +Print Assumptions carry. diff --git a/src/Specific/solinas64_2e495m31_9limbs/fecarryDisplay.v b/src/Specific/solinas64_2e495m31_9limbs/fecarryDisplay.v new file mode 100644 index 000000000..2b724714e --- /dev/null +++ b/src/Specific/solinas64_2e495m31_9limbs/fecarryDisplay.v @@ -0,0 +1,4 @@ +Require Import Crypto.Specific.solinas64_2e495m31_9limbs.fecarry. +Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon. + +Check display carry. |