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
Rice Wine
Iris
Commits
35bba4ed
Commit
35bba4ed
authored
Jun 14, 2016
by
Robbert Krebbers
Browse files
Some canonical structure instances for heap_lang.
parent
9fb4882f
Changes
1
Hide whitespace changes
Inline
Side-by-side
heap_lang/lang.v
View file @
35bba4ed
From
iris
.
program_logic
Require
Export
ectx_language
ectxi_language
.
From
iris
.
algebra
Require
Export
cofe
.
From
iris
.
prelude
Require
Export
strings
.
From
iris
.
prelude
Require
Import
gmap
.
...
...
@@ -508,6 +509,10 @@ Defined.
Instance
expr_inhabited
X
:
Inhabited
(
expr
X
)
:
=
populate
(
Lit
LitUnit
).
Instance
val_inhabited
:
Inhabited
val
:
=
populate
(
LitV
LitUnit
).
Canonical
Structure
stateC
:
=
leibnizC
state
.
Canonical
Structure
valC
:
=
leibnizC
val
.
Canonical
Structure
exprC
X
:
=
leibnizC
(
expr
X
).
End
heap_lang
.
(** Language *)
...
...
Write
Preview
Supports
Markdown
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