Debian Codegraph @

src/Util/ZUtil/Hints.v

raw
1 (** * Hint Databases with lemmas about ℤ from the standard library *)
2 From Coq Require Import ZArith.
3 Require Export Crypto.Util.ZUtil.Hints.Core.
4 Require Export Crypto.Util.ZUtil.Hints.ZArith.
5 Require Export Crypto.Util.ZUtil.Hints.Ztestbit.
6 Require Export Crypto.Util.ZUtil.Hints.PullPush.
7 Require Export Crypto.Util.ZUtil.ZSimplify.Core.
8
9 Global Hint Resolve -> Z.log2_lt_pow2 Z.log2_le_pow2 : concl_log2.
10 Global Hint Resolve <- Z.log2_lt_pow2 Z.log2_le_pow2 : hyp_log2.
11
12 (** For the occasional lemma that can remove the use of [Z.div] *)
13 #[global]
14 Hint Rewrite Z.div_small_iff using zutil_arith : zstrip_div.