Skip to main content
Kent Academic Repository

Non-linear communication via graded modal session types

Marshall, Danielle, Orchard, Dominic A. (2024) Non-linear communication via graded modal session types. Information and Computation, 301 (Part A). Article Number 105234. ISSN 0890-5401. E-ISSN 1090-2651. (doi:10.1016/j.ic.2024.105234) (KAR id:107848)

Abstract

Session types provide guarantees about concurrent behaviour and can be understood through their correspondence with linear logic, with propositions as sessions and proofs as processes. However, strict linearity is limiting since there exist useful communication patterns that rely on non-linear behaviours. For example, shared channels can repeatedly spawn a process with binary communication along a fresh linear channel. Non-linearity can be introduced in a controlled way through the concept of graded modal types, which are a framework encompassing various kinds of coeffect (describing how computations make demands on their context). This paper shows how graded modalities can work alongside session types, enabling various non-linear concurrency behaviours to be re-introduced precisely. The ideas are demonstrated using Granule, a functional language with linear, indexed, and graded modal types. We define a core calculus capturing the requisite features and our new graded primitives, then present an operational model and establish various key properties.

Item Type: Article
DOI/Identification number: 10.1016/j.ic.2024.105234
Uncontrolled keywords: Session types, Graded types, Communication patterns
Subjects: Q Science > QA Mathematics (inc Computing science)
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Funders: Engineering and Physical Sciences Research Council (https://ror.org/0439y7842)
SWORD Depositor: JISC Publications Router
Depositing User: JISC Publications Router
Date Deposited: 22 Nov 2024 15:49 UTC
Last Modified: 25 Nov 2024 15:33 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/107848 (The current URI for this page, for reference purposes)

University of Kent Author Information

Marshall, Danielle.

Creator's ORCID: https://orcid.org/0000-0002-4284-3757
CReDIT Contributor Roles: Writing - original draft (Equal), Writing - review and editing (Equal)

Orchard, Dominic A..

Creator's ORCID: https://orcid.org/0000-0002-7058-7842
CReDIT Contributor Roles: Writing - review and editing (Equal), Writing - original draft (Equal)
  • Depositors only (login required):

Total unique views for this document in KAR since July 2020. For more details click on the image.