Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonas Kastberg
iris
Commits
8ebe1485
Commit
8ebe1485
authored
Jun 11, 2019
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add notation for pointer arithmetic to heap_lang.
parent
47f304f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
theories/heap_lang/notation.v
theories/heap_lang/notation.v
+1
-0
No files found.
theories/heap_lang/notation.v
View file @
8ebe1485
...
...
@@ -60,6 +60,7 @@ Notation "'ref' e" := (Alloc e%E) (at level 10) : expr_scope.
Notation
"- e"
:
=
(
UnOp
MinusUnOp
e
%
E
)
:
expr_scope
.
Notation
"e1 + e2"
:
=
(
BinOp
PlusOp
e1
%
E
e2
%
E
)
:
expr_scope
.
Notation
"e1 +ₗ e2"
:
=
(
BinOp
OffsetOp
e1
%
E
e2
%
E
)
:
expr_scope
.
Notation
"e1 - e2"
:
=
(
BinOp
MinusOp
e1
%
E
e2
%
E
)
:
expr_scope
.
Notation
"e1 * e2"
:
=
(
BinOp
MultOp
e1
%
E
e2
%
E
)
:
expr_scope
.
Notation
"e1 `quot` e2"
:
=
(
BinOp
QuotOp
e1
%
E
e2
%
E
)
:
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