arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1108.2360cs.PLcs.LO
收藏

限定会话类型的类型检查算法

A type checking algorithm for qualified session types

Marco Giunti

摘要:

我们提出了一个类型检查算法,建立一个基于会话的纪律在PI演算米尔纳,Parrow和沃克。我们的会话类型被限定为线性或无限制。线性类型的通信通道保证只在一个线程中出现,可能会出现多次;之后它们会演变为不受限制的通道。会话协议由类型构造函数描述,该构造函数表示同一个通信通道的两端。我们确保了算法的合理性,通过显示消耗所有线性资源的过程被接受的类型系统保留在计算过程中的类型,类型检查是一致的w.r.t.结构一致性

英文摘要:

We present a type checking algorithm for establishing a session-based discipline in the pi calculus of Milner, Parrow and Walker. Our session types are qualified as linear or unrestricted. Linearly typed communication channels are guaranteed to occur in exactly one thread, possibly multiple times; afterwards they evolve as unrestricted channels. Session protocols are described by a type constructor that denotes the two ends of one and the same communication channel. We ensure the soundness of the algorithm by showing that processes consuming all linear resources are accepted by a type system preserving typings during the computation and that type checking is consistent w.r.t. structural congruence.

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

↑