Re-extract: full statement+proof, normalized schema, provenance
Browse files- README.md +14 -11
- 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
|
|
@@ -55,7 +55,7 @@ Declarations from mathlib3, the Lean 3 mathematical library (archived).
|
|
| 55 |
|
| 56 |
| Column | Type | Description |
|
| 57 |
|--------|------|-------------|
|
| 58 |
-
| fact | string |
|
| 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 |
|
|
@@ -73,29 +73,32 @@ Declarations from mathlib3, the Lean 3 mathematical library (archived).
|
|
| 73 |
|
| 74 |
## Statistics
|
| 75 |
|
| 76 |
-
- Entries:
|
| 77 |
-
- With proof:
|
| 78 |
-
- With docstring:
|
| 79 |
-
- Libraries:
|
| 80 |
|
| 81 |
### By type
|
| 82 |
|
| 83 |
| Type | Count |
|
| 84 |
|---|---|
|
| 85 |
| lemma | 83,206 |
|
| 86 |
-
| def |
|
| 87 |
| theorem | 14,273 |
|
| 88 |
-
| instance | 13,
|
| 89 |
| class | 1,010 |
|
| 90 |
-
| structure |
|
| 91 |
-
|
|
|
|
|
| 92 |
| example | 199 |
|
|
|
|
|
|
|
| 93 |
| macro | 1 |
|
| 94 |
|
| 95 |
## Example
|
| 96 |
|
| 97 |
```coq
|
| 98 |
-
|
| 99 |
extends add_action G P, has_vsub G P :=
|
| 100 |
[nonempty : nonempty P]
|
| 101 |
(vsub_vadd' : ∀ (p1 p2 : P), (p1 -ᵥ p2 : G) +ᵥ p2 = p1)
|
|
|
|
| 31 |
- {name: source_url, dtype: string}
|
| 32 |
- {name: commit, dtype: string}
|
| 33 |
splits:
|
| 34 |
+
- {name: train, num_examples: 133201}
|
| 35 |
config_name: default
|
| 36 |
configs:
|
| 37 |
- config_name: default
|
|
|
|
| 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 |
|
|
|
|
| 73 |
|
| 74 |
## Statistics
|
| 75 |
|
| 76 |
+
- Entries: 133,201
|
| 77 |
+
- With proof: 132,770 (99.7%)
|
| 78 |
+
- With docstring: 35,100 (26.4%)
|
| 79 |
+
- Libraries: 417
|
| 80 |
|
| 81 |
### By type
|
| 82 |
|
| 83 |
| Type | Count |
|
| 84 |
|---|---|
|
| 85 |
| lemma | 83,206 |
|
| 86 |
+
| def | 19,387 |
|
| 87 |
| theorem | 14,273 |
|
| 88 |
+
| instance | 13,632 |
|
| 89 |
| class | 1,010 |
|
| 90 |
+
| structure | 732 |
|
| 91 |
+
| abbreviation | 496 |
|
| 92 |
+
| inductive | 252 |
|
| 93 |
| example | 199 |
|
| 94 |
+
| definition | 10 |
|
| 95 |
+
| class inductive | 3 |
|
| 96 |
| macro | 1 |
|
| 97 |
|
| 98 |
## Example
|
| 99 |
|
| 100 |
```coq
|
| 101 |
+
add_torsor (G : out_param Type*) (P : Type*) [out_param $ add_group G]
|
| 102 |
extends add_action G P, has_vsub G P :=
|
| 103 |
[nonempty : nonempty P]
|
| 104 |
(vsub_vadd' : ∀ (p1 p2 : P), (p1 -ᵥ p2 : G) +ᵥ p2 = p1)
|
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:a863383b5f5cf80aa217a77a230811f99ae508d5b6d64d754aac759cc13a95bb
|
| 3 |
+
size 29917497
|