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
934ad658
There was a problem fetching the pipeline summary.
Commit
934ad658
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
WF
parent
15493533
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
theories/typing/lib/mutex/mutex.v
+4
-0
4 additions, 0 deletions
theories/typing/lib/mutex/mutex.v
theories/typing/lib/mutex/mutexguard.v
+4
-0
4 additions, 0 deletions
theories/typing/lib/mutex/mutexguard.v
theories/typing/lib/rwlock/rwlock.v
+1
-1
1 addition, 1 deletion
theories/typing/lib/rwlock/rwlock.v
with
9 additions
and
1 deletion
theories/typing/lib/mutex/mutex.v
+
4
−
0
View file @
934ad658
...
...
@@ -83,4 +83,8 @@ Section mutex.
iExists
_,
_
.
iSplit
;
first
by
iApply
shr_bor_shorten
.
iApply
lft_incl_trans
;
done
.
Qed
.
Global
Instance
mutex_wf
ty
`{
!
TyWf
ty
}
:
TyWf
(
mutex
ty
)
:=
{
ty_lfts
:=
ty
.(
ty_lfts
);
ty_wf_E
:=
ty
.(
ty_wf_E
)
}
.
End
mutex
.
This diff is collapsed.
Click to expand it.
theories/typing/lib/mutex/mutexguard.v
+
4
−
0
View file @
934ad658
...
...
@@ -75,4 +75,8 @@ Section mguard.
iMod
"Hshr"
as
"[Hshr Htok]"
.
iMod
(
"Hclose"
with
"Htok"
)
as
"$"
.
iApply
ty_shr_mono
;
try
done
.
iApply
lft_intersect_mono
.
iApply
lft_incl_refl
.
done
.
Qed
.
Global
Instance
mutexguard_wf
α
ty
`{
!
TyWf
ty
}
:
TyWf
(
mutexguard
α
ty
)
:=
{
ty_lfts
:=
[
α
];
ty_wf_E
:=
ty
.(
ty_wf_E
)
++
ty
.(
ty_outlives_E
)
α
}
.
End
mguard
.
This diff is collapsed.
Click to expand it.
theories/typing/lib/rwlock/rwlock.v
+
1
−
1
View file @
934ad658
...
...
@@ -149,7 +149,7 @@ Section rwlock.
iExists
_,
_
.
iFrame
.
iApply
lft_incl_trans
;
auto
.
Qed
.
Global
Instance
join_handle
_wf
ty
`{
!
TyWf
ty
}
:
TyWf
(
rwlock
ty
)
:=
Global
Instance
rwlock
_wf
ty
`{
!
TyWf
ty
}
:
TyWf
(
rwlock
ty
)
:=
{
ty_lfts
:=
ty
.(
ty_lfts
);
ty_wf_E
:=
ty
.(
ty_wf_E
)
}
.
Global
Instance
rwlock_type_ne
:
TypeNonExpansive
rwlock
.
...
...
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