Non-Deterministic Functions as Non-Deterministic Processes (Extended Version)

04/30/2021
by   Joseph W. N. Paulus, et al.
0

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.

READ FULL TEXT

page 3

page 7

page 9

page 11

page 13

page 15

page 17

page 33

research
12/02/2021

Types and Terms Translated: Unrestricted Resources in Encoding Functions as Processes (Extended Version)

Type-preserving translations are effective rigorous tools in the study o...
research
11/02/2017

On Polymorphic Sessions and Functions: A Tale of Two (Fully Abstract) Encodings

This work exploits the logical foundation of session types to determine ...
research
05/02/2022

Functions as Processes: The Case of Collapsing Non-determinism

This paper studies typed translations of λ-calculi into π-calculi, both ...
research
01/12/2018

Mailbox Types for Unordered Interactions

We propose a type system for reasoning on protocol conformance and deadl...
research
07/20/2020

Non-Markov Policies to Reduce Sequential Failures in Robot Bin Picking

A new generation of automated bin picking systems using deep learning is...
research
02/05/2016

Probabilistic Extension to the Concurrent Constraint Factor Oracle Model for Music Improvisation

We can program a Real-Time (RT) music improvisation system in C++ withou...
research
09/29/2019

Towards Races in Linear Logic

Process calculi based in logic, such as πDILL and CP, provide a foundati...

Please sign up or login with your details

Forgot password? Click here to reset