2015 · 91 citations · 19 references
ComputingComputer EngineeringComputer ScienceCompilersFormal MethodsProgramming LanguagesCompiler ConstructionControl-flow AnalysisCompiler DesignCompositional VerificationImperative Language DesignSeparate CompilationSeparate Compilation Support
Compiler verification is essential for the construction of fully verified software, but most prior work (such as CompCert) has focused on verifying whole-program compilers. To support separate compilation and to enable linking of results from different verified compilers, it is important to develop a compositional notion of compiler correctness that is modular (preserved under linking), transitive (supports multi-pass compilation), and flexible (applicable to a wide variety of languages and program transformations). In this work, building on prior work of Hur et al. [6, 7], we develop a novel approach to compositional compiler verification based on parametric inter-language simulations (PILS). PILS are as modular and flexible as state-of-the-art logical-relations models, but are transitive as well. We demonstrate the effectiveness of PILS by using them to verify Pilsner, a simple but non-trivial multi-pass optimizing compiler for an ML-like language programmed in Coq. Pilsner is the first compiler for a higher-order imperative language to be compositionally and mechanically verified. This has been a significant undertaking, involving several person-years of work and over 48,000 lines of Coq. 1.
19
A Formally Verified Compiler Back-end
Xavier Leroy · Journal of Automated Reasoning · 2009 · 487 citations · Full text
Compiler validation via equivalence modulo inputs
Vu Le, Mehrdad Afshari, Zhendong Su · 2014 · 372 citations
Ramana Kumar, Magnus O. Myreen, Michael Norrish et al. · 2014 · 320 citations
State-dependent representation independence
Amal Ahmed, Derek Dreyer, Andreas Rossberg · 2009 · 181 citations
Gordon Stewart, Lennart Beringer, Santiago Cuéllar et al. · 2014 · 97 citations