Rocq
rocq-prover.org
- Free plan
- Windows
- macOS
- Linux
- Web
- Browser extension
What Rocq is
Rocq is a free interactive theorem prover and proof assistant for developing mathematical proofs, formal specifications, and programs, including proofs that programs satisfy their specifications. It uses Gallina, a high-level language for specification and mathematics based on the Polymorphic, Cumulative Calculus of Inductive Constructions. A relatively small certification kernel machine-checks proofs, while interactive proof methods, decision and semi-decision algorithms, and a tactic language support proof development. Rocq can extract certified programs to OCaml, Haskell, or Scheme and connect with external computer algebra systems or theorem provers. The Rocq Platform bundles the core prover with libraries and plugins for development and teaching in mathematics, computer science, and related areas. Installation scripts support Windows, macOS, and many Linux distributions; precompiled installers are available for Windows and macOS, and Rocq is also distributed as a Docker image. Linux has no Rocq Platform binary installer, so installation scripts build Rocq and packages from sources. Editor options include VsRocq for Visual Studio Code, RocqIDE, Proof General, and Coqtail. Rocq is written in OCaml and distributed under the GNU Lesser General Public Licence Version 2.1.
Who it suits
Rocq suits people developing or teaching formal proofs, specifications, and verified programs, including in mathematics and computer science. Users on Linux should be comfortable installing through scripts rather than a binary platform installer.
Good to know, and what to watch
- Machine-checks proofs with a relatively small kernel
- Can extract programs to OCaml, Haskell, or Scheme
- Connects with external theorem provers and computer algebra systems
- Editor integrations include Visual Studio Code and RocqIDE
- Free and distributed under the LGPL Version 2.1
- No Rocq Platform binary installer for Linux
- Linux scripts install Rocq and packages from sources
- Precompiled installers are listed only for Windows and macOS
Plans
Every plan and priceRocq Prover
Free plan
Getting started
- Open the Rocq Prover website
- Install a precompiled package on Windows or macOS
- Use Rocq Platform scripts on a supported Linux distribution
- Add the VsRocq Visual Studio Code extension or another documented editor integration
- Run Rocq through its Docker image if that deployment suits you
Limits to check
Rocq is free under the GNU Lesser General Public Licence Version 2.1. The Rocq Platform has no binary installer for Linux; its scripts install Rocq and packages from sources.
The Club's review
Overview
Rocq is a proof assistant for formal mathematics and software specifications, best suited to people who need machine-checked proofs or certified program extraction. Its small certification kernel is a compelling basis for that work; the trade-off is a source-based Linux installation through the Rocq Platform.
Work is expressed in Gallina, a language for mathematical and specification development. Rocq checks proofs with its certification kernel and can extract programs to OCaml, Haskell, or Scheme. It is written in OCaml and distributed under the GNU Lesser General Public Licence Version 2.1.
Key features
- Interactive proof development: Interactive methods, decision and semi-decision algorithms, and a tactic language support different approaches to constructing proofs. This flexibility suits formal work, but the tool is aimed at users prepared to work directly with proofs and specifications.
- Machine-checked artifacts: Proofs are checked by a relatively small kernel. The site describes the well-delimited kernel and OCaml implementation as providing strong guarantees for mechanised artifacts.
- Certified program extraction: Rocq extracts programs to OCaml, Haskell, or Scheme, making it relevant when a proof-development workflow also needs executable output.
- External connections: Connections to computer algebra systems and other theorem provers can support workflows that use more than one formal tool.
- Editor integrations: The official VsRocq extension supports Visual Studio Code. Rocq LSP, VsCoq Legacy, Proof General, Coqtail, and RocqIDE provide additional editor or IDE options.
Pricing
Rocq Prover costs free. The free plan includes an interactive theorem prover and dependently typed programming language under the LGPL Version 2.1. There is no free trial; with the product already free, there is no paid plan or trial period to weigh. The license makes Rocq a practical option for both individual study and formal development where an open-licensed toolchain is appropriate.
Platforms
Rocq is self-hosted, with Platform installation support for Windows, macOS, and many Linux distributions. Precompiled installers are provided for Windows and macOS, while Linux users install Rocq and its packages from source through Platform scripts; there is no Rocq Platform binary installer for Linux. That extra setup makes Linux a less convenient starting point for users who want a prebuilt installer. Rocq is also available as a Docker image.
For editing, users can work through the official Visual Studio Code extension or choose among the other documented integrations. Community support is available through Zulip, Discourse, and GitHub issue reporting.
Who it's for
Rocq is a strong fit for people in mathematics, computer science, and related fields who need to develop formal proofs, specify programs, or verify that programs meet specifications. It also suits teaching and development workflows that benefit from the Rocq Platform's combination of the core prover, libraries, and plugins. It is less suitable for someone seeking a hosted, turnkey proof service: Rocq is self-hosted, and Linux installation requires building from sources.
Pros and cons
- Pro: A relatively small kernel checks proofs, making machine-checked artifacts central to the workflow.
- Pro: Proof development can lead to extracted programs in OCaml, Haskell, or Scheme.
- Pro: The free LGPL-licensed toolchain includes editor integrations and a Docker image.
- Con: Linux users do not get a Platform binary installer and must use source-based installation.
- Con: Rocq's focus on proofs, specifications, and dependently typed programming is specialized rather than a general-purpose software development workflow.
Alternatives
PVS is another free theorem-proving option for Linux, macOS, and Windows; its noncommercial plan is free, while commercial users need custom pricing.
UPPAAL may suit eligible academic users looking for a free academic license; it is a freemium tool for Linux, macOS, and Windows.
Alloy Analyzer is a free, open-source alternative with a self-contained executable for Linux, macOS, and Windows.
HOL4 is a free alternative under the Modified (3-clause) BSD licence, available for Linux, macOS, Windows, and self-hosted use.
NuSMV is a free, open-source LGPL v2.1 option for Linux, macOS, and Windows.
Z3 is a free, MIT-licensed alternative with downloads and source code, including web, API, and self-hosted platforms.
CBMC is a free, open-source alternative under the 4-clause BSD licence, available for Linux, macOS, Windows, and self-hosted use.
Isabelle is distributed for free under open-source licenses, with its main code-base subject to BSD-style regulations.
Browse more options in Formal Verification Tools.
Verdict
Choose Rocq if your work depends on machine-checked mathematical proofs, formal specifications, or extracting certified programs, and you want a free, open-licensed toolchain. Its kernel and proof-to-program workflow are the main reasons to choose it; look elsewhere if you need a hosted service or a ready-made Linux binary installer.
The verdict
Rocq provides proof development, checking, and program extraction in a free, open-licensed toolchain. Linux users should account for source-based installation, while Windows and macOS users have precompiled installers.
Questions people ask
Is Rocq free?
Yes. The Rocq Prover plan is listed as free and is distributed under the GNU Lesser General Public Licence Version 2.1.
Which operating systems are supported?
Rocq Platform scripts support Windows, macOS and many Linux distributions. Precompiled installers are provided for Windows and macOS.
What language does Rocq use?
Rocq implements Gallina, a high-level specification and mathematical language based on the Polymorphic, Cumulative Calculus of Inductive Constructions.
Which editors can integrate with Rocq?
The official VsRocq extension supports Visual Studio Code. RocqIDE, Proof General and Coqtail are also documented integrations.
Can Rocq extract programs?
Yes. Rocq can extract certified programs to OCaml, Haskell or Scheme.
Where is Rocq deployed?
Rocq is self-hosted and is also available as a Docker image.
What the maker publishes
- Code of conduct
- Rocq states that its Code of Conduct covers privacy, language choices and unrelated discussions, with confidentiality maintained during reporting. source
- Community support
- Rocq provides Zulip chat, Discourse discussions and GitHub issue reporting for questions, announcements, bugs and feature requests. source
- Docker
- The Rocq Prover is available as a Docker image. source
- Editor integrations
- The official VsRocq extension supports Visual Studio Code; the site also documents RocqIDE, Emacs Proof General, and Vim or Neovim Coqtail. source
- 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. source
- External connections
- Rocq supports connections with external computer algebra systems or theorem provers. source
- External connections
- The Rocq Prover can connect with external computer algebra systems or theorem provers. source
- Founded
- 1984 source
- History
- The project started in 1984 at INRIA-Rocquencourt and more than 200 people have contributed to its development. source
- Implementation and license
- Rocq is written in OCaml and distributed under the GNU Lesser General Public Licence Version 2.1. source
- 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. source
- Language
- Rocq implements Gallina, a high-level specification and mathematical language based on the Polymorphic, Cumulative Calculus of Inductive Constructions. source
- License
- The Rocq Prover is distributed under the GNU Lesser General Public Licence Version 2.1 (LGPL). source
- Linux installer limit
- There is currently no Rocq Platform binary installer for Linux. source
- 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. source
- Platform limitation
- The site says there is no longer a Rocq Platform binary installer for Linux; its scripts install Rocq and packages from sources. source
- Privacy
- The website says it does not use cookies or collect personal data, while collecting aggregate anonymous usage data for statistics. source
- Program extraction
- Rocq can extract certified programs to OCaml, Haskell or Scheme. source
- Program extraction
- Rocq can extract executable programs from specifications to OCaml, Haskell, or Scheme. source
- Proof automation
- Rocq provides interactive proof methods, decision and semi-decision algorithms, and a tactic language for defining proof methods. source
- Proof checking
- Rocq machine-checks proofs with a relatively small certification kernel. source
- Proof checking
- Rocq machine-checks proofs using a relatively small certification kernel. source
- Purpose
- Rocq Prover is an interactive theorem prover and proof assistant for developing mathematical proofs, formal specifications, programs and proofs that programs meet specifications. source
- Support
- Users can report installation trouble or extension bugs in the dedicated Rocq Zulip stream. source
Checked against the maker's pages on 2 Oct 2026.