Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
Actris
Commits
8a13d685
Commit
8a13d685
authored
Mar 16, 2020
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump Iris (⊢ changes).
parent
8b55e227
Pipeline
#25566
passed with stage
in 17 minutes and 51 seconds
Changes
5
Pipelines
11
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
opam
opam
+1
-1
theories/channel/proto_channel.v
theories/channel/proto_channel.v
+1
-1
theories/examples/map_reduce.v
theories/examples/map_reduce.v
+1
-1
theories/utils/compare.v
theories/utils/compare.v
+1
-1
theories/utils/contribution.v
theories/utils/contribution.v
+2
-2
No files found.
opam
View file @
8a13d685
...
...
@@ -9,5 +9,5 @@ build: [make "-j%{jobs}%"]
install: [make "install"]
remove: [ "sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/actris" ]
depends: [
"coq-iris" { (= "dev.2020-03-1
0.6.79f576aa
") | (= "dev") }
"coq-iris" { (= "dev.2020-03-1
6.0.62be0a86
") | (= "dev") }
]
theories/channel/proto_channel.v
View file @
8a13d685
...
...
@@ -411,7 +411,7 @@ Section proto.
iProto_le
p1
p2
≡
iProto_le_aux
(
fixpoint
iProto_le_aux
)
p1
p2
.
Proof
.
apply
:
(
fixpoint_unfold
iProto_le_aux
).
Qed
.
Lemma
iProto_le_refl
p
:
iProto_le
p
p
.
Lemma
iProto_le_refl
p
:
⊢
iProto_le
p
p
.
Proof
.
iL
ö
b
as
"IH"
forall
(
p
).
destruct
(
proto_case
p
)
as
[->|([]&
pc
&->)].
-
rewrite
iProto_le_unfold
.
iLeft
;
by
auto
.
...
...
theories/examples/map_reduce.v
View file @
8a13d685
...
...
@@ -116,7 +116,7 @@ Section mapper.
Proof
.
intros
[
i1
y1
]
[
i2
y2
].
destruct
(
total
(
≤
)%
Z
i1
i2
)
;
[
left
|
right
]
;
done
.
Qed
.
Instance
RZB_trans
:
Transitive
RZB
.
Proof
.
by
apply
(
prod_relation_trans
_
).
Qed
.
Lemma
RZB_cmp_spec
:
cmp_spec
IZB
RZB
cmpZfst
.
Lemma
RZB_cmp_spec
:
⊢
cmp_spec
IZB
RZB
cmpZfst
.
Proof
.
iIntros
([
i1
y1
]
[
i2
y2
]
v1
v2
)
"!>"
;
iIntros
(
Φ
)
"[HI1 HI2] HΦ"
.
iDestruct
"HI1"
as
(
w1
->)
"HI1"
.
iDestruct
"HI2"
as
(
w2
->)
"HI2 /="
.
...
...
theories/utils/compare.v
View file @
8a13d685
...
...
@@ -15,7 +15,7 @@ Definition cmp_spec `{!heapG Σ} {A} (I : A → val → iProp Σ)
Definition
IZ
`
{!
heapG
Σ
}
(
x
:
Z
)
(
v
:
val
)
:
iProp
Σ
:
=
⌜
v
=
#
x
⌝
%
I
.
Definition
cmpZ
:
val
:
=
λ
:
"x"
"y"
,
"x"
≤
"y"
.
Lemma
cmpZ_spec
`
{!
heapG
Σ
}
:
cmp_spec
IZ
(
≤
)
cmpZ
.
Lemma
cmpZ_spec
`
{!
heapG
Σ
}
:
⊢
cmp_spec
IZ
(
≤
)
cmpZ
.
Proof
.
rewrite
/
IZ
.
iIntros
(
x
x'
v
v'
Φ
[->
->])
"!> HΦ"
.
wp_lam
.
wp_pures
.
by
iApply
"HΦ"
.
...
...
theories/utils/contribution.v
View file @
8a13d685
...
...
@@ -50,7 +50,7 @@ Section contribution.
Global
Instance
client_proper
γ
:
Proper
((
≡
)
==>
(
≡
))
(
client
γ
).
Proof
.
apply
(
ne_proper
_
).
Qed
.
Lemma
contribution_init
:
(|==>
∃
γ
,
server
γ
0
ε
)%
I
.
Lemma
contribution_init
:
⊢
|==>
∃
γ
,
server
γ
0
ε
.
Proof
.
iMod
(
own_alloc
(
●
(
Some
(
Cinr
(
Excl
())))
⋅
◯
(
Some
(
Cinr
(
Excl
())))))
as
(
γ
)
"[Hγ Hγ']"
;
first
by
apply
auth_both_valid_2
.
...
...
@@ -152,7 +152,7 @@ Section contribution.
(** Derived *)
Lemma
contribution_init_pow
n
:
(|==>
∃
γ
,
server
γ
n
ε
∗
[
∗
]
replicate
n
(
client
γ
ε
))%
I
.
⊢
|==>
∃
γ
,
server
γ
n
ε
∗
[
∗
]
replicate
n
(
client
γ
ε
)
.
Proof
.
iMod
(
contribution_init
)
as
(
γ
)
"Hs"
.
iExists
γ
.
iInduction
n
as
[|
n
]
"IH"
;
simpl
;
first
by
iFrame
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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