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
be413807
There was a problem fetching the pipeline summary.
Commit
be413807
authored
7 years ago
by
Jacques-Henri Jourdan
Browse files
Options
Downloads
Patches
Plain Diff
Simplify proofs
parent
22c35586
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/lifetime/model/reborrow.v
+2
-3
2 additions, 3 deletions
theories/lifetime/model/reborrow.v
theories/typing/type.v
+2
-4
2 additions, 4 deletions
theories/typing/type.v
with
4 additions
and
7 deletions
theories/lifetime/model/reborrow.v
+
2
−
3
View file @
be413807
...
...
@@ -60,7 +60,7 @@ Proof.
{
apply
auth_update_alloc
,
(
alloc_singleton_local_update
_
j
(
1
%
Qp
,
to_agree
Bor_in
));
last
done
.
rewrite
/
to_borUR
lookup_fmap
.
by
rewrite
HBj
.
}
iModIntro
.
iExists
(
P
∗
Pb
)
%
I
.
rewrite
/
Iinv
.
iFrame
"HI Hκ"
.
iSplitL
"Hj"
.
iModIntro
.
iExists
(
P
∗
Pb
)
%
I
.
rewrite
/
Iinv
.
iFrame
"HI Hκ"
.
iSplitL
"Hj"
.
{
iExists
j
.
iFrame
.
iExists
P
.
rewrite
-
uPred
.
iff_refl
.
auto
.
}
iSplitL
"Hbox HB● HB"
.
{
rewrite
/
lft_bor_alive
.
iNext
.
iExists
(
<
[
j
:=
Bor_in
]
>
B
)
.
...
...
@@ -123,8 +123,7 @@ Proof.
iMod
(
slice_empty
_
_
true
with
"Hs' Hbox"
)
as
"[Hidx Hbox]"
.
solve_ndisj
.
by
rewrite
lookup_fmap
EQB
.
iAssert
(
▷
idx_bor_own
1
(
κ
,
i
))
%
I
with
"[Hidx]"
as
">Hidx"
;
[
by
iApply
"HP'"
|]
.
iDestruct
(
raw_bor_inI
_
_
P
with
"HI [Hidx]"
)
as
%
HI
;
first
by
rewrite
/
raw_bor
;
auto
10
with
I
.
iDestruct
(
own_bor_auth
with
"HI [Hidx]"
)
as
%
HI
;
[
by
rewrite
/
idx_bor_own
|]
.
iDestruct
(
big_sepS_elem_of_acc
_
_
κ
with
"Hinv"
)
as
"[Hinvκ Hclose']"
;
first
by
rewrite
elem_of_difference
elem_of_dom
not_elem_of_singleton
;
eauto
using
strict_ne
.
...
...
This diff is collapsed.
Click to expand it.
theories/typing/type.v
+
2
−
4
View file @
be413807
...
...
@@ -134,10 +134,8 @@ Next Obligation.
iIntros
(??
st
E
κ
l
tid
??)
"#LFT Hmt Hκ"
.
iMod
(
bor_exists
with
"LFT Hmt"
)
as
(
vl
)
"Hmt"
;
first
solve_ndisj
.
iMod
(
bor_sep
with
"LFT Hmt"
)
as
"[Hmt Hown]"
;
first
solve_ndisj
.
iMod
(
bor_persistent
with
"LFT Hown"
)
as
"[Hown|#H†]"
;
first
solve_ndisj
.
-
iFrame
"Hκ"
.
iMod
(
bor_fracture
with
"LFT [Hmt]"
)
as
"Hfrac"
;
by
eauto
with
iFrame
.
-
iExFalso
.
by
iApply
(
lft_tok_dead
with
"Hκ"
)
.
iMod
(
bor_persistent_tok
with
"LFT Hown Hκ"
)
as
"[Hown $]"
;
first
solve_ndisj
.
iMod
(
bor_fracture
with
"LFT [Hmt]"
)
as
"Hfrac"
;
by
eauto
with
iFrame
.
Qed
.
Next
Obligation
.
iIntros
(??
st
κ
κ'
tid
l
)
"#Hord H"
.
...
...
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