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
Pierre Roux
Iris
Commits
250a4b8b
Commit
250a4b8b
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
rename reservation_map_alloc_update → reservation_map_alloc
parent
49f290a4
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
iris/algebra/reservation_map.v
+2
-2
2 additions, 2 deletions
iris/algebra/reservation_map.v
iris/base_logic/lib/gen_heap.v
+1
-1
1 addition, 1 deletion
iris/base_logic/lib/gen_heap.v
with
3 additions
and
3 deletions
iris/algebra/reservation_map.v
+
2
−
2
View file @
250a4b8b
...
@@ -14,7 +14,7 @@ properties of this camera are:
...
@@ -14,7 +14,7 @@ properties of this camera are:
- The lemma [reservation_map_token_union] enables one to split [reservation_map_token]
- The lemma [reservation_map_token_union] enables one to split [reservation_map_token]
w.r.t. disjoint union. That is, if we have [E1 ## E2], then we get
w.r.t. disjoint union. That is, if we have [E1 ## E2], then we get
[reservation_map_token (E1 ∪ E2) = reservation_map_token E1 ⋅ reservation_map_token E2].
[reservation_map_token (E1 ∪ E2) = reservation_map_token E1 ⋅ reservation_map_token E2].
- The lemma [reservation_map_alloc
_update
] provides a frame preserving update to
- The lemma [reservation_map_alloc] provides a frame preserving update to
associate data to a key: [reservation_map_token E ~~> reservation_map_data k a]
associate data to a key: [reservation_map_token E ~~> reservation_map_data k a]
provided [k ∈ E] and [✓ a].
provided [k ∈ E] and [✓ a].
...
@@ -254,7 +254,7 @@ Proof.
...
@@ -254,7 +254,7 @@ Proof.
-
intros
i
.
rewrite
lookup_op
lookup_empty
.
auto
.
-
intros
i
.
rewrite
lookup_op
lookup_empty
.
auto
.
Qed
.
Qed
.
Lemma
reservation_map_alloc
_update
E
k
a
:
Lemma
reservation_map_alloc
E
k
a
:
k
∈
E
→
✓
a
→
reservation_map_token
E
~~>
reservation_map_data
k
a
.
k
∈
E
→
✓
a
→
reservation_map_token
E
~~>
reservation_map_data
k
a
.
Proof
.
Proof
.
intros
??
.
apply
cmra_total_update
=>
n
[
mf
[
Ef
|]]
//.
intros
??
.
apply
cmra_total_update
=>
n
[
mf
[
Ef
|]]
//.
...
...
This diff is collapsed.
Click to expand it.
iris/base_logic/lib/gen_heap.v
+
1
−
1
View file @
250a4b8b
...
@@ -231,7 +231,7 @@ Section gen_heap.
...
@@ -231,7 +231,7 @@ Section gen_heap.
rewrite
meta_token_eq
meta_eq
/
meta_token_def
/
meta_def
.
rewrite
meta_token_eq
meta_eq
/
meta_token_def
/
meta_def
.
iDestruct
1
as
(
γm
)
"[Hγm Hm]"
.
iExists
γm
.
iFrame
"Hγm"
.
iDestruct
1
as
(
γm
)
"[Hγm Hm]"
.
iExists
γm
.
iFrame
"Hγm"
.
iApply
(
own_update
with
"Hm"
)
.
iApply
(
own_update
with
"Hm"
)
.
apply
reservation_map_alloc
_update
;
last
done
.
apply
reservation_map_alloc
;
last
done
.
cut
(
positives_flatten
N
∈@
{
coPset
}
↑
N
);
first
by
set_solver
.
cut
(
positives_flatten
N
∈@
{
coPset
}
↑
N
);
first
by
set_solver
.
rewrite
nclose_eq
.
apply
elem_coPset_suffixes
.
rewrite
nclose_eq
.
apply
elem_coPset_suffixes
.
exists
1
%
positive
.
by
rewrite
left_id_L
.
exists
1
%
positive
.
by
rewrite
left_id_L
.
...
...
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