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
566e5d61
There was a problem fetching the pipeline summary.
Commit
566e5d61
authored
7 years ago
by
Jacques-Henri Jourdan
Browse files
Options
Downloads
Patches
Plain Diff
Be more coherent in lft_kill by naming K and K' the same way they are named in lfts_kill
parent
0db0112d
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/lifetime/model/creation.v
+7
-7
7 additions, 7 deletions
theories/lifetime/model/creation.v
with
7 additions
and
7 deletions
theories/lifetime/model/creation.v
+
7
−
7
View file @
566e5d61
...
...
@@ -13,13 +13,13 @@ Implicit Types κ : lft.
Lemma
lft_kill
(
I
:
gmap
lft
lft_names
)
(
K
K'
:
gset
lft
)
(
κ
:
lft
)
:
let
Iinv
:=
(
own_ilft_auth
I
∗
([
∗
set
]
κ'
∈
K
,
lft_inv_
alive
κ'
)
∗
([
∗
set
]
κ'
∈
K'
,
lft_inv_
dead
κ'
))
%
I
in
(
∀
κ'
,
is_Some
(
I
!!
κ'
)
→
κ
'
⊂
κ
→
κ'
∈
K
)
→
(
∀
κ'
,
is_Some
(
I
!!
κ'
)
→
κ
⊂
κ
'
→
κ'
∈
K'
)
→
([
∗
set
]
κ'
∈
K
,
lft_inv_
dead
κ'
)
∗
([
∗
set
]
κ'
∈
K'
,
lft_inv_
alive
κ'
))
%
I
in
(
∀
κ'
,
is_Some
(
I
!!
κ'
)
→
κ
⊂
κ
'
→
κ'
∈
K
)
→
(
∀
κ'
,
is_Some
(
I
!!
κ'
)
→
κ
'
⊂
κ
→
κ'
∈
K'
)
→
Iinv
-∗
lft_inv_alive
κ
-∗
[
†
κ
]
=
{
↑
borN
∪
↑
inhN
}
=∗
Iinv
∗
lft_inv_dead
κ
.
Proof
.
iIntros
(
Iinv
HK
HK'
)
"(HI & H
alive & Hdead
) Hlalive Hκ"
.
iIntros
(
Iinv
HK
HK'
)
"(HI & H
dead & Halive
) Hlalive Hκ"
.
rewrite
lft_inv_alive_unfold
;
iDestruct
"Hlalive"
as
(
P
Q
)
"(Hbor & Hvs & Hinh)"
.
rewrite
/
lft_bor_alive
;
iDestruct
"Hbor"
as
(
B
)
"(Hbox & Hbor & HB)"
.
...
...
@@ -94,12 +94,12 @@ Proof.
iDestruct
(
@
big_sepS_insert
with
"Halive"
)
as
"[Hκalive Halive]"
;
first
done
.
iMod
(
lft_kill
with
"[$HI $Halive $Hdead] Hκalive Hκ"
)
as
"[(HI&Halive&Hdead) Hκdead]"
.
{
intros
κ'
?
[??]
%
strict_spec_alt
.
rewrite
elem_of_difference
elem_of_singleton
;
eauto
.
}
{
intros
κ'
??
.
eapply
(
HK'
κ
);
eauto
.
intros
?
.
eapply
(
minimal_strict_1
_
_
_
Hκmin
);
eauto
.
apply
elem_of_filter
;
split
;
last
done
.
eapply
lft_alive_in_subseteq
,
gmultiset_subset_subseteq
;
eauto
.
}
{
intros
κ'
?
[??]
%
strict_spec_alt
.
rewrite
elem_of_difference
elem_of_singleton
;
eauto
.
}
iModIntro
.
rewrite
/
Iinv
(
big_sepS_delete
_
K
)
//.
iFrame
.
Qed
.
...
...
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