aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--theories/Bool/Bool.v6
-rw-r--r--theories/FSets/FMapAVL.v1
-rw-r--r--theories/FSets/FSetAVL.v1
3 files changed, 6 insertions, 2 deletions
diff --git a/theories/Bool/Bool.v b/theories/Bool/Bool.v
index 9db151e32..bae2e14ab 100644
--- a/theories/Bool/Bool.v
+++ b/theories/Bool/Bool.v
@@ -706,9 +706,11 @@ Qed.
(*****************************************)
Notation "a &&& b" := (if a then b else false)
- (at level 40, left associativity) : bool_scope.
+ (at level 40, left associativity) : lazy_bool_scope.
Notation "a ||| b" := (if a then true else b)
- (at level 50, left associativity) : bool_scope.
+ (at level 50, left associativity) : lazy_bool_scope.
+
+Open Local Scope lazy_bool_scope.
Lemma andb_lazy_alt : forall a b : bool, a && b = a &&& b.
Proof.
diff --git a/theories/FSets/FMapAVL.v b/theories/FSets/FMapAVL.v
index 521fd13d8..2a2960f19 100644
--- a/theories/FSets/FMapAVL.v
+++ b/theories/FSets/FMapAVL.v
@@ -36,6 +36,7 @@ Notation "s #2" := (snd s) (at level 9, format "s '#2'") : pair_scope.
Module Raw (Import I:Int)(X: OrderedType).
Open Local Scope pair_scope.
+Open Local Scope lazy_bool_scope.
Open Local Scope Int_scope.
Definition key := X.t.
diff --git a/theories/FSets/FSetAVL.v b/theories/FSets/FSetAVL.v
index faf12cea7..6a1e07185 100644
--- a/theories/FSets/FSetAVL.v
+++ b/theories/FSets/FSetAVL.v
@@ -54,6 +54,7 @@ Notation "s #2" := (snd s) (at level 9, format "s '#2'") : pair_scope.
Module Raw (Import I:Int)(X:OrderedType).
Open Local Scope pair_scope.
+Open Local Scope lazy_bool_scope.
Open Local Scope Int_scope.
Definition elt := X.t.