Rocq

Rocq is a free interactive theorem prover and proof assistant for developing mathematical proofs, formal specifications and programs, including proofs that programs satisfy specifications. It uses Gallina, a high-level language for mathematics and specification based on the Polymorphic, Cumulative Calculus of Inductive Constructions. Proofs are checked by a relatively small certification kernel. Rocq offers interactive proof methods, decision and semi-decision algorithms, and a tactic language for defining methods. It can extract certified programs to OCaml, Haskell or Scheme and connect with external computer algebra systems or theorem provers. The Rocq Platform distributes the core prover with libraries and plugins; its scripts install Rocq and packages on macOS, Windows and many Linux distributions. Precompiled installers are available for macOS and Windows, but there is no Rocq Platform binary installer for Linux. Editor options include the VsRocq extension for Visual Studio Code, as well as RocqIDE, Proof General and Coqtail. Rocq is written in OCaml and distributed under the GNU Lesser General Public Licence Version 2.1.

Who it is for

Rocq suits people developing or teaching formal proofs, specifications or programs in mathematics, computer science and related areas. Its editor integrations and installation options may help users choose a workflow suited to their operating system.

What is good

  • Checks proofs with a certification kernel.
  • Can extract programs to OCaml, Haskell or Scheme.
  • Offers interactive methods and a tactic language.
  • Platform bundles the prover with libraries and plugins.
  • Free under the GNU Lesser General Public Licence Version 2.1.

What to know first

  • No Rocq Platform binary installer for Linux.
  • Precompiled installers are listed only for macOS and Windows.
  • Requires work with formal proofs and specifications.

Verdict

Rocq provides proof checking, automation methods and certified program extraction within a language for mathematics and specification. Linux users should note that installation is script-based rather than through a Platform binary installer.

Rocq plans and pricing

All plans
Rocq Prover Free Interactive theorem prover and dependently typed programming language · distributed under GNU Lesser General Public Licence Version 2.1 (LGPL) rocq-prover.org · 2 Oct 2026

Compared on formal verification tools

Free plan
Yes
Verification method
deductive
Supported formalisms
theorem-proving
Proof artifacts
Yes
Input languages
Gallina and Rocq vernacular
Deployment
self-hosted

Best Rocq alternatives

See all 12