proofwiki-math / README.md
avewright's picture
Upload README.md with huggingface_hub
7d49431 verified
|
Raw
History Blame Contribute Delete
1.42 kB
---
license: cc-by-sa-3.0
task_categories:
- text-generation
language:
- en
tags:
- mathematics
- proof
- theorem-proving
size_categories:
- 10K<n<100K
---
# ProofWiki Math Problems and Solutions
This dataset pairs theorem statements (**problems**) with their formal proofs (**solutions**) extracted from [ProofWiki](https://proofwiki.org/wiki/Main_Page).
## Fields
| Column | Description |
| --- | --- |
| `id` | Stable row identifier |
| `title` | Theorem title |
| `problem` | Theorem statement with wikilinks resolved |
| `solution` | Proof text with wikilinks resolved |
| `problem_wikitext` | Raw MediaWiki wikitext for the theorem |
| `solution_wikitext` | Raw MediaWiki wikitext for the proof |
| `proof_title` | Proof page title |
| `theorem_url` | Source URL for the theorem |
| `proof_url` | Source URL for the proof |
| `categories` | ProofWiki categories |
| `theorem_references` | Linked pages referenced in the theorem |
| `proof_references` | Linked pages referenced in the proof |
## Source and license
- Source dump: `https://proofwiki.org/xmldump/latest.xml.gz`
- ProofWiki content is licensed under **CC BY-SA 3.0**
- Current build size: **23,640** theorem-proof pairs
## Usage
```python
from datasets import load_from_disk
ds = load_from_disk("data/proofwiki_hf")
print(ds["train"][0]["problem"])
print(ds["train"][0]["solution"])
```