Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lambda-rust
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
Model registry
Operate
Environments
Monitor
Service Desk
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
Iris
lambda-rust
Commits
6d6532db
Commit
6d6532db
authored
11 months ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
some comments on lifetime ending
parent
a4e89895
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#103158
passed
10 months ago
Stage: build
Changes
1
Pipelines
31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lifetime/model/creation.v
+4
-2
4 additions, 2 deletions
lifetime/model/creation.v
with
4 additions
and
2 deletions
lifetime/model/creation.v
+
4
−
2
View file @
6d6532db
...
@@ -129,7 +129,9 @@ Proof.
...
@@ -129,7 +129,9 @@ Proof.
-
iRight
.
iFrame
"Hκ"
.
iPureIntro
.
by
apply
lft_dead_in_insert
.
}
-
iRight
.
iFrame
"Hκ"
.
iPureIntro
.
by
apply
lft_dead_in_insert
.
}
iModIntro
;
iExists
Λ
.
iModIntro
;
iExists
Λ
.
rewrite
{
1
}
/
lft_tok
big_sepMS_singleton
.
iSplit
;
first
done
.
iFrame
"HΛ"
.
rewrite
{
1
}
/
lft_tok
big_sepMS_singleton
.
iSplit
;
first
done
.
iFrame
"HΛ"
.
clear
I
A
HΛ
.
iIntros
"!> HΛ"
.
clear
I
A
HΛ
HPx
HP
.
(* From here on, we are proving that an atomic lifetime can be ended. *)
iIntros
"!> HΛ"
.
iApply
(
step_fupd_mask_mono
(
↑
lftN
∪
userE
)
_
((
↑
lftN
∪
userE
)
∖↑
mgmtN
));
[
solve_ndisj
..|]
.
iApply
(
step_fupd_mask_mono
(
↑
lftN
∪
userE
)
_
((
↑
lftN
∪
userE
)
∖↑
mgmtN
));
[
solve_ndisj
..|]
.
iInv
mgmtN
as
(
A
I
)
"(>HA & >HI & Hinv)"
"Hclose"
.
iInv
mgmtN
as
(
A
I
)
"(>HA & >HI & Hinv)"
"Hclose"
.
rewrite
/
lft_tok
big_sepMS_singleton
.
rewrite
/
lft_tok
big_sepMS_singleton
.
...
@@ -138,7 +140,7 @@ Proof.
...
@@ -138,7 +140,7 @@ Proof.
iMod
(
own_update_2
with
"HA HΛ"
)
as
"[HA HΛ]"
.
iMod
(
own_update_2
with
"HA HΛ"
)
as
"[HA HΛ]"
.
{
by
eapply
auth_update
,
singleton_local_update
,
{
by
eapply
auth_update
,
singleton_local_update
,
(
exclusive_local_update
_
(
Cinr
()))
.
}
(
exclusive_local_update
_
(
Cinr
()))
.
}
iDestruct
"HΛ"
as
"#HΛ"
.
iModIntro
;
iNext
.
iDestruct
"HΛ"
as
"#HΛ"
.
iModIntro
;
iNext
.
(* This is THE step *)
pose
(
K
:=
kill_set
I
Λ
)
.
pose
(
K
:=
kill_set
I
Λ
)
.
pose
(
K'
:=
filter
(
lft_alive_in
A
)
(
dom
I
)
∖
K
)
.
pose
(
K'
:=
filter
(
lft_alive_in
A
)
(
dom
I
)
∖
K
)
.
destruct
(
proj1
(
subseteq_disjoint_union_L
(
K
∪
K'
)
(
dom
I
)))
as
(
K''
&
HI
&
HK''
)
.
destruct
(
proj1
(
subseteq_disjoint_union_L
(
K
∪
K'
)
(
dom
I
)))
as
(
K''
&
HI
&
HK''
)
.
...
...
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