aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/solinas64_2e189m25_5limbs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Specific/solinas64_2e189m25_5limbs')
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/CurveParameters.v39
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/Synthesis.v9
-rwxr-xr-xsrc/Specific/solinas64_2e189m25_5limbs/compiler.sh4
-rwxr-xr-xsrc/Specific/solinas64_2e189m25_5limbs/compilerxx.sh4
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/feadd.c18
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/feadd.v14
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/feaddDisplay.log7
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/feaddDisplay.v4
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/fecarry.v14
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/fecarryDisplay.v4
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/femul.c43
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/femul.v14
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/femulDisplay.log32
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/femulDisplay.v4
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/fesquare.c38
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/fesquare.v14
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/fesquareDisplay.log32
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/fesquareDisplay.v4
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/fesub.c18
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/fesub.v14
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/fesubDisplay.log7
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/fesubDisplay.v4
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/freeze.c29
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/freeze.v14
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/freezeDisplay.log23
-rw-r--r--src/Specific/solinas64_2e189m25_5limbs/freezeDisplay.v4
-rwxr-xr-xsrc/Specific/solinas64_2e189m25_5limbs/py_interpreter.sh4
27 files changed, 0 insertions, 415 deletions
diff --git a/src/Specific/solinas64_2e189m25_5limbs/CurveParameters.v b/src/Specific/solinas64_2e189m25_5limbs/CurveParameters.v
deleted file mode 100644
index e15ca8a6a..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/CurveParameters.v
+++ /dev/null
@@ -1,39 +0,0 @@
-Require Import Crypto.Specific.Framework.RawCurveParameters.
-Require Import Crypto.Util.LetIn.
-
-(***
-Modulus : 2^189 - 25
-Base: 37.8
-***)
-
-Definition curve : CurveParameters :=
- {|
- sz := 5%nat;
- base := 37 + 4/5;
- bitwidth := 64;
- s := 2^189;
- c := [(1, 25)];
- carry_chains := Some [seq 0 (pred 5); [0; 1]]%nat;
-
- a24 := None;
- coef_div_modulus := Some 2%nat;
-
- goldilocks := None;
- karatsuba := None;
- montgomery := false;
- freeze := Some true;
- ladderstep := false;
-
- mul_code := None;
-
- square_code := None;
-
- upper_bound_of_exponent_loose := None;
- upper_bound_of_exponent_tight := None;
- allowable_bit_widths := None;
- freeze_extra_allowable_bit_widths := None;
- modinv_fuel := None
- |}.
-
-Ltac extra_prove_mul_eq _ := idtac.
-Ltac extra_prove_square_eq _ := idtac.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/Synthesis.v b/src/Specific/solinas64_2e189m25_5limbs/Synthesis.v
deleted file mode 100644
index ff3bd638f..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/Synthesis.v
+++ /dev/null
@@ -1,9 +0,0 @@
-Require Import Crypto.Specific.Framework.SynthesisFramework.
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.CurveParameters.
-
-Module P <: PrePackage.
- Definition package : Tag.Context.
- Proof. make_Synthesis_package curve extra_prove_mul_eq extra_prove_square_eq. Defined.
-End P.
-
-Module Export S := PackageSynthesis P.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/compiler.sh b/src/Specific/solinas64_2e189m25_5limbs/compiler.sh
deleted file mode 100755
index c171ed386..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/compiler.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-set -eu
-
-clang -fbracket-depth=999999 -march=native -mbmi2 -mtune=native -std=gnu11 -O3 -flto -fuse-ld=lld -fomit-frame-pointer -fwrapv -Wno-attributes -fno-strict-aliasing -Da24_hex='0x3039' -Da24_val='12345' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dbitwidth='64' -Dlimb_weight_gaps_array='{38,38,38,38,37}' -Dmodulus_array='{0x1f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xe7}' -Dmodulus_bytes_val='24' -Dmodulus_limbs='5' -Dq_mpz='(1_mpz<<189) - 25' "$@"
diff --git a/src/Specific/solinas64_2e189m25_5limbs/compilerxx.sh b/src/Specific/solinas64_2e189m25_5limbs/compilerxx.sh
deleted file mode 100755
index 493674662..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/compilerxx.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-set -eu
-
-clang++ -fbracket-depth=999999 -march=native -mbmi2 -mtune=native -std=gnu++11 -O3 -flto -fuse-ld=lld -fomit-frame-pointer -fwrapv -Wno-attributes -fno-strict-aliasing -Da24_hex='0x3039' -Da24_val='12345' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dbitwidth='64' -Dlimb_weight_gaps_array='{38,38,38,38,37}' -Dmodulus_array='{0x1f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xe7}' -Dmodulus_bytes_val='24' -Dmodulus_limbs='5' -Dq_mpz='(1_mpz<<189) - 25' "$@"
diff --git a/src/Specific/solinas64_2e189m25_5limbs/feadd.c b/src/Specific/solinas64_2e189m25_5limbs/feadd.c
deleted file mode 100644
index a05766e0b..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/feadd.c
+++ /dev/null
@@ -1,18 +0,0 @@
-static void feadd(uint64_t out[5], const uint64_t in1[5], const uint64_t in2[5]) {
- { const uint64_t x10 = in1[4];
- { const uint64_t x11 = in1[3];
- { const uint64_t x9 = in1[2];
- { const uint64_t x7 = in1[1];
- { const uint64_t x5 = in1[0];
- { const uint64_t x18 = in2[4];
- { const uint64_t x19 = in2[3];
- { const uint64_t x17 = in2[2];
- { const uint64_t x15 = in2[1];
- { const uint64_t x13 = in2[0];
- out[0] = (x5 + x13);
- out[1] = (x7 + x15);
- out[2] = (x9 + x17);
- out[3] = (x11 + x19);
- out[4] = (x10 + x18);
- }}}}}}}}}}
-}
diff --git a/src/Specific/solinas64_2e189m25_5limbs/feadd.v b/src/Specific/solinas64_2e189m25_5limbs/feadd.v
deleted file mode 100644
index 52c643e32..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/feadd.v
+++ /dev/null
@@ -1,14 +0,0 @@
-Require Import Crypto.Arithmetic.PrimeFieldTheorems.
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.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.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/feaddDisplay.log b/src/Specific/solinas64_2e189m25_5limbs/feaddDisplay.log
deleted file mode 100644
index bce3421b2..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/feaddDisplay.log
+++ /dev/null
@@ -1,7 +0,0 @@
-λ x x0 : word64 * word64 * word64 * word64 * word64,
-Interp-η
-(λ var : Syntax.base_type → Type,
- λ '(x10, x11, x9, x7, x5, (x18, x19, x17, x15, x13))%core,
- ((x10 + x18), (x11 + x19), (x9 + x17), (x7 + x15), (x5 + x13)))
-(x, x0)%core
- : word64 * word64 * word64 * word64 * word64 → word64 * word64 * word64 * word64 * word64 → ReturnType (uint64_t * uint64_t * uint64_t * uint64_t * uint64_t)
diff --git a/src/Specific/solinas64_2e189m25_5limbs/feaddDisplay.v b/src/Specific/solinas64_2e189m25_5limbs/feaddDisplay.v
deleted file mode 100644
index e70553b7d..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/feaddDisplay.v
+++ /dev/null
@@ -1,4 +0,0 @@
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.feadd.
-Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon.
-
-Check display add.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/fecarry.v b/src/Specific/solinas64_2e189m25_5limbs/fecarry.v
deleted file mode 100644
index 959513ffa..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/fecarry.v
+++ /dev/null
@@ -1,14 +0,0 @@
-Require Import Crypto.Arithmetic.PrimeFieldTheorems.
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.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_2e189m25_5limbs/fecarryDisplay.v b/src/Specific/solinas64_2e189m25_5limbs/fecarryDisplay.v
deleted file mode 100644
index 0e7857d63..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/fecarryDisplay.v
+++ /dev/null
@@ -1,4 +0,0 @@
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.fecarry.
-Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon.
-
-Check display carry.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/femul.c b/src/Specific/solinas64_2e189m25_5limbs/femul.c
deleted file mode 100644
index bc2964482..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/femul.c
+++ /dev/null
@@ -1,43 +0,0 @@
-static void femul(uint64_t out[5], const uint64_t in1[5], const uint64_t in2[5]) {
- { const uint64_t x10 = in1[4];
- { const uint64_t x11 = in1[3];
- { const uint64_t x9 = in1[2];
- { const uint64_t x7 = in1[1];
- { const uint64_t x5 = in1[0];
- { const uint64_t x18 = in2[4];
- { const uint64_t x19 = in2[3];
- { const uint64_t x17 = in2[2];
- { const uint64_t x15 = in2[1];
- { const uint64_t x13 = in2[0];
- { uint128_t x20 = (((uint128_t)x5 * x18) + (((uint128_t)x7 * x19) + (((uint128_t)x9 * x17) + (((uint128_t)x11 * x15) + ((uint128_t)x10 * x13)))));
- { uint128_t x21 = ((((uint128_t)x5 * x19) + (((uint128_t)x7 * x17) + (((uint128_t)x9 * x15) + ((uint128_t)x11 * x13)))) + (0x19 * (0x2 * ((uint128_t)x10 * x18))));
- { uint128_t x22 = ((((uint128_t)x5 * x17) + (((uint128_t)x7 * x15) + ((uint128_t)x9 * x13))) + (0x19 * ((0x2 * ((uint128_t)x11 * x18)) + (0x2 * ((uint128_t)x10 * x19)))));
- { uint128_t x23 = ((((uint128_t)x5 * x15) + ((uint128_t)x7 * x13)) + (0x19 * ((0x2 * ((uint128_t)x9 * x18)) + ((0x2 * ((uint128_t)x11 * x19)) + (0x2 * ((uint128_t)x10 * x17))))));
- { uint128_t x24 = (((uint128_t)x5 * x13) + (0x19 * ((0x2 * ((uint128_t)x7 * x18)) + ((0x2 * ((uint128_t)x9 * x19)) + ((0x2 * ((uint128_t)x11 * x17)) + (0x2 * ((uint128_t)x10 * x15)))))));
- { uint64_t x25 = (uint64_t) (x24 >> 0x26);
- { uint64_t x26 = ((uint64_t)x24 & 0x3fffffffff);
- { uint128_t x27 = (x25 + x23);
- { uint64_t x28 = (uint64_t) (x27 >> 0x26);
- { uint64_t x29 = ((uint64_t)x27 & 0x3fffffffff);
- { uint128_t x30 = (x28 + x22);
- { uint64_t x31 = (uint64_t) (x30 >> 0x26);
- { uint64_t x32 = ((uint64_t)x30 & 0x3fffffffff);
- { uint128_t x33 = (x31 + x21);
- { uint64_t x34 = (uint64_t) (x33 >> 0x26);
- { uint64_t x35 = ((uint64_t)x33 & 0x3fffffffff);
- { uint128_t x36 = (x34 + x20);
- { uint64_t x37 = (uint64_t) (x36 >> 0x25);
- { uint64_t x38 = ((uint64_t)x36 & 0x1fffffffff);
- { uint64_t x39 = (x26 + (0x19 * x37));
- { uint64_t x40 = (x39 >> 0x26);
- { uint64_t x41 = (x39 & 0x3fffffffff);
- { uint64_t x42 = (x40 + x29);
- { uint64_t x43 = (x42 >> 0x26);
- { uint64_t x44 = (x42 & 0x3fffffffff);
- out[0] = x41;
- out[1] = x44;
- out[2] = (x43 + x32);
- out[3] = x35;
- out[4] = x38;
- }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
-}
diff --git a/src/Specific/solinas64_2e189m25_5limbs/femul.v b/src/Specific/solinas64_2e189m25_5limbs/femul.v
deleted file mode 100644
index a7e6792b0..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/femul.v
+++ /dev/null
@@ -1,14 +0,0 @@
-Require Import Crypto.Arithmetic.PrimeFieldTheorems.
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.Synthesis.
-
-(* TODO : change this to field once field isomorphism happens *)
-Definition mul :
- { mul : feBW_loose -> feBW_loose -> feBW_tight
- | forall a b, phiBW_tight (mul a b) = F.mul (phiBW_loose a) (phiBW_loose b) }.
-Proof.
- Set Ltac Profiling.
- Time synthesize_mul ().
- Show Ltac Profile.
-Time Defined.
-
-Print Assumptions mul.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/femulDisplay.log b/src/Specific/solinas64_2e189m25_5limbs/femulDisplay.log
deleted file mode 100644
index 4678a91f4..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/femulDisplay.log
+++ /dev/null
@@ -1,32 +0,0 @@
-λ x x0 : word64 * word64 * word64 * word64 * word64,
-Interp-η
-(λ var : Syntax.base_type → Type,
- λ '(x10, x11, x9, x7, x5, (x18, x19, x17, x15, x13))%core,
- uint128_t x20 = (((uint128_t)x5 * x18) + (((uint128_t)x7 * x19) + (((uint128_t)x9 * x17) + (((uint128_t)x11 * x15) + ((uint128_t)x10 * x13)))));
- uint128_t x21 = ((((uint128_t)x5 * x19) + (((uint128_t)x7 * x17) + (((uint128_t)x9 * x15) + ((uint128_t)x11 * x13)))) + (0x19 * (0x2 * ((uint128_t)x10 * x18))));
- uint128_t x22 = ((((uint128_t)x5 * x17) + (((uint128_t)x7 * x15) + ((uint128_t)x9 * x13))) + (0x19 * ((0x2 * ((uint128_t)x11 * x18)) + (0x2 * ((uint128_t)x10 * x19)))));
- uint128_t x23 = ((((uint128_t)x5 * x15) + ((uint128_t)x7 * x13)) + (0x19 * ((0x2 * ((uint128_t)x9 * x18)) + ((0x2 * ((uint128_t)x11 * x19)) + (0x2 * ((uint128_t)x10 * x17))))));
- uint128_t x24 = (((uint128_t)x5 * x13) + (0x19 * ((0x2 * ((uint128_t)x7 * x18)) + ((0x2 * ((uint128_t)x9 * x19)) + ((0x2 * ((uint128_t)x11 * x17)) + (0x2 * ((uint128_t)x10 * x15)))))));
- uint64_t x25 = (uint64_t) (x24 >> 0x26);
- uint64_t x26 = ((uint64_t)x24 & 0x3fffffffff);
- uint128_t x27 = (x25 + x23);
- uint64_t x28 = (uint64_t) (x27 >> 0x26);
- uint64_t x29 = ((uint64_t)x27 & 0x3fffffffff);
- uint128_t x30 = (x28 + x22);
- uint64_t x31 = (uint64_t) (x30 >> 0x26);
- uint64_t x32 = ((uint64_t)x30 & 0x3fffffffff);
- uint128_t x33 = (x31 + x21);
- uint64_t x34 = (uint64_t) (x33 >> 0x26);
- uint64_t x35 = ((uint64_t)x33 & 0x3fffffffff);
- uint128_t x36 = (x34 + x20);
- uint64_t x37 = (uint64_t) (x36 >> 0x25);
- uint64_t x38 = ((uint64_t)x36 & 0x1fffffffff);
- uint64_t x39 = (x26 + (0x19 * x37));
- uint64_t x40 = (x39 >> 0x26);
- uint64_t x41 = (x39 & 0x3fffffffff);
- uint64_t x42 = (x40 + x29);
- uint64_t x43 = (x42 >> 0x26);
- uint64_t x44 = (x42 & 0x3fffffffff);
- return (Return x38, Return x35, (x43 + x32), Return x44, Return x41))
-(x, x0)%core
- : word64 * word64 * word64 * word64 * word64 → word64 * word64 * word64 * word64 * word64 → ReturnType (uint64_t * uint64_t * uint64_t * uint64_t * uint64_t)
diff --git a/src/Specific/solinas64_2e189m25_5limbs/femulDisplay.v b/src/Specific/solinas64_2e189m25_5limbs/femulDisplay.v
deleted file mode 100644
index 2f61965d4..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/femulDisplay.v
+++ /dev/null
@@ -1,4 +0,0 @@
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.femul.
-Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon.
-
-Check display mul.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/fesquare.c b/src/Specific/solinas64_2e189m25_5limbs/fesquare.c
deleted file mode 100644
index 950f813f1..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/fesquare.c
+++ /dev/null
@@ -1,38 +0,0 @@
-static void fesquare(uint64_t out[5], const uint64_t in1[5]) {
- { const uint64_t x7 = in1[4];
- { const uint64_t x8 = in1[3];
- { const uint64_t x6 = in1[2];
- { const uint64_t x4 = in1[1];
- { const uint64_t x2 = in1[0];
- { uint128_t x9 = (((uint128_t)x2 * x7) + (((uint128_t)x4 * x8) + (((uint128_t)x6 * x6) + (((uint128_t)x8 * x4) + ((uint128_t)x7 * x2)))));
- { uint128_t x10 = ((((uint128_t)x2 * x8) + (((uint128_t)x4 * x6) + (((uint128_t)x6 * x4) + ((uint128_t)x8 * x2)))) + (0x19 * (0x2 * ((uint128_t)x7 * x7))));
- { uint128_t x11 = ((((uint128_t)x2 * x6) + (((uint128_t)x4 * x4) + ((uint128_t)x6 * x2))) + (0x19 * ((0x2 * ((uint128_t)x8 * x7)) + (0x2 * ((uint128_t)x7 * x8)))));
- { uint128_t x12 = ((((uint128_t)x2 * x4) + ((uint128_t)x4 * x2)) + (0x19 * ((0x2 * ((uint128_t)x6 * x7)) + ((0x2 * ((uint128_t)x8 * x8)) + (0x2 * ((uint128_t)x7 * x6))))));
- { uint128_t x13 = (((uint128_t)x2 * x2) + (0x19 * ((0x2 * ((uint128_t)x4 * x7)) + ((0x2 * ((uint128_t)x6 * x8)) + ((0x2 * ((uint128_t)x8 * x6)) + (0x2 * ((uint128_t)x7 * x4)))))));
- { uint64_t x14 = (uint64_t) (x13 >> 0x26);
- { uint64_t x15 = ((uint64_t)x13 & 0x3fffffffff);
- { uint128_t x16 = (x14 + x12);
- { uint64_t x17 = (uint64_t) (x16 >> 0x26);
- { uint64_t x18 = ((uint64_t)x16 & 0x3fffffffff);
- { uint128_t x19 = (x17 + x11);
- { uint64_t x20 = (uint64_t) (x19 >> 0x26);
- { uint64_t x21 = ((uint64_t)x19 & 0x3fffffffff);
- { uint128_t x22 = (x20 + x10);
- { uint64_t x23 = (uint64_t) (x22 >> 0x26);
- { uint64_t x24 = ((uint64_t)x22 & 0x3fffffffff);
- { uint128_t x25 = (x23 + x9);
- { uint64_t x26 = (uint64_t) (x25 >> 0x25);
- { uint64_t x27 = ((uint64_t)x25 & 0x1fffffffff);
- { uint64_t x28 = (x15 + (0x19 * x26));
- { uint64_t x29 = (x28 >> 0x26);
- { uint64_t x30 = (x28 & 0x3fffffffff);
- { uint64_t x31 = (x29 + x18);
- { uint64_t x32 = (x31 >> 0x26);
- { uint64_t x33 = (x31 & 0x3fffffffff);
- out[0] = x30;
- out[1] = x33;
- out[2] = (x32 + x21);
- out[3] = x24;
- out[4] = x27;
- }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
-}
diff --git a/src/Specific/solinas64_2e189m25_5limbs/fesquare.v b/src/Specific/solinas64_2e189m25_5limbs/fesquare.v
deleted file mode 100644
index 36b916d1d..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/fesquare.v
+++ /dev/null
@@ -1,14 +0,0 @@
-Require Import Crypto.Arithmetic.PrimeFieldTheorems.
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.Synthesis.
-
-(* TODO : change this to field once field isomorphism happens *)
-Definition square :
- { square : feBW_loose -> feBW_tight
- | forall a, phiBW_tight (square a) = F.mul (phiBW_loose a) (phiBW_loose a) }.
-Proof.
- Set Ltac Profiling.
- Time synthesize_square ().
- Show Ltac Profile.
-Time Defined.
-
-Print Assumptions square.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/fesquareDisplay.log b/src/Specific/solinas64_2e189m25_5limbs/fesquareDisplay.log
deleted file mode 100644
index 5721be1a5..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/fesquareDisplay.log
+++ /dev/null
@@ -1,32 +0,0 @@
-λ x : word64 * word64 * word64 * word64 * word64,
-Interp-η
-(λ var : Syntax.base_type → Type,
- λ '(x7, x8, x6, x4, x2)%core,
- uint128_t x9 = (((uint128_t)x2 * x7) + (((uint128_t)x4 * x8) + (((uint128_t)x6 * x6) + (((uint128_t)x8 * x4) + ((uint128_t)x7 * x2)))));
- uint128_t x10 = ((((uint128_t)x2 * x8) + (((uint128_t)x4 * x6) + (((uint128_t)x6 * x4) + ((uint128_t)x8 * x2)))) + (0x19 * (0x2 * ((uint128_t)x7 * x7))));
- uint128_t x11 = ((((uint128_t)x2 * x6) + (((uint128_t)x4 * x4) + ((uint128_t)x6 * x2))) + (0x19 * ((0x2 * ((uint128_t)x8 * x7)) + (0x2 * ((uint128_t)x7 * x8)))));
- uint128_t x12 = ((((uint128_t)x2 * x4) + ((uint128_t)x4 * x2)) + (0x19 * ((0x2 * ((uint128_t)x6 * x7)) + ((0x2 * ((uint128_t)x8 * x8)) + (0x2 * ((uint128_t)x7 * x6))))));
- uint128_t x13 = (((uint128_t)x2 * x2) + (0x19 * ((0x2 * ((uint128_t)x4 * x7)) + ((0x2 * ((uint128_t)x6 * x8)) + ((0x2 * ((uint128_t)x8 * x6)) + (0x2 * ((uint128_t)x7 * x4)))))));
- uint64_t x14 = (uint64_t) (x13 >> 0x26);
- uint64_t x15 = ((uint64_t)x13 & 0x3fffffffff);
- uint128_t x16 = (x14 + x12);
- uint64_t x17 = (uint64_t) (x16 >> 0x26);
- uint64_t x18 = ((uint64_t)x16 & 0x3fffffffff);
- uint128_t x19 = (x17 + x11);
- uint64_t x20 = (uint64_t) (x19 >> 0x26);
- uint64_t x21 = ((uint64_t)x19 & 0x3fffffffff);
- uint128_t x22 = (x20 + x10);
- uint64_t x23 = (uint64_t) (x22 >> 0x26);
- uint64_t x24 = ((uint64_t)x22 & 0x3fffffffff);
- uint128_t x25 = (x23 + x9);
- uint64_t x26 = (uint64_t) (x25 >> 0x25);
- uint64_t x27 = ((uint64_t)x25 & 0x1fffffffff);
- uint64_t x28 = (x15 + (0x19 * x26));
- uint64_t x29 = (x28 >> 0x26);
- uint64_t x30 = (x28 & 0x3fffffffff);
- uint64_t x31 = (x29 + x18);
- uint64_t x32 = (x31 >> 0x26);
- uint64_t x33 = (x31 & 0x3fffffffff);
- return (Return x27, Return x24, (x32 + x21), Return x33, Return x30))
-x
- : word64 * word64 * word64 * word64 * word64 → ReturnType (uint64_t * uint64_t * uint64_t * uint64_t * uint64_t)
diff --git a/src/Specific/solinas64_2e189m25_5limbs/fesquareDisplay.v b/src/Specific/solinas64_2e189m25_5limbs/fesquareDisplay.v
deleted file mode 100644
index d9773598d..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/fesquareDisplay.v
+++ /dev/null
@@ -1,4 +0,0 @@
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.fesquare.
-Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon.
-
-Check display square.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/fesub.c b/src/Specific/solinas64_2e189m25_5limbs/fesub.c
deleted file mode 100644
index ce859c6d9..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/fesub.c
+++ /dev/null
@@ -1,18 +0,0 @@
-static void fesub(uint64_t out[5], const uint64_t in1[5], const uint64_t in2[5]) {
- { const uint64_t x10 = in1[4];
- { const uint64_t x11 = in1[3];
- { const uint64_t x9 = in1[2];
- { const uint64_t x7 = in1[1];
- { const uint64_t x5 = in1[0];
- { const uint64_t x18 = in2[4];
- { const uint64_t x19 = in2[3];
- { const uint64_t x17 = in2[2];
- { const uint64_t x15 = in2[1];
- { const uint64_t x13 = in2[0];
- out[0] = ((0x7fffffffce + x5) - x13);
- out[1] = ((0x7ffffffffe + x7) - x15);
- out[2] = ((0x7ffffffffe + x9) - x17);
- out[3] = ((0x7ffffffffe + x11) - x19);
- out[4] = ((0x3ffffffffe + x10) - x18);
- }}}}}}}}}}
-}
diff --git a/src/Specific/solinas64_2e189m25_5limbs/fesub.v b/src/Specific/solinas64_2e189m25_5limbs/fesub.v
deleted file mode 100644
index c03264279..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/fesub.v
+++ /dev/null
@@ -1,14 +0,0 @@
-Require Import Crypto.Arithmetic.PrimeFieldTheorems.
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.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.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/fesubDisplay.log b/src/Specific/solinas64_2e189m25_5limbs/fesubDisplay.log
deleted file mode 100644
index a2562fa02..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/fesubDisplay.log
+++ /dev/null
@@ -1,7 +0,0 @@
-λ x x0 : word64 * word64 * word64 * word64 * word64,
-Interp-η
-(λ var : Syntax.base_type → Type,
- λ '(x10, x11, x9, x7, x5, (x18, x19, x17, x15, x13))%core,
- (((0x3ffffffffe + x10) - x18), ((0x7ffffffffe + x11) - x19), ((0x7ffffffffe + x9) - x17), ((0x7ffffffffe + x7) - x15), ((0x7fffffffce + x5) - x13)))
-(x, x0)%core
- : word64 * word64 * word64 * word64 * word64 → word64 * word64 * word64 * word64 * word64 → ReturnType (uint64_t * uint64_t * uint64_t * uint64_t * uint64_t)
diff --git a/src/Specific/solinas64_2e189m25_5limbs/fesubDisplay.v b/src/Specific/solinas64_2e189m25_5limbs/fesubDisplay.v
deleted file mode 100644
index 76beb23ce..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/fesubDisplay.v
+++ /dev/null
@@ -1,4 +0,0 @@
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.fesub.
-Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon.
-
-Check display sub.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/freeze.c b/src/Specific/solinas64_2e189m25_5limbs/freeze.c
deleted file mode 100644
index 9fefdac0a..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/freeze.c
+++ /dev/null
@@ -1,29 +0,0 @@
-static void freeze(uint64_t out[5], const uint64_t in1[5]) {
- { const uint64_t x7 = in1[4];
- { const uint64_t x8 = in1[3];
- { const uint64_t x6 = in1[2];
- { const uint64_t x4 = in1[1];
- { const uint64_t x2 = in1[0];
- { uint64_t x10, uint8_t x11 = Op (Syntax.SubWithGetBorrow 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (0x0, Return x2, 0x3fffffffe7);
- { uint64_t x13, uint8_t x14 = Op (Syntax.SubWithGetBorrow 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x11, Return x4, 0x3fffffffff);
- { uint64_t x16, uint8_t x17 = Op (Syntax.SubWithGetBorrow 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x14, Return x6, 0x3fffffffff);
- { uint64_t x19, uint8_t x20 = Op (Syntax.SubWithGetBorrow 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x17, Return x8, 0x3fffffffff);
- { uint64_t x22, uint8_t x23 = Op (Syntax.SubWithGetBorrow 37 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x20, Return x7, 0x1fffffffff);
- { uint64_t x24 = cmovznz64(x23, 0x0, 0xffffffffffffffffL);
- { uint64_t x25 = (x24 & 0x3fffffffe7);
- { uint64_t x27, uint8_t x28 = Op (Syntax.AddWithGetCarry 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (0x0, Return x10, Return x25);
- { uint64_t x29 = (x24 & 0x3fffffffff);
- { uint64_t x31, uint8_t x32 = Op (Syntax.AddWithGetCarry 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x28, Return x13, Return x29);
- { uint64_t x33 = (x24 & 0x3fffffffff);
- { uint64_t x35, uint8_t x36 = Op (Syntax.AddWithGetCarry 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x32, Return x16, Return x33);
- { uint64_t x37 = (x24 & 0x3fffffffff);
- { uint64_t x39, uint8_t x40 = Op (Syntax.AddWithGetCarry 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x36, Return x19, Return x37);
- { uint64_t x41 = (x24 & 0x1fffffffff);
- { uint64_t x43, uint8_t _ = Op (Syntax.AddWithGetCarry 37 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x40, Return x22, Return x41);
- out[0] = x27;
- out[1] = x31;
- out[2] = x35;
- out[3] = x39;
- out[4] = x43;
- }}}}}}}}}}}}}}}}}}}}}
-}
diff --git a/src/Specific/solinas64_2e189m25_5limbs/freeze.v b/src/Specific/solinas64_2e189m25_5limbs/freeze.v
deleted file mode 100644
index 1e374eacb..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/freeze.v
+++ /dev/null
@@ -1,14 +0,0 @@
-Require Import Crypto.Arithmetic.PrimeFieldTheorems.
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.Synthesis.
-
-(* TODO : change this to field once field isomorphism happens *)
-Definition freeze :
- { freeze : feBW_tight -> feBW_limbwidths
- | forall a, phiBW_limbwidths (freeze a) = phiBW_tight a }.
-Proof.
- Set Ltac Profiling.
- Time synthesize_freeze ().
- Show Ltac Profile.
-Time Defined.
-
-Print Assumptions freeze.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/freezeDisplay.log b/src/Specific/solinas64_2e189m25_5limbs/freezeDisplay.log
deleted file mode 100644
index 4e94d533c..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/freezeDisplay.log
+++ /dev/null
@@ -1,23 +0,0 @@
-λ x : word64 * word64 * word64 * word64 * word64,
-Interp-η
-(λ var : Syntax.base_type → Type,
- λ '(x7, x8, x6, x4, x2)%core,
- uint64_t x10, uint8_t x11 = Op (Syntax.SubWithGetBorrow 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (0x0, Return x2, 0x3fffffffe7);
- uint64_t x13, uint8_t x14 = Op (Syntax.SubWithGetBorrow 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x11, Return x4, 0x3fffffffff);
- uint64_t x16, uint8_t x17 = Op (Syntax.SubWithGetBorrow 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x14, Return x6, 0x3fffffffff);
- uint64_t x19, uint8_t x20 = Op (Syntax.SubWithGetBorrow 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x17, Return x8, 0x3fffffffff);
- uint64_t x22, uint8_t x23 = Op (Syntax.SubWithGetBorrow 37 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x20, Return x7, 0x1fffffffff);
- uint64_t x24 = cmovznz64(x23, 0x0, 0xffffffffffffffffL);
- uint64_t x25 = (x24 & 0x3fffffffe7);
- uint64_t x27, uint8_t x28 = Op (Syntax.AddWithGetCarry 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (0x0, Return x10, Return x25);
- uint64_t x29 = (x24 & 0x3fffffffff);
- uint64_t x31, uint8_t x32 = Op (Syntax.AddWithGetCarry 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x28, Return x13, Return x29);
- uint64_t x33 = (x24 & 0x3fffffffff);
- uint64_t x35, uint8_t x36 = Op (Syntax.AddWithGetCarry 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x32, Return x16, Return x33);
- uint64_t x37 = (x24 & 0x3fffffffff);
- uint64_t x39, uint8_t x40 = Op (Syntax.AddWithGetCarry 38 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x36, Return x19, Return x37);
- uint64_t x41 = (x24 & 0x1fffffffff);
- uint64_t x43, uint8_t _ = Op (Syntax.AddWithGetCarry 37 (Syntax.TWord 3) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 6) (Syntax.TWord 3)) (Return x40, Return x22, Return x41);
- (Return x43, Return x39, Return x35, Return x31, Return x27))
-x
- : word64 * word64 * word64 * word64 * word64 → ReturnType (uint64_t * uint64_t * uint64_t * uint64_t * uint64_t)
diff --git a/src/Specific/solinas64_2e189m25_5limbs/freezeDisplay.v b/src/Specific/solinas64_2e189m25_5limbs/freezeDisplay.v
deleted file mode 100644
index a3d885bbc..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/freezeDisplay.v
+++ /dev/null
@@ -1,4 +0,0 @@
-Require Import Crypto.Specific.solinas64_2e189m25_5limbs.freeze.
-Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon.
-
-Check display freeze.
diff --git a/src/Specific/solinas64_2e189m25_5limbs/py_interpreter.sh b/src/Specific/solinas64_2e189m25_5limbs/py_interpreter.sh
deleted file mode 100755
index 6e1df8f40..000000000
--- a/src/Specific/solinas64_2e189m25_5limbs/py_interpreter.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-set -eu
-
-/usr/bin/env python3 "$@" -Dq='2**189 - 25' -Dmodulus_bytes='37.8' -Da24='121665'