On two Friends for getting Correct Programs Automatically Translating Event B Specifications to Recursive Algorithms in Rodin - Archive ouverte HAL Access content directly
Conference Papers Year : 2016

On two Friends for getting Correct Programs Automatically Translating Event B Specifications to Recursive Algorithms in Rodin

(1, 2, 3) , (4) , (4)
1
2
3
4

Abstract

We report on our progress-to-date in implementing a software de- velopment environment which integrates the efforts of two formal software engineering techniques: program refinement as supported by Event B and program verification as supported by the Spec# programming system. Our objective is to improve the usability of formal verification tools by providing a general framework for integrating these two approaches to software veri- fication. We show how the two approaches Correctness-by-Construction and Post-hoc Verification can be used in a productive way. Here, we focus on the final steps in this process where the final concrete specification is transformed into an executable algorithm. We present EB2RC,a plug-in for the Rodin platform, that reads in an Event B model and uses the control framework introduced during its refinement to generate a graphical representation of the executable algorithm. EB2RC also generates a recursive algorithm that is eas- ily translated into executable code. We illustrate our technique through case studies and their analysis.
Not file

Dates and versions

hal-01369425 , version 1 (21-09-2016)

Identifiers

Cite

Dominique Méry, Rosemary Monahan, Cheng Zheng. On two Friends for getting Correct Programs Automatically Translating Event B Specifications to Recursive Algorithms in Rodin. ISOLA 2016 , Bernhard Steffen and Tiziana Margaria, Oct 2016, CORFU, Greece. pp.18, ⟨10.1007/978-3-319-47166-2_57⟩. ⟨hal-01369425⟩
219 View
0 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More