aboutsummaryrefslogtreecommitdiff
path: root/src/PushButtonSynthesis/MontgomeryReduction.v
diff options
context:
space:
mode:
authorGravatar jadep <jadep@mit.edu>2019-03-14 12:07:28 -0400
committerGravatar jadephilipoom <jade.philipoom@gmail.com>2019-04-03 23:34:53 +0100
commit71820cce3ba80acf0a09d7506c49ba2dd6e32d95 (patch)
tree5b8d9f8c957aff611bbf097d41901a77fbaed2ed /src/PushButtonSynthesis/MontgomeryReduction.v
parentef3ce824f87fd11eed78a13a884579499a8ffc53 (diff)
split up Arithmetic (imports etc. not yet fixed, does not build)
Diffstat (limited to 'src/PushButtonSynthesis/MontgomeryReduction.v')
-rw-r--r--src/PushButtonSynthesis/MontgomeryReduction.v7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/PushButtonSynthesis/MontgomeryReduction.v b/src/PushButtonSynthesis/MontgomeryReduction.v
index 73204eb53..f61ece27c 100644
--- a/src/PushButtonSynthesis/MontgomeryReduction.v
+++ b/src/PushButtonSynthesis/MontgomeryReduction.v
@@ -14,7 +14,8 @@ Require Import Crypto.Util.ZUtil.Tactics.PullPush.Modulo.
Require Import Crypto.Util.ZUtil.Tactics.RewriteModSmall.
Require Import Crypto.Language.
Require Import Crypto.CStringification.
-Require Import Crypto.Arithmetic.
+Require Import Crypto.Arithmetic.Core.
+Require Import Crypto.Arithmetic.FancyMongomeryReduction.
Require Import Crypto.BoundsPipeline.
Require Import Crypto.COperationSpecifications.
Require Import Crypto.Fancy.Compiler.
@@ -35,7 +36,7 @@ Import COperationSpecifications.Primitives.
Import COperationSpecifications.MontgomeryReduction.
-Import Associational Positional Arithmetic.MontgomeryReduction.
+Import Associational Positional MontgomeryReduction.
Local Set Keyed Unification. (* needed for making [autorewrite] fast, c.f. COQBUG(https://github.com/coq/coq/issues/9283) *)
@@ -184,4 +185,4 @@ Section rmontred.
{ cbv [ZRange.type.base.option.is_bounded_by ZRange.type.base.is_bounded_by bound is_bounded_by_bool value_range upper lower].
rewrite Bool.andb_true_iff, !Z.leb_le. lia. }
Qed.
-End rmontred. \ No newline at end of file
+End rmontred.