Integrating UML and Formal Methods

  • Authors:
  • Rafael Magalhães Borges;Alexandre Cabral Mota

  • Affiliations:
  • Centre of Informatics, Federal University of Pernambuco, Recife, Brazil;Centre of Informatics, Federal University of Pernambuco, Recife, Brazil

  • Venue:
  • Electronic Notes in Theoretical Computer Science (ENTCS)
  • Year:
  • 2007

Quantified Score

Hi-index 0.02

Visualization

Abstract

UML is a widespread language used in both industry and academia, despite the fact that its semantics is still informal and allows ambiguities. On the other hand, OhCircus is a formal specification language which unifies Z, CSP, the refinement calculus of Morgan and object-oriented theories. In this work we integrate UML class diagrams and OhCircus by written UML elements in terms of OhCircus constructs. However, instead of a simply syntactical mapping, we also propose the concept of a class model to capture associations and global constraints. Finally, we use this integration to prove the refinement of associations as attributes, a result that relates analysis to design to implementation and which is very common in industry.