From d1be0ed0d067dc37afcc5db5e58cee5c2a89d646 Mon Sep 17 00:00:00 2001 From: letouzey Date: Fri, 8 Feb 2008 14:33:00 +0000 Subject: one forgotten compatibility lemma git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10526 85f007b7-540e-0410-9357-904b9bb8a0f7 --- theories/ZArith/Zdiv.v | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/theories/ZArith/Zdiv.v b/theories/ZArith/Zdiv.v index 85d2b06f68..de3b76e95d 100644 --- a/theories/ZArith/Zdiv.v +++ b/theories/ZArith/Zdiv.v @@ -1033,6 +1033,11 @@ Proof. intros; apply Z_div_same_full; auto with zarith. Qed. +Lemma Z_div_plus : forall a b c:Z, c > 0 -> (a + b * c) / c = a / c + b. +Proof. + intros; apply Z_div_plus_full; auto with zarith. +Qed. + Lemma Z_div_mult : forall a b:Z, b > 0 -> (a*b)/b = a. Proof. intros; apply Z_div_mult_full; auto with zarith. -- cgit v1.2.3