Abstract
Many algorithms can be implemented most efficiently with imperative data structures. This paper presents Sepref, a stepwise refinement based tool chain for the verification of imperative algorithms in Isabelle/HOL. As a back end we use imperative HOL, which allows to generate verified imperative code. On top of imperative HOL, we develop a separation logic framework with powerful proof tactics. We use this framework to verify basic imperative data structures and to define a refinement calculus between imperative and functional programs. We provide a tool to automatically synthesize a concrete imperative program and a refinement proof from an abstract functional program, selecting implementations of abstract data types according to a user-provided configuration. As a front end to describe the abstract programs, we use the Isabelle Refinement Framework, for which many algorithms have already been formalized. Our tool chain is complemented by a large selection of verified imperative data structures. We have used Sepref for several verification projects, resulting in efficient verified implementations that are competitive with unverified ones in Java or C ++ .
| Original language | English |
|---|---|
| Pages (from-to) | 481-503 |
| Number of pages | 22 |
| Journal | Journal of Automated Reasoning |
| Volume | 62 |
| Issue number | 4 |
| Early online date | 3 Oct 2017 |
| DOIs | |
| Publication status | Published - 1 Apr 2019 |
Fingerprint
Dive into the research topics of 'Refinement to Imperative HOL'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver