%0 Conference Proceedings %T Prioritise the Best Variation %+ University of Edinburgh (Edin.) %+ University of Glasgow %A Kokke, Wen %A Dardha, Ornela %Z Part 1: Full Papers %< avec comité de lecture %( Lecture Notes in Computer Science %B 41th International Conference on Formal Techniques for Distributed Objects, Components, and Systems (FORTE) %C Valletta, Malta %Y Kirstin Peters %Y Tim A.C. Willemse %I Springer International Publishing %3 Formal Techniques for Distributed Objects, Components, and Systems %V LNCS-12719 %P 100-119 %8 2021-06-14 %D 2021 %R 10.1007/978-3-030-78089-0_6 %K Session types %K $$\pi $$π-calculus %K Functional programming %K Deadlock freedom %K GV %K CP %Z Computer Science [cs] %Z Computer Science [cs]/Networking and Internet Architecture [cs.NI]Conference papers %X 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) [53]—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) [39, 54]—a linear concurrent $$\lambda $$λ-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 [19] define Priority CP (PCP), which allows cyclic-structured processes and restores deadlock freedom by using priorities, in line with Kobayashi and Padovani [34, 44]. 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. %G English %Z TC 6 %Z WG 6.1 %2 https://inria.hal.science/hal-03740257/document %2 https://inria.hal.science/hal-03740257/file/509782_1_En_6_Chapter.pdf %L hal-03740257 %U https://inria.hal.science/hal-03740257 %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-WG %~ IFIP-TC6 %~ IFIP-WG6-1 %~ IFIP-FORTE %~ IFIP-LNCS-12719