Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,27 +1,66 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
-
|
| 15 |
-
dtype: string
|
| 16 |
-
splits:
|
| 17 |
-
- name: train
|
| 18 |
-
num_bytes: 682925
|
| 19 |
-
num_examples: 2364
|
| 20 |
-
download_size: 150884
|
| 21 |
-
dataset_size: 682925
|
| 22 |
-
configs:
|
| 23 |
-
- config_name: default
|
| 24 |
-
data_files:
|
| 25 |
-
- split: train
|
| 26 |
-
path: data/train-*
|
| 27 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: lgpl-2.1
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
- feature-extraction
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- theorem-proving
|
| 10 |
+
- formal-methods
|
| 11 |
+
- coq
|
| 12 |
+
- standard-library
|
| 13 |
+
size_categories:
|
| 14 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
# Coq-Stdlib
|
| 18 |
+
|
| 19 |
+
Structured dataset of definitions and theorems from the Coq standard library.
|
| 20 |
+
|
| 21 |
+
## Dataset Description
|
| 22 |
+
|
| 23 |
+
- **Source:** [coq/coq/theories](https://github.com/coq/coq/tree/master/theories)
|
| 24 |
+
- **Entries:** 2,364
|
| 25 |
+
- **Files processed:** 106
|
| 26 |
+
- **License:** LGPL-2.1 (matches Coq)
|
| 27 |
+
|
| 28 |
+
## Schema
|
| 29 |
+
|
| 30 |
+
| Column | Type | Description |
|
| 31 |
+
|--------|------|-------------|
|
| 32 |
+
| fact | string | Declaration body (without type keyword) |
|
| 33 |
+
| type | string | Definition, Lemma, Theorem, Fixpoint, Inductive, Class, Instance, Ltac, Ltac2, etc. |
|
| 34 |
+
| library | string | Top-level module (Corelib, Ltac2) |
|
| 35 |
+
| imports | list | Require/Import statements |
|
| 36 |
+
| filename | string | Source file path |
|
| 37 |
+
| symbolic_name | string | Declaration identifier |
|
| 38 |
+
|
| 39 |
+
## Statistics
|
| 40 |
+
|
| 41 |
+
### By Type
|
| 42 |
+
| Type | Count |
|
| 43 |
+
|------|-------|
|
| 44 |
+
| Definition | 688 |
|
| 45 |
+
| Lemma | 553 |
|
| 46 |
+
| Ltac2 | 550 |
|
| 47 |
+
| Ltac | 124 |
|
| 48 |
+
| Fixpoint | 75 |
|
| 49 |
+
| Axiom | 74 |
|
| 50 |
+
| Theorem | 62 |
|
| 51 |
+
| Class | 48 |
|
| 52 |
+
| Inductive | 48 |
|
| 53 |
+
| Instance | 45 |
|
| 54 |
+
|
| 55 |
+
## Use Cases
|
| 56 |
+
|
| 57 |
+
- Retrieval/RAG for Coq
|
| 58 |
+
- Learning Coq standard library patterns
|
| 59 |
+
- Training embeddings for formal proofs
|
| 60 |
+
- Documentation exploration
|
| 61 |
+
|
| 62 |
+
## Related Datasets
|
| 63 |
+
|
| 64 |
+
- [Coq-HoTT](https://huggingface.co/datasets/phanerozoic/Coq-HoTT)
|
| 65 |
+
- [Coq-UniMath](https://huggingface.co/datasets/phanerozoic/Coq-UniMath)
|
| 66 |
+
- [Coq-MetaCoq](https://huggingface.co/datasets/phanerozoic/Coq-MetaCoq)
|