diff options
author | Jason Gross <jagro@google.com> | 2016-07-06 15:54:37 -0700 |
---|---|---|
committer | Jason Gross <jagro@google.com> | 2016-07-06 15:54:37 -0700 |
commit | 26434eb2c9a43eaca89b186cebefa2ce658dc179 (patch) | |
tree | b3eb32c39ab206daf6348d350766df3ace766f5a /src/Util | |
parent | 56e58b21bb80e7b460b0010a8b307f97c3fefea4 (diff) |
Fix notations, add &
Diffstat (limited to 'src/Util')
-rw-r--r-- | src/Util/Notations.v | 5 | ||||
-rw-r--r-- | src/Util/ZUtil.v | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Util/Notations.v b/src/Util/Notations.v index 3e0acdcc5..4526e6dce 100644 --- a/src/Util/Notations.v +++ b/src/Util/Notations.v @@ -16,7 +16,8 @@ Reserved Notation "x ^ 2" (at level 30, format "x ^ 2"). Reserved Notation "x ^ 3" (at level 30, format "x ^ 3"). Reserved Infix "mod" (at level 40, no associativity). Reserved Notation "'canonical' 'encoding' 'of' T 'as' B" (at level 50). -Reserved Infix "<<" (at level 30). -Reserved Infix ">>" (at level 30). +Reserved Infix "<<" (at level 30, no associativity). +Reserved Infix ">>" (at level 30, no associativity). Reserved Infix "&" (at level 50). +Reserved Infix "∣" (at level 50). Reserved Infix "~=" (at level 70). diff --git a/src/Util/ZUtil.v b/src/Util/ZUtil.v index 7b57afb53..263d94fa2 100644 --- a/src/Util/ZUtil.v +++ b/src/Util/ZUtil.v @@ -8,6 +8,7 @@ Local Open Scope Z. Infix ">>" := Z.shiftr : Z_scope. Infix "<<" := Z.shiftl : Z_scope. +Infix "&" := Z.land : Z_scope. Hint Extern 1 => lia : lia. Hint Extern 1 => lra : lra. |