aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--theories/Classes/Morphisms.v6
-rw-r--r--theories/Classes/SetoidDec.v3
-rw-r--r--theories/Program/Equality.v3
3 files changed, 12 insertions, 0 deletions
diff --git a/theories/Classes/Morphisms.v b/theories/Classes/Morphisms.v
index cf72cd35f..8f7bab072 100644
--- a/theories/Classes/Morphisms.v
+++ b/theories/Classes/Morphisms.v
@@ -21,6 +21,12 @@ Require Export Coq.Classes.RelationClasses.
Generalizable All Variables.
Local Obligation Tactic := simpl_relation.
+Local Notation "'λ' x .. y , t" := (fun x => .. (fun y => t) ..)
+ (at level 200, x binder, y binder, right associativity).
+
+Local Notation "'Π' x .. y , P" := (forall x, .. (forall y, P) ..)
+ (at level 200, x binder, y binder, right associativity) : type_scope.
+
(** * Morphisms.
We now turn to the definition of [Proper] and declare standard instances.
diff --git a/theories/Classes/SetoidDec.v b/theories/Classes/SetoidDec.v
index accdd481a..762b3fc7d 100644
--- a/theories/Classes/SetoidDec.v
+++ b/theories/Classes/SetoidDec.v
@@ -18,6 +18,9 @@ Unset Strict Implicit.
Generalizable Variables A B .
+Local Notation "'λ' x .. y , t" := (fun x => .. (fun y => t) ..)
+ (at level 200, x binder, y binder, right associativity).
+
(** Export notations. *)
Require Export Coq.Classes.SetoidClass.
diff --git a/theories/Program/Equality.v b/theories/Program/Equality.v
index ae92ad948..37c17aa9a 100644
--- a/theories/Program/Equality.v
+++ b/theories/Program/Equality.v
@@ -13,6 +13,9 @@ Require Export JMeq.
Require Import Coq.Program.Tactics.
+Local Notation "'Π' x .. y , P" := (forall x, .. (forall y, P) ..)
+ (at level 200, x binder, y binder, right associativity) : type_scope.
+
Ltac is_ground_goal :=
match goal with
|- ?T => is_ground T