...
首页> 外文期刊>Mathematical structures in computer science >Bounded polymorphism in session types
【24h】

Bounded polymorphism in session types

机译:会话类型中的有界多态

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

摘要

Session types allow high-level specifications of structured patterns of communication, such as client-server protocols, to be expressed as types and verified by static typechecking. In collaboration with Malcolm Hole, we previously introduced a notion of subtyping for session types, which was formulated for an extended pi calculus. Subtyping allows one part of a system, for example, a server, to be refined without invalidating type-correctness of other parts, for example, clients. In this paper we introduce bounded polymorphism, which is based on the same notion of subtyping, in order to support more precise and flexible specifications of protocols; in particular, a choice of type in one message may affect the types of future messages. We formalise the syntax, operational semantics and typing rules of an extended pi calculus, and prove that typechecking guarantees the absence of run-time communication errors. We study algorithms for checking instances of the subtype relation in two versions of our system, which we call Kernel S_≤ and Full S_≤, and establish that subtyping in Kernel S_≤ is decidable, and that subtyping in Full S_≤ is undecidable.
机译:会话类型允许将通信的结构化模式(例如客户端-服务器协议)的高级规范表示为类型,并通过静态类型检查进行验证。与Malcolm Hole合作,我们先前引入了会话类型子类型的概念,该概念是为扩展pi演算而制定的。子类型化可优化系统的一部分(例如服务器),而不会使其他部分(例如客户端)的类型正确性无效。在本文中,我们介绍了基于相同子类型概念的有界多态性,以支持更精确,更灵活的协议规范。特别是,在一条消息中选择类型可能会影响将来的消息类型。我们对扩展的pi演算的语法,操作语义和键入规则进行形式化,并证明类型检查可确保不存在运行时通信错误。我们研究了在两个版本的系统中检查子类型关系实例的算法,我们将它们称为内核S_≤和完全S_≤,并确定在内核S_≤中的子类型是可确定的,而在完全S_≤中的子类型是不可确定的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号