phanerozoic commited on
Commit
1462a79
·
verified ·
1 Parent(s): ba4d4b0

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

Browse files
Files changed (2) hide show
  1. README.md +7 -8
  2. data/train-00000-of-00001.parquet +2 -2
README.md CHANGED
@@ -18,7 +18,6 @@ size_categories:
18
  - 10K<n<100K
19
  dataset_info:
20
  features:
21
- - {name: fact, dtype: string}
22
  - {name: statement, dtype: string}
23
  - {name: proof, dtype: string}
24
  - {name: type, dtype: string}
@@ -58,16 +57,15 @@ Structured dataset from the Mathematical Components library (MathComp) for Coq.
58
 
59
  | Column | Type | Description |
60
  |--------|------|-------------|
61
- | fact | string | Verbatim declaration with the leading keyword removed: signature and body/proof joined |
62
- | statement | string | Signature with the leading keyword removed (verbatim slice) |
63
- | proof | string | Verbatim proof/body, empty if none |
64
  | type | string | Declaration keyword |
65
  | symbolic_name | string | Declaration identifier |
66
  | library | string | Sub-library |
67
  | filename | string | Repository-relative source path |
68
  | imports | list[string] | File-level `Require`/`Import` modules |
69
  | deps | list[string] | Intra-corpus identifiers referenced |
70
- | docstring | string | Preceding documentation comment, null if absent |
71
  | line_start | int | First source line |
72
  | line_end | int | Last source line |
73
  | has_proof | bool | Whether a proof block was captured |
@@ -113,7 +111,7 @@ Structured dataset from the Mathematical Components library (MathComp) for Coq.
113
 
114
  ## Example
115
 
116
- ```coq
117
  floor_subproof n :
118
  if n \is real_num then n%:~R <= n < (n + 1)%:~R else n == 0.
119
  Proof. by rewrite num_real !intz ltzD1 lexx. Qed.
@@ -123,8 +121,9 @@ Proof. by rewrite num_real !intz ltzD1 lexx. Qed.
123
 
124
  ## Use
125
 
126
- Statement and proof are available both joined (`fact`) and split (`statement`, `proof`) for
127
- proof-term modeling, autoformalization, retrieval, and dependency analysis via `deps`.
 
128
 
129
  ## Citation
130
 
 
18
  - 10K<n<100K
19
  dataset_info:
20
  features:
 
21
  - {name: statement, dtype: string}
22
  - {name: proof, dtype: string}
23
  - {name: type, dtype: string}
 
57
 
58
  | Column | Type | Description |
59
  |--------|------|-------------|
60
+ | statement | string | Declaration signature/claim with the leading keyword removed (verbatim slice); the full declaration minus its proof |
61
+ | proof | string | Verbatim proof/body, empty if the declaration has none |
 
62
  | type | string | Declaration keyword |
63
  | symbolic_name | string | Declaration identifier |
64
  | library | string | Sub-library |
65
  | filename | string | Repository-relative source path |
66
  | imports | list[string] | File-level `Require`/`Import` modules |
67
  | deps | list[string] | Intra-corpus identifiers referenced |
68
+ | docstring | string | Preceding documentation comment, empty if absent |
69
  | line_start | int | First source line |
70
  | line_end | int | Last source line |
71
  | has_proof | bool | Whether a proof block was captured |
 
111
 
112
  ## Example
113
 
114
+ ```
115
  floor_subproof n :
116
  if n \is real_num then n%:~R <= n < (n + 1)%:~R else n == 0.
117
  Proof. by rewrite num_real !intz ltzD1 lexx. Qed.
 
121
 
122
  ## Use
123
 
124
+ Each declaration is split into a `statement` (signature/claim) and a `proof` (body) that are disjoint
125
+ and together form the complete declaration, for proof modeling, autoformalization, retrieval, and
126
+ dependency analysis via `deps`.
127
 
128
  ## Citation
129
 
data/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:13b2df14fdbb263f6fa9ec46ccfe3d0a93bc042afdf139569e59306704c4ddac
3
- size 4602650
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b6e1167f1377d07bd20f5009c12fbbff02b8d18cecc4a08881b7de90f35a669
3
+ size 2710162