CertiCoq

A verified compiler for Coq

CertiCoq blank

Overview

CertiCoq is a compiler for Gallina, the specification language of the Coq proof assistant. CertiCoq targets Clight, a subset of the C language that can be compiled with any C compiler, including the CompCert verified compiler.

The goal of the CertiCoq project is to build an end-to-end verified compiler for Gallina, bridging the gap between formally verified source programs and their compiled executables.

Large parts of the CertiCoq compiler have been verified whereas others are in the process of being verified.

You can find CertiCoq’s souce code on GitHub. CertiCoq is part of the DeepSpec project.

Current Members

Andrew Appel, Yannick Forster, Anvay Grover, Joomy Korkut, John Li, Zoe Paraskevopoulou, Kathrin Stark, and Matthieu Sozeau.

Past Members and Contributors

Abhishek Anand, Greg Morrisett, Randy Pollack, Olivier Savary Belanger, Matthew Weaver

Documentation

The CertiCoq Wiki has instructions for using the CertiCoq plugin to compile Gallina to C and interfacing with the generated C code.

The Wiki also gives an overview of the compiler and its verification status.

Publications

Funding

The project has been supported by the National Science Foundation, grants CCF-1407790, CCF-1407794, CCF-2005545, and the CIFellows program.

License

CertiCoq is open source and distributed under the MIT license.

Bugs

We use github’s issue tracker to keep track of bugs and feature requests.