TY - JOUR
T1 - Non-Deterministic Functions as Non-Deterministic Processes (Extended Version)
AU - Paulus, Joe
AU - Nantes-Sobrinho, Daniele
AU - Pérez, Jorge A.
PY - 2023/10/10
Y1 - 2023/10/10
N2 - We study encodings of the lambda-calculus into the pi-calculus in the unexplored case of calculi with non-determinism and failures. On the sequential side, we consider lambdafail, a new non-deterministic calculus in which intersection types control resources (terms); on the concurrent side, we consider spi, a pi-calculus in which non-determinism and failure rest upon a Curry-Howard correspondence between linear logic and session types. We present a typed encoding of lambdafail into spi and establish its correctness. Our encoding precisely explains the interplay of non-deterministic and fail-prone evaluation in lambdafail via typed processes in spi. In particular, it shows how failures in sequential evaluation (absence/excess of resources) can be neatly codified as interaction protocols.
AB - We study encodings of the lambda-calculus into the pi-calculus in the unexplored case of calculi with non-determinism and failures. On the sequential side, we consider lambdafail, a new non-deterministic calculus in which intersection types control resources (terms); on the concurrent side, we consider spi, a pi-calculus in which non-determinism and failure rest upon a Curry-Howard correspondence between linear logic and session types. We present a typed encoding of lambdafail into spi and establish its correctness. Our encoding precisely explains the interplay of non-deterministic and fail-prone evaluation in lambdafail via typed processes in spi. In particular, it shows how failures in sequential evaluation (absence/excess of resources) can be neatly codified as interaction protocols.
U2 - 10.46298/lmcs-19(4:1)2023
DO - 10.46298/lmcs-19(4:1)2023
M3 - Article
SN - 1860-5974
VL - 19
JO - Logical Methods in Computer Science
JF - Logical Methods in Computer Science
IS - 4
ER -