diff options
Diffstat (limited to 'src/Util/ZUtil/Opp.v')
-rw-r--r-- | src/Util/ZUtil/Opp.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Util/ZUtil/Opp.v b/src/Util/ZUtil/Opp.v new file mode 100644 index 000000000..3cc18241b --- /dev/null +++ b/src/Util/ZUtil/Opp.v @@ -0,0 +1,11 @@ +Require Import Coq.ZArith.ZArith. +Require Import Coq.micromega.Lia. +Require Import Crypto.Util.ZUtil.Hints.Core. +Require Import Crypto.Util.ZUtil.ZSimplify.Core. +Local Open Scope Z_scope. + +Module Z. + Lemma opp_eq_0_iff a : -a = 0 <-> a = 0. + Proof. omega. Qed. + Hint Rewrite opp_eq_0_iff : zsimplify. +End Z. |