From 102904674d12d1791f55a55cb66a334e5c21715a Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Sat, 21 Oct 2017 23:43:59 -0400 Subject: Add tight and loose bounds, no carry in add, sub Following Andres' suggestions to allow making ladderstep from other synthesis things. It went though mostly without a hitch, though there were a number of boilerplate changes needed. --- src/Specific/solinas32_2e511m187/fesquare.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Specific/solinas32_2e511m187/fesquare.v') diff --git a/src/Specific/solinas32_2e511m187/fesquare.v b/src/Specific/solinas32_2e511m187/fesquare.v index 3ae8d534d..6ca547cd9 100644 --- a/src/Specific/solinas32_2e511m187/fesquare.v +++ b/src/Specific/solinas32_2e511m187/fesquare.v @@ -3,8 +3,8 @@ Require Import Crypto.Specific.solinas32_2e511m187.Synthesis. (* TODO : change this to field once field isomorphism happens *) Definition square : - { square : feBW -> feBW - | forall a, phiBW (square a) = F.mul (phiBW a) (phiBW a) }. + { 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 (). -- cgit v1.2.3