Re-extract: full statement+proof, normalized schema, provenance
Browse files- README.md +13 -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 @@ Structured dataset of mathematical formalizations from the Mathlib4 library for
|
|
| 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,8 +73,8 @@ Structured dataset of mathematical formalizations from the Mathlib4 library for
|
|
| 73 |
|
| 74 |
## Statistics
|
| 75 |
|
| 76 |
-
- Entries: 249,
|
| 77 |
-
- With proof: 221,
|
| 78 |
- With docstring: 69,271 (27.8%)
|
| 79 |
- Libraries: 1106
|
| 80 |
|
|
@@ -82,12 +82,12 @@ Structured dataset of mathematical formalizations from the Mathlib4 library for
|
|
| 82 |
|
| 83 |
| Type | Count |
|
| 84 |
|---|---|
|
| 85 |
-
| theorem | 126,
|
| 86 |
-
| lemma | 56,
|
| 87 |
-
| def | 31,
|
| 88 |
-
| instance | 26,
|
| 89 |
| abbrev | 3,395 |
|
| 90 |
-
| class | 1,
|
| 91 |
| structure | 1,586 |
|
| 92 |
| example | 530 |
|
| 93 |
| inductive | 320 |
|
|
@@ -95,18 +95,20 @@ Structured dataset of mathematical formalizations from the Mathlib4 library for
|
|
| 95 |
| macro | 162 |
|
| 96 |
| macro_rules | 80 |
|
| 97 |
| elab_rules | 77 |
|
|
|
|
|
|
|
| 98 |
| opaque | 2 |
|
| 99 |
|
| 100 |
## Example
|
| 101 |
|
| 102 |
```coq
|
| 103 |
-
|
| 104 |
[CharZero A] : { x : A | IsAlgebraic R x }.Infinite := by
|
| 105 |
letI := MulActionWithZero.nontrivial R A
|
| 106 |
exact infinite_of_injective_forall_mem Nat.cast_injective isAlgebraic_nat
|
| 107 |
```
|
| 108 |
|
| 109 |
-
- type: theorem | symbolic_name: `infinite_of_charZero` | Mathlib/Algebra/AlgebraicCard.lean:32
|
| 110 |
|
| 111 |
## Use
|
| 112 |
|
|
|
|
| 31 |
- {name: source_url, dtype: string}
|
| 32 |
- {name: commit, dtype: string}
|
| 33 |
splits:
|
| 34 |
+
- {name: train, num_examples: 249567}
|
| 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: 249,567
|
| 77 |
+
- With proof: 221,568 (88.8%)
|
| 78 |
- With docstring: 69,271 (27.8%)
|
| 79 |
- Libraries: 1106
|
| 80 |
|
|
|
|
| 82 |
|
| 83 |
| Type | Count |
|
| 84 |
|---|---|
|
| 85 |
+
| theorem | 126,075 |
|
| 86 |
+
| lemma | 56,893 |
|
| 87 |
+
| def | 31,815 |
|
| 88 |
+
| instance | 26,516 |
|
| 89 |
| abbrev | 3,395 |
|
| 90 |
+
| class | 1,937 |
|
| 91 |
| structure | 1,586 |
|
| 92 |
| example | 530 |
|
| 93 |
| inductive | 320 |
|
|
|
|
| 95 |
| macro | 162 |
|
| 96 |
| macro_rules | 80 |
|
| 97 |
| elab_rules | 77 |
|
| 98 |
+
| class inductive | 6 |
|
| 99 |
+
| class abbrev | 3 |
|
| 100 |
| opaque | 2 |
|
| 101 |
|
| 102 |
## Example
|
| 103 |
|
| 104 |
```coq
|
| 105 |
+
infinite_of_charZero (R A : Type*) [CommRing R] [Ring A] [Algebra R A]
|
| 106 |
[CharZero A] : { x : A | IsAlgebraic R x }.Infinite := by
|
| 107 |
letI := MulActionWithZero.nontrivial R A
|
| 108 |
exact infinite_of_injective_forall_mem Nat.cast_injective isAlgebraic_nat
|
| 109 |
```
|
| 110 |
|
| 111 |
+
- type: theorem | symbolic_name: `Algebraic.infinite_of_charZero` | Mathlib/Algebra/AlgebraicCard.lean:32
|
| 112 |
|
| 113 |
## Use
|
| 114 |
|
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:d7ee19781f1663aca96bb162d6677b4bb16f350db774b98ad172d488151662e6
|
| 3 |
+
size 65270200
|