Prioritise the Best Variation

03/26/2021
by   Wen Kokke, et al.
0

Binary session types guarantee communication safety and session fidelity, but alone they cannot rule out deadlocks arising from the interleaving of different sessions. In Classical Processes (CP)-a process calculus based on classical linear logic-deadlock freedom is guaranteed by combining channel creation and parallel composition under the same logical cut rule. Similarly, in Good Variation (GV)-a linear concurrent λ-calculus-deadlock freedom is guaranteed by combining channel creation and thread spawning under the same operation, called fork. In both CP and GV, deadlock freedom is achieved at the expense of expressivity, as the only processes allowed are tree-structured. Dardha and Gay define Priority CP (PCP), which allows cyclic-structured processes and restores deadlock freedom by using priorities, in line with Kobayashi and Padovani. Following PCP, we present Priority GV (PGV), a variant of GV which decouples channel creation from thread spawning. Consequently, we type cyclic-structured processes and restore deadlock freedom by using priorities. We show that our type system is sound by proving subject reduction and progress. We define an encoding from PCP to PGV and prove that the encoding preserves typing and is sound and complete with respect to the operational semantics.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/08/2018

Classical Higher-Order Processes

Classical Processes (CP) is a calculus where the proof theory of classic...
research
04/15/2019

Taking Linear Logic Apart

Process calculi based on logic, such as πDILL and CP, provide a foundati...
research
03/26/2021

Deadlock-Free Session Types in Linear Haskell

Priority Sesh is a library for session-typed communication in Linear Has...
research
09/29/2019

Towards Races in Linear Logic

Process calculi based in logic, such as πDILL and CP, provide a foundati...
research
01/12/2018

Mailbox Types for Unordered Interactions

We propose a type system for reasoning on protocol conformance and deadl...
research
08/15/2018

Correct-by-construction Process Composition Using Classical Linear Logic Inference

The need for rigorous process composition is encountered in many situati...
research
08/15/2018

A Pragmatic, Scalable Approach to Correct-by-construction Process Composition Using Classical Linear Logic Inference

The need for rigorous process composition is encountered in many situati...

Please sign up or login with your details

Forgot password? Click here to reset