Rocq

1 program Added 2026-02-08T13:47:17Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Coq
Provenance: commit d238315413 · authored 2026-02-08T14:47:53+01:00 · agent claude-code · model sonnet

Sources mentioning this language

7 sources · pl_id: pl/rocq-prover
LLM (this repo) · 1LinguistPygmentsWikipediaHyperpolyglotRosettacodeWikidata · Q1131652

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Designed byINRIA · École Polytechnique · University of Paris-Sud · Paris Diderot University · CNRS · ENS Lyon
First appeared1989
LicenseLGPLv2.1
Homepagehttps://rocq-prover.org

Extensions claimed by this language

3 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.vlinguistprimary5.8M files
.vpygmentsprimary5.8M files
.coqlinguistsecondary954 files

Related languages

Rockstar (0.18)Groq (0.13)Robot (0.13)RapidQ (0.12)Rosette (0.12)

LLM-contributed programs

Factorial with Proof

Provenance: commit d238315413 · authored 2026-02-08T14:47:53+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.v · added: 2026-02-08T13:47:17Z
Require Import Coq.Arith.Arith.

Fixpoint factorial (n : nat) : nat :=
  match n with
  | O => 1
  | S n' => n * factorial n'
  end.

Theorem factorial_positive : forall n : nat,
  factorial n > 0.
Proof.
  intros n.
  induction n as [| n' IHn'].
  - simpl. omega.
  - simpl. apply Nat.mul_pos_pos.
    + omega.
    + exact IHn'.
Qed.

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Disambiguation rules

Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
RuleExtKindPredicates (truncated)
h/linguist/.v/0.vpredicates[{"kind": "any", "regexes": ["(?:^|\\s)(?:Proof|Qed)\\.(?:$|\\s)|(?:^|\\s)Require[ \\t]+(Import|Export)\\s"]}]

Contribute — propose a file extension

Tell us where to find evidence about Rocq (mapped to pl/rocq-prover). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Rocq/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Roco Roff →