nevertheless the notion of nested CF is briefly men-
tioned, and no explicit formalization for them is pro-
posed.
7 CONCLUSION
In this paper, we first defined an intuitive formaliza-
tion, based on set theory and tree structure, of se-
quence diagrams equipped with combined fragments
that can be nested. The formalization can be adapted
for any kind of semantics. Then, we have extended
the causal semantics by redefining its rules in a syn-
thetic way. The new causal relationship allows to
compute all possible valid traces for SDs with nested
CF that model behaviours of distributed systems, by
avoiding the flattening of SD equipped with (ALT,
OPT, LOOP) CF, hence the compact syntactic repre-
sentation is preserved.
The proposed semantics can serves as basis for
the derivation of traces of UML2.0 SD, as well as
for the definition of an operational semantics that fa-
cilitates the analysis of the SD. Our approach is not
related to any target translation formalism and can
be implemented by any formal method for its veri-
fication, although it is already implemented, (Dhaou
et al., 2015), (Dhaou et al., 2016), by Event-B method
offering powerful tools (Rodin/Pro-B).
Meanwhile, we are extending our proposal to
cover other concepts like the gates and the state in-
variants which allow one to express more complex
behaviours and to cover other CF, in particular those
dedicated to model parallel behaviours and invalid be-
haviours. In addition, we currently study theoretical
properties that are derived from the proposed seman-
tics.
REFERENCES
Abrial, J.-R. (1996). The B Book. Cambridge University
Press.
Alur, R., Holzmann, G. J., and Peled, D. (1996). An An-
alyzer for Message Sequence Charts. In SOFTWARE
CONCEPTS AND TOOLS, pages 304–313.
Cardoso, J. and Sibertin-Blanc, C. (2001). Ordering Ac-
tions in Sequence Diagrams of UML. In 23rd Inter-
national Conference on Information Technology In-
terfaces, pages 3–14, J. Marohnica bb, 10000 Za-
greb, Croatia. University Computing Centre Uniersity
of Zagreb.
Cardoso, Janette and Sibertin-Blanc, Christophe (2002).
An Operational Semantics for UML Interaction: Se-
quencing of Actions and Local Control. Euro-
pean Journal of Automatised Systems, APII-JESA,
36(7):1015–1028.
Cengarle, M. V., Graubmann, P., Wagner, S., and M
¨
unchen,
T. U. (2005). Semantics of UML 2.0 Interactions with
Variabilities.
Dhaou, F., Mouakher, I., Attiogb
´
e, C., and Bsaies, K.
(2015). Extending Causal Semantics of UML2.0 Se-
quence Diagram for Distributed Systems. ICSOFT-EA
2015 - Proceedings of the 10th International Confer-
ence on Software Engineering and Applications, Col-
mar, Alsace, France, pages 339–347.
Dhaou, F., Mouakher, I., Attiogb
´
e, C., and Bsa
¨
ıes, K.
(2016). Refinement of UML2.0 Sequence Diagrams
for Distributed Systems. In Proceedings of the 11th
International Joint Conference on Software Technolo-
gies (ICSOFT 2016) - Volume 1: ICSOFT-EA, Lisbon,
Portugal, July 24 - 26, 2016., pages 310–318.
G
`
abor Huszerl, H
´
el
`
ene Waeselynck (ed.), Z. E. A. K.
Z. M. (2008). Refined Design and Testing Framework,
Methodology and Application Results.
Grosu, R. and Smolka, S. (2005). Safety-Liveness Seman-
tics for UML 2.0 Sequence Diagrams. In 5th Int.
Conf. on Application of Concurrency to System De-
sign, page 614.
Hammal, Y. (2006). Branching Time Semantics for UML
2.0 Sequence Diagrams. Lecture Notes in Computer
Science: Formal Techniques for Networked and Dis-
tributed Systems - FORTE 2006, pages 259–274.
Harel, D. and Maoz, S. (2008). Assert and Negate Revis-
ited: Modal Semantics for UML Sequence Diagrams.
Software and System Modeling, 7(2):237–252.
Knapp, A. and Wuttke., J. (2006). Model Checking of UML
2.0 Interactions. In Khne, T., editor, Models in Soft-
ware Engineering, pages 42–51. Springer.
Object Management Group (2009). OMG Unified Model-
ing Language (OMG UML), Superstructure Version
2.2.
O.Tahir, C.-B. and J.Cardoso (2005). A Causality-Based
Semantics for UML Sequence Diagrams. In 23rd
IASTED International Conference on Software Engi-
neering, pages 106–111. Acta Press.
øystein Haugen, Knut Eilif Husa, R. K. R. and STAIRS
(2005). Towards Formal Design with Sequence Di-
agrams. In Software and System Modeling, volume 4,
pages 355–357. John Wiley & Sons, Inc.
Rudolph, E., Grabowski, J., and Graubmann, P. (1996). Tu-
torial on Message Sequence Charts (MSC’96).
Shen, H. (2013). A Formal Framework for Analyzing Se-
quence Diagram. PhD thesis.
Sibertin-Blanc, C. and Tahir, O. (2006). From UML1.x
to UML 2.0 Semantics for Sequence Diagrams. In
Ramos, F. F., Lrios, R. V., and Unger, H., editors,
IEEE International Symposium and School on Ad-
vance Distributed Systems (ISSADS), Mexico (Mex-
ique). IEEE.
Sibertin-Blanc, C., T. O. and J., C. (2005). Interpretation of
UML Sequence Diagrams as Causality Flows. In Ad-
vanced Distributed Systems, 5th Int. School and Sym-
posium (ISSAD), number 3563, pages 126–140. Acta
Press.
ENASE 2017 - 12th International Conference on Evaluation of Novel Approaches to Software Engineering
56