Electronic Proceedings in Theoretical Computer Science (Jun 2016)

Programming Language Features for Refinement

  • Jason Koenig,
  • K. Rustan M. Leino

DOI
https://doi.org/10.4204/EPTCS.209.7
Journal volume & issue
Vol. 209, no. Proc. Refine 2015
pp. 87 – 106

Abstract

Read online

Algorithmic and data refinement are well studied topics that provide a mathematically rigorous approach to gradually introducing details in the implementation of software. Program refinements are performed in the context of some programming language, but mainstream languages lack features for recording the sequence of refinement steps in the program text. To experiment with the combination of refinement, automated verification, and language design, refinement features have been added to the verification-aware programming language Dafny. This paper describes those features and reflects on some initial usage thereof.