Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10K - 100K
License:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,39 +1,50 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-sa-3.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- mathematics
|
| 9 |
+
- proof
|
| 10 |
+
- theorem-proving
|
| 11 |
+
size_categories:
|
| 12 |
+
- 10K<n<100K
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# ProofWiki Math Problems and Solutions
|
| 16 |
+
|
| 17 |
+
This dataset pairs theorem statements (**problems**) with their formal proofs (**solutions**) extracted from [ProofWiki](https://proofwiki.org/wiki/Main_Page).
|
| 18 |
+
|
| 19 |
+
## Fields
|
| 20 |
+
|
| 21 |
+
| Column | Description |
|
| 22 |
+
| --- | --- |
|
| 23 |
+
| `id` | Stable row identifier |
|
| 24 |
+
| `title` | Theorem title |
|
| 25 |
+
| `problem` | Theorem statement with wikilinks resolved |
|
| 26 |
+
| `solution` | Proof text with wikilinks resolved |
|
| 27 |
+
| `problem_wikitext` | Raw MediaWiki wikitext for the theorem |
|
| 28 |
+
| `solution_wikitext` | Raw MediaWiki wikitext for the proof |
|
| 29 |
+
| `proof_title` | Proof page title |
|
| 30 |
+
| `theorem_url` | Source URL for the theorem |
|
| 31 |
+
| `proof_url` | Source URL for the proof |
|
| 32 |
+
| `categories` | ProofWiki categories |
|
| 33 |
+
| `theorem_references` | Linked pages referenced in the theorem |
|
| 34 |
+
| `proof_references` | Linked pages referenced in the proof |
|
| 35 |
+
|
| 36 |
+
## Source and license
|
| 37 |
+
|
| 38 |
+
- Source dump: `https://proofwiki.org/xmldump/latest.xml.gz`
|
| 39 |
+
- ProofWiki content is licensed under **CC BY-SA 3.0**
|
| 40 |
+
- Current build size: **23,640** theorem-proof pairs
|
| 41 |
+
|
| 42 |
+
## Usage
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
from datasets import load_from_disk
|
| 46 |
+
|
| 47 |
+
ds = load_from_disk("data/proofwiki_hf")
|
| 48 |
+
print(ds["train"][0]["problem"])
|
| 49 |
+
print(ds["train"][0]["solution"])
|
| 50 |
+
```
|