CoqJVM: an executable specification of the Java virtual machine using dependent types

  • Authors:
  • Robert Atkey

  • Affiliations:
  • LFCS, School of Informatics, University of Edinburgh, Edinburgh, UK

  • Venue:
  • TYPES'07 Proceedings of the 2007 international conference on Types for proofs and programs
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We describe an executable specification of the Java Virtual Machine (JVM) within the Coq proof assistant. The principal features of the development are that it is executable, meaning that it can be tested against a real JVM to gain confidence in the correctness of the specification; and that it has been written with heavy use of dependent types, this is both to structure the model in a useful way, and to constrain the model to prevent spurious partiality.We describe the structure of the formalisation and the way in which we have used dependent types.