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
f8f14ccf
Commit
f8f14ccf
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Bump Iris, fix some stuff.
parent
1a544253
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
opam.pins
+1
-1
1 addition, 1 deletion
opam.pins
theories/lang/lib/lock.v
+2
-6
2 additions, 6 deletions
theories/lang/lib/lock.v
theories/lifetime/lifetime.v
+2
-1
2 additions, 1 deletion
theories/lifetime/lifetime.v
with
5 additions
and
8 deletions
opam.pins
+
1
−
1
View file @
f8f14ccf
coq-iris https://gitlab.mpi-sws.org/FP/iris-coq
0429c257e3088cf77c8852a2cbeff2b02671b8b5
coq-iris https://gitlab.mpi-sws.org/FP/iris-coq
f987ca782d1301d319cf6c4ba8e2ab449ebe903a
This diff is collapsed.
Click to expand it.
theories/lang/lib/lock.v
+
2
−
6
View file @
f8f14ccf
...
...
@@ -61,12 +61,8 @@ Section proof.
wp_seq
.
wp_alloc
l
vl
as
"Hl"
"H†"
.
inv_vec
vl
=>
x
.
rewrite
heap_mapsto_vec_singleton
.
(* FIXME shouldn't this also compute now, like bigops do? *)
wp_let
.
wp_write
.
iMod
(
newlock_inplace
with
"[HR] Hl"
)
as
(
γ
)
"?"
.
{
(* FIXME: Can we make it so that we can just say "HR" instead of "[HR]", and the
later does not matter? Or at least, "$HR" should work. Why can't we frame
below later? *)
done
.
}
iApply
"HΦ"
.
done
.
iMod
(
newlock_inplace
with
"HR Hl"
)
as
(
γ
)
"?"
.
by
iApply
"HΦ"
.
Qed
.
Lemma
try_acquire_spec
γ
l
R
:
...
...
This diff is collapsed.
Click to expand it.
theories/lifetime/lifetime.v
+
2
−
1
View file @
f8f14ccf
...
...
@@ -51,7 +51,8 @@ Lemma bor_or E κ P Q :
lft_ctx
-∗
&
{
κ
}(
P
∨
Q
)
=
{
E
}
=∗
(
&
{
κ
}
P
∨
&
{
κ
}
Q
)
.
Proof
.
iIntros
(?)
"#LFT H"
.
rewrite
uPred
.
or_alt
.
iMod
(
bor_exists
with
"LFT H"
)
as
([])
"H"
;
auto
.
(* The (A:=...) is needed due to Coq bug #5458 *)
iMod
(
bor_exists
(
A
:=
bool
)
with
"LFT H"
)
as
([])
"H"
;
auto
.
Qed
.
Lemma
bor_later
E
κ
P
:
...
...
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