The emergence of propositions-as-sessions, a Curry-Howard correspondence between propositions of Linear Logic and session types for concurrent processes, has settled the logical foundations of message-passing concurrency. Central to this approach is the resource consumption paradigm heralded by Linear Logic. In this paper, we investigate a new point in the design space of session type systems for message-passing concurrent programs. We identify O'Hearn and Pym's Logic of Bunched Implications (BI) as a fruitful basis for an interpretation of the logic as a concurrent programming language. This leads to a treatment of non-linear resources that is radically different from existing approaches based on Linear Logic. We introduce a new ${\pi}$-calculus with sessions, called ${\pi}$BI; its most salient feature is a construct called spawn, which expresses new forms of sharing that are induced by structural principles in BI. We illustrate the expressiveness of ${\pi}$BI and lay out its fundamental theory: type preservation, deadlock-freedom, and weak normalization results for well-typed processes; an operationally sound and complete typed encoding of an affine ${\lambda}$-calculus; and a non-interference result for access of resources.
翻译:“线性逻辑”和“会话”两种理论之间在同时进行的程序的逻辑和“线性逻辑”类型之间出现了一种“毛毛”和“会话”类型的对应关系,从而奠定了信息传递逻辑的逻辑基础。这一方法的核心是“线性逻辑”所倡导的资源消费模式。在本文中,我们调查了用于信息传递同时程序的会议类型系统设计空间的新点。我们确定O'Hearn和Pym的“连带影响”逻辑(BI)是将逻辑解读为同时进行编程的语言的一个富有成效的基础。这导致对非线性资源的处理与基于“线性逻辑”的现有方法截然不同。我们引入了一个新的“pi}”计算法,称为“Linear性逻辑”;它的最突出特征是所谓的“产物”,它表达了由BI的结构性原则引起的新的共享形式。我们举例说明了“美元”的含义,并阐明了其基本理论:类型保存、僵局和疲软的“非线性”结果,这与基于“线性逻辑”的“线性逻辑”完全不同。我们引入了新的“pipal-pilfrial-culal-lusalusulusulusulual”进程;我们引入了一个新的和“saliz-com-chal-caluslusluslusluslusluslusal et et an-albusalbalbalbalbalus et asus as et et et et anut et 和“sal-sal-sal-salbalbalbalbal-comal-sal-sal-s”的结果;一种“sal-sal-s-sal-sal-sal-al-sal-sal-commal-dal-commal-commal-commal-commal-dal-dal-compal-compal-compal-cal-sal-commal-cal-compal-cal-commal-commal-commal-sal-sal-commal-commal-commal-commal-commal-commal-sal-sal-s