Deep Specification and Proof Preservation for the CoqTL Transformation Language - Inria - Institut national de recherche en sciences et technologies du numérique
Article Dans Une Revue Software & Systems Modeling Année : 2022

Deep Specification and Proof Preservation for the CoqTL Transformation Language

Résumé

Executable engines for relational model-transformation languages evolve continuously because of language extension, performance improvement and bug fixes. While new versions generally change the engine semantics, end-users expect to get backward-compatibility guarantees, so that existing transformations do not need to be adapted at every engine update.The CoqTL model-transformation language allows users to define model transformations, theorems on their behavior and machine-checked proofs of these theorems in Coq. Backward-compatibility for CoqTL involves also the preservation of these proofs. However, proof preservation is challenging, as proofs are easily broken even by small refactorings of the code they verify.In this paper we present the solution we designed for the evolution of CoqTL. We provide a deep specification of the transformation engine, including a set of theorems that must hold against the engine implementation. Then, at each milestone in the engine development, we certify the new version of the engine against this specification, by providing proofs of the impacted theorems. The certification formally guarantees end-users that all the proofs they write using the provided theorems will be preserved through engine updates. We illustrate the structure of the deep specification theorems, we produce a machine-checked certification of three versions of CoqTL against it, and we show examples of user proofs that leverage this specification and are thus preserved through the updates. Finally, we discuss the evolution of the deep specification by an extension mechanism, we present an evolution that introduces trace links in the specification, and we show which user proofs are preserved through specification evolutions.
Fichier principal
Vignette du fichier
MANUSCRIPT.pdf (528.08 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03656144 , version 1 (01-05-2022)

Identifiants

Citer

Zheng Cheng, Massimo Tisi. Deep Specification and Proof Preservation for the CoqTL Transformation Language. Software & Systems Modeling, 2022, ⟨10.1007/s10270-022-01004-1⟩. ⟨hal-03656144⟩
89 Consultations
200 Téléchargements

Altmetric

Partager

More