Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
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
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
Ike Mulder
Iris
Commits
124a7d8d
Commit
124a7d8d
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://gitlab.mpi-sws.org/FP/iris-coq
parents
dd4da12f
e7ccbf55
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
base_logic/lib/thread_local.v
+4
-5
4 additions, 5 deletions
base_logic/lib/thread_local.v
with
4 additions
and
5 deletions
base_logic/lib/thread_local.v
+
4
−
5
View file @
124a7d8d
...
...
@@ -39,8 +39,9 @@ Section proofs.
Lemma
tl_alloc
:
(|
==>
∃
tid
,
tl_own
tid
⊤
)
%
I
.
Proof
.
by
apply
own_alloc
.
Qed
.
Lemma
tl_own_disjoint
tid
E1
E2
:
tl_own
tid
E1
∗
tl_own
tid
E2
⊢
⌜
E1
⊥
E2
⌝.
Lemma
tl_own_disjoint
tid
E1
E2
:
tl_own
tid
E1
-
∗
tl_own
tid
E2
-∗
⌜
E1
⊥
E2
⌝.
Proof
.
apply
wand_intro_r
.
rewrite
/
tl_own
-
own_op
own_valid
-
coPset_disj_valid_op
.
by
iIntros
([?
_])
.
Qed
.
...
...
@@ -82,11 +83,9 @@ Section proofs.
-
iMod
(
"Hclose"
with
"[Htoki]"
)
as
"_"
;
first
auto
.
iIntros
"!> [HP $]"
.
iInv
N
as
"[[_ >Hdis2]|>Hitok]"
"Hclose"
.
+
iCombine
"Hdis"
"Hdis2"
as
"Hdis"
.
iDestruct
(
own_valid
with
"Hdis"
)
as
%
[_
Hval
%
gset_disj_valid_op
]
.
+
iDestruct
(
own_valid_2
with
"Hdis Hdis2"
)
as
%
[_
Hval
%
gset_disj_valid_op
]
.
set_solver
.
+
iFrame
.
iApply
"Hclose"
.
iNext
.
iLeft
.
by
iFrame
.
-
iDestruct
(
tl_own_disjoint
tid
{[
i
]}
{[
i
]}
with
"[-]"
)
as
%
?;
first
by
iFrame
.
set_solver
.
-
iDestruct
(
tl_own_disjoint
with
"Htoki Htoki2"
)
as
%
?
.
set_solver
.
Qed
.
End
proofs
.
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