期刊
SCIENCE OF COMPUTER PROGRAMMING
卷 232, 期 -, 页码 -出版社
ELSEVIER
DOI: 10.1016/j.scico.2023.103034
关键词
Interactions; Sequence diagrams; Formal language; Denotational semantics; Operational semantics
This paper presents an Interaction Language to encode Sequence Diagrams (SD) and associates it with three different formal semantics. This allows for direct formal verification of SD, while preserving traceability of SD concepts and executed actions, and addressing the translation of problematic operators.
Graphical depictions of distributed systems' behaviors in the form of Sequence Diagrams (SD) are widely used, with formalisms such as Message Sequence Charts (MSC) or UML-SD. Yet, only restricted subsets of these languages are associated to formal semantics, most of which are given by translation towards other formalisms. These translational approaches are the only ones enabling formal verification thanks to the ecosystem and tools associated to the target formalism. However, traceability of SD concepts is lost and the translation of some operators, in particular the weakly sequential loop, is problematic. In this paper, we define an Interaction Language to encode SD and ground it formally by associating it to three different semantics which we prove to be equivalent. A denotational semantics, relying on composing operators over sets of traces (sequences of atomic actions) allows one to reason on algebraic properties of SD. A structural operational semantics apprehends SD as executable objects which can express traces one action after the other. It also bridges the gap between the two other semantics and enables proving their equivalence. A functional style execution semantics separates two concerns intertwined in the operational semantics that is: identifying immediately executable actions (frontier actions) and computing follow-up SD which specify continuations of behaviors. The use of positions to identify frontier actions resolves non determinism as every distinct occurrence of these actions have unique positions and are associated to a unique follow-up SD. Additionally, this enables visualizing frontier actions in SD as well as the execution of SD.These three semantics constitute a framework which enable using SD directly for formal verification. Traceability of SD concepts and executed actions is preserved and the weakly sequential loops are treated as any other operator.
作者
我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。
推荐
暂无数据