Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pierre-Marie Pédrot
Iris
Commits
f81b0ff3
Commit
f81b0ff3
authored
Jul 12, 2016
by
Robbert Krebbers
Browse files
Heap_lang notation for inequality.
parent
bcfc5aa7
Changes
1
Hide whitespace changes
Inline
Side-by-side
heap_lang/notation.v
View file @
f81b0ff3
...
...
@@ -58,6 +58,7 @@ Notation "e1 - e2" := (BinOp MinusOp e1%E e2%E)
Notation
"e1 ≤ e2"
:
=
(
BinOp
LeOp
e1
%
E
e2
%
E
)
(
at
level
70
)
:
expr_scope
.
Notation
"e1 < e2"
:
=
(
BinOp
LtOp
e1
%
E
e2
%
E
)
(
at
level
70
)
:
expr_scope
.
Notation
"e1 = e2"
:
=
(
BinOp
EqOp
e1
%
E
e2
%
E
)
(
at
level
70
)
:
expr_scope
.
Notation
"e1 ≠ e2"
:
=
(
UnOp
NegOp
(
BinOp
EqOp
e1
%
E
e2
%
E
))
(
at
level
70
)
:
expr_scope
.
Notation
"~ e"
:
=
(
UnOp
NegOp
e
%
E
)
(
at
level
75
,
right
associativity
)
:
expr_scope
.
(* The unicode ← is already part of the notation "_ ← _; _" for bind. *)
Notation
"e1 <- e2"
:
=
(
Store
e1
%
E
e2
%
E
)
(
at
level
80
)
:
expr_scope
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment