phanerozoic commited on
Commit
fd24ef5
·
verified ·
1 Parent(s): a5ec309

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +60 -27
README.md CHANGED
@@ -1,29 +1,62 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: fact
5
- dtype: string
6
- - name: type
7
- dtype: string
8
- - name: library
9
- dtype: string
10
- - name: imports
11
- list: string
12
- - name: filename
13
- dtype: string
14
- - name: symbolic_name
15
- dtype: string
16
- - name: docstring
17
- dtype: string
18
- splits:
19
- - name: train
20
- num_bytes: 1298337
21
- num_examples: 2346
22
- download_size: 373693
23
- dataset_size: 1298337
24
- configs:
25
- - config_name: default
26
- data_files:
27
- - split: train
28
- path: data/train-*
29
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - text-generation
5
+ - feature-extraction
6
+ language:
7
+ - en
8
+ tags:
9
+ - theorem-proving
10
+ - formal-methods
11
+ - lean4
12
+ - batteries
13
+ - standard-library
14
+ size_categories:
15
+ - 1K<n<10K
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  ---
17
+
18
+ # Lean4-Batteries
19
+
20
+ Structured dataset from Lean 4 Batteries - the community standard library extensions.
21
+
22
+ ## Dataset Description
23
+
24
+ - **Source:** [leanprover-community/batteries](https://github.com/leanprover-community/batteries)
25
+ - **Entries:** 2,346
26
+ - **Files processed:** 172
27
+ - **License:** Apache 2.0
28
+
29
+ ## Schema
30
+
31
+ | Column | Type | Description |
32
+ |--------|------|-------------|
33
+ | fact | string | Declaration body |
34
+ | type | string | theorem, def, class, structure, etc. |
35
+ | library | string | Batteries module |
36
+ | imports | list | Import statements |
37
+ | filename | string | Source file path |
38
+ | symbolic_name | string | Declaration identifier |
39
+ | docstring | string | Documentation (48% coverage) |
40
+
41
+ ## Statistics
42
+
43
+ ### By Type
44
+ | Type | Count |
45
+ |------|-------|
46
+ | theorem | 1,257 |
47
+ | def | 951 |
48
+ | abbrev | 48 |
49
+ | structure | 38 |
50
+ | inductive | 24 |
51
+ | class | 22 |
52
+ | instance | 4 |
53
+ | opaque | 2 |
54
+
55
+ ## About Batteries
56
+
57
+ Batteries is the community-maintained extended standard library for Lean 4. It provides additional data structures, algorithms, and tactics beyond the core Init and Std libraries.
58
+
59
+ ## Related Datasets
60
+
61
+ - [Lean4-Stdlib](https://huggingface.co/datasets/phanerozoic/Lean4-Stdlib)
62
+ - [Lean4-Mathlib](https://huggingface.co/datasets/phanerozoic/Lean4-Mathlib)