aboutsummaryrefslogtreecommitdiff
path: root/src/Util/ZUtil.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jagro@google.com>2016-08-08 16:05:44 -0700
committerGravatar Jason Gross <jagro@google.com>2016-08-08 16:09:47 -0700
commit805d95d827bd6ddcf8edaee1b7f9c03f1027d98c (patch)
treed20c326c00c03131c9b20c5db7434632636d8da9 /src/Util/ZUtil.v
parentef4656a95a449fdd857bcf2a62cea87f7457844b (diff)
More zarith hints
After | File Name | Before || Change ---------------------------------------------------------------------------------- 1m48.45s | Total | 1m46.02s || +0m02.42s ---------------------------------------------------------------------------------- 0m14.25s | Specific/GF25519 | 0m21.36s || -0m07.10s 0m06.46s | ModularArithmetic/Pow2BaseProofs | 0m04.38s || +0m02.08s 0m17.46s | ModularArithmetic/ModularBaseSystemProofs | 0m16.20s || +0m01.26s 0m15.08s | Experiments/SpecEd25519 | 0m14.04s || +0m01.04s 0m05.67s | ModularArithmetic/Tutorial | 0m04.06s || +0m01.61s 0m04.94s | BaseSystemProofs | 0m04.27s || +0m00.67s 0m04.38s | ModularArithmetic/Montgomery/ZProofs | 0m03.52s || +0m00.85s 0m03.64s | Util/ZUtil | 0m03.29s || +0m00.35s 0m03.29s | Experiments/SpecificCurve25519 | 0m03.26s || +0m00.03s 0m02.61s | ModularArithmetic/BarrettReduction/ZGeneralized | 0m02.31s || +0m00.29s 0m02.43s | ModularArithmetic/BarrettReduction/ZHandbook | 0m02.56s || -0m00.12s 0m02.37s | ModularArithmetic/ModularBaseSystemOpt | 0m02.18s || +0m00.18s 0m02.22s | Encoding/PointEncodingPre | 0m01.59s || +0m00.63s 0m02.10s | Specific/GF1305 | 0m02.02s || +0m00.08s 0m01.97s | ModularArithmetic/ModularArithmeticTheorems | 0m02.65s || -0m00.68s 0m01.68s | ModularArithmetic/ExtendedBaseVector | 0m01.72s || -0m00.04s 0m01.61s | BaseSystem | 0m01.29s || +0m00.32s 0m01.39s | Experiments/DerivationsOptionRectLetInEncoding | 0m00.93s || +0m00.45s 0m01.34s | Util/NumTheoryUtil | 0m01.09s || +0m00.25s 0m01.25s | ModularArithmetic/ModularBaseSystemListProofs | 0m01.16s || +0m00.09s 0m01.16s | ModularArithmetic/PrimeFieldTheorems | 0m01.08s || +0m00.07s 0m01.09s | ModularArithmetic/BarrettReduction/Z | 0m01.59s || -0m00.50s 0m01.00s | Testbit | 0m00.66s || +0m00.34s 0m00.98s | ModularArithmetic/ExtPow2BaseMulProofs | 0m00.77s || +0m00.20s 0m00.96s | Encoding/ModularWordEncodingTheorems | 0m00.74s || +0m00.21s 0m00.93s | Spec/ModularWordEncoding | 0m00.65s || +0m00.28s 0m00.90s | ModularArithmetic/ModularBaseSystem | 0m00.70s || +0m00.20s 0m00.85s | ModularArithmetic/ModularBaseSystemField | 0m00.84s || +0m00.01s 0m00.72s | Encoding/ModularWordEncodingPre | 0m00.92s || -0m00.20s 0m00.65s | ModularArithmetic/ModularBaseSystemList | 0m00.68s || -0m00.03s 0m00.61s | ModularArithmetic/PseudoMersenneBaseParamProofs | 0m00.69s || -0m00.07s 0m00.57s | ModularArithmetic/Pow2Base | 0m00.58s || -0m00.01s 0m00.53s | Spec/ModularArithmetic | 0m00.54s || -0m00.01s 0m00.51s | ModularArithmetic/Pre | 0m00.61s || -0m00.09s 0m00.44s | ModularArithmetic/PseudoMersenneBaseParams | 0m00.51s || -0m00.07s 0m00.41s | ModularArithmetic/Montgomery/Z | 0m00.58s || -0m00.17s
Diffstat (limited to 'src/Util/ZUtil.v')
-rw-r--r--src/Util/ZUtil.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Util/ZUtil.v b/src/Util/ZUtil.v
index a90e4ffef..7e99bfadc 100644
--- a/src/Util/ZUtil.v
+++ b/src/Util/ZUtil.v
@@ -17,7 +17,7 @@ Hint Extern 1 => lia : lia.
Hint Extern 1 => lra : lra.
Hint Extern 1 => nia : nia.
Hint Extern 1 => omega : omega.
-Hint Resolve Z.log2_nonneg Z.div_small Z.mod_small Z.pow_neg_r Z.pow_0_l Z.pow_pos_nonneg Z.lt_le_incl Z.pow_nonzero Z.div_le_upper_bound Z_div_exact_full_2 Z.div_same Z.div_lt_upper_bound Z.div_le_lower_bound Zplus_minus : zarith.
+Hint Resolve Z.log2_nonneg Z.div_small Z.mod_small Z.pow_neg_r Z.pow_0_l Z.pow_pos_nonneg Z.lt_le_incl Z.pow_nonzero Z.div_le_upper_bound Z_div_exact_full_2 Z.div_same Z.div_lt_upper_bound Z.div_le_lower_bound Zplus_minus Zplus_gt_compat_l Zplus_gt_compat_r Zmult_gt_compat_l Zmult_gt_compat_r : zarith.
Hint Resolve (fun a b H => proj1 (Z.mod_pos_bound a b H)) (fun a b H => proj2 (Z.mod_pos_bound a b H)) : zarith.
(** Only hints that are always safe to apply (i.e., reversible), and