phanerozoic commited on
Commit
0c09fed
·
verified ·
1 Parent(s): 7a06224

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
@@ -14,7 +14,6 @@ size_categories:
14
  - 1K<n<10K
15
  dataset_info:
16
  features:
17
- - {name: fact, dtype: string}
18
  - {name: statement, dtype: string}
19
  - {name: proof, dtype: string}
20
  - {name: type, dtype: string}
@@ -54,16 +53,15 @@ Structured dataset of definitions and theorems from the Coq standard library.
54
 
55
  | Column | Type | Description |
56
  |--------|------|-------------|
57
- | fact | string | Verbatim declaration with the leading keyword removed: signature and body/proof joined |
58
- | statement | string | Signature with the leading keyword removed (verbatim slice) |
59
- | proof | string | Verbatim proof/body, empty if none |
60
  | type | string | Declaration keyword |
61
  | symbolic_name | string | Declaration identifier |
62
  | library | string | Sub-library |
63
  | filename | string | Repository-relative source path |
64
  | imports | list[string] | File-level `Require`/`Import` modules |
65
  | deps | list[string] | Intra-corpus identifiers referenced |
66
- | docstring | string | Preceding documentation comment, null if absent |
67
  | line_start | int | First source line |
68
  | line_end | int | Last source line |
69
  | has_proof | bool | Whether a proof block was captured |
@@ -110,16 +108,18 @@ Structured dataset of definitions and theorems from the Coq standard library.
110
 
111
  ## Example
112
 
113
- ```coq
114
- gt_pred_stt : forall n m, m > S n -> pred m > n := fun n m Hgt => proj1 (Nat.lt_succ_lt_pred n m) Hgt.
 
115
  ```
116
 
117
  - type: Definition | symbolic_name: `gt_pred_stt` | theories/Arith/Arith_base.v:150
118
 
119
  ## Use
120
 
121
- Statement and proof are available both joined (`fact`) and split (`statement`, `proof`) for
122
- proof-term modeling, autoformalization, retrieval, and dependency analysis via `deps`.
 
123
 
124
  ## Citation
125
 
 
14
  - 1K<n<10K
15
  dataset_info:
16
  features:
 
17
  - {name: statement, dtype: string}
18
  - {name: proof, dtype: string}
19
  - {name: type, dtype: string}
 
53
 
54
  | Column | Type | Description |
55
  |--------|------|-------------|
56
+ | statement | string | Declaration signature/claim with the leading keyword removed (verbatim slice); the full declaration minus its proof |
57
+ | proof | string | Verbatim proof/body, empty if the declaration has none |
 
58
  | type | string | Declaration keyword |
59
  | symbolic_name | string | Declaration identifier |
60
  | library | string | Sub-library |
61
  | filename | string | Repository-relative source path |
62
  | imports | list[string] | File-level `Require`/`Import` modules |
63
  | deps | list[string] | Intra-corpus identifiers referenced |
64
+ | docstring | string | Preceding documentation comment, empty if absent |
65
  | line_start | int | First source line |
66
  | line_end | int | Last source line |
67
  | has_proof | bool | Whether a proof block was captured |
 
108
 
109
  ## Example
110
 
111
+ ```
112
+ gt_pred_stt : forall n m, m > S n -> pred m > n
113
+ := fun n m Hgt => proj1 (Nat.lt_succ_lt_pred n m) Hgt.
114
  ```
115
 
116
  - type: Definition | symbolic_name: `gt_pred_stt` | theories/Arith/Arith_base.v:150
117
 
118
  ## Use
119
 
120
+ Each declaration is split into a `statement` (signature/claim) and a `proof` (body) that are disjoint
121
+ and together form the complete declaration, for proof modeling, autoformalization, retrieval, and
122
+ dependency analysis via `deps`.
123
 
124
  ## Citation
125
 
data/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5d192dbf8a8097fcd91ae2929d62520453376d5b402e2e3b069e1e1c037e2563
3
- size 3990803
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b286a0fbb6280e669c50c9fd2d938e028f49a7a66cc10e5f05c8bbd0e3761be1
3
+ size 2312729