Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
Actris
Commits
9456e121
Commit
9456e121
authored
May 06, 2020
by
Jonas Kastberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated header for channel.v
parent
0c8b2e21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
theories/channel/channel.v
theories/channel/channel.v
+4
-1
theories/channel/proto.v
theories/channel/proto.v
+1
-1
No files found.
theories/channel/channel.v
View file @
9456e121
...
...
@@ -17,7 +17,10 @@ In this file we define the three message-passing connectives:
polarity of the endpoints.
- [send] takes an endpoint and adds an element to the first buffer.
- [recv] performs a busy loop until there is something in the second buffer,
which it pops and returns, locking during each peek.*)
which it pops and returns, locking during each peek.
It is additionaly shown that the channel ownership [c ↣ prot] is closed under
the subprotocol relation [⊑] *)
From
iris
.
heap_lang
Require
Export
lifting
notation
.
From
iris
.
heap_lang
Require
Import
proofmode
.
From
iris
.
heap_lang
.
lib
Require
Import
spin_lock
.
...
...
theories/channel/proto.v
View file @
9456e121
...
...
@@ -27,7 +27,7 @@ Futhermore, we define the following operations:
- [iProto_dual], which turns all [Send] of a protocol into [Recv] and vice-versa
- [iProto_app], which appends two protocols as described in proto_model.v
In addition we define the
[iProto_le]
subprotocol relation, which generalises
In addition we define the subprotocol relation
[iProto_le] [⊑]
, which generalises
the following inductive definition for asynchronous subtyping on session types:
p1 <: p2 p1 <: p2 p1 <: !B.p3 ?A.p3 <: p2
...
...
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