Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dan Frumin
iris-coq
Commits
24de06c7
Commit
24de06c7
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Write some comments.
parent
d5229693
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
heap_lang/tactics.v
+8
-0
8 additions, 0 deletions
heap_lang/tactics.v
with
8 additions
and
0 deletions
heap_lang/tactics.v
+
8
−
0
View file @
24de06c7
...
...
@@ -2,6 +2,10 @@ From iris.heap_lang Require Export lang.
From
iris
.
prelude
Require
Import
fin_maps
.
Import
heap_lang
.
(
**
We
define
an
alternative
representation
of
expressions
in
which
the
embedding
of
values
and
closed
expressions
is
explicit
.
By
reification
of
expressions
into
this
type
we
can
implementation
substitution
,
closedness
checking
,
atomic
checking
,
and
conversion
into
values
,
by
computation
.
*
)
Module
W
.
Inductive
expr
:=
|
Val
(
v
:
val
)
...
...
@@ -110,6 +114,10 @@ Proof.
induction
e
;
naive_solver
eauto
using
is_closed_of_val
,
is_closed_weaken_nil
.
Qed
.
(
*
We
define
[
to_val
(
ClosedExpr
_
)]
to
be
[
None
]
since
[
ClosedExpr
]
constructors
are
only
generated
for
closed
expressions
of
which
we
know
nothing
about
apart
from
being
closed
.
Notice
that
the
reverse
implication
of
[
to_val_Some
]
thus
does
not
hold
.
*
)
Fixpoint
to_val
(
e
:
expr
)
:
option
val
:=
match
e
with
|
Val
v
=>
Some
v
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment