aboutsummaryrefslogtreecommitdiff
path: root/src/Util
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2018-11-01 15:34:55 -0400
committerGravatar Jason Gross <jgross@mit.edu>2018-11-01 16:05:19 -0400
commite481d29b51cd69a1a6cb4972b43227f3b03410f2 (patch)
tree678f67272f36e7c3e01233ce549c1c9532bcc6e9 /src/Util
parent3cd225e3487d830d4e9782e011483824717f2262 (diff)
Add more reserved notations
Diffstat (limited to 'src/Util')
-rw-r--r--src/Util/Notations.v14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Util/Notations.v b/src/Util/Notations.v
index 455a02756..39b1c4531 100644
--- a/src/Util/Notations.v
+++ b/src/Util/Notations.v
@@ -29,6 +29,13 @@ Reserved Infix "=ₙ?" (at level 70, no associativity).
Reserved Infix "=ℤ?" (at level 70, no associativity).
Reserved Infix "=ᶻ?" (at level 70, no associativity).
Reserved Infix "=ⁿ?" (at level 70, no associativity).
+Reserved Notation "x +' y" (at level 50, left associativity).
+Reserved Notation "x -' y" (at level 50, left associativity).
+Reserved Notation "x *' y" (at level 40, left associativity).
+Reserved Notation "x /' y" (at level 40, left associativity).
+Reserved Notation "-' x" (at level 35, right associativity).
+Reserved Notation "/' x" (at level 35, right associativity).
+Reserved Notation "x ^' y" (at level 30, right associativity).
Reserved Infix ".+" (at level 50).
Reserved Infix ".*" (at level 50).
Reserved Notation "' x" (at level 20, no associativity, format "' x").
@@ -36,17 +43,22 @@ Reserved Notation "x ^ 2" (at level 30, format "x ^ 2").
Reserved Notation "x ^ 3" (at level 30, format "x ^ 3").
Reserved Notation "2 ^ e" (at level 30, format "2 ^ e", only printing).
Reserved Infix "mod" (at level 40, no associativity).
+Reserved Infix "mod'" (at level 40, no associativity).
Reserved Notation "'canonical' 'encoding' 'of' T 'as' B" (at level 50).
Reserved Notation "@ 'is_eq_dec' T R" (at level 10, T at level 8, R at level 8).
Reserved Infix "@" (left associativity, at level 11).
Reserved Infix "@1" (left associativity, at level 11).
Reserved Infix "@₁" (left associativity, at level 11).
Reserved Infix "@@" (left associativity, at level 11).
+Reserved Infix "<<'" (at level 30, no associativity).
+Reserved Infix ">>'" (at level 30, no associativity).
Reserved Infix "<<" (at level 30, no associativity).
Reserved Infix ">>" (at level 30, no associativity).
Reserved Infix ">>>" (at level 30, no associativity).
Reserved Infix "&'" (at level 50). (* N.B. If we used '&', it would conflict with [{ a : T & P}] for [sigT] *)
+Reserved Infix "&''" (at level 50).
Reserved Infix "∣" (at level 50).
+Reserved Infix "∣'" (at level 50).
Reserved Infix "~=" (at level 70).
Reserved Infix "==" (at level 70, no associativity).
Reserved Notation "x == y :> T"
@@ -153,6 +165,8 @@ Reserved Notation "# x" (at level 55, x at level 9, format "# x"). (* 55, so we
*)
Reserved Notation "## x" (at level 9, x at level 9, format "## x").
Reserved Notation "### x" (at level 9, x at level 9, format "### x").
+Reserved Notation "#### x" (at level 9, x at level 9, format "#### x").
+Reserved Notation "##### x" (at level 9, x at level 9, format "##### x").
Reserved Notation "\ x .. y , t" (at level 200, x binder, y binder, right associativity, format "\ x .. y , '//' t").
(* TODO: Remove these when https://github.com/mit-plv/bbv/pull/13 is merged *)