Logical Methods in Computer Science (Mar 2015)

Program Logics for Homogeneous Generative Run-Time Meta-Programming

  • Martin Berger,
  • Laurence Tratt

DOI
https://doi.org/10.2168/LMCS-11(1:5)2015
Journal volume & issue
Vol. Volume 11, Issue 1

Abstract

Read online

This paper provides the first program logic for homogeneous generative run-time meta-programming---using a variant of MiniML by Davies and Pfenning as its underlying meta-programming language. We show the applicability of our approach by reasoning about example meta-programs from the literature. We also demonstrate that our logics are relatively complete in the sense of Cook, enable the inductive derivation of characteristic formulae, and exactly capture the observational properties induced by the operational semantics.

Keywords