# rocq-prover/rocq

The Rocq Prover is an interactive theorem prover, or proof assistant. It provides a formal language to write mathematical definitions, executable algorithms and theorems together with an environment for semi-interactive development of machine-checked proofs.

Repository: https://github.com/rocq-prover/rocq
Canonical: https://ross.abutalabs.com/products/rocq
Homepage: https://rocq-prover.org
Language: OCaml
License: LGPL-2.1
License Family: copyleft
Topics: proof-assistant, coq, theorem-proving, dependent-types
Last push: 2026-08-26T19:45:47+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 53, longevity 100
- inputs: {"age_days": 5676, "days_push": 7, "days_rel": 159, "gap_med": 94.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5556, forks 755 (observed 2026-08-28T04:09:22.334176+00:00)

## What it is
The Rocq Prover (formerly Coq) is an interactive theorem prover and proof assistant based on the Calculus of Inductive Constructions, providing a formal language (Gallina) for writing mathematical definitions, executable algorithms, and machine-checked proofs. It also serves as a dependently-typed programming language that can extract certified programs to OCaml, Haskell, or Scheme.

## Use cases
- formally verify that programs comply with their specifications
- mechanize mathematical proofs with machine-checked correctness
- write dependently-typed programs and extract them to OCaml or Haskell
- learn type theory and formal methods with Software Foundations
- formalize mathematics at scale with high-level notations
- define custom proof tactics and decision procedures
- verify compiler or protocol correctness in research and industry

## When to choose
- you need machine-checked proofs of mathematical theorems or software correctness
- you want a mature, industrial-strength proof assistant with 40+ years of development
- you need certified program extraction to OCaml, Haskell, or Scheme
- you are teaching or learning formal verification and programming language theory

## When to avoid
- you need an automated SMT solver rather than interactive proof development
- you want a general-purpose programming language without proof obligations
- you need lightweight runtime verification rather than heavyweight formal proof
- your team has no capacity to learn a steep, tactic-based proof workflow

## Facets
- artifact type: application
- maturity: stable
- function: interpreter, programming-language, developer-tools
- domain: mathematics, education, programming-languages, compilers
- platform: windows, cross-platform
- tags: proof-assistant, theorem-proving, dependent-types, formal-verification, coq, gallina, machine-checked-proofs, program-extraction, algorithms, linux, macos

## Member repositories
- rocq-prover/rocq (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:22.334176+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:55:39.192665+00:00, confidence not recorded.
  - readme: https://github.com/rocq-prover/rocq (fetched 2026-08-28T04:09:22.334176+00:00, sha e01d0d6794b5)
  - homepage: https://rocq-prover.org (fetched 2026-08-29T08:50:59.201995+00:00, sha 4569831bdc80)
  - site_page: https://rocq-prover.org/docs (fetched 2026-08-29T08:50:59.211810+00:00, sha d19673a292de)
  - site_page: https://rocq-prover.org/install (fetched 2026-08-29T08:50:59.215713+00:00, sha 19d8a8823049)
  - site_page: https://rocq-prover.org/about (fetched 2026-08-29T08:50:59.217962+00:00, sha 27d6a148b972)
  - site_page: https://rocq-prover.org/changelog (fetched 2026-08-29T08:50:59.213921+00:00, sha 0a4ac30b5af0)
  - site_page: https://rocq-prover.org/releases/9.2.0 (fetched 2026-08-29T08:50:59.219774+00:00, sha 6048c8d9a5a8)
  - site_page: https://rocq-prover.org/releases/2026.07.0 (fetched 2026-08-29T08:50:59.221411+00:00, sha fdc3bad65dfd)
  - site_page: https://rocq-prover.org/releases/2025.08.3 (fetched 2026-08-29T08:50:59.222927+00:00, sha 600ad7e3cfab)
  - site_page: https://rocq-prover.org/releases (fetched 2026-08-29T08:50:59.224296+00:00, sha 2151ee31e561)
- Data as of 2026-08-30T08:39:29.467469+00:00.
