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
71efeff7
There was a problem fetching the pipeline summary.
Commit
71efeff7
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Fix compilation with current Iris.
parent
bf697831
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
iris
+1
-1
1 addition, 1 deletion
iris
theories/lifetime.v
+1
-2
1 addition, 2 deletions
theories/lifetime.v
theories/perm.v
+0
-1
0 additions, 1 deletion
theories/perm.v
theories/type.v
+7
-3
7 additions, 3 deletions
theories/type.v
with
9 additions
and
7 deletions
iris
@
8f33e282
Compare
5e3835f8
...
8f33e282
Subproject commit
5e3835f807768f42f77b6cc33bca039b8274a586
Subproject commit
8f33e2828ae7b286adee0071ffa5c40fb4977fcd
This diff is collapsed.
Click to expand it.
theories/lifetime.v
+
1
−
2
View file @
71efeff7
...
...
@@ -3,7 +3,6 @@ From iris.base_logic.lib Require Export fancy_updates invariants namespaces.
From
iris
.
proofmode
Require
Import
tactics
.
Definition
lftN
:=
nroot
.
@
"lft"
.
Definition
atomic_lft
:=
positive
.
Definition
lft_tokUR
:
ucmraT
:=
...
...
@@ -185,7 +184,7 @@ Section lft.
Lemma
lft_own_static
q
:
True
==∗
q
.[
static
]
.
Proof
.
rewrite
/
lft_own
/
static
omap_empty
fmap_empty
.
apply
(
own_empty
(
A
:=
lft_tokUR
)
lft_toks_name
)
.
apply
(
own_empty
lft_tokUR
lft_toks_name
)
.
Qed
.
Lemma
lft_not_dead_static
:
[
†
static
]
⊢
False
.
...
...
This diff is collapsed.
Click to expand it.
theories/perm.v
+
0
−
1
View file @
71efeff7
...
...
@@ -91,7 +91,6 @@ Section duplicable.
End
duplicable
.
Hint
Extern
0
(
Is_true
_.(
ty_dup
))
=>
exact
I
.
Section
has_type
.
...
...
This diff is collapsed.
Click to expand it.
theories/type.v
+
7
−
3
View file @
71efeff7
...
...
@@ -22,7 +22,8 @@ Section type.
Context
`{
iris_typeG
Σ
}
.
Record
type
:=
{
ty_size
:
nat
;
ty_dup
:
bool
;
{
ty_size
:
nat
;
ty_dup
:
bool
;
ty_own
:
thread_id
→
list
val
→
iProp
Σ
;
ty_shr
:
lifetime
→
thread_id
→
coPset
→
loc
→
iProp
Σ
;
...
...
@@ -108,6 +109,9 @@ Qed.
End
type
.
Hint
Extern
0
(
Is_true
_.(
ty_dup
))
=>
exact
I
||
assumption
:
typeclass_instances
.
Delimit
Scope
lrust_type_scope
with
T
.
Bind
Scope
lrust_type_scope
with
type
.
...
...
@@ -317,8 +321,8 @@ Section types.
repeat
setoid_rewrite
tl_own_union
;
first
last
.
set_solver
.
set_solver
.
set_solver
.
set_solver
.
iDestruct
"Htl"
as
"[[Htl1 Htl2] $]"
.
iMod
(
ty1
.(
ty_shr_acc
)
with
"LFT H1 [$Htok1 $Htl1]"
)
as
(
q1
)
"[H1 Hclose1]"
.
set_solver
.
iMod
(
ty2
.(
ty_shr_acc
)
with
"LFT H2 [$Htok2 $Htl2]"
)
as
(
q2
)
"[H2 Hclose2]"
.
set_solver
.
iMod
(
ty1
.(
ty_shr_acc
)
with
"LFT H1 [$Htok1 $Htl1]"
)
as
(
q1
)
"[H1 Hclose1]"
.
done
.
set_solver
.
iMod
(
ty2
.(
ty_shr_acc
)
with
"LFT H2 [$Htok2 $Htl2]"
)
as
(
q2
)
"[H2 Hclose2]"
.
done
.
set_solver
.
destruct
(
Qp_lower_bound
q1
q2
)
as
(
qq
&
q'1
&
q'2
&
->
&
->
)
.
iExists
qq
.
iDestruct
"H1"
as
(
vl1
)
"[H↦1 H1]"
.
iDestruct
"H2"
as
(
vl2
)
"[H↦2 H2]"
.
rewrite
-!
heap_mapsto_vec_op_eq
!
split_prod_mt
.
...
...
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