phanerozoic commited on
Commit
dcb287c
·
verified ·
1 Parent(s): 2a85b07

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
  - 1K<n<10K
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 from Coq-Equations, a library for dependent pattern matching
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 |
@@ -107,8 +105,9 @@ Structured dataset from Coq-Equations, a library for dependent pattern matching
107
 
108
  ## Example
109
 
110
- ```coq
111
- filter {A} (l : list A) (p : A -> bool) : list A :=
 
112
  filter nil p := nil ;
113
  filter (cons a l) p with p a => {
114
  filter (cons a l) p true := a :: filter l p ;
@@ -119,8 +118,9 @@ filter (cons a l) p with p a => {
119
 
120
  ## Use
121
 
122
- Statement and proof are available both joined (`fact`) and split (`statement`, `proof`) for
123
- proof-term modeling, autoformalization, retrieval, and dependency analysis via `deps`.
 
124
 
125
  ## Citation
126
 
 
15
  - 1K<n<10K
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 |
 
105
 
106
  ## Example
107
 
108
+ ```
109
+ filter {A} (l : list A) (p : A -> bool) : list A
110
+ :=
111
  filter nil p := nil ;
112
  filter (cons a l) p with p a => {
113
  filter (cons a l) p true := a :: filter l p ;
 
118
 
119
  ## Use
120
 
121
+ Each declaration is split into a `statement` (signature/claim) and a `proof` (body) that are disjoint
122
+ and together form the complete declaration, for proof modeling, autoformalization, retrieval, and
123
+ dependency analysis via `deps`.
124
 
125
  ## Citation
126
 
data/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fed1a8c96e178fe20b0746f14785e3608d53604a7654fc77d6aa5cce11fec881
3
- size 660847
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bafafea3f3d19dd78ef5d7cc5e2d0947bf1eee0a361f17df12d9048d1c49fa72
3
+ size 386378