TY - GEN
T1 - Types and Terms Translated
T2 - Unrestricted Resources in Encoding Functions as Processes
AU - Paulus, Joseph W. N.
AU - Nantes-Sobrinho, Daniele
AU - Pérez, Jorge A.
PY - 2022/8/4
Y1 - 2022/8/4
N2 - Type-preserving translations are effective rigorous tools in the study of core programming calculi. In this paper, we develop a new typed translation that connects sequential and concurrent calculi; it is governed by type systems that control resource consumption. Our main contribution is the source language, a new resource λ-calculus with non-collapsing non-determinism and failures, dubbed uλ^{↯}_{⊕}. In uλ^{↯}_{⊕}, resources are split into linear and unrestricted; failures are explicit and arise from this distinction. We define a type system based on intersection types to control resources and fail-prone computation. The target language is 헌π, an existing session-typed π-calculus that results from a Curry-Howard correspondence between linear logic and session types. Our typed translation subsumes our prior work; interestingly, it treats unrestricted resources in uλ^{↯}_{⊕} as client-server session behaviours in 헌π.
AB - Type-preserving translations are effective rigorous tools in the study of core programming calculi. In this paper, we develop a new typed translation that connects sequential and concurrent calculi; it is governed by type systems that control resource consumption. Our main contribution is the source language, a new resource λ-calculus with non-collapsing non-determinism and failures, dubbed uλ^{↯}_{⊕}. In uλ^{↯}_{⊕}, resources are split into linear and unrestricted; failures are explicit and arise from this distinction. We define a type system based on intersection types to control resources and fail-prone computation. The target language is 헌π, an existing session-typed π-calculus that results from a Curry-Howard correspondence between linear logic and session types. Our typed translation subsumes our prior work; interestingly, it treats unrestricted resources in uλ^{↯}_{⊕} as client-server session behaviours in 헌π.
U2 - 10.4230/LIPIcs.TYPES.2021.11
DO - 10.4230/LIPIcs.TYPES.2021.11
M3 - Conference contribution
SN - 978-3-95977-254-9
T3 - Leibniz International Proceedings in Informatics (LIPIcs)
SP - 11.1-11.24
BT - 27th International Conference on Types for Proofs and Programs (TYPES 2021)
A2 - Basold, Henning
A2 - Cockx, Jesper
A2 - Ghilezan, Silvia
PB - Schloss Dagstuhl--Leibniz-Zentrum für Informatik
ER -