Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simon Spies
Iris
Commits
73959011
Commit
73959011
authored
Feb 24, 2016
by
Ralf Jung
Browse files
fix heap
parent
0cbaab2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
heap_lang/heap.v
View file @
73959011
...
...
@@ -86,12 +86,14 @@ Section heap.
apply
to_heap_valid
.
}
apply
pvs_mono
,
exist_elim
=>
γ
.
rewrite
-(
exist_intro
(
HeapG
_
_
γ
))
;
apply
and_mono_r
.
rewrite
/
heap_mapsto_def
/
heap_name
.
induction
σ
as
[|
l
v
σ
Hl
IH
]
using
map_ind
.
{
rewrite
big_sepM_empty
;
apply
True_intro
.
}
rewrite
to_heap_insert
big_sepM_insert
//.
rewrite
(
map_insert_singleton_op
(
to_heap
σ
))
;
last
rewrite
lookup_fmap
Hl
;
auto
.
by
rewrite
auth_own_op
IH
.
(* FIXME: investigate why we have to unfold auth_own here. *)
by
rewrite
auth_own_op
IH
auth_own_eq
.
Qed
.
Context
`
{
heapG
Σ
}.
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment