Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Lean4-Paperproof

Structured dataset from Paperproof — Visual proof assistant.

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: 150
  • With proof: 135 (90.0%)
  • With docstring: 9 (6.0%)
  • Libraries: 7

By type

Type Count
theorem 90
def 41
structure 11
inductive 5
elab 3

Example

simple_ex (n m : ℕ)
  (h1 : ∀ {a b : Nat}, a + b = b + a)
  (h2 : ∀ {a b : Nat}, a = b + b):
    n + m = m + n
by
  simp [h1, h2]
  • type: theorem | symbolic_name: simple_ex | Examples.lean

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{lean4_paperproof_dataset,
  title  = {Lean4-Paperproof},
  author = {Norton, Charles},
  year   = {2026},
  note   = {Extracted from https://github.com/Paper-Proof/paperproof, commit c944afd12974},
  url    = {https://huggingface.co/datasets/phanerozoic/Lean4-Paperproof}
}
Downloads last month
22

Collection including phanerozoic/Lean4-Paperproof