Master thesis
Cite …

An Improved Interface for Interactive Proofs in Separation Logic

Lars König ORCID iD icon 1
1 Lehrstuhl IPD Snelting (Lehrstuhl IPD Snelting), Karlsruhe Institute of Technology (KIT)
DOI: 10.5445/IR/1000153230
PDF published on Nov 30, 2022
Abstract

For as long as software has been developed, a major concern has been to know

whether it is correct in the sense that is does what it is supposed to do. Given a

formal specification of the requirements, one task of software verification is to prove

that an implementation fulfills the specification. This task can be difficult if the used

programming language allows commands to have global effect, such that they can

influence commands in unrelated parts of the program, for example through a shared

heap. Separation logic aims to solve this problem by adding a separating operator to

propositions, which makes it possible to treat parts of a program as independent of

the rest. One tool that supports software verification proofs are interactive theorem

provers. However, performing separation logic proofs in interactive theorem provers,

especially with non-linear type systems, requires a lot of boilerplate code and manual

bookkeeping. This can be avoided by providing the user with an interface that

allows proofs on the common, higher abstraction level. This work describes a new

separation logic interface for the interactive theorem prover Lean 4 based on the Iris

project and the improvements made to this interface.