Re-extract: full statement+proof, normalized schema, provenance
Browse files- README.md +14 -17
- data/train-00000-of-00001.parquet +2 -2
README.md
CHANGED
|
@@ -19,7 +19,6 @@ dataset_info:
|
|
| 19 |
- {name: statement, dtype: string}
|
| 20 |
- {name: proof, dtype: string}
|
| 21 |
- {name: type, dtype: string}
|
| 22 |
-
- {name: kind, dtype: string}
|
| 23 |
- {name: symbolic_name, dtype: string}
|
| 24 |
- {name: library, dtype: string}
|
| 25 |
- {name: filename, dtype: string}
|
|
@@ -31,7 +30,6 @@ dataset_info:
|
|
| 31 |
- {name: has_proof, dtype: bool}
|
| 32 |
- {name: source_url, dtype: string}
|
| 33 |
- {name: commit, dtype: string}
|
| 34 |
-
- {name: content_level, dtype: string}
|
| 35 |
splits:
|
| 36 |
- {name: train, num_examples: 268}
|
| 37 |
config_name: default
|
|
@@ -57,11 +55,10 @@ Declarations from RedPRL, a cubical/computational type theory system.
|
|
| 57 |
|
| 58 |
| Column | Type | Description |
|
| 59 |
|--------|------|-------------|
|
| 60 |
-
| fact | string |
|
| 61 |
-
| statement | string |
|
| 62 |
-
| proof | string | Verbatim proof
|
| 63 |
-
| type | string |
|
| 64 |
-
| kind | string | Normalized kind |
|
| 65 |
| symbolic_name | string | Declaration identifier |
|
| 66 |
| library | string | Sub-library |
|
| 67 |
| filename | string | Repository-relative source path |
|
|
@@ -73,7 +70,6 @@ Declarations from RedPRL, a cubical/computational type theory system.
|
|
| 73 |
| has_proof | bool | Whether a proof block was captured |
|
| 74 |
| source_url | string | Upstream repository |
|
| 75 |
| commit | string | Upstream commit extracted |
|
| 76 |
-
| content_level | string | `statement+proof` |
|
| 77 |
|
| 78 |
## Statistics
|
| 79 |
|
|
@@ -92,18 +88,19 @@ Declarations from RedPRL, a cubical/computational type theory system.
|
|
| 92 |
## Example
|
| 93 |
|
| 94 |
```coq
|
| 95 |
-
theorem
|
| 96 |
-
(
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
lam
|
|
|
|
| 103 |
}.
|
| 104 |
```
|
| 105 |
|
| 106 |
-
-
|
| 107 |
|
| 108 |
## Use
|
| 109 |
|
|
|
|
| 19 |
- {name: statement, dtype: string}
|
| 20 |
- {name: proof, dtype: string}
|
| 21 |
- {name: type, dtype: string}
|
|
|
|
| 22 |
- {name: symbolic_name, dtype: string}
|
| 23 |
- {name: library, dtype: string}
|
| 24 |
- {name: filename, dtype: string}
|
|
|
|
| 30 |
- {name: has_proof, dtype: bool}
|
| 31 |
- {name: source_url, dtype: string}
|
| 32 |
- {name: commit, dtype: string}
|
|
|
|
| 33 |
splits:
|
| 34 |
- {name: train, num_examples: 268}
|
| 35 |
config_name: default
|
|
|
|
| 55 |
|
| 56 |
| Column | Type | Description |
|
| 57 |
|--------|------|-------------|
|
| 58 |
+
| fact | string | Complete verbatim declaration (keyword, signature, and body/proof) |
|
| 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 |
|
|
|
|
| 70 |
| has_proof | bool | Whether a proof block was captured |
|
| 71 |
| source_url | string | Upstream repository |
|
| 72 |
| commit | string | Upstream commit extracted |
|
|
|
|
| 73 |
|
| 74 |
## Statistics
|
| 75 |
|
|
|
|
| 88 |
## Example
|
| 89 |
|
| 90 |
```coq
|
| 91 |
+
theorem Test(#l:lvl) : (Category (++#l)) by {
|
| 92 |
+
{ ob = `(U #l)
|
| 93 |
+
, hom = lam ty/a ty/b => `(-> ty/a ty/b)
|
| 94 |
+
, idn = lam ty/a x => `x
|
| 95 |
+
, cmp = lam ty/a ty/b ty/a f g x => use f [use g [`x]]
|
| 96 |
+
, idn/l = lam _ _ _ => auto
|
| 97 |
+
, idn/r = lam _ _ _ => auto
|
| 98 |
+
, assoc = lam _ _ _ _ _ _ _ => auto
|
| 99 |
+
}
|
| 100 |
}.
|
| 101 |
```
|
| 102 |
|
| 103 |
+
- type: theorem | symbolic_name: `Test` | example/category.prl:33
|
| 104 |
|
| 105 |
## Use
|
| 106 |
|
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:ad4a98aacee6be220ad272f03f9b925a16a5a786b9740ace616df82c17a09ab1
|
| 3 |
+
size 58652
|