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
Iris
Iris
Commits
2f6b8a24
Commit
2f6b8a24
authored
Oct 12, 2016
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shorten heap_lang/adequacy proof
parent
19c45f91
Pipeline
#2814
passed with stage
in 9 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
heap_lang/adequacy.v
heap_lang/adequacy.v
+1
-2
No files found.
heap_lang/adequacy.v
View file @
2f6b8a24
...
...
@@ -20,9 +20,8 @@ Definition heap_adequacy Σ `{heapPreG Σ} e σ φ :
adequate
e
σ
φ
.
Proof
.
intros
Hwp
;
eapply
(
wp_adequacy
Σ
)
;
iIntros
(?)
"Hσ"
.
iVs
(
auth_alloc
to_heap
ownP
heapN
_
σ
with
"[Hσ]"
)
as
(
γ
)
"[Hh _]"
.
iVs
(
auth_alloc
to_heap
_
heapN
_
σ
with
"[Hσ]"
)
as
(
γ
)
"[Hh _]"
;
[|
by
iNext
|]
.
{
exact
:
to_heap_valid
.
}
{
by
iNext
.
}
set
(
Hheap
:
=
HeapG
_
_
_
γ
).
iApply
(
Hwp
_
).
by
rewrite
/
heap_ctx
.
Qed
.
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