phanerozoic commited on
Commit
c53b339
·
verified ·
1 Parent(s): cdb853b

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

Browse files
Files changed (2) hide show
  1. README.md +8 -9
  2. data/train-00000-of-00001.parquet +2 -2
README.md CHANGED
@@ -15,7 +15,6 @@ size_categories:
15
  - 10K<n<100K
16
  dataset_info:
17
  features:
18
- - {name: fact, dtype: string}
19
  - {name: statement, dtype: string}
20
  - {name: proof, dtype: string}
21
  - {name: type, dtype: string}
@@ -55,16 +54,15 @@ Declarations from mathlib3, the Lean 3 mathematical library (archived).
55
 
56
  | Column | Type | Description |
57
  |--------|------|-------------|
58
- | fact | string | Verbatim declaration with the leading keyword removed: signature and body/proof joined |
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 |
65
  | imports | list[string] | File-level `Require`/`Import` modules |
66
  | deps | list[string] | Intra-corpus identifiers referenced |
67
- | docstring | string | Preceding documentation comment, null if absent |
68
  | line_start | int | First source line |
69
  | line_end | int | Last source line |
70
  | has_proof | bool | Whether a proof block was captured |
@@ -95,9 +93,9 @@ Declarations from mathlib3, the Lean 3 mathematical library (archived).
95
 
96
  ## Example
97
 
98
- ```coq
99
  add_torsor (G : out_param Type*) (P : Type*) [out_param $ add_group G]
100
- extends add_action G P, has_vsub G P :=
101
  [nonempty : nonempty P]
102
  (vsub_vadd' : ∀ (p1 p2 : P), (p1 -ᵥ p2 : G) +ᵥ p2 = p1)
103
  (vadd_vsub' : ∀ (g : G) (p : P), g +ᵥ p -ᵥ p = g)
@@ -107,8 +105,9 @@ add_torsor (G : out_param Type*) (P : Type*) [out_param $ add_group G]
107
 
108
  ## Use
109
 
110
- Statement and proof are available both joined (`fact`) and split (`statement`, `proof`) for
111
- proof-term modeling, autoformalization, retrieval, and dependency analysis via `deps`.
 
112
 
113
  ## Citation
114
 
 
15
  - 10K<n<100K
16
  dataset_info:
17
  features:
 
18
  - {name: statement, dtype: string}
19
  - {name: proof, dtype: string}
20
  - {name: type, dtype: string}
 
54
 
55
  | Column | Type | Description |
56
  |--------|------|-------------|
57
+ | statement | string | Declaration signature/claim with the leading keyword removed (verbatim slice); the full declaration minus its proof |
58
+ | proof | string | Verbatim proof/body, empty if the declaration has none |
 
59
  | type | string | Declaration keyword |
60
  | symbolic_name | string | Declaration identifier |
61
  | library | string | Sub-library |
62
  | filename | string | Repository-relative source path |
63
  | imports | list[string] | File-level `Require`/`Import` modules |
64
  | deps | list[string] | Intra-corpus identifiers referenced |
65
+ | docstring | string | Preceding documentation comment, empty if absent |
66
  | line_start | int | First source line |
67
  | line_end | int | Last source line |
68
  | has_proof | bool | Whether a proof block was captured |
 
93
 
94
  ## Example
95
 
96
+ ```
97
  add_torsor (G : out_param Type*) (P : Type*) [out_param $ add_group G]
98
+ extends add_action G P, has_vsub G P
99
  [nonempty : nonempty P]
100
  (vsub_vadd' : ∀ (p1 p2 : P), (p1 -ᵥ p2 : G) +ᵥ p2 = p1)
101
  (vadd_vsub' : ∀ (g : G) (p : P), g +ᵥ p -ᵥ p = g)
 
105
 
106
  ## Use
107
 
108
+ Each declaration is split into a `statement` (signature/claim) and a `proof` (body) that are disjoint
109
+ and together form the complete declaration, for proof modeling, autoformalization, retrieval, and
110
+ dependency analysis via `deps`.
111
 
112
  ## Citation
113
 
data/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f231276b876d8486735b7c9e949f561da4cda9efa62f409ea205973e2e70d4a6
3
- size 28740533
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a78f10d78581d84b6ab1ffd2febd199a69acabb7677ccb39ce32453c5957a915
3
+ size 16750891