%0 Conference Proceedings
%F rusu04c
%A Cachera, D.
%A Jensen, T.
%A Pichardie, D.
%A Rusu, V.
%T Extracting a data flow analyser in constructive logic
%B European Symposium on Programming,ESOP'04. Volume 2986 of LNCS
%P 385-400
%I Springer-Verlag
%X We show how to formalise a constraint-based data flow analysis in the specification language of the Coq proof assistant. This involves defining a dependent type of lattices together with a library of lattice functors for modular construction of complex abstract domains. Constraints are expressed in an intermediate representation that allows for both efficient constraint resolution and correctness proof of the analysis with respect to an operational semantics. The proof of existence of a correct, minimal solution to the constraints is constructive which means that the extraction mechanism of Coqprovides a provably correct data flow analyser in ocaml. The library of lattices together with the intermediate representation of constraints are defined in an analysis-independent fashion that provides a basis for a generic framework for proving and extracting static analysers in Coq
%U http://www.irisa.fr/vertecs/Publis/Ps/2004-ESOP.pdf
%8 February
%D 2004