Functions as Processes: The Case of Collapsing Non-determinism

05/02/2022
by   Bas van den Heuvel, et al.
0

This paper studies typed translations of λ-calculi into π-calculi, both with non-determinism, informed by the Curry-Howard isomorphism between linear logic and session types (propositions-as-sessions). Prior work considered calculi with non-collapsing non-determinism, a non-committal form of choice in which all alternatives are preserved, ensuring confluence. A question left open is whether there is a correct translation for calculi with the more traditional (and non-confluent) collapsing non-determinism, which commits to one single alternative and discards the rest. A session-typed π-calculi with collapsing non-determinism is proposed. Next, (i) the key meta-theoretical properties of typed processes (type preservation and deadlock-freedom) are proven following propositions-as-sessions, and (ii) a correct translation of a resource λ-calculus with non-determinism is given. An alternative semantics for non-determinism is then shown to unlock stronger correctness results for the translation.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset