Featherweight OCL: A Proposal for a Machine-Checked Formal Semantics for OCL 2.5 - Archive ouverte HAL Access content directly
Journal Articles Archive of Formal Proofs Year : 2014

Featherweight OCL: A Proposal for a Machine-Checked Formal Semantics for OCL 2.5

(1) , (2, 3, 4, 5, 6, 7) , (2, 3, 4, 5, 6)
1
2
3
4
5
6
7

Abstract

The Unified Modeling Language (UML) is one of the few modeling languages that is widely used in industry. While UML is mostly known as diagrammatic modeling language (e.g., visualizing class models), it is complemented by a textual language, called Object Constraint Language (OCL). The current version of OCL is based on a four-valued logic that turns UML into a formal language. Any type comprises the elements "invalid" and "null" which are propagated as strict and non-strict, respectively. Unfortunately, the former semi-formal semantics of this specification language, captured in the "Annex A" of the OCL standard, leads to different interpretations of corner cases. We formalize the core of OCL: denotational definitions, a logical calculus and operational rules that allow for the execution of OCL expressions by a mixture of term rewriting and code compilation. Our formalization reveals several inconsistencies and contradictions in the current version of the OCL standard. Overall, this document is intended to provide the basis for a machine-checked text "Annex A" of the OCL standard targeting at tool implementors.
Not file

Dates and versions

hal-01214252 , version 1 (11-10-2015)

Identifiers

  • HAL Id : hal-01214252 , version 1

Cite

Achim D. Brucker, Frédéric Tuong, Burkhart Wolff. Featherweight OCL: A Proposal for a Machine-Checked Formal Semantics for OCL 2.5. Archive of Formal Proofs, 2014. ⟨hal-01214252⟩
217 View
0 Download

Share

Gmail Facebook Twitter LinkedIn More