phanerozoic commited on
Commit
ee5a056
·
verified ·
1 Parent(s): 498ee78

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

Browse files
Files changed (2) hide show
  1. README.md +9 -9
  2. data/train-00000-of-00001.parquet +2 -2
README.md CHANGED
@@ -15,7 +15,6 @@ size_categories:
15
  - 100K<n<1M
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 @@ Structured dataset of mathematical formalizations from the Mathlib4 library for
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 |
@@ -98,9 +96,10 @@ Structured dataset of mathematical formalizations from the Mathlib4 library for
98
 
99
  ## Example
100
 
101
- ```coq
102
  infinite_of_charZero (R A : Type*) [CommRing R] [Ring A] [Algebra R A]
103
- [CharZero A] : { x : A | IsAlgebraic R x }.Infinite := by
 
104
  letI := MulActionWithZero.nontrivial R A
105
  exact infinite_of_injective_forall_mem Nat.cast_injective isAlgebraic_nat
106
  ```
@@ -109,8 +108,9 @@ infinite_of_charZero (R A : Type*) [CommRing R] [Ring A] [Algebra R A]
109
 
110
  ## Use
111
 
112
- Statement and proof are available both joined (`fact`) and split (`statement`, `proof`) for
113
- proof-term modeling, autoformalization, retrieval, and dependency analysis via `deps`.
 
114
 
115
  ## Citation
116
 
 
15
  - 100K<n<1M
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 |
 
96
 
97
  ## Example
98
 
99
+ ```
100
  infinite_of_charZero (R A : Type*) [CommRing R] [Ring A] [Algebra R A]
101
+ [CharZero A] : { x : A | IsAlgebraic R x }.Infinite
102
+ by
103
  letI := MulActionWithZero.nontrivial R A
104
  exact infinite_of_injective_forall_mem Nat.cast_injective isAlgebraic_nat
105
  ```
 
108
 
109
  ## Use
110
 
111
+ Each declaration is split into a `statement` (signature/claim) and a `proof` (body) that are disjoint
112
+ and together form the complete declaration, for proof modeling, autoformalization, retrieval, and
113
+ dependency analysis via `deps`.
114
 
115
  ## Citation
116
 
data/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c81b6f3ab368da013339461f1a5773dd453d31994b277253ad5cae37fd7f46ff
3
- size 57008401
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4afbb4c7e50162f6b82c8d267a84c6bd29a3262faa2bcd9100fe2de349c75e5
3
+ size 33182622