Formalizing UML Models and OCL Constraints in PVS

  • Authors:
  • Marcel Kyas;Harald Fecher;Frank S. de Boer;Joost Jacob;Jozef Hooman;Mark van der Zwaag;Tamarah Arons;Hillel Kugler

  • Affiliations:
  • Institute for Computer Science and Applied Mathematics, Christian-Albrechts-Universität zu Kiel, Germany;Institute for Computer Science and Applied Mathematics, Christian-Albrechts-Universität zu Kiel, Germany;CWI Amsterdam, The Netherlands;CWI Amsterdam, The Netherlands;Computer Science Department, University of Nijmegen, The Netherlands;Computer Science Department, University of Nijmegen, The Netherlands;Weizmann Institute of Science, Rehovot, Israel;Weizmann Institute of Science, Rehovot, Israel

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

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Object Constraint Language (OCL) is the established language for the specification of properties of objects and object structures in UML models. One reason that it is not yet widely adopted in industry is the lack of proper and integrated tool support for OCL. Therefore, we present a prototype tool, which analyzes the syntax and semantics of OCL constraints together with a UML model and translates them into the language of the theorem prover PVS. This defines a formal semantics for both UML and OCL, and enables the formal verification of systems modeled in UML. We handle the problematic fact that OCL is based on a three-valued logic, whereas PVS is only based on a two valued one.