论文标题
在功能和并发骨化中键入的非确定性
Typed Non-determinism in Functional and Concurrent Calculi
论文作者
论文摘要
我们研究功能和并发结石与非确定性,以及基于线性性控制资源的类型系统。非确定性和线性性之间的相互作用是微妙的:粗心的分支机构可以丢弃一项准确使用一次的资源。在这里,我们通过以标准意义考虑非确定性来超越先前的工作:一旦选择了一个分支,其余的就被丢弃了。我们的技术贡献是三倍。首先,我们介绍了一个由会话类型支配的$π$ -calculus,具有非确定性选择。其次,我们介绍了一个由交叉点管辖的资源$λ$ -calculus,其中非确定性涉及从袋子中获取资源的问题。最后,我们通过正确的翻译连接了两个键入的非确定性微积分。
We study functional and concurrent calculi with non-determinism, along with type systems to control resources based on linearity. The interplay between non-determinism and linearity is delicate: careless handling of branches can discard resources meant to be used exactly once. Here we go beyond prior work by considering non-determinism in its standard sense: once a branch is selected, the rest are discarded. Our technical contributions are three-fold. First, we introduce a $π$-calculus with non-deterministic choice, governed by session types. Second, we introduce a resource $λ$-calculus, governed by intersection types, in which non-determinism concerns fetching of resources from bags. Finally, we connect our two typed non-deterministic calculi via a correct translation.