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
9af5ee4f
There was a problem fetching the pipeline summary.
Commit
9af5ee4f
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
2e1f67ac
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
opam.pins
+1
-1
1 addition, 1 deletion
opam.pins
theories/typing/type.v
+0
-30
0 additions, 30 deletions
theories/typing/type.v
with
1 addition
and
31 deletions
opam.pins
+
1
−
1
View file @
9af5ee4f
coq-iris https://gitlab.mpi-sws.org/FP/iris-coq
e2b843075894275afd52c19c83e4f5f812afdbab
coq-iris https://gitlab.mpi-sws.org/FP/iris-coq
adfa07525e071b2a47aed37dac276aa38c10099d
This diff is collapsed.
Click to expand it.
theories/typing/type.v
+
0
−
30
View file @
9af5ee4f
...
@@ -98,36 +98,6 @@ Section type.
...
@@ -98,36 +98,6 @@ Section type.
rewrite
shr_locsE_shift
na_own_union
//.
apply
shr_locsE_disj
.
rewrite
shr_locsE_shift
na_own_union
//.
apply
shr_locsE_disj
.
Qed
.
Qed
.
Lemma
na_own_acc
F2
F1
tid
:
F2
⊆
F1
→
na_own
tid
F1
-∗
na_own
tid
F2
∗
(
na_own
tid
F2
-∗
na_own
tid
F1
)
.
Proof
.
intros
HF
.
assert
(
F1
=
F2
∪
(
F1
∖
F2
))
as
->
by
exact
:
union_difference_L
.
rewrite
na_own_union
;
last
by
set_solver
+.
iIntros
"[$ $]"
.
auto
.
Qed
.
(* Lemma shr_locsE_get_tok l n F tid :
shr_locsE l n ⊆ F →
na_own tid F -∗ na_own tid (shr_locsE l n) ∗
(na_own tid (shr_locsE l n) -∗ na_own tid F).
Proof.
intros HF.
assert (F = shr_locsE l n ∪ (F ∖ shr_locsE l n)) as -> by exact: union_difference_L.
rewrite na_own_union; last by set_solver+.
iIntros "[$ $]". by iIntros "?".
Qed.
Lemma shr_locsE_get_tokS l n F tid :
shr_locsE l (n + 1) ⊆ F →
na_own tid F -∗ na_own tid (shr_locsE l n) ∗
(na_own tid (shr_locsE l n) -∗ na_own tid F).
Proof.
intros HF. apply shr_locsE_get_tok. rewrite <-HF.
apply shr_locsE_subseteq. omega.
Qed.
*)
(** Copy types *)
(** Copy types *)
Class
Copy
(
t
:
type
)
:=
{
Class
Copy
(
t
:
type
)
:=
{
copy_persistent
tid
vl
:
PersistentP
(
t
.(
ty_own
)
tid
vl
);
copy_persistent
tid
vl
:
PersistentP
(
t
.(
ty_own
)
tid
vl
);
...
...
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