Many properties of communication protocols combine safety and liveness aspects. Characterizing such combined properties by means of a single inference system is difficult because of the fundamentally different techniques (coinduction and induction, respectively) usually involved in defining and proving them. In this paper we show that Generalized Inference Systems allow for simple and insightful characterizations of (at least some of) these combined inductive/coinductive properties of binary session types. In particular, we illustrate the role of corules in characterizing fair termination (the property of protocols that can always eventually terminate), fair compliance (the property of interactions that can always be extended to reach client satisfaction) and fair subtyping, a liveness-preserving refinement relation for session types.
翻译:通信协议的许多特性结合了安全和活性两个方面。由于通常在界定和证明这些特性时通常采用截然不同的技术(分别是上岗和上岗),因此很难通过单一的推理系统来说明这种合并特性。在本文件中,我们表明,通用推理系统允许对这些二会话类型的(至少部分)合并的诱导/诱导特性进行简单和深刻的描述。我们特别说明了共同规则在描述公平终止(总是可以最终终止的协议的财产)、公平遵守(始终可以扩展以达到客户满意程度的相互作用财产)和公平分级(对会议类型保持活力的改进关系)方面所起的作用。