Alliance of model-driven engineering with a proof-based formal approach

被引:10
作者
Idani, Akram [1 ]
Ledru, Yves [1 ]
Vega, German [1 ]
机构
[1] Univ Grenoble Alpes, Grenoble INP, CNRS, LIG, F-38000 Grenoble, France
关键词
Software systems; Model-driven engineering; Formal methods; Visual animation; Proofs; SEMANTICS; UML;
D O I
10.1007/s11334-020-00366-3
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Model-driven engineering (MDE) promotes the use of models throughout the software development cycle in order to increase abstraction and reduce software complexity. It favors the definition of domain-specific modeling languages (DSMLs) thanks to frameworks dedicated to meta-modeling and code generation like EMF (Eclipse Modeling Framework). The standard semantics of meta-models allows interoperability between tools such as language analysers (e.g., XText), code generators (e.g., Acceleo), and also model transformation tools (e.g., ATL). However, a major limitation of MDE is the lack of formal reasoning tools allowing to ensure the correctness of models. Indeed, most of the verification activities offered by MDE tools are based on the verification of OCL constraints on instances of meta-models. However, these constraints mainly deal with structural properties of the model and often miss out its behavioral semantics. In this work, we propose to bridge the gap between MDE and the rigorous world of formal methods in order to guarantee the correctness of both structural and behavioral properties of the model. Our approach translates EMF meta-models into an equivalent formal B specification and then injects models into this specification. The equivalence between the resulting B specification and the original EMF model is kept by proven design steps leading to a rigorous MDE technique. The AtelierB prover is used to guarantee the correctness of the model's behavior with respect to its invariant properties, and the ProB model-checker is used to animate underlying execution scenarios which are translated back to the initial EMF model. Besides the use of these automatic reasoning tools in MDE, proved B refinements are also investigated in this paper in order to gradually translate abstract EMF models to concrete models which can then be automatically compiled into a programming language.
引用
收藏
页码:289 / 307
页数:19
相关论文
共 44 条
  • [11] Gargantini A., 2010, Int. J. Adv. Softw., V3, P1
  • [12] Group OM, 2015, MET FAC MOF 2 5 1 CO
  • [13] Meaningful modeling: What's the semantics of "semantics"?
    Harel, D
    Rumpe, B
    [J]. COMPUTER, 2004, 37 (10) : 64 - +
  • [14] Hartmann T., 2008, P 8 OOPSLA WORKSH DO
  • [15] Idani Akram, 2015, Formal Methods and Software Engineering. 17th International Conference on Formal Engineering Methods (ICFEM 2015). Proceedings: LNCS 9407, P312, DOI 10.1007/978-3-319-25423-4_20
  • [16] Idani A, 2019, TTC 2019 MEEDUSE SOL
  • [17] Incremental Development of a Safety Critical System Combining formal Methods and DSMLs - Application to a Railway System -
    Idani, Akram
    Ledru, Yves
    Wakrime, Abderrahim Ait
    Ben Ayed, Rahma
    Collart-Dutilleul, Simon
    [J]. FORMAL METHODS FOR INDUSTRIAL CRITICAL SYSTEMS, FMICS 2019, 2019, 11687 : 93 - 109
  • [18] Towards a Tool-Based Domain Specific Approach for Railway Systems Modeling and Validation
    Idani, Akram
    Ledru, Yves
    Wakrime, Abderrahim Ait
    Ben Ayed, Rahma
    Bon, Philippe
    [J]. RELIABILITY, SAFETY, AND SECURITY OF RAILWAY SYSTEMS: MODELLING, ANALYSIS, VERIFICATION, AND CERTIFICATION, 2019, 11495 : 23 - 40
  • [19] Mashup of metalanguages and its implementation in the Kermeta language workbench
    Jezequel, Jean-Marc
    Combemale, Benoit
    Barais, Olivier
    Monperrus, Martin
    Fouquet, Francois
    [J]. SOFTWARE AND SYSTEMS MODELING, 2015, 14 (02) : 905 - 920
  • [20] Jézéquel JM, 2011, LECT NOTES COMPUT SC, V6491, P201, DOI 10.1007/978-3-642-18023-1_5