Dataset Viewer
Auto-converted to Parquet Duplicate
The dataset viewer is taking too long to fetch the data. Try to refresh this page.
Server-side error
Error code:   ClientConnectionError

Coq-CompCert

A structured dataset of formalizations from CompCert, the verified C compiler.

Source

Schema

Column Type Description
statement string Declaration signature/claim with the leading keyword removed (verbatim slice); the full declaration minus its proof
proof string Verbatim proof/body, empty if the declaration has none
type string Declaration keyword
symbolic_name string Declaration identifier
library string Sub-library
filename string Repository-relative source path
imports list[string] File-level Require/Import modules
deps list[string] Intra-corpus identifiers referenced
docstring string Preceding documentation comment, empty if absent
source_url string Upstream repository
commit string Upstream commit extracted

Statistics

  • Entries: 11,014
  • With proof: 10,392 (94.4%)
  • With docstring: 2,240 (20.3%)
  • Libraries: 14

By type

Type Count
Lemma 4,173
Definition 3,043
Theorem 1,252
Inductive 534
Remark 490
Fixpoint 347
Axiom 268
Hypothesis 206
Parameter 134
Ltac 116
Record 84
Notation 78
Instance 68
Let 59
Corollary 46
Function 40
Scheme 17
CoInductive 17
Coercion 13
Proposition 13
Class 11
CoFixpoint 2
Structure 1
Canonical 1
Parameters 1

Example

splitlong_ptr32: splitlong = true -> ptr64 = false.
Proof.
  unfold splitlong, ptr64; congruence.
Qed.
  • type: Lemma | symbolic_name: splitlong_ptr32 | aarch64/Archi.v

Use

Each declaration is split into a statement (signature/claim) and a proof (body) that are disjoint and together form the complete declaration, for proof modeling, autoformalization, retrieval, and dependency analysis via deps.

Citation

@misc{coq_compcert_dataset,
  title  = {Coq-CompCert},
  author = {Norton, Charles},
  year   = {2026},
  note   = {Extracted from https://github.com/AbsInt/CompCert, commit 0ef26dad7644},
  url    = {https://huggingface.co/datasets/phanerozoic/Coq-CompCert}
}
Downloads last month
31

Collection including phanerozoic/Coq-CompCert