metadata
license: apache-2.0
task_categories:
- text-generation
- feature-extraction
language:
- en
tags:
- theorem-proving
- formal-methods
- lean4
- batteries
- standard-library
size_categories:
- 1K<n<10K
Lean4-Batteries
Structured dataset from Lean 4 Batteries - the community standard library extensions.
Dataset Description
- Source: leanprover-community/batteries
- Entries: 2,346
- Files processed: 172
- License: Apache 2.0
Schema
| Column | Type | Description |
|---|---|---|
| fact | string | Declaration body |
| type | string | theorem, def, class, structure, etc. |
| library | string | Batteries module |
| imports | list | Import statements |
| filename | string | Source file path |
| symbolic_name | string | Declaration identifier |
| docstring | string | Documentation (48% coverage) |
Statistics
By Type
| Type | Count |
|---|---|
| theorem | 1,257 |
| def | 951 |
| abbrev | 48 |
| structure | 38 |
| inductive | 24 |
| class | 22 |
| instance | 4 |
| opaque | 2 |
About Batteries
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.