2015 · 14 citations · 11 references
ComputingComputer ScienceFormal MethodsLogicSemanticsAbstract InterpretationDeductive VerificationFormal SemanticsInterpreter DesignProof AssistantsTheorem ProvingAbstract SemanticsBig-step SemanticsCoqInference RulesInterpretersLanguage SemanticsOperational SemanticsSemantic Rules
This paper describes an investigation into developing certified abstract interpreters from big-step semantics using the Coq proof assistant. We base our approach on Schmidt's abstract interpretation principles for natural semantics, and use a pretty-big-step (PBS) semantics, a semantic format proposed by Charguéraud. We propose a systematic representation of the PBS format and implement it in Coq. We then show how the semantic rules can be abstracted in a methodical fashion, independently of the chosen abstract domain, to produce a set of abstract inference rules that specify an abstract interpreter. We prove the correctness of the abstract interpreter in Coq once and for all, under the assumption that abstract operations faithfully respect the concrete ones. We finally show how to define correct-by-construction analyses: their correction amounts to proving they belong to the abstract semantics.
11
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
Formal verification of a realistic compiler
Xavier Leroy · Communications of the ACM · 2009 · 1.1K citations
Coinductive big-step operational semantics
Xavier Leroy, Hervé Grall · Information and Computation · 2008 · 179 citations
David Van Horn, Matthew Might · 2010 · 140 citations
The calculational design of a generic abstract interpreter
Patrick Cousot · 1999 · 135 citations