线性细化会话类型
Linearly Refined Session Types
摘要:
在并发编程中,会话类型捕获精确的协议结构,但不指定交换值的基本类型之外的属性。细化类型是一种依赖类型,可以解决这种限制,将类型与可能引用程序值的逻辑公式组合,并可以使用任意谓词约束类型。我们提出了一个PI演算的假设和断言操作,使用会话的纪律,结合细化公式写在一个片段的乘法线性逻辑。我们原来的会话和细化类型的组合,以及良好的线性的好处,允许非常细粒度的通信协议规范,其中细化公式被视为逻辑资源,而不是持久的真理。
英文摘要:
Session types capture precise protocol structure in concurrent programming, but do not specify properties of the exchanged values beyond their basic type. Refinement types are a form of dependent types that can address this limitation, combining types with logical formulae that may refer to program values and can constrain types using arbitrary predicates. We present a pi calculus with assume and assert operations, typed using a session discipline that incorporates refinement formulae written in a fragment of Multiplicative Linear Logic. Our original combination of session and refinement types, together with the well established benefits of linearity, allows very fine-grained specifications of communication protocols in which refinement formulae are treated as logical resources rather than persistent truths.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。