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
4b322da9
Commit
4b322da9
authored
3 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
use solve_ndisj more
parent
627054a3
No related branches found
No related tags found
No related merge requests found
Pipeline
#51332
failed
3 years ago
Stage: build
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/lifetime/model/creation.v
+2
-13
2 additions, 13 deletions
theories/lifetime/model/creation.v
with
2 additions
and
13 deletions
theories/lifetime/model/creation.v
+
2
−
13
View file @
4b322da9
...
@@ -180,10 +180,7 @@ Proof.
...
@@ -180,10 +180,7 @@ Proof.
iDestruct
(
monPred_in_intro
True
%
I
with
"[//]"
)
as
(
V
)
"[H _]"
.
iDestruct
(
monPred_in_intro
True
%
I
with
"[//]"
)
as
(
V
)
"[H _]"
.
by
rewrite
-
(
lat_bottom_sqsubseteq
V
)
.
}
by
rewrite
-
(
lat_bottom_sqsubseteq
V
)
.
}
clear
I
A
HΛ
.
iIntros
"!> HΛ"
.
clear
I
A
HΛ
.
iIntros
"!> HΛ"
.
iApply
(
step_fupd_mask_mono
(
↑
lftN
∪
userE
)
_
((
↑
lftN
∪
userE
)
∖↑
mgmtN
))
.
iApply
(
step_fupd_mask_mono
(
↑
lftN
∪
userE
)
_
((
↑
lftN
∪
userE
)
∖↑
mgmtN
));
[
solve_ndisj
..|]
.
{
(* FIXME solve_ndisj should really handle this... *)
assert
(
↑
mgmtN
##
userE
)
by
solve_ndisj
.
set_solver
.
}
{
done
.
}
iInv
mgmtN
as
(
A
I
)
"(>HA & >HI & Hinv)"
"Hclose"
.
iInv
mgmtN
as
(
A
I
)
"(>HA & >HI & Hinv)"
"Hclose"
.
iMod
(
ilft_create
_
_
{[
+
Λ
+
]}
with
"HA HI Hinv"
)
as
"H"
.
clear
A
I
.
iMod
(
ilft_create
_
_
{[
+
Λ
+
]}
with
"HA HI Hinv"
)
as
"H"
.
clear
A
I
.
iDestruct
"H"
as
(
A
I
)
"(% & HA & HI & Hinv)"
.
iDestruct
"H"
as
(
A
I
)
"(% & HA & HI & Hinv)"
.
...
@@ -222,15 +219,7 @@ Proof.
...
@@ -222,15 +219,7 @@ Proof.
+
edestruct
HK
=>
//.
set_solver
+
Hal
HΛκ
HκK
HI
.
+
edestruct
HK
=>
//.
set_solver
+
Hal
HΛκ
HκK
HI
.
-
move
=>
-
[[[[??]?]|?][?|?]]
//.
by
destruct
(
lft_alive_and_dead_in
A
κ
)
.
}
-
move
=>
-
[[[[??]?]|?][?|?]]
//.
by
destruct
(
lft_alive_and_dead_in
A
κ
)
.
}
rewrite
HI
!
big_sepS_union
//.
iDestruct
"Hinv"
as
"[HinvD HinvK]"
.
rewrite
HI
!
big_sepS_union
//.
iDestruct
"Hinv"
as
"[HinvD HinvK]"
.
iApply
fupd_trans
.
iApply
(
fupd_mask_mono
(
userE
∪
↑
borN
∪
↑
inhN
))
.
iApply
fupd_trans
.
iApply
(
fupd_mask_mono
(
userE
∪
↑
borN
∪
↑
inhN
));
first
solve_ndisj
.
{
(* FIXME can we make solve_ndisj handle this? *)
clear
-
userE_lftN_disj
.
rewrite
-
assoc
.
apply
union_least
.
-
assert
(
userE
##@
{
coPset
}
↑
mgmtN
)
by
solve_ndisj
.
set_solver
.
-
assert
(
↑
inhN
##@
{
coPset
}
↑
mgmtN
)
by
solve_ndisj
.
assert
(
↑
inhN
⊆@
{
coPset
}
↑
lftN
)
by
solve_ndisj
.
assert
(
↑
borN
##@
{
coPset
}
↑
mgmtN
)
by
solve_ndisj
.
assert
(
↑
borN
⊆@
{
coPset
}
↑
lftN
)
by
solve_ndisj
.
set_solver
.
}
iMod
(
lfts_kill
A
I
K
K'
Vs
with
"[$HI HinvD] [HinvK]"
)
as
"[[HI HinvD] HinvK]"
=>
//.
iMod
(
lfts_kill
A
I
K
K'
Vs
with
"[$HI HinvD] [HinvK]"
)
as
"[[HI HinvD] HinvK]"
=>
//.
{
intros
κ
κ'
Hκ
Hκ'
Hκκ'
.
assert
(
κ
∈
dom
(
gset
_)
I
)
by
set_solver
+
HI
Hκ
.
auto
.
}
{
intros
κ
κ'
Hκ
Hκ'
Hκκ'
.
assert
(
κ
∈
dom
(
gset
_)
I
)
by
set_solver
+
HI
Hκ
.
auto
.
}
{
move
=>
κ
κ'
.
rewrite
!
elem_of_K
=>
-
[?[
Hd
|?]]
??;
split
=>
//.
{
move
=>
κ
κ'
.
rewrite
!
elem_of_K
=>
-
[?[
Hd
|?]]
??;
split
=>
//.
...
...
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