Re-extract: full statement+proof, normalized schema, provenance
Browse files- README.md +13 -13
- data/train-00000-of-00001.parquet +2 -2
README.md
CHANGED
|
@@ -31,7 +31,7 @@ dataset_info:
|
|
| 31 |
- {name: source_url, dtype: string}
|
| 32 |
- {name: commit, dtype: string}
|
| 33 |
splits:
|
| 34 |
-
- {name: train, num_examples:
|
| 35 |
config_name: default
|
| 36 |
configs:
|
| 37 |
- config_name: default
|
|
@@ -48,23 +48,23 @@ Declarations from JonPRL, a Nuprl-family proof refinement logic for computationa
|
|
| 48 |
|
| 49 |
- Repository: https://github.com/jonsterling/JonPRL
|
| 50 |
- Commit: `f937a5461955fff8cb22331ecb6fdeae8df636d5`
|
| 51 |
-
- Files:
|
| 52 |
- License: other
|
| 53 |
|
| 54 |
## Schema
|
| 55 |
|
| 56 |
| Column | Type | Description |
|
| 57 |
|--------|------|-------------|
|
| 58 |
-
| fact | string |
|
| 59 |
| statement | string | Signature with the leading keyword removed (verbatim slice) |
|
| 60 |
-
| proof | string |
|
| 61 |
-
| type | string |
|
| 62 |
| symbolic_name | string | Declaration identifier |
|
| 63 |
| library | string | Sub-library |
|
| 64 |
| filename | string | Repository-relative source path |
|
| 65 |
-
| imports | list[string] |
|
| 66 |
| deps | list[string] | Intra-corpus identifiers referenced |
|
| 67 |
-
| docstring | string |
|
| 68 |
| line_start | int | First source line |
|
| 69 |
| line_end | int | Last source line |
|
| 70 |
| has_proof | bool | Whether a proof block was captured |
|
|
@@ -73,8 +73,8 @@ Declarations from JonPRL, a Nuprl-family proof refinement logic for computationa
|
|
| 73 |
|
| 74 |
## Statistics
|
| 75 |
|
| 76 |
-
- Entries:
|
| 77 |
-
- With proof:
|
| 78 |
- With docstring: 0 (0.0%)
|
| 79 |
- Libraries: 7
|
| 80 |
|
|
@@ -82,23 +82,23 @@ Declarations from JonPRL, a Nuprl-family proof refinement logic for computationa
|
|
| 82 |
|
| 83 |
| Type | Count |
|
| 84 |
|---|---|
|
| 85 |
-
| theorem |
|
| 86 |
| operator | 244 |
|
| 87 |
-
| definition |
|
| 88 |
| notation | 62 |
|
| 89 |
| tactic | 46 |
|
| 90 |
|
| 91 |
## Example
|
| 92 |
|
| 93 |
```coq
|
| 94 |
-
|
| 95 |
unfold <not implies>;
|
| 96 |
intro; aux {auto; unfold <has-value>; auto};
|
| 97 |
bot-div #1
|
| 98 |
}.
|
| 99 |
```
|
| 100 |
|
| 101 |
-
- type: theorem | symbolic_name: `bottom-diverges` | example/approx.jonprl:
|
| 102 |
|
| 103 |
## Use
|
| 104 |
|
|
|
|
| 31 |
- {name: source_url, dtype: string}
|
| 32 |
- {name: commit, dtype: string}
|
| 33 |
splits:
|
| 34 |
+
- {name: train, num_examples: 847}
|
| 35 |
config_name: default
|
| 36 |
configs:
|
| 37 |
- config_name: default
|
|
|
|
| 48 |
|
| 49 |
- Repository: https://github.com/jonsterling/JonPRL
|
| 50 |
- Commit: `f937a5461955fff8cb22331ecb6fdeae8df636d5`
|
| 51 |
+
- Files: 53
|
| 52 |
- License: other
|
| 53 |
|
| 54 |
## Schema
|
| 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 | `theorem`/`tactic`: the `{ .. }` tactic block; `definition`: the `=def= ..` body; empty otherwise |
|
| 61 |
+
| type | string | `theorem`, `operator`, `definition`, `notation`, or `tactic` |
|
| 62 |
| symbolic_name | string | Declaration identifier |
|
| 63 |
| library | string | Sub-library |
|
| 64 |
| filename | string | Repository-relative source path |
|
| 65 |
+
| imports | list[string] | Unused; always empty |
|
| 66 |
| deps | list[string] | Intra-corpus identifiers referenced |
|
| 67 |
+
| docstring | string | Unused; always null |
|
| 68 |
| line_start | int | First source line |
|
| 69 |
| line_end | int | Last source line |
|
| 70 |
| has_proof | bool | Whether a proof block was captured |
|
|
|
|
| 73 |
|
| 74 |
## Statistics
|
| 75 |
|
| 76 |
+
- Entries: 847
|
| 77 |
+
- With proof: 541 (63.9%)
|
| 78 |
- With docstring: 0 (0.0%)
|
| 79 |
- Libraries: 7
|
| 80 |
|
|
|
|
| 82 |
|
| 83 |
| Type | Count |
|
| 84 |
|---|---|
|
| 85 |
+
| theorem | 253 |
|
| 86 |
| operator | 244 |
|
| 87 |
+
| definition | 242 |
|
| 88 |
| notation | 62 |
|
| 89 |
| tactic | 46 |
|
| 90 |
|
| 91 |
## Example
|
| 92 |
|
| 93 |
```coq
|
| 94 |
+
bottom-diverges : [ ¬ bot ⇓ ] {
|
| 95 |
unfold <not implies>;
|
| 96 |
intro; aux {auto; unfold <has-value>; auto};
|
| 97 |
bot-div #1
|
| 98 |
}.
|
| 99 |
```
|
| 100 |
|
| 101 |
+
- type: theorem | symbolic_name: `bottom-diverges` | example/approx.jonprl:13
|
| 102 |
|
| 103 |
## Use
|
| 104 |
|
data/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fba791945a8bd3f79e9e88010f21d60f3a419fe1d6e6425e361cdab4f6a9c272
|
| 3 |
+
size 82126
|