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
2f832315
There was a problem fetching the pipeline summary.
Commit
2f832315
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
fix build
parent
25cdab5a
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/typing/lib/spawn.v
+3
-3
3 additions, 3 deletions
theories/typing/lib/spawn.v
with
3 additions
and
3 deletions
theories/typing/lib/spawn.v
+
3
−
3
View file @
2f832315
...
@@ -99,18 +99,18 @@ Section spawn.
...
@@ -99,18 +99,18 @@ Section spawn.
iApply
(
type_let
_
_
_
_
([
f'
◁
_;
env
◁
_])
iApply
(
type_let
_
_
_
_
([
f'
◁
_;
env
◁
_])
(
λ
j
,
[
j
◁
join_handle
retty
]));
try
solve_typing
;
[|]
.
(
λ
j
,
[
j
◁
join_handle
retty
]));
try
solve_typing
;
[|]
.
{
(* The core of the proof: showing that spawn is safe. *)
{
(* The core of the proof: showing that spawn is safe. *)
iIntros
(
tid
)
"#LFT #HE $ $ [Hf' [Henv _]]"
.
iIntros
(
tid
)
"#LFT #HE $ $ [Hf' [Henv _]]"
.
rewrite
!
tctx_hasty_val
[
fn
_]
lock
.
iApply
(
spawn_spec
_
(
join_inv
tid
retty
)
with
"[-]"
);
iApply
(
spawn_spec
_
(
join_inv
tid
retty
)
with
"[-]"
);
first
solve_to_val
;
last
first
;
last
simpl_subst
.
first
solve_to_val
;
last
first
;
last
simpl_subst
.
{
iIntros
"!> *"
.
rewrite
tctx_interp_singleton
tctx_hasty_val
.
{
iIntros
"!> *"
.
rewrite
tctx_interp_singleton
tctx_hasty_val
.
iIntros
"?"
.
by
iFrame
.
}
iIntros
"?"
.
by
iFrame
.
}
iIntros
(
c
)
"Hfin"
.
iMod
na_alloc
as
(
tid'
)
"Htl"
.
wp_let
.
wp_let
.
iIntros
(
c
)
"Hfin"
.
iMod
na_alloc
as
(
tid'
)
"Htl"
.
wp_let
.
wp_let
.
unlock
.
iApply
(
type_call_iris
_
[]
tt
1
%
Qp
with
"LFT HE Htl [] [Hf'] [Henv]"
)
.
4
:
iExact
"Hf'"
.
(* FIXME: Removing the [ ] around Hf' in the spec pattern diverges. *)
iApply
(
type_call_iris
_
[]
tt
1
%
Qp
with
"LFT HE Htl [] [Hf'] [Henv]"
)
.
4
:
iExact
"Hf'"
.
(* FIXME: Removing the [ ] around Hf' in the spec pattern diverges. *)
-
solve_typing
.
-
solve_typing
.
-
solve_to_val
.
-
solve_to_val
.
-
iApply
lft_tok_static
.
-
iApply
lft_tok_static
.
-
iSplitL
;
last
done
.
(* FIXME: iSplit should work, the RHS is persistent. *)
-
iSplitL
;
last
done
.
(* FIXME: iSplit should work, the RHS is persistent. *)
rewrite
!
tctx_hasty_val
.
iApply
@
send_change_tid
.
done
.
rewrite
tctx_hasty_val
.
iApply
@
send_change_tid
.
done
.
-
iIntros
(
r
)
"Htl _ Hret"
.
-
iIntros
(
r
)
"Htl _ Hret"
.
wp_rec
.
iApply
(
finish_spec
with
"[$Hfin Hret]"
);
last
auto
.
wp_rec
.
iApply
(
finish_spec
with
"[$Hfin Hret]"
);
last
auto
.
by
iApply
@
send_change_tid
.
}
by
iApply
@
send_change_tid
.
}
...
...
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