Skip to content
SPECIFICTION
Get listed

Rocq

rocq-prover.org

Free plan WebWindowsmacOSLinuxBrowser extension

What it is

Rocq is a free interactive theorem prover and proof assistant for building mathematical proofs, formal specifications and programs, including proofs that programs meet specifications. Its Gallina language supports specification and mathematical work and is based on the Polymorphic, Cumulative Calculus of Inductive Constructions. A relatively small certification kernel machine-checks proofs. Rocq also offers interactive proof methods, decision and semi-decision algorithms, and a tactic language for defining methods. Certified programs can be extracted to OCaml, Haskell or Scheme, and the system can connect with external computer algebra systems or theorem provers. The Rocq Platform bundles the core prover with libraries and plugins for development and teaching. Its scripts install Rocq and packages on macOS, Windows and many Linux distributions; precompiled installers are available for macOS and Windows, but not Linux. Editor options include the VsRocq Visual Studio Code extension, RocqIDE, Proof General and Coqtail. Rocq is written in OCaml and distributed under the GNU Lesser General Public Licence Version 2.1.

Spec sheet

What it does
Rocq is an interactive theorem prover for developing mathematical proofs and formal specifications, including proofs that programs meet their specifications.Read 2 Oct 2026 · rocq-prover.org
Purpose
Rocq Prover is an interactive theorem prover and proof assistant for developing mathematical proofs, formal specifications, programs and proofs that programs meet specifications.Read 1 Oct 2026 · rocq-prover.org
Intended users
The Rocq Platform is intended for developing and teaching with Rocq, and the site describes Rocq as used in mathematics, computer science, and related areas.Read 2 Oct 2026 · rocq-prover.org
Privacy
The website says it does not use cookies or collect personal data, while collecting aggregate anonymous usage data for statistics.Read 2 Oct 2026 · rocq-prover.org
Support
Users can report installation trouble or extension bugs in the dedicated Rocq Zulip stream.Read 2 Oct 2026 · rocq-prover.org
License
The Rocq Prover is distributed under the GNU Lesser General Public Licence Version 2.1 (LGPL).Read 2 Oct 2026 · rocq-prover.org
Founded
1984Read 23 Sep 2026 · rocq-prover.org
Code of conduct
Rocq states that its Code of Conduct covers privacy, language choices and unrelated discussions, with confidentiality maintained during reporting.Read 1 Oct 2026 · rocq-prover.org
Community support
Rocq provides Zulip chat, Discourse discussions and GitHub issue reporting for questions, announcements, bugs and feature requests.Read 1 Oct 2026 · rocq-prover.org
Docker
The Rocq Prover is available as a Docker image.Read 1 Oct 2026 · rocq-prover.org
Editor integrations
The official VsRocq extension supports Visual Studio Code; the site also documents RocqIDE, Emacs Proof General, and Vim or Neovim Coqtail.Read 2 Oct 2026 · rocq-prover.org
Editors and extensions
The official VsRocq extension supports Visual Studio Code, while Rocq LSP, VsCoq Legacy, Proof General, Coqtail and RocqIDE provide additional editor or IDE integrations.Read 1 Oct 2026 · rocq-prover.org
External connections
The Rocq Prover can connect with external computer algebra systems or theorem provers.Read 2 Oct 2026 · rocq-prover.org
History
The project started in 1984 at INRIA-Rocquencourt and more than 200 people have contributed to its development.Read 1 Oct 2026 · rocq-prover.org
Implementation and license
Rocq is written in OCaml and distributed under the GNU Lesser General Public Licence Version 2.1.Read 1 Oct 2026 · rocq-prover.org
Language
Rocq implements Gallina, a high-level specification and mathematical language based on the Polymorphic, Cumulative Calculus of Inductive Constructions.Read 1 Oct 2026 · rocq-prover.org
Linux installer limit
There is currently no Rocq Platform binary installer for Linux.Read 1 Oct 2026 · rocq-prover.org
Platform distribution
The Rocq Platform distributes the core prover together with libraries and plugins, aiming to be operating-system independent, dependable, easy to install and comprehensive.Read 1 Oct 2026 · rocq-prover.org
Platform limitation
The site says there is no longer a Rocq Platform binary installer for Linux; its scripts install Rocq and packages from sources.Read 2 Oct 2026 · rocq-prover.org
Program extraction
Rocq can extract executable programs from specifications to OCaml, Haskell, or Scheme.Read 2 Oct 2026 · rocq-prover.org
Proof automation
Rocq provides interactive proof methods, decision and semi-decision algorithms, and a tactic language for defining proof methods.Read 1 Oct 2026 · rocq-prover.org
Proof checking
Rocq machine-checks proofs using a relatively small certification kernel.Read 2 Oct 2026 · rocq-prover.org
Supported operating systems
Platform scripts install Rocq and its packages on macOS, Windows and many Linux distributions; precompiled installers are provided for macOS and Windows.Read 1 Oct 2026 · rocq-prover.org
Supported systems
The Rocq Platform provides installation support for Windows, macOS, and many Linux distributions.Read 2 Oct 2026 · rocq-prover.org
Verification
The site describes Rocq's well-delimited kernel and OCaml implementation as providing strong guarantees for mechanised artifacts.Read 2 Oct 2026 · rocq-prover.org

