arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.07714cs.LOcs.PL
收藏

并发演算中的类型化非确定性:急切方式

Typed Non-determinism in Concurrent Calculi: The Eager Way

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

AI总结:

本文提出一种基于急切语义的会话类型π-演算,以处理非确定性与线性性的张力,确保无死锁性,并通过翻译资源λ-演算展示其表达能力。

摘要:

我们考虑设计具有非确定性选择的类型化并发演算的问题,其中类型利用线性性来控制资源,从而确保进程的强正确性属性。这一问题受到非确定性与线性性之间微妙张力的制约。先前的工作开发了一个具有标准非确定性选择的会话类型π-演算;良类型进程享有类型保持和无死锁性。该类型化演算的核心是一种惰性语义,它逐渐丢弃选择中的分支。然而,这种惰性语义是复杂的:需要各种技术元素来描述类型化进程的非确定性行为。本文开发了一种全新的方法,基于急切语义,它更直接地表示选择和承诺。我们提出了一个π-演算,其中非确定性选择由这种急切语义和会话类型支配。我们确立了其关键的正确性属性,包括无死锁性,并通过正确翻译一个类型化资源λ-演算来展示其表达能力。

英文摘要:

We consider the problem of designing typed concurrent calculi with non-deterministic choice in which types leverage linearity for controlling resources, thereby ensuring strong correctness properties for processes. This problem is constrained by the delicate tension between non-determinism and linearity. Prior work developed a session-typed π-calculus with standard non-deterministic choice; well-typed processes enjoy type preservation and deadlock-freedom. Central to this typed calculus is a lazy semantics that gradually discards branches in choices. This lazy semantics, however, is complex: various technical elements are needed to describe the non-deterministic behavior of typed processes. This paper develops an entirely new approach, based on an eager semantics, which more directly represents choices and commitment. We present a π-calculus in which non-deterministic choices are governed by this eager semantics and session types. We establish its key correctness properties, including deadlock-freedom, and demonstrate its expressivity by correctly translating a typed resource λ-calculus.

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

↑