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
e46aa078
Commit
e46aa078
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Add missing heap_lang/adequacy.
parent
5e5e90ea
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/adequacy.v
+18
-0
18 additions, 0 deletions
heap_lang/adequacy.v
with
18 additions
and
0 deletions
heap_lang/adequacy.v
0 → 100644
+
18
−
0
View file @
e46aa078
From
iris
.
program_logic
Require
Export
weakestpre
adequacy
.
From
iris
.
heap_lang
Require
Export
heap
.
From
iris
.
program_logic
Require
Import
auth
ownership
.
From
iris
.
heap_lang
Require
Import
proofmode
notation
.
From
iris
.
proofmode
Require
Import
tactics
weakestpre
.
Definition
heapGF
:
gFunctorList
:=
[
authGF
heapUR
;
irisGF
heap_lang
]
.
Definition
heap_adequacy
Σ
`{
irisPreG
heap_lang
Σ
,
authG
Σ
heapUR
}
e
σ
φ
:
(
∀
`{
heapG
Σ
},
heap_ctx
⊢
WP
e
{{
v
,
■
φ
v
}})
→
adequate
e
σ
φ
.
Proof
.
intros
Hwp
;
eapply
(
wp_adequacy
Σ
);
iIntros
(?)
"Hσ"
.
iVs
(
auth_alloc
(
ownP
∘
of_heap
)
heapN
_
(
to_heap
σ
)
with
"[Hσ]"
)
as
(
γ
)
"[??]"
.
-
auto
using
to_heap_valid
.
-
rewrite
/=
(
from_to_heap
σ
);
auto
.
-
iApply
(
Hwp
(
HeapG
_
_
_
γ
))
.
by
rewrite
/
heap_ctx
.
Qed
.
\ No newline at end of file
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