Abstract
Abstract. This article presents the formal verification, using the Coq proof assistant, of a memory model for low-level imperative languages such as C and compiler intermediate languages. Beyond giving semantics to pointer-based programs, this model supports reasoning over transformations of such programs. We show how the properties of the memory model are used to prove semantic preservation for three passes of the Compcert verified compiler. Publication history: this article is a heavily revised and extended version of the paper “Formal verification of a memory model for Clike imperative languages ” published in the ICFEM 2005 conference proceedings (LNCS 3785). The results on memory transformations (section 5) are new, and the specifications of the memory model (sections 3 and 4) are significantly different from that of the ICFEM paper, and have been entirely rewritten. 1.