Plans and prices

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

Every Rocq plan and price →

Strong points and limits

Strong points

  • Machine-checks proofs with a relatively small kernel.
  • Extracts certified programs to OCaml, Haskell or Scheme.
  • Includes interactive methods and a tactic language.
  • Free under the GNU Lesser General Public Licence Version 2.1.
  • Available as a Docker image.

Limits

  • No Rocq Platform binary installer for Linux.
  • Linux installation scripts install packages from source.
  • No free trial is listed.

Who it suits

Rocq suits people developing or teaching formal proofs and specifications in mathematics, computer science and related areas. It is also relevant to programmers verifying that programs satisfy specifications.

Rocq in depth

Read the full write-up

Rocq is a proof assistant for formal mathematics and software specifications, best suited to researchers, educators and developers prepared to work with machine-checked proofs. Its small certification kernel and program extraction make it a serious choice when correctness matters more than a conventional development workflow.

Overview

Rocq brings mathematical reasoning and software verification into one environment: users express definitions and specifications in Gallina, then construct proofs that the kernel checks. That relatively small checking core is a meaningful strength for teams that need confidence in mechanised artifacts, though proof development itself calls for specialist knowledge rather than ordinary application-development skills.

The project dates to 1984 and has had more than 200 contributors. It is implemented in OCaml, distributed under the GNU Lesser General Public Licence Version 2.1, and deployed self-hosted rather than as a hosted service.

Key features

Proof development and automation: Interactive methods, decision and semi-decision algorithms, and a tactic language let users build and define proof procedures. This flexibility suits varied formal reasoning tasks, but it does not remove the need to understand the underlying mathematics and proof process.

Certified program extraction: Rocq can extract programs to OCaml, Haskell or Scheme, linking proof work to executable code in those languages.

Connections to other tools: Integrations with external computer algebra systems and theorem provers can complement Rocq in workflows that use more than one formal tool.

Editor choices: The official VsRocq extension supports Visual Studio Code; Rocq LSP, VsCoq Legacy, Proof General, Coqtail and RocqIDE provide other editor or IDE options. This range offers flexibility, while users should choose an integration suited to their editor and setup.

Pricing

Rocq Prover costs nothing, with no free-trial distinction to weigh against a paid tier. The free plan includes the interactive theorem prover and dependently typed programming language under the LGPL Version 2.1. There are no cheaper plans with reduced features or paid upgrades to compare; the main commitment is running and maintaining the self-hosted toolchain.

Platforms

The Rocq Platform bundles the core prover with libraries and plugins, aiming to provide a dependable, comprehensive, operating-system-independent installation. Its scripts install Rocq and packages on macOS, Windows and many Linux distributions, and precompiled installers are provided for macOS and Windows. Linux users can install through scripts, but there is no Rocq Platform binary installer for Linux, making setup less direct for those who prefer a packaged installer.

Rocq is also available as a Docker image. For editing, the official VsRocq extension supports Visual Studio Code, with additional integrations including RocqIDE, Proof General, Coqtail, Rocq LSP and VsCoq Legacy.

Who it's for

Rocq is aimed at people developing or teaching formal proofs, especially in mathematics and computer science, and at software developers who need to specify programs and prove they meet those specifications. It is a strong fit when machine-checked correctness and the ability to extract certified code are central requirements. It is not the natural choice for someone seeking a conventional, turnkey app-development environment or a hosted service.

Pros and cons

Pro: A relatively small certification kernel checks proofs, supporting strong guarantees for mechanised work.

Pro: The same environment supports mathematical proofs, formal specifications and extraction to three programming languages.

Pro: The free LGPL release and broad editor integrations make it usable across varied self-hosted setups.

Con: Linux has no binary Platform installer, so installation relies on scripts rather than a precompiled package.

Con: Rocq is a specialist proof environment; its flexibility comes with the need to learn Gallina and proof-development methods.

Con: Self-hosted deployment means users manage their own installation and environment.

Alternatives

For other formal verification tools, browse Formal Verification Tools. Consider PVS if you want a free option for noncommercial use; commercial use has custom pricing, and its Allegro runtime requires accepting a click-through license. Z3 may suit readers seeking a free, MIT-licensed tool with Android, API, web and self-hosted platform options. Choose HOL4 for a free tool under the Modified (3-clause) BSD licence, or Alloy Analyzer for a free, self-contained executable.

NuSMV is another free, LGPL v2.1 option. UPPAAL offers a free academic license for eligible non-commercial academic use. CBMC is free open-source software under the 4-clause BSD license, while Isabelle is free under open-source licenses with its main code-base subject to BSD-style regulations.

Verdict

Choose Rocq if your work calls for machine-checked mathematical proofs or verified program specifications, particularly when extracting certified code is useful. Its small kernel, flexible proof methods and free LGPL distribution make a compelling combination; look elsewhere if you need a hosted service or a precompiled Linux Platform installer.

Verdict

Rocq provides proof construction, checking and program extraction within a free, open-source toolchain. Linux users can install through platform scripts, but there is no Linux binary installer.

Where Specifiction places it

Alternatives to RocqAll alternatives →