From Event-B Models to Dafny Code Contracts - Fundamentals of Software Engineering Access content directly
Conference Papers Year : 2015

From Event-B Models to Dafny Code Contracts

Mohammadsadegh Dalvandi
  • Function : Author
  • PersonId : 999427
Michael Butler
  • Function : Author
  • PersonId : 999428
Abdolbaghi Rezazadeh
  • Function : Author
  • PersonId : 999426

Abstract

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
Origin : Files produced by the author(s)
Loading...

Dates and versions

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

Licence

Attribution

Identifiers

Cite

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⟩
69 View
154 Download

Altmetric

Share

Gmail Facebook X LinkedIn More