...
首页> 外文期刊>Journal of Logic and Algebraic Programming >Algorithmic type checking for a pi-calculus with name matching and session types
【24h】

Algorithmic type checking for a pi-calculus with name matching and session types

机译:具有名称匹配和会话类型的pi演算的算法类型检查

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

We present a type checking algorithm for establishing a session-based discipline in a n -calculus with name matching. We account for analysing processes exhibiting different behaviours in the branches of the if-then-else by imposing an affine discipline for session types. This permits to obtain type-safety or absence of communication errors while accepting processes of the form if x = y then P else 0 that install a session protocol P whenever the test succeeds, and abort otherwise. To this aim we define a type system based on a notion of context split, and we prove that it satisfies subject reduction and type-safety. We implement the type system in a split-free type checking algorithm, and we prove that processes accepted by the algorithm are well-typed. We then show that processes that are typed and do not contain Wait for deadlocks - an input and its corresponding output (or vice versa) are in the same thread instead of in parallel ones - are accepted by the algorithm, thus providing a partial completeness result. We conclude by investigating the expressiveness of the typing system and show that our theory subsumes recent works on linear and session types.
机译:我们提出一种类型检查算法,用于在具有名称匹配的n-微积分中建立基于会话的学科。我们通过对会话类型施加仿射规则来分析在if-then-else分支中表现出不同行为的过程。这允许在接受以下形式的过程时获得类型安全或没有通信错误:如果x = y,则接受P,否则返回0,否则将在测试成功时安装会话协议P,否则返回0。为此,我们基于上下文拆分的概念定义了一个类型系统,并证明它满足主题约简和类型安全性。我们在不分割类型检查算法中实现了类型系统,并且证明了该算法接受的进程是正确类型的。然后,我们证明了类型化且不包含等待死锁的进程-输入和其对应的输出(或相反)在同一线程而不是并行线程中)被算法接受,从而提供了部分完整性结果。我们通过研究打字系统的表现力得出结论,并表明我们的理论包含了关于线性和会话类型的最新著作。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号