CoqTL: an Internal DSL for Model Transformation in Coq

Massimo Tisi 1 Zheng Cheng 2, 1
1 NaoMod - NaoMod - Nantes Software Modeling Group
LS2N - Laboratoire des Sciences du Numérique de Nantes
Abstract : In model-driven engineering, model transformation (MT) verification is essential for reliably producing software artifacts. While recent advancements have enabled automatic Hoare-style verification for non-trivial MTs, there are certain verification tasks (e.g. induction) that are intrinsically difficult to automate. Existing tools that aim at simplifying the interactive verification of MTs typically translate the MT specification (e.g. in ATL) and properties to prove (e.g. in OCL) into an interactive theorem prover. However, since the MT specification and proof phases happen in separate languages, the proof developer needs a deep knowledge of the translation logic. Naturally any error in the MT translation could cause unsound verification, i.e. the MT executed in the original environment may have different semantics from the verified MT. We propose an alternative solution by designing and implementing an internal domain specific language, namely CoqTL, for the specification of declarative MTs directly in the Coq interactive theorem prover. Expressions in CoqTL are written in Gallina (the specification language of Coq), increasing the possibilities of reuse of native Coq libraries in the transformation definition and proof. In this paper we introduce CoqTL, we evaluate its practical applicability on a case study, and identify its limitations.
Type de document :
Communication dans un congrès
ICMT 2018 - 11th International Conference on Theory and Practice of Model Transformations, Jun 2018, Toulouse, France. Springer, 10888, pp.142-156, LNCS. 〈10.1007/978-3-319-93317-7_7〉
Liste complète des métadonnées

Littérature citée [17 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01828344
Contributeur : Zheng Cheng <>
Soumis le : mardi 3 juillet 2018 - 10:36:22
Dernière modification le : mercredi 5 septembre 2018 - 10:06:37

Fichier

main.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

Massimo Tisi, Zheng Cheng. CoqTL: an Internal DSL for Model Transformation in Coq. ICMT 2018 - 11th International Conference on Theory and Practice of Model Transformations, Jun 2018, Toulouse, France. Springer, 10888, pp.142-156, LNCS. 〈10.1007/978-3-319-93317-7_7〉. 〈hal-01828344〉

Partager

Métriques

Consultations de la notice

160

Téléchargements de fichiers

105