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
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
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
Simon Spies
lambda-rust
Commits
988efdbe
Commit
988efdbe
authored
5 years ago
by
Jacques-Henri Jourdan
Browse files
Options
Downloads
Patches
Plain Diff
Fix build, bump gpfsl/iris
parent
78317ef8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
opam
+1
-1
1 addition, 1 deletion
opam
theories/lifetime/model/boxes.v
+12
-12
12 additions, 12 deletions
theories/lifetime/model/boxes.v
with
13 additions
and
13 deletions
opam
+
1
−
1
View file @
988efdbe
...
...
@@ -10,5 +10,5 @@ build: [make "-j%{jobs}%"]
install: [make "install"]
remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/lrust'" ]
depends: [
"coq-gpfsl" { (= "dev.2019-0
8-29.0.a1b7d4e9
") | (= "dev") }
"coq-gpfsl" { (= "dev.2019-0
9-15.0.a4aa00fe
") | (= "dev") }
]
This diff is collapsed.
Click to expand it.
theories/lifetime/model/boxes.v
+
12
−
12
View file @
988efdbe
...
...
@@ -144,10 +144,10 @@ Lemma slice_delete_empty q f P Q γ :
▷
?q
▷
(
P
≡
(
Q
∗
P'
))
∗
▷
?q
box
N
(
delete
γ
f
)
P'
.
Proof
.
iIntros
(?)
"#[HγQ _] H"
.
iDestruct
"H"
as
(
Φ
)
"[#HeqP Hf]"
.
iDestruct
(
big_
o
pM_delete
_
f
_
None
with
"Hf"
)
as
"[[_ [HΦ _]] Hf]"
;
[
done
|]
.
iDestruct
(
big_
se
pM_delete
_
f
_
None
with
"Hf"
)
as
"[[_ [HΦ _]] Hf]"
;
[
done
|]
.
set
(
P'
:=
([
∗
map
]
γ'
↦_
∈
delete
γ
f
,
Φ
γ'
)
%
I
)
.
iExists
P'
.
iSplitR
"Hf"
;
iNext
.
-
iDestruct
(
box_own_agree
γ
Q
(
Φ
γ
)
with
"[#]"
)
as
"HeqQ"
;
first
by
eauto
.
iNext
.
iRewrite
"HeqP"
.
iRewrite
"HeqQ"
.
rewrite
big_
o
pM_delete
//.
iRewrite
"HeqP"
.
iRewrite
"HeqQ"
.
rewrite
big_
se
pM_delete
//.
-
iExists
Φ
;
eauto
.
Qed
.
...
...
@@ -158,13 +158,13 @@ Lemma slice_fill E q f γ P Q V :
Proof
.
iIntros
(??)
"#[HγQ Hinv] HQ H"
;
iDestruct
"H"
as
(
Φ
)
"[#HeqP Hf]"
.
iInv
N
as
(
o'
)
"[>Hγ _]"
"Hclose"
.
iDestruct
(
big_
o
pM_delete
_
f
_
None
with
"Hf"
)
iDestruct
(
big_
se
pM_delete
_
f
_
None
with
"Hf"
)
as
"[[>Hγ' #[HγΦ Hinv']] ?]"
;
first
done
.
iMod
(
box_own_auth_update
γ
o'
None
(
Some
$
to_latT
V
)
with
"[$Hγ $Hγ']"
)
as
"[Hγ Hγ']"
.
iMod
(
"Hclose"
with
"[Hγ HQ]"
)
as
"_"
;
[
iNext
;
iExists
(
Some
$
to_latT
V
);
by
iFrame
|]
.
iModIntro
;
iNext
;
iExists
Φ
;
iSplit
.
-
by
rewrite
big_
o
pM_insert_override
.
-
rewrite
-
insert_delete
big_
o
pM_insert
?lookup_delete
//.
auto
with
iFrame
.
-
by
rewrite
big_
se
pM_insert_override
.
-
rewrite
-
insert_delete
big_
se
pM_insert
?lookup_delete
//.
auto
with
iFrame
.
Qed
.
Lemma
slice_empty
E
q
f
P
Q
γ
V
:
...
...
@@ -174,14 +174,14 @@ Lemma slice_empty E q f P Q γ V :
Proof
.
iIntros
(??)
"#[HγQ Hinv] H"
;
iDestruct
"H"
as
(
Φ
)
"[#HeqP Hf]"
.
iInv
N
as
(
o
)
"[>Hγ HQ]"
"Hclose"
.
iDestruct
(
big_
o
pM_delete
_
f
with
"Hf"
)
as
"[[>Hγ' #[HγΦ Hinv']] ?]"
;
[
done
|]
.
iDestruct
(
big_
se
pM_delete
_
f
with
"Hf"
)
as
"[[>Hγ' #[HγΦ Hinv']] ?]"
;
[
done
|]
.
iDestruct
(
box_own_auth_agree
γ
o
(
Some
$
to_latT
V
)
with
"[-]"
)
as
%
EQ
;
[
by
iFrame
|]
.
inversion_clear
EQ
.
setoid_subst
.
iFrame
"HQ"
.
iMod
(
box_own_auth_update
γ
with
"[$Hγ $Hγ']"
)
as
"[Hγ Hγ']"
.
iMod
(
"Hclose"
with
"[Hγ]"
)
as
"_"
;
[
iNext
;
iExists
None
;
by
repeat
iSplit
|]
.
iModIntro
;
iNext
;
iExists
Φ
;
iSplit
.
-
by
rewrite
big_
o
pM_insert_override
.
-
rewrite
-
insert_delete
big_
o
pM_insert
?lookup_delete
//.
auto
with
iFrame
.
-
by
rewrite
big_
se
pM_insert_override
.
-
rewrite
-
insert_delete
big_
se
pM_insert
?lookup_delete
//.
auto
with
iFrame
.
Qed
.
Lemma
slice_insert_full
E
q
f
P
Q
V
:
...
...
@@ -214,11 +214,11 @@ Lemma box_fill E f P V :
Proof
.
iIntros
(?)
"H HP"
;
iDestruct
"H"
as
(
Φ
)
"[#HeqP Hf]"
.
iExists
Φ
;
iSplitR
.
{
iModIntro
.
iNext
.
iRewrite
"HeqP"
.
by
rewrite
big_
o
pM_fmap
.
}
{
iModIntro
.
iNext
.
iRewrite
"HeqP"
.
by
rewrite
big_
se
pM_fmap
.
}
iAssert
([
∗
map
]
γ
↦_
∈
f
,
▷
Φ
γ
V
)
%
I
with
"[HP]"
as
"HP'"
.
{
rewrite
-
big_sepM_later
-
monPred_at_big_sepM
.
iNext
.
by
iRewrite
"HeqP"
in
"HP"
.
}
iCombine
"Hf"
"HP'"
as
"Hf"
.
rewrite
-
big_sepM_sep
big_
o
pM_fmap
;
iApply
(
big_sepM_fupd
_
_
f
)
.
rewrite
-
big_sepM_sep
big_
se
pM_fmap
;
iApply
(
big_sepM_fupd
_
_
f
)
.
iApply
(
@
big_sepM_impl
with
"[$Hf]"
)
.
iAlways
;
iIntros
(
γ
b'
?)
"[(Hγ' & #$ & #$) HΦ]"
.
iInv
N
as
(
b
)
"[>Hγ _]"
"Hclose"
.
...
...
@@ -247,8 +247,8 @@ Proof.
iFrame
"HγΦ Hinv"
.
by
iApply
"HΦ"
.
}
iModIntro
;
iSplitL
"HΦ"
.
-
rewrite
-
big_sepM_later
-
monPred_at_big_sepM
.
iNext
.
by
iRewrite
"HeqP"
.
-
iExists
Φ
;
iSplit
;
[|
by
rewrite
big_
o
pM_fmap
]
.
iNext
.
iRewrite
"HeqP"
.
by
rewrite
big_
o
pM_fmap
.
-
iExists
Φ
;
iSplit
;
[|
by
rewrite
big_
se
pM_fmap
]
.
iNext
.
iRewrite
"HeqP"
.
by
rewrite
big_
se
pM_fmap
.
Qed
.
Lemma
slice_iff
E
q
f
P
Q
Q'
γ
o
:
...
...
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