phanerozoic commited on
Commit
d31172d
·
verified ·
1 Parent(s): ed08a6d

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
  - 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 RedPRL, a cubical/computational type theory system.
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 |
@@ -89,8 +87,9 @@ Declarations from RedPRL, a cubical/computational type theory system.
89
 
90
  ## Example
91
 
92
- ```coq
93
- Test(#l:lvl) : (Category (++#l)) by {
 
94
  { ob = `(U #l)
95
  , hom = lam ty/a ty/b => `(-> ty/a ty/b)
96
  , idn = lam ty/a x => `x
@@ -106,8 +105,9 @@ Test(#l:lvl) : (Category (++#l)) by {
106
 
107
  ## Use
108
 
109
- Statement and proof are available both joined (`fact`) and split (`statement`, `proof`) for
110
- proof-term modeling, autoformalization, retrieval, and dependency analysis via `deps`.
 
111
 
112
  ## Citation
113
 
 
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 |
 
87
 
88
  ## Example
89
 
90
+ ```
91
+ Test(#l:lvl) : (Category (++#l))
92
+ by {
93
  { ob = `(U #l)
94
  , hom = lam ty/a ty/b => `(-> ty/a ty/b)
95
  , idn = lam ty/a x => `x
 
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:18adfc6e70529e0a04270d38de09838cb5e91a4ed627391fb92541866e1f7f67
3
- size 61621
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1870a22d7e20a4ff3982e3a3bbe2a3613a63f6ff25b925bf46d1da51685c6df0
3
+ size 36085