aboutsummaryrefslogtreecommitdiff
path: root/theories/Program/Utils.v
diff options
context:
space:
mode:
authorHugo Herbelin2018-03-30 14:47:06 +0200
committerHugo Herbelin2018-09-10 13:07:29 +0200
commit46ab3659dd1f2e4839064cfabc03bd19268fa44b (patch)
treea4b215eb3289a189c9756bf44c3e52d04f306c99 /theories/Program/Utils.v
parent8e675d70ad1f60cbbf9f1e630ce6dee61347c7ca (diff)
Adapting standard library to the introduction of "Declare Scope".
Removing in passing two Local which are no-ops in practice.
Diffstat (limited to 'theories/Program/Utils.v')
-rw-r--r--theories/Program/Utils.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/theories/Program/Utils.v b/theories/Program/Utils.v
index 78c36dc7d1..c51cacac68 100644
--- a/theories/Program/Utils.v
+++ b/theories/Program/Utils.v
@@ -20,12 +20,13 @@ Notation "{ ( x , y ) : A | P }" :=
(sig (fun anonymous : A => let (x,y) := anonymous in P))
(x ident, y ident, at level 10) : type_scope.
+Declare Scope program_scope.
+Delimit Scope program_scope with prg.
+
(** Generates an obligation to prove False. *)
Notation " ! " := (False_rect _ _) : program_scope.
-Delimit Scope program_scope with prg.
-
(** Abbreviation for first projection and hiding of proofs of subset objects. *)
Notation " ` t " := (proj1_sig t) (at level 10, t at next level) : program_scope.