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
Terraform modules
Monitor
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
Simcha van Collem
Iris
Commits
73959011
Commit
73959011
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
fix heap
parent
0cbaab2f
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/heap.v
+3
-1
3 additions, 1 deletion
heap_lang/heap.v
with
3 additions
and
1 deletion
heap_lang/heap.v
+
3
−
1
View file @
73959011
...
@@ -86,12 +86,14 @@ Section heap.
...
@@ -86,12 +86,14 @@ Section heap.
apply
to_heap_valid
.
}
apply
to_heap_valid
.
}
apply
pvs_mono
,
exist_elim
=>
γ
.
apply
pvs_mono
,
exist_elim
=>
γ
.
rewrite
-
(
exist_intro
(
HeapG
_
_
γ
));
apply
and_mono_r
.
rewrite
-
(
exist_intro
(
HeapG
_
_
γ
));
apply
and_mono_r
.
rewrite
/
heap_mapsto_def
/
heap_name
.
induction
σ
as
[|
l
v
σ
Hl
IH
]
using
map_ind
.
induction
σ
as
[|
l
v
σ
Hl
IH
]
using
map_ind
.
{
rewrite
big_sepM_empty
;
apply
True_intro
.
}
{
rewrite
big_sepM_empty
;
apply
True_intro
.
}
rewrite
to_heap_insert
big_sepM_insert
//.
rewrite
to_heap_insert
big_sepM_insert
//.
rewrite
(
map_insert_singleton_op
(
to_heap
σ
));
rewrite
(
map_insert_singleton_op
(
to_heap
σ
));
last
rewrite
lookup_fmap
Hl
;
auto
.
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
.
Qed
.
Context
`{
heapG
Σ
}
.
Context
`{
heapG
Σ
}
.
...
...
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