Formalising a high-performance microkernel

Authors

Kevin Elphinstone, Gerwin Klein and Rafal Kolanski

NICTA, Sydney, Australia
UNSW, Australia

Abstract

This paper argues that a pragmatic approach is needed for integrating design and formalisation of complex systems. We report on our approach to designing the seL4 operating system microkernel API and its formalisation in Isabelle/HOL. The formalisation consists of the systematic translation of significant parts of the functional programming language Haskell into Isabelle/HOL, including monad-based code. We give an account of the experience, decisions and outcomes in this translation as well as the technical problems we encountered together with our solutions. The longer-term goal is to demonstrate that formalisation and verification of a large, complex, OS-level code base is feasible with current tools and methods and is in the order of magnitude of traditional development cost.

BibTeX Entry

  @inproceedings{Elphinstone_KK_06,
    series           = {Microsoft Research Technical Report MSR-TR-2006-117},
    author           = {Kevin Elphinstone and Gerwin Klein and Rafal Kolanski},
    month            = {August},
    editor           = {Rustan Leino},
    year             = {2006},
    title            = {Formalising a High-Performance Microkernel},
    booktitle        = {Workshop on Verified Software: Theories, Tools, and Experiments (VSTTE 06)},
    pages            = {1-7},
    address          = {Seattle, USA}
  }

Download

Served by Apache on Linux on seL4