diff options
author | jadep <jade.philipoom@gmail.com> | 2017-11-10 13:19:57 -0500 |
---|---|---|
committer | jadep <jade.philipoom@gmail.com> | 2017-11-12 15:01:59 -0500 |
commit | 795d24349b9aca1d9732c7b7fcaa505f24fa4bc6 (patch) | |
tree | f517d6c4e83f42e72a303e06567f779c0250fc2e /src/Specific/montgomery64_2e369m25_6limbs/fenz.v | |
parent | 7ad53a35ed68777cd21226998a88494e1d97c63e (diff) |
new autogenerated files
Diffstat (limited to 'src/Specific/montgomery64_2e369m25_6limbs/fenz.v')
-rw-r--r-- | src/Specific/montgomery64_2e369m25_6limbs/fenz.v | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Specific/montgomery64_2e369m25_6limbs/fenz.v b/src/Specific/montgomery64_2e369m25_6limbs/fenz.v new file mode 100644 index 000000000..0126b8fd1 --- /dev/null +++ b/src/Specific/montgomery64_2e369m25_6limbs/fenz.v @@ -0,0 +1,16 @@ +Require Import Coq.ZArith.ZArith. +Require Import Crypto.Arithmetic.PrimeFieldTheorems. +Require Import Crypto.Specific.montgomery64_2e369m25_6limbs.Synthesis. +Local Open Scope Z_scope. + +(* TODO : change this to field once field isomorphism happens *) +Definition nonzero : + { nonzero : feBW_small -> BoundedWord.BoundedWord 1 adjusted_bitwidth bound1 + | forall a, (BoundedWord.BoundedWordToZ _ _ _ (nonzero a) =? 0) = (if Decidable.dec (phiM_small a = F.of_Z m 0) then true else false) }. +Proof. + Set Ltac Profiling. + Time synthesize_nonzero (). + Show Ltac Profile. +Time Defined. + +Print Assumptions nonzero. |