Proof Assistant Projects
Collection
Digesting proof assistant libraries for AI ingestion. • 103 items • Updated • 3
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Structured dataset from FLT — Formalization of Fermat's Last Theorem.
6cffefeb368ca4cfabc907f86f96783a49ae4033| Column | Type | Description |
|---|---|---|
| statement | string | Declaration signature/claim with the leading keyword removed (verbatim slice); the full declaration minus its proof |
| proof | string | Verbatim proof/body, empty if the declaration has none |
| type | string | Declaration keyword |
| symbolic_name | string | Declaration identifier |
| library | string | Sub-library |
| filename | string | Repository-relative source path |
| imports | list[string] | File-level Require/Import modules |
| deps | list[string] | Intra-corpus identifiers referenced |
| docstring | string | Preceding documentation comment, empty if absent |
| source_url | string | Upstream repository |
| commit | string | Upstream commit extracted |
| Type | Count |
|---|---|
| lemma | 784 |
| def | 467 |
| theorem | 297 |
| instance | 88 |
| abbrev | 75 |
| class | 25 |
| structure | 14 |
| axiom | 3 |
| macro | 1 |
PNat.pow_add_pow_ne_pow
(x y z : ℕ+)
(n : ℕ) (hn : n > 2) :
x^n + y^n ≠ z^n
PNat.pow_add_pow_ne_pow_of_FermatLastTheorem Wiles_Taylor_Wiles x y z n hn
/--
info: 'PNat.pow_add_pow_ne_pow' depends on axioms: [propext, sorryAx, Classical.choice, Quot.sound]
-/
#guard_msgs in
#print axioms PNat.pow_add_pow_ne_pow
PNat.pow_add_pow_ne_pow | FermatsLastTheorem.leanEach declaration is split into a statement (signature/claim) and a proof (body) that are disjoint
and together form the complete declaration, for proof modeling, autoformalization, retrieval, and
dependency analysis via deps.
@misc{lean4_flt_dataset,
title = {Lean4-FLT},
author = {Norton, Charles},
year = {2026},
note = {Extracted from https://github.com/ImperialCollegeLondon/FLT, commit 6cffefeb368c},
url = {https://huggingface.co/datasets/phanerozoic/Lean4-FLT}
}