Datasets:
docs: make dataset card general
Browse files12 unmodified lines13141516171819202116171816 unmodified lines35363744453839404157 unmodified lines9910010110911011111211311411511611711811912012112212312410210310410510610710813 unmodified lines12212312414414514614714814915015115215315415515615715815916016116216316416516616716816917017117212512612712 unmodified lines
# LeanTransitionCorpus
> **Status: incremental extraction is substantially complete.** The four pinned> source streams have reached their declared ends and verified shards are> published. One Mathlib batch (`mathlib/001787`) is quarantined for a repair> and is not included in the clean splits; the corpus should be treated as> incomplete until that batch is resolved.
LeanTransitionCorpus is a dataset for training and studying automated theoremproving systems in Lean. Its unit of data is one tactic transition: the proof statebefore a tactic, the tactic that was executed, and the resulting state. This makes16 unmodified lines
The extraction pipeline draws from pinned snapshots of the following Lean sources.Rows identify their origin in `source_dataset`, `source_url`, `repo_commit`, andtoolchain columns. Coverage is incremental: a source listed here may have lesspublished coverage than another at any point in time.toolchain columns.
| Source | Role in the corpus ||---|---|57 unmodified lineswith `json.loads` when you need their tree structure; leave them as strings fortext-only training baselines.
Each shard is round-trip compared against every original JSON row before upload.Remote bytes are streamed back and checked for SHA-256 and size at a pinned commit.`manifests/batches/` records verified shard hashes/revisions, original batchfingerprints, extraction evidence, and retained proof IDs plus provenance-based proof keys. A batch manifest existsonly after all of its split shards are verified. Failed attempts are described inbatch evidence and must not be mistaken for successfully extracted proofs.
Quarantine artifacts, when present under `data/quarantine/`, are excluded from thedefault configuration. They are archival evidence, not clean training examples.Splits are inherited from the frozen extractor, not recomputed by the publisher.Replay status is recorded per row; publication does not imply replay verification.
Frozen extraction inputs under `sources/` are also excluded from the defaultconfiguration. They allow scratch-only workers to range-read deterministic chunkswhen an original upstream revision is no longer available. Their paths, immutablerevisions, sizes, and SHA-256 digests are recorded by the extraction runner.Each shard is round-trip checked against its source records before publication,and uploaded bytes are verified at an immutable Hugging Face revision. Splitassignments and provenance are retained so experiments can be reproduced andresults can be traced back to their source theorem and environment.
## Read
13 unmodified lines
Use an immutable revision for experiments. The repository grows over time.
## Published coverage and local seed snapshot
The current published repository contains verified Parquet shards from theNuminaMath-CoT, DeepSeek-Prover, Goedel Lean Workbook, and pinned Mathlibstreams. The extraction runner processed approximately 172,000 source proofsacross its completed production runs. Exact transition-row and token counts arenot fixed in this incremental repository: they should be read from the Parquetfiles at the immutable revision used by an experiment. The final Mathlib retrywill add only the repaired batch and will not rewrite existing shards.
The following is the historical local seed snapshot, retained for provenance;it is not a count of the full published repository.
The imported seed contains 285 completed Numina batches: 1,425 attempted proofs,1,378 extracted proofs, and 1,374 source-distinct proofs retained as 13,105transition rows. Four extracted proofs failed internal-state validation duringcanonicalization; the batch evidence records these exclusions.
| Split | Transition rows | Source-distinct proofs ||---|---:|---:|| train | 11,182 | 1,159 || dev | 654 | 65 || internal_test | 1,269 | 150 |
No quarantine transition rows are present in this seed. All transition rows have`replay_status=not_run`. The local audit found no duplicate provenance-basedtransition keys or theorem-fingerprint conflicts across splits. These checks donot constitute independent Lean replay validation.
## Identity
`example_id` is globally unique and deterministic. `proof_id` retains the sourceREADME.md+5-53