Abstract: 
We define a functional variant of the static single assignment (SSA)
form construction algorithm described by Braun et al.,
which combines simplicity and efficiency. The definition is based on a
general, abstract control flow graph representation using Isabelle locales.
We prove that the algorithm's output is semantically equivalent to the
input according to a smallstep semantics, and that it is in minimal SSA
form for the common special case of reducible inputs. We then show the
satisfiability of the locale assumptions by giving instantiations for a
simple While language.
Furthermore, we use a generic instantiation based on typedefs in order
to extract OCaml code and replace the unverified SSA construction
algorithm of the CompCertSSA
project with it. 
BibTeX: 
@article{Formal_SSAAFP,
author = {Sebastian Ullrich and Denis Lohner},
title = {Verified Construction of Static Single Assignment Form},
journal = {Archive of Formal Proofs},
month = feb,
year = 2016,
note = {\url{http://isaafp.org/entries/Formal_SSA.shtml},
Formal proof development},
ISSN = {2150914x},
}
