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
5d384541
Commit
5d384541
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
explain why we expose κ' in bor_acc_strong
parent
aa650418
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#31162
passed
4 years ago
Stage: build
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/lifetime/lifetime.v
+1
-1
1 addition, 1 deletion
theories/lifetime/lifetime.v
theories/lifetime/lifetime_sig.v
+2
-0
2 additions, 0 deletions
theories/lifetime/lifetime_sig.v
with
3 additions
and
1 deletion
theories/lifetime/lifetime.v
+
1
−
1
View file @
5d384541
...
...
@@ -27,7 +27,7 @@ Context `{!invG Σ, !lftG Σ}.
Implicit
Types
κ
:
lft
.
(* Deriving this just to prove that it can be derived.
(It is in the signature only for code sharing reasons.*)
(It is in the signature only for code sharing reasons.
)
*)
Lemma
bor_shorten_
κ
κ'
P
:
κ
⊑
κ'
-∗
&
{
κ'
}
P
-∗
&
{
κ
}
P
.
Proof
.
iIntros
"#Hκκ'"
.
rewrite
!
bor_unfold_idx
.
iDestruct
1
as
(
i
)
"[#? ?]"
.
...
...
This diff is collapsed.
Click to expand it.
theories/lifetime/lifetime_sig.v
+
2
−
0
View file @
5d384541
...
...
@@ -126,6 +126,8 @@ Module Type lifetime_sig.
lft_ctx
-∗
&
{
κ
,
i
}
P
-∗
idx_bor_own
q
i
=
{
E
,
E
∖↑
lftN
}
=∗
(
▷
P
∗
(
▷
P
=
{
E
∖↑
lftN
,
E
}
=∗
idx_bor_own
q
i
))
∨
([
†
κ
]
∗
|
=
{
E
∖↑
lftN
,
E
}=>
idx_bor_own
q
i
)
.
(* We have to expose κ' here as without [lftN] in the mask of the Q-to-P view
shift, we cannot turn [†κ'] into [†κ]. *)
Parameter
bor_acc_strong
:
∀
E
q
κ
P
,
↑
lftN
⊆
E
→
lft_ctx
-∗
&
{
κ
}
P
-∗
q
.[
κ
]
=
{
E
}
=∗
∃
κ'
,
κ
⊑
κ'
∗
▷
P
∗
∀
Q
,
▷
(
▷
Q
-∗
[
†
κ'
]
=
{
↑
lft_userN
}
=∗
▷
P
)
-∗
▷
Q
=
{
E
}
=∗
&
{
κ'
}
Q
∗
q
.[
κ
]
.
...
...
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