acsd05

Grosu/Smolka: Safety-Liveness Semantics for UML 2.0 Sequence Diagrams

Safety-Liveness Semantics for UML 2.0 Sequence Diagrams*

Radu Grosu and Scott A. Smolka

We provide an automata-theoretic solution to one of the main open questions about the UML standard, namely how to assign a formal semantics to a set of sequence diagrams without compromising refinement? Our solution relies on a rather obvious idea, but to our knowledge has not been used before in this context: that bad and good sequence diagrams in the UML standard should be regarded as safety and liveness properties, respectively. Proceeding in this manner, we obtain a semantics that essentially complements the set of behaviors associated with the set of sequence diagrams, thereby allowing us to use the standard notion of refinement as language inclusion. We show that refinement in this setting is compositional with respect to sequential composition, alternative composition, parallel composition, and star+ composition.

In Proc. of ACSD'05, the 5th International Conference on Applications of Concurrency to System Design, June 2005, Saint Malo, France.

*R. Grosu was partially supported by the NSF Faculty Early Career Development Award CCR01-33583.