SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Coq

Coq is an interactive theorem prover, now renamed the Rocq Prover. The name Coq referred to the Calculus of Constructions and to Thierry Coquand. The new name honours Inria Rocquencourt, where the system was developed 1.

Users define data types, functions and predicates in the Gallina specification language. Gallina is built on a typed calculus that combines higher-order logic with functional programming. Users then state theorems and software specifications and build proofs interactively with extensible tactics. Proofs are checked by a small trusted core, and verified programs can be extracted to OCaml, Haskell or Scheme 1.

CompCert is a formally verified compiler for almost all of ISO C 2011, led by Xavier Leroy. It targets ARM, PowerPC, RISC-V and x86 and comes with a machine-checked proof that the generated code behaves as the source semantics prescribe. Its project page states that it is developed with Coq, with releases tracking Coq versions. Since version 3.5 the Coq development can be rechecked in full with coqchk. Recent releases target the Rocq prover 2.

Source · About Coq (The Rocq Prover) (opens in a new tab) · The Rocq Prover project

References

  1. About Coq (The Rocq Prover) (opens in a new tab) · The Rocq Prover project ↩ ↩
  2. The CompCert verified compiler (opens in a new tab) · CompCert project (Xavier Leroy et al.) ↩

Research articles

See what connects to it on the map of ideas →

See also