File size: 2,203 Bytes
faa3963
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
license: apache-2.0
language:
  - en
tags:
  - lean4
  - mathlib
  - theorem-proving
  - formal-mathematics
pretty_name: Mathlib Tactics
---

# Mathlib Tactics

This dataset contains tactic invocations with associated goal states from proofs in [Mathlib](https://github.com/leanprover-community/mathlib4/tree/5e932f97dd25535344f80f9dd8da3aab83df0fe6), the mathematical library for the Lean 4 theorem prover, extracted with [lean_scout](https://github.com/mathlib-initiative/lean_scout).

Extracted from the Mathlib commit with the following hash.
```
5e932f97dd25535344f80f9dd8da3aab83df0fe6
```

The dataset follows this schema:

```yaml
fields:
- type:
    datatype: string
  nullable: true
  name: module
- type:
    datatype: struct
    children:
    - type:
        datatype: nat
      nullable: false
      name: line
    - type:
        datatype: nat
      nullable: false
      name: column
  nullable: false
  name: startPos
- type:
    datatype: struct
    children:
    - type:
        datatype: nat
      nullable: false
      name: line
    - type:
        datatype: nat
      nullable: false
      name: column
  nullable: false
  name: endPos
- type:
    item:
      datatype: struct
      children:
      - type:
          datatype: string
        nullable: false
        name: pp
      - type:
          item:
            datatype: string
          datatype: list
        nullable: false
        name: usedConstants
    datatype: list
  nullable: false
  name: goals
- type:
    datatype: string
  nullable: false
  name: ppTac
- type:
    datatype: string
  nullable: false
  name: elaborator
- type:
    datatype: string
  nullable: false
  name: kind
```

# Attribution

This dataset is derived from [Mathlib](https://github.com/leanprover-community/mathlib4), an open-source mathematical library developed by the [leanprover-community](https://leanprover-community.github.io/). If you use this dataset, please cite the [Mathlib paper](https://doi.org/10.1145/3372885.3373824) or the [Mathlib repository](https://github.com/leanprover-community/mathlib4).

A full list of Mathlib contributors is available at: https://github.com/leanprover-community/mathlib4/graphs/contributors