A proven translation from a UML state machine subset to timed automata
Résumé
Although UML state machines constitute a convenient modeling formalism that is widely used in many applications, the lack of formal semantics impedes carrying out some automatic processing such as formal verification for instance. In this paper, we aim to achieve a proven translation from a subset of UML state machines to timed automata. A generic abstract syntax is defined for state machines, which allows us to specify state machines as a tree-like structure, thus explicitly illustrating the hierarchical relationships within the model. Based on this syntax, a formal asynchronous semantics for state machines and systems of state machines is established. Additionally, the semantics of timed automata is specified. Then, a translation relation from the considered set of state machines to timed automata is defined and a strong equivalence relation, namely a timed bisimulation between the source and target models, is formally proven. The proof is carried out inductively while considering continuous (time) and discrete transitions separately. Such a proof allows us to feature a strong similitude between these models.