aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/ZArith/BinInt.v
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-03-03 10:20:48 +0100
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-03-03 10:45:03 +0100
commita61494c8c430477da8a4b3367a8ac5d492bf83c1 (patch)
tree4f34d8fa426cb188a67372323e8466fe1a0a153f /theories/ZArith/BinInt.v
parent655401f6c5ca27ffddc231d89062041b163ae285 (diff)
Relying on BinInt.Z.Pos2Z for proofs of a few lemmas in Zorder.
Diffstat (limited to 'theories/ZArith/BinInt.v')
-rw-r--r--theories/ZArith/BinInt.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/theories/ZArith/BinInt.v b/theories/ZArith/BinInt.v
index 711047e52..d09337484 100644
--- a/theories/ZArith/BinInt.v
+++ b/theories/ZArith/BinInt.v
@@ -1393,6 +1393,9 @@ Proof. reflexivity. Qed.
Lemma pos_is_nonneg p : 0 <= Z.pos p.
Proof. easy. Qed.
+Lemma neg_le_pos p q : Zneg p <= Zpos q.
+Proof. easy. Qed.
+
Lemma neg_xO p : Z.neg p~0 = 2 * Z.neg p.
Proof. reflexivity. Qed.