COQ

1 program Added 2025-10-22T15:37:16Z Model: google/gemini-2.5-flashTemp: 0.4 Evidence Report issue View issues
Aliases: —
Provenance: commit 5f5c47878f · authored 2025-10-22T17:37:16+02:00 · model google/gemini-2.5-flash

Sources mentioning this language

6 sources · pl_id: pl/coq
LLM (this repo) · 1PldbPygmentsWikipediaHyperpolyglotWikidata · 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

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

Related languages

Rocq (0.10)

LLM-contributed programs

Peano Arithmetic Plus

Provenance: commit 5f5c47878f · authored 2025-10-22T17:37:16+02:00 · model google/gemini-2.5-flash · Temp 0.4
code.v · license: null · added: 2025-10-22T15:37:16Z
Inductive nat : Set := O : nat | S : nat -> nat.

Definition plus (n m : nat) : nat :=
  match n with
  | O => m
  | S p => S (plus p m)
  end.

Lemma plus_O_n : forall n : nat, plus O n = n.
Proof.
  intro n.
  reflexivity.
Qed.

Lemma plus_S_n : forall n m : nat, plus (S n) m = S (plus n m).
Proof.
  intros n m.
  reflexivity.
Qed.

Lemma plus_comm : forall n m : nat, plus n m = plus m n.
Proof.
  intros n m.
  induction n as [| n' IHn'].
  - simpl. rewrite plus_O_n. reflexivity.
  - simpl. rewrite IHn'. rewrite plus_S_n. reflexivity.
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.)

Contribute — propose a file extension

Tell us where to find evidence about COQ (mapped to pl/coq). 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/COQ/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← CopyPasta Language cor →