From 68cd077344ce37db1a601079dbc4fdcae6c8d41f Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Sat, 14 Nov 2020 17:55:07 +0100 Subject: Explicitly annotate all hint declarations of the standard library. By default Coq stdlib warnings raise an error, so this is really required. --- theories/Numbers/Cyclic/Int63/Int63.v | 1 + 1 file changed, 1 insertion(+) (limited to 'theories/Numbers/Cyclic/Int63') diff --git a/theories/Numbers/Cyclic/Int63/Int63.v b/theories/Numbers/Cyclic/Int63/Int63.v index 383c0aff3a..dbca2f0947 100644 --- a/theories/Numbers/Cyclic/Int63/Int63.v +++ b/theories/Numbers/Cyclic/Int63/Int63.v @@ -290,6 +290,7 @@ Proof. intros h; apply Z.lt_gt, Zpower_gt_0; lia. Qed. Lemma pow2_nz n : 0 <= n → 2 ^ n ≠ 0. Proof. intros h; generalize (pow2_pos _ h); lia. Qed. +#[global] Hint Resolve pow2_pos pow2_nz : zarith. (* =================================================== *) -- cgit v1.2.3