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

Corps:层次化编排编程的核心演算

Corps: A Core Calculus of Hierarchical Choreographic Programming

Andrew K. Hirsch

AI总结:

本文提出层次化编排编程概念,并设计了语言Corps,通过授权逻辑中的命题即类型解释,将数据所有权建模为模态,解决了通信非线性建模与逻辑对应问题。

摘要:

函数式编排编程表明一种新的命题即类型范式是可能的。在这种新范式中,通信不是线性建模的;相反,一段数据的所有权被建模为模态,而通信会改变该模态。然而,我们必须为命题即类型对应的另一侧寻找一种合适的模态逻辑。本文主张使用信念逻辑,即关于信念的逻辑。特别是,带有显式通信的授权逻辑——一种信念逻辑——似乎能表示层次化编排编程。本文介绍了层次化编排编程,并提出了Corps,一种在授权逻辑中具有命题即类型解释的层次化编排编程语言。

英文摘要:

Functional choreographic programming suggests a new propositions-as-types paradigm might be possible. In this new paradigm, communication is not modeled linearly; instead, ownership of a piece of data is modeled as a modality, and communication changes that modality. However, we must find an appropriate modal logic for the other side of the propositions-as-types correspondence. This paper argues for doxastic logics, or logics of belief. In particular, authorization logics -- doxastic logics with explicit communication -- appear to represent hierarchical choreographic programming. This paper introduces hierarchical choreographic programming and presents Corps, a language for hierarchical choreographic programming with a propositions-as-types interpretation in authorization logic.

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

↑