Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Actris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
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
Actris
Commits
238f8d00
Commit
238f8d00
authored
4 years ago
by
Daniël Louwrink
Committed by
Jonas Kastberg
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
further updates to README.md
parent
342f34ec
No related branches found
Branches containing commit
No related tags found
1 merge request
!17
Update README.md
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-3
19 additions, 3 deletions
README.md
with
19 additions
and
3 deletions
README.md
+
19
−
3
View file @
238f8d00
...
...
@@ -13,8 +13,8 @@ In order to build, install the above dependencies and then run
## Logical relation
The logical relation for type safety of the session type system is contained
in the directory
[
theories/logrel
](
theories/logrel
)
. The
files in th
is
d
irectory contain the following parts of the paper
:
in the directory
[
theories/logrel
](
theories/logrel
)
. The
logical relation
is
d
efined across the following files
:
-
[
theories/logrel/model.v
](
theories/logrel/model.v
)
: Definition of the
notions of a semantic term type and a semantic session type in terms of
...
...
@@ -46,9 +46,25 @@ directory contain the following parts of the paper:
Semantic typing lemmas (typing rules) for the semantic term types.
-
[
theories/logrel/session_typing_rules.v
](
theories/logrel/session.v
)
:
Semantic typing lemmas (typing rules) for the semantic session types.
-
[
theories/logrel/subtyping_rules.v): Subtyping rules for term types and
-
[
theories/logrel/subtyping_rules.v
](
theories/logrel/subtyping_rules.v
)
: Subtyping rules for term types and
session types.
An extension to the basic type system is given in
[
theories/logrel/lib/mutex.v
](
theories/logrel/lib/mutex.v
)
, which defines
mutexes as a type-safe abstraction. Mutexes are implemented using spin locks
and allow one to gain exclusive ownership of resource shared between multiple
threads.
The logical relation is used to show that two example programs are semantically well-typed:
-
[
theories/examples/pair.v
](
theories/examples/pair.v
)
: This program performs
two sequential receives and stores the results in a pair. It is shown to be
semantically well-typed by applying the semantic typing rules.
-
[
theories/examples/double.v
](
theories/examples/double.v
)
: This program
performs two
``racy'' parallel receives on the same channel from two
different threads, using locks to allow the channel to be shared. This
program cannot be shown to be well-typed using the semantic typing rules.
Therefore, a manual proof of the well-typedness is given.
## Theory of Actris
The theory of Actris (semantics of channels, the model, and the proof rules)
...
...
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