翻译的类型和术语:将函数编码为进程中的无限制资源(扩展版)
Types and Terms Translated: Unrestricted Resources in Encoding Functions as Processes (Extended Version)
摘要:
类型保持翻译是研究核心程序演算的有效工具。在本文中,我们开发了一个新的类型化翻译,连接顺序和并发演算,它是由类型系统控制资源消耗。我们的主要贡献是源语言,一个新的资源$λ$ -微积分与非确定性和失败,被称为\ulamf。在\ulamf中,资源被分为线性和不受限制的;故障是明确的,并且由这种区别引起。我们定义了一个基于交集类型的类型系统来控制资源和易失败的计算。目标语言是\spi,一种现有的会话类型的$π$演算,它是由线性逻辑和会话类型之间的Curry-Howard对应关系产生的。我们的类型化翻译包含了我们以前的工作;有趣的是,它将\lamrfailunres中的无限制资源视为\spi中的客户端-服务器会话行为。
英文摘要:
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-determinism and failures, dubbed \ulamf. In \ulamf, 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 \spi, 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 \lamrfailunres as client-server session behaviours in \spi.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。