From Event-B Models to Dafny Code Contracts - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2015

From Event-B Models to Dafny Code Contracts

Mohammadsadegh Dalvandi
  • Fonction : Auteur
  • PersonId : 999427
Michael Butler
  • Fonction : Auteur
  • PersonId : 999428
Abdolbaghi Rezazadeh
  • Fonction : Auteur
  • PersonId : 999426

Résumé

The constructive approach to software correctness aims at formal modelling and verification of the structure and behaviour of a system in different levels of abstraction. In contrast, the analytical approach to software verification focuses on code level correctness and its verification. Therefore it would seem that the constructive and analytical approaches should complement each other well. To demonstrate this idea we present a case for linking two existing verification methods, Event-B (constructive) and Dafny (analytical). This approach combines the power of Event-B abstraction and its stepwise refinement with the verification capabilities of Dafny. We presented a small case study to demonstrate this approach and outline of the rules for transforming Event-B events to Dafny contracts. Finally, a tool for automatic generation of Dafny contracts from Event-B formal models is presented.
Fichier principal
Vignette du fichier
978-3-319-24644-4_21_Chapter.pdf (329.99 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01446608 , version 1 (26-01-2017)

Licence

Identifiants

Citer

Mohammadsadegh Dalvandi, Michael Butler, Abdolbaghi Rezazadeh. From Event-B Models to Dafny Code Contracts. 6th Fundamentals of Software Engineering (FSEN), Apr 2015, Tehran, Iran. pp.308-315, ⟨10.1007/978-3-319-24644-4_21⟩. ⟨hal-01446608⟩
80 Consultations
173 Téléchargements

Altmetric

Partager

More