Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
examples
Commits
9b841f5e
Commit
9b841f5e
authored
Oct 28, 2017
by
Robbert Krebbers
Browse files
Update to latest Iris.
This fixes issue #1.
parent
6e5908c3
Pipeline
#4996
passed with stage
in 3 minutes and 23 seconds
Changes
3
Pipelines
9
Hide whitespace changes
Inline
Side-by-side
opam
View file @
9b841f5e
...
...
@@ -9,5 +9,5 @@ build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-rf" "%{lib}%/coq/user-contrib/iris_examples"]
depends: [
"coq-iris" { (= "dev.2017-10-
19
.0") | (= "dev") }
"coq-iris" { (= "dev.2017-10-
28
.0") | (= "dev") }
]
theories/barrier/proof.v
View file @
9b841f5e
...
...
@@ -49,7 +49,7 @@ Definition recv (l : loc) (R : iProp Σ) : iProp Σ :=
saved_prop_own
i
Q
∗
▷
(
Q
-
∗
R
))%
I
.
Global
Instance
barrier_ctx_persistent
(
γ
:
gname
)
(
l
:
loc
)
(
P
:
iProp
Σ
)
:
Persistent
P
(
barrier_ctx
γ
l
P
).
Persistent
(
barrier_ctx
γ
l
P
).
Proof
.
apply
_
.
Qed
.
(** Setoids *)
...
...
theories/barrier/protocol.v
View file @
9b841f5e
...
...
@@ -24,7 +24,7 @@ Definition tok (s : state) : set token :=
(
if
state_phase
s
is
High
then
{[
Send
]}
else
∅
).
Global
Arguments
tok
!
_
/.
Canonical
Structure
sts
:
=
sts
.
S
TS
prim_step
tok
.
Canonical
Structure
sts
:
=
sts
.
S
ts
prim_step
tok
.
(* The set of states containing some particular i *)
Definition
i_states
(
i
:
gname
)
:
set
state
:
=
{[
s
|
i
∈
state_I
s
]}.
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment