Refinement to Imperative HOL

Peter Lammich

Research output: Contribution to journalArticlepeer-review

415 Downloads (Pure)

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 languageEnglish
Pages (from-to)481-503
Number of pages22
JournalJournal of Automated Reasoning
Volume62
Issue number4
Early online date3 Oct 2017
DOIs
Publication statusPublished - 1 Apr 2019

Fingerprint

Dive into the research topics of 'Refinement to Imperative HOL'. Together they form a unique fingerprint.

Cite this