Model Transformation as Conservative Theory-Transformation

被引:1
作者
Brucker, Achim [1 ]
Tuong, Frederic [2 ]
Wolff, Burkhart [3 ]
机构
[1] Univ Exeter, Comp Sci, Exeter, Devon, England
[2] Trinity Coll Dublin, Dublin, Ireland
[3] Univ Paris Saclay, Comp Sci, Gif Sur Yvette, France
来源
JOURNAL OF OBJECT TECHNOLOGY | 2020年 / 19卷 / 03期
关键词
Model Transformation; Conservativity; UML; OCL; Isabelle/HOL; ENVIRONMENT; SEMANTICS; HOL;
D O I
10.5381/jot.2020.19.3.a3
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Model transformations play a central role in model-driven software development. Hence, logical unsafe model transformation can result in erroneous systems. Still, most model transformations are written in languages that do not provide built-in safeness guarantees. We present a new technique to construct tool support for domain-specific languages (DSLs) inside the interactive theorem prover environment Isabelle. Our approach is based on modeling the DSL formally in higher-order logic (HOL), modeling the API of Isabelle inside it, and defining the transformation between these two. Reflection via the powerful code generators yields code that can be integrated as extension into Isabelle and its user interface. Moreover, we use code generation to produce tactic code which is bound to appropriate command-level syntax. Our approach ensures the logical safeness (conservativity) of the theorem prover extension and, thus, provides a certified tool for the DSL in all aspects: the deductive capacities of theorem prover, code generation, and IDE support. We demonstrate our approach by extending Isabelle/HOL with support for UML/OCL and, more generally, providing support for a formal object-oriented modeling method.
引用
收藏
页码:1 / 16
页数:16
相关论文
共 36 条
  • [1] Abadi M., 1991, Journal of Functional Programming, V1, P375, DOI 10.1017/S0956796800000186
  • [2] Andrews P., 2002, An Introduction to Mathematical Logic and Type Theory: To Truth Through Proof
  • [3] [Anonymous], 2011, UML 2 4 1 INFR SPEC
  • [4] [Anonymous], 2012, UML 2 3 1 OCL SPEC
  • [5] [Anonymous], 1996, ML for the Working Programmer
  • [6] [Anonymous], 1993, Introduction to HOL: a theorem proving environment for higher order logic
  • [7] [Anonymous], 2006, CCMB200609003
  • [8] Arjona M., 2014, P MOD 2014 OCL WORKS, V1285
  • [9] Bertot Y., 2004, TEXT THEORET COMP S
  • [10] Brucker A. D., 2007, THESIS