Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Ike Mulder
Iris
Commits
c399acaf
Commit
c399acaf
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Some tweaks.
parent
92e6ef6b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
heap_lang/lifting.v
+2
-4
2 additions, 4 deletions
heap_lang/lifting.v
program_logic/language.v
+2
-0
2 additions, 0 deletions
program_logic/language.v
with
4 additions
and
4 deletions
heap_lang/lifting.v
+
2
−
4
View file @
c399acaf
...
...
@@ -36,10 +36,8 @@ Proof.
iIntros
"[HP HΦ]"
.
iFrame
"HP"
.
iNext
.
iIntros
{
v2
σ2
ef
}
"[% HP]"
.
(* FIXME: I should not have to refer to "H0". *)
destruct
H0
as
(
l
&
->
&
?
&
->
&
?)
.
rewrite
-
(
of_to_val
(
Loc
l
)
(
LocV
l
))
//
in
H0
.
apply
of_val_inj
in
H0
as
->
.
simpl
.
iSplitL
;
last
done
.
iApply
"HΦ"
{
l
}
.
iSplit
;
done
.
destruct
H0
as
(
l
&
->
&
[
=
<-
]
%
of_to_val_flip
&
->
&
?);
simpl
.
iSplit
;
last
done
.
iApply
"HΦ"
;
by
iSplit
.
Qed
.
Lemma
wp_load_pst
E
σ
l
v
Φ
:
...
...
This diff is collapsed.
Click to expand it.
program_logic/language.v
+
2
−
0
View file @
c399acaf
...
...
@@ -46,6 +46,8 @@ Section language.
prim_step
e1
σ1
e2
σ2
ef
→
step
ρ1
ρ2
.
Lemma
of_to_val_flip
v
e
:
of_val
v
=
e
→
to_val
e
=
Some
v
.
Proof
.
intros
<-.
by
rewrite
to_of_val
.
Qed
.
Lemma
reducible_not_val
e
σ
:
reducible
e
σ
→
to_val
e
=
None
.
Proof
.
intros
(?
&
?
&
?
&
?);
eauto
using
val_stuck
.
Qed
.
Lemma
atomic_of_val
v
:
¬
atomic
(
of_val
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