Multiparty sessions with asynchronous communications and global types play an important role for the modelling of interaction protocols in distributed systems. In designing such calculi the aim is to enforce, by typing, good properties for all participants, maximising, at the same time, the accepted behaviours. Our type system improves the state-of-the-art by typing all asynchronous sessions and preserving the key properties of Subject Reduction, Session Fidelity and Progress when some well-formedness conditions are satisfied. The type system comes together with a sound and complete type inference algorithm. The well-formedness conditions are undecidable, but an algorithm checking an expressive restriction of them recovers the effectiveness of typing.
翻译:多党会议具有非同步的通信和全球类型,在模拟分布式系统中的互动协议方面发挥着重要作用。在设计这种计算法时,目的是通过打字对所有参与者实施良好的属性,同时最大限度地实现所接受的行为。我们的类型系统通过打字所有非同步的会话和保存降低主题、会话快递和进步等关键属性来改进最先进的系统。类型系统与健全和完整类型的推理算法相结合。完善的条件是不可估量的,但检查其明确限制的算法可以恢复打字的有效性。