Typed Non-determinism in Concurrent Calculi: The Eager Way
We consider the problem of designing typed concurrent calculi with non-deterministic choice in which types leverage linearity for controlling resources, thereby ensuring strong correctness properties for processes. This problem is constrained by the delicate tension between non-determinism and linearity. Prior work developed a session-typed {\pi}-calculus with standard non-deterministic choice; well-typed processes enjoy type preservation and deadlock-freedom. Central to this typed calculus is a lazy semantics that gradually discards branches in choices. This lazy semantics, however, is complex: various technical elements are needed to describe the non-deterministic behavior of typed processes. This paper develops an entirely new approach, based on an eager semantics, which more directly represents choices and commitment. We present a {\pi}-calculus in which non-deterministic choices are governed by this eager semantics and session types. We establish its key correctness properties, including deadlock-freedom, and demonstrate its expressivity by correctly translating a typed resource {\lambda}-calculus. Comment: arXiv admin note: substantial text overlap with arXiv:2408.07915
Authors
- Daniele Nantes-Sobrinho (ORCID: https://orcid.org/0000-0002-1959-8730)
- Joseph W. N. Paulus (ORCID: https://orcid.org/0000-0002-1711-9361)
- Jorge A. Pérez (ORCID: https://orcid.org/0000-0002-1452-6180)
- Bas van den Heuvel (ORCID: https://orcid.org/0000-0002-8264-7371)
Institutions
- University of Freiburg (DE)
- University of Groningen (NL)
- University of Oxford (GB)
- Imperial College London (GB)
- Karlsruhe University of Applied Sciences (DE)
Publication Details
- Journal
- Electronic Notes in Theoretical Informatics and Computer Science
- Published
- 2024-12-11
- DOI
- https://doi.org/10.46298/entics.14735
- Primary Topic
- Logic, programming, and type systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Nederlandse Organisatie voor Wetenschappelijk Onderzoek
- Engineering and Physical Sciences Research Council