Bridging the gap between formal semantics and implementation of triple graph grammars

  • Authors:
  • Holger Giese;Stephan Hildebrandt;Leen Lambers

  • Affiliations:
  • Hasso Plattner Institute at the University of Potsdam, Potsdam, Germany 14482;Hasso Plattner Institute at the University of Potsdam, Potsdam, Germany 14482;Hasso Plattner Institute at the University of Potsdam, Potsdam, Germany 14482

  • Venue:
  • Software and Systems Modeling (SoSyM)
  • Year:
  • 2014

Quantified Score

Hi-index 0.00

Visualization

Abstract

The correctness of model transformations is a crucial element for model-driven engineering of high-quality software. A prerequisite to verify model transformations at the level of the model transformation specification is that an unambiguous formal semantics exists and that the implementation of the model transformation language adheres to this semantics. However, for existing relational model transformation approaches, it is usually not really clear under which constraints particular implementations really conform to the formal semantics. In this paper, we will bridge this gap for the formal semantics of triple graph grammars (TGG) and an existing efficient implementation. While the formal semantics assumes backtracking and ignores non-determinism, practical implementations do not support backtracking, require rule sets that ensure determinism, and include further optimizations. Therefore, we capture how the considered TGG implementation realizes the transformation by means of operational rules, define required criteria, and show conformance to the formal semantics if these criteria are fulfilled. We further outline how static and runtime checks can be employed to guarantee these criteria.