Computer Science > Logic in Computer Science
[Submitted on 30 Apr 2021 (v1), last revised 9 Oct 2023 (this version, v7)]
Title:Non-Deterministic Functions as Non-Deterministic Processes (Extended Version)
View PDFAbstract: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.
Submission history
From: Jorge A. Pérez [view email] [via Logical Methods In Computer Science as proxy][v1] Fri, 30 Apr 2021 05:17:14 UTC (184 KB)
[v2] Mon, 6 Dec 2021 09:08:26 UTC (173 KB)
[v3] Tue, 7 Dec 2021 07:53:45 UTC (173 KB)
[v4] Thu, 15 Sep 2022 11:56:11 UTC (197 KB)
[v5] Wed, 15 Mar 2023 20:50:36 UTC (208 KB)
[v6] Mon, 10 Jul 2023 13:11:25 UTC (220 KB)
[v7] Mon, 9 Oct 2023 08:40:33 UTC (222 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.