diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-05-05 15:12:59 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-05-05 15:12:59 +0000 |
commit | d2bd5d87d23d443f6e41496bdfe5f8e82d675634 (patch) | |
tree | d9cb49b25b4e49ccda4dd424ef2595f53d9e61c0 /theories/ZArith/Zquot.v | |
parent | f1c9bb9d37e3bcefb5838c57e7ae45923d99c4ff (diff) |
Modularization of BinInt, related fixes in the stdlib
All the functions about Z is now in a separated file BinIntDef,
which is Included in BinInt.Z. This BinInt.Z directly
implements ZAxiomsSig, and instantiates derived properties ZProp.
Note that we refer to Z instead of t inside BinInt.Z,
otherwise ring breaks later on @eq Z.t
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14106 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/ZArith/Zquot.v')
-rw-r--r-- | theories/ZArith/Zquot.v | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/theories/ZArith/Zquot.v b/theories/ZArith/Zquot.v index ae8c20875..b8b780831 100644 --- a/theories/ZArith/Zquot.v +++ b/theories/ZArith/Zquot.v @@ -6,9 +6,7 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -Require Import BinPos BinNat Nnat ZArith_base ROmega ZArithRing Morphisms Zdiv. -Require Export Zdiv_def. -Require ZBinary ZDivTrunc. +Require Import Nnat ZArith_base ROmega ZArithRing Zdiv_def Zdiv Morphisms. Local Open Scope Z_scope. @@ -94,7 +92,7 @@ Proof. assert (0 <= Zrem a b). generalize (Zrem_sgn a b). destruct (Zle_lt_or_eq 0 a H). - rewrite <- Zsgn_pos in H1; rewrite H1; romega with *. + rewrite <- Zsgn_pos in H1; rewrite H1. romega with *. subst a; simpl; auto. generalize (Zrem_lt a b H0); romega with *. Qed. |