Rocq Prover
An open-source interactive theorem prover and dependently-typed programming language for machine-checked proofs and verified software.
At a Glance
Open-source interactive theorem prover released under LGPL-2.1, free to use, copy, modify and distribute under the license terms.
Engagement
Available On
Listed Dec 2026
About Rocq Prover
The Rocq Prover, formerly known as the Coq Proof Assistant, is an interactive theorem prover developed by the Rocq Team and a wider open-source community. It provides a formal language for writing mathematical definitions, executable algorithms and theorems, together with an environment for semi-interactive development of machine-checked proofs. The latest release listed on the project site is Rocq 9.3.0.
What It Is
Rocq implements a specification and mathematical language called Gallina, based on the Polymorphic, Cumulative Calculus of Inductive Constructions, which combines a higher-order logic with a richly-typed functional programming language. Through a vernacular command language, users define data structures, functions and predicates, state theorems and software specifications, and interactively develop proofs. A relatively small certification kernel machine-checks the proofs. The prover is written in OCaml and distributed under the LGPL 2.1.
Proof Workflow and Program Extraction
Users write definitions and lemmas, then build proofs with tactics. A tactic language lets users define their own proof methods, and decision and semi-decision procedures are included. Certified programs can be extracted to OCaml, Haskell or Scheme. The site shows a factorial function being defined, proved positive by induction, and extracted to OCaml.
Ecosystem and Distribution
The Rocq Platform bundles the prover with a curated set of libraries and plugins, using opam-based install scripts for macOS, Windows and many Linux distributions, plus pre-compiled installers for macOS and Windows. Packages are organised into base, IDE, full, optional and extended levels. The site lists libraries such as Mathematical Components, Iris, Flocq, MetaRocq, CompCert and the Verified Software Toolchain. Documentation includes a reference manual, standard library docs, an OCaml API reference and recommended books such as Software Foundations.
Applications
The site describes uses ranging from verified software and compilers to formalised mathematics, homotopy type theory and teaching. It states that Rocq received the ACM Software System Award, awarded in 2013 when it was known as Coq.
Collections
Popular collections
- Let Your Agents Talk to Each Other
Collection by @leftchannel
- See What Your Agent Is Doing remix
Collection by @joemseifi
- Let Your AI Read the Document, Not Just the Words
Collection by @priyashah
- Local-First Databases
Collection by @joemseifi
Add Rocq Prover to one of your collections.
Community Discussions
Be the first to start a conversation about Rocq Prover
Share your experience with Rocq Prover, ask questions, or help others learn from your insights.
Pricing
Rocq Prover (Open Source)
Open-source interactive theorem prover released under LGPL-2.1, free to use, copy, modify and distribute under the license terms.
- Licensed under GNU Lesser General Public License v2.1 (LGPL-2.1)
- Public source code on GitHub
- Interactive theorem prover and dependently-typed programming language
- Extraction of executable programs as OCaml or Haskell
Capabilities
Key Features
- Interactive theorem proving with a tactic language
- Gallina specification and programming language
- Small proof-checking kernel
- Program extraction to OCaml, Haskell and Scheme
- Ltac2 and user-definable notation, coercion and typeclass systems
- Rocq Platform distribution with curated libraries and plugins
- Package ecosystem via opam
- Reference manual and standard library documentation
