aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-07-06 17:07:36 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-07-06 17:07:36 +0000
commit629debcf068ffc4adc22bfc9a4b67251017525a0 (patch)
treeb3db1be97d92fa614cc5add130a249b1b17c6f85
parent04652a716fb3acee5abe3cfad82f127563c1e896 (diff)
BinPos/BinInt/BinNat : fix some argument scopes
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15540 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--theories/NArith/BinNat.v8
-rw-r--r--theories/PArith/BinPos.v3
-rw-r--r--theories/ZArith/BinInt.v8
3 files changed, 9 insertions, 10 deletions
diff --git a/theories/NArith/BinNat.v b/theories/NArith/BinNat.v
index 046670f7b..a42e39a25 100644
--- a/theories/NArith/BinNat.v
+++ b/theories/NArith/BinNat.v
@@ -893,11 +893,11 @@ Qed.
(** Instantiation of generic properties of natural numbers *)
-Include NProp
- <+ UsualMinMaxLogicalProperties <+ UsualMinMaxDecProperties.
+(** The Bind Scope prevents N to stay associated with abstract_scope.
+ (TODO FIX) *)
-(** Otherwise N stays associated with abstract_scope : (TODO FIX) *)
-Bind Scope N_scope with N.
+Include NProp. Bind Scope N_scope with N.
+Include UsualMinMaxLogicalProperties <+ UsualMinMaxDecProperties.
(** In generic statements, the predicates [lt] and [le] have been
favored, whereas [gt] and [ge] don't even exist in the abstract
diff --git a/theories/PArith/BinPos.v b/theories/PArith/BinPos.v
index 58fe090dd..a6c4ef54c 100644
--- a/theories/PArith/BinPos.v
+++ b/theories/PArith/BinPos.v
@@ -1484,8 +1484,7 @@ Qed.
(** We hence obtain all the generic properties of [min] and [max]. *)
-Include !UsualMinMaxLogicalProperties.
-Include !UsualMinMaxDecProperties.
+Include UsualMinMaxLogicalProperties <+ UsualMinMaxDecProperties.
(** Minimum, maximum and constant one *)
diff --git a/theories/ZArith/BinInt.v b/theories/ZArith/BinInt.v
index a5c8affe7..c3caed872 100644
--- a/theories/ZArith/BinInt.v
+++ b/theories/ZArith/BinInt.v
@@ -1153,11 +1153,11 @@ Program Definition rem_wd : Proper (eq==>eq==>eq) rem := _.
Program Definition pow_wd : Proper (eq==>eq==>eq) pow := _.
Program Definition testbit_wd : Proper (eq==>eq==>Logic.eq) testbit := _.
-Include ZProp
- <+ UsualMinMaxLogicalProperties <+ UsualMinMaxDecProperties.
+(** The Bind Scope prevents Z to stay associated with abstract_scope.
+ (TODO FIX) *)
-(** Otherwise Z stays associated with abstract_scope : (TODO FIX) *)
-Bind Scope Z_scope with Z.
+Include ZProp. Bind Scope Z_scope with Z.
+Include UsualMinMaxLogicalProperties <+ UsualMinMaxDecProperties.
(** In generic statements, the predicates [lt] and [le] have been
favored, whereas [gt] and [ge] don't even exist in the abstract