File size: 2,745 Bytes
b670723
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68f61f4
b670723
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b880547
 
b670723
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
license: mit
---
# ๐Ÿ“œ ProofWalaDataset

The **ProofWalaDataset** is a multilingual dataset of formal theorem proving traces collected from multiple interactive theorem prover (ITP) ecosystems. It provides a structured view of proof steps, goals, hypotheses, and theorem names from diverse mathematical and program verification libraries.

This dataset is intended for researchers and practitioners working on:
- **Automated theorem proving**
- **Formal code generation**
- **Machine learning for logic**
- **Proof step prediction**
- **Multi-language transfer in formal systems**

---

## ๐Ÿ“‚ Dataset Structure

The dataset is organized into the following ITP families:

- `lean/`
- `coq/`
- `GeoCoq/`
- `math-comp/`
- `multilingual/` (cross-formal-language hybrid)

Each family includes standard splits:  
**`train/`**, **`test/`**, and **`eval/`**, each containing multiple JSON files.  
Each JSON file contains a top-level key: `"training_data"` with a list of proof records.

---

## ๐Ÿ” Each record contains

| Field                         | Description |
|------------------------------|-------------|
| `proof_id`                   | Unique identifier for the proof trace |
| `goal_description`           | Optional natural language description of the proof |
| `start_goals`                | List of starting goals (each with `goal` and `hypotheses`) |
| `end_goals`                  | Final goals after applying proof steps |
| `proof_steps`                | List of applied proof tactics (`inv`, `rewrite`, etc.) |
| `simplified_goals`          | Simplified representations of goals (if any) |
| `all_useful_defns_theorems` | Set of useful definitions or theorems (static analysis) |
| `addition_state_info`        | Optional additional metadata about the proof context |
| `file_path`                  | Source file where the proof appears |
| `project_id`                 | The ITP project or repository path (e.g., CompCert) |
| `theorem_name`              | Name of the theorem being proved |

For convenience, structured fields such as `start_goals[*].goal`, `start_goals[*].hypotheses`, `end_goals[*].goal`, and `end_goals[*].hypotheses` are exposed directly through the Croissant [metadata](https://huggingface.co/datasets/amitayusht/ProofWalaDataset/raw/main/croissant.json).

---

## ๐Ÿง  Use Cases

- Pretraining and finetuning **LLMs for formal verification**
- Evaluating **proof search** strategies
- Building **cross-language proof translators**
- Fine-grained **proof tactic prediction**

---

## ๐Ÿ“Š Format

- Data format: **JSON**
- Schema described via **Croissant metadata** (`croissant.json`)
- Fully validated using [mlcroissant](https://github.com/mlcommons/croissant)

---

<!-- ## ๐Ÿ“œ Citation
 -->