phanerozoic commited on
Commit
6d79f1a
·
verified ·
1 Parent(s): 148ce36

Re-extract: full statement+proof, normalized schema, provenance

Browse files
Files changed (2) hide show
  1. README.md +10 -14
  2. data/train-00000-of-00001.parquet +2 -2
README.md CHANGED
@@ -19,7 +19,6 @@ dataset_info:
19
  - {name: statement, dtype: string}
20
  - {name: proof, dtype: string}
21
  - {name: type, dtype: string}
22
- - {name: kind, dtype: string}
23
  - {name: symbolic_name, dtype: string}
24
  - {name: library, dtype: string}
25
  - {name: filename, dtype: string}
@@ -31,7 +30,6 @@ dataset_info:
31
  - {name: has_proof, dtype: bool}
32
  - {name: source_url, dtype: string}
33
  - {name: commit, dtype: string}
34
- - {name: content_level, dtype: string}
35
  splits:
36
  - {name: train, num_examples: 129989}
37
  config_name: default
@@ -57,11 +55,10 @@ Declarations from mathlib3, the Lean 3 mathematical library (archived).
57
 
58
  | Column | Type | Description |
59
  |--------|------|-------------|
60
- | fact | string | Verbatim declaration: statement followed by proof where present |
61
- | statement | string | Verbatim statement (keyword through the closing period) |
62
- | proof | string | Verbatim proof block (`Proof. ... Qed.`/`Defined.`), empty if none |
63
- | type | string | Raw declaration keyword |
64
- | kind | string | Normalized kind |
65
  | symbolic_name | string | Declaration identifier |
66
  | library | string | Sub-library |
67
  | filename | string | Repository-relative source path |
@@ -73,7 +70,6 @@ Declarations from mathlib3, the Lean 3 mathematical library (archived).
73
  | has_proof | bool | Whether a proof block was captured |
74
  | source_url | string | Upstream repository |
75
  | commit | string | Upstream commit extracted |
76
- | content_level | string | `statement+proof` |
77
 
78
  ## Statistics
79
 
@@ -99,14 +95,14 @@ Declarations from mathlib3, the Lean 3 mathematical library (archived).
99
  ## Example
100
 
101
  ```coq
102
- @[simp] lemma vsub_vadd (p1 p2 : P) : p1 -ᵥ p2 +ᵥ p2 = p1 :=
103
- add_torsor.vsub_vadd' p1 p2
104
-
105
- /-- Adding a group element then subtracting the original point
106
- produces that group element. -/
107
  ```
108
 
109
- - kind: theorem | symbolic_name: `vsub_vadd` | src/algebra/add_torsor.lean:77
110
 
111
  ## Use
112
 
 
19
  - {name: statement, dtype: string}
20
  - {name: proof, dtype: string}
21
  - {name: type, dtype: string}
 
22
  - {name: symbolic_name, dtype: string}
23
  - {name: library, dtype: string}
24
  - {name: filename, dtype: string}
 
30
  - {name: has_proof, dtype: bool}
31
  - {name: source_url, dtype: string}
32
  - {name: commit, dtype: string}
 
33
  splits:
34
  - {name: train, num_examples: 129989}
35
  config_name: default
 
55
 
56
  | Column | Type | Description |
57
  |--------|------|-------------|
58
+ | fact | string | Complete verbatim declaration (keyword, signature, and body/proof) |
59
+ | statement | string | Signature with the leading keyword removed (verbatim slice) |
60
+ | proof | string | Verbatim proof/body, empty if none |
61
+ | type | string | Declaration keyword |
 
62
  | symbolic_name | string | Declaration identifier |
63
  | library | string | Sub-library |
64
  | filename | string | Repository-relative source path |
 
70
  | has_proof | bool | Whether a proof block was captured |
71
  | source_url | string | Upstream repository |
72
  | commit | string | Upstream commit extracted |
 
73
 
74
  ## Statistics
75
 
 
95
  ## Example
96
 
97
  ```coq
98
+ class add_torsor (G : out_param Type*) (P : Type*) [out_param $ add_group G]
99
+ extends add_action G P, has_vsub G P :=
100
+ [nonempty : nonempty P]
101
+ (vsub_vadd' : (p1 p2 : P), (p1 -ᵥ p2 : G) +ᵥ p2 = p1)
102
+ (vadd_vsub' : (g : G) (p : P), g +ᵥ p -ᵥ p = g)
103
  ```
104
 
105
+ - type: class | symbolic_name: `add_torsor` | src/algebra/add_torsor.lean:48
106
 
107
  ## Use
108
 
data/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6e93e1fa81385065e32faa79a7a61ca855ffcc299d6ca0bbea416dfcd8b62a97
3
- size 32823177
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80dda97ce110f90126ed614d058f85d13d4ea8d5ebdd35d4972df005ce952a1c
3
+ size 30144166