arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2205.00680cs.LO
收藏

函数式与并发演算中的类型化非确定性

Typed Non-determinism in Functional and Concurrent Calculi

Bas van den Heuvel, Joseph W. N. Paulus, Daniele Nantes-Sobrinho, Jorge A. Pérez

AI总结:

针对非确定性与线性资源控制的冲突,本文分别提出受会话类型约束的非确定性 π-演算和受交集类型约束的资源 λ-演算,并以正确翻译建立二者联系。

摘要:

我们研究带非确定性的函数式和并发演算,以及基于线性性控制资源的类型系统。非确定性与线性性之间的相互作用十分微妙:对分支处理不慎可能会丢弃本应恰好使用一次的资源。本文超越先前工作,考虑标准意义上的非确定性:一旦某个分支被选中,其余分支即被丢弃。我们的技术贡献有三方面。首先,引入一种由会话类型管控、带非确定性选择的 π-演算。其次,引入一种由交集类型管控的资源 λ-演算,其中非确定性涉及从资源袋中获取资源。最后,通过一个正确的翻译连接这两种类型化的非确定性演算。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