metadata
license: bsd-3-clause
task_categories:
- text-generation
- feature-extraction
language:
- en
tags:
- theorem-proving
- formal-methods
- isabelle
- archive-of-formal-proofs
- hol
size_categories:
- 100K<n<1M
Isabelle-AFP
Structured dataset from the Isabelle Archive of Formal Proofs (AFP) - the largest repository of formal proofs in Isabelle/HOL.
Dataset Description
- Source: isabelle-prover/mirror-afp-2024
- Entries: 313,299
- Files processed: 9,105
- AFP entries (projects): 888
- License: BSD-3-Clause
Schema
| Column | Type | Description |
|---|---|---|
| fact | string | Declaration body |
| type | string | lemma, definition, theorem, fun, locale, datatype, etc. |
| library | string | AFP entry name (project) |
| imports | list | Theory imports |
| filename | string | Source file path |
| symbolic_name | string | Declaration identifier |
| docstring | string | Documentation (20% coverage) |
Statistics
By Type (Top 15)
| Type | Count |
|---|---|
| lemma | 228,980 |
| definition | 35,811 |
| fun | 10,758 |
| abbreviation | 6,005 |
| theorem | 5,892 |
| locale | 5,773 |
| corollary | 3,185 |
| type_synonym | 2,369 |
| primrec | 2,111 |
| instance | 2,087 |
| instantiation | 1,743 |
| datatype | 1,527 |
| class | 1,491 |
| inductive | 1,317 |
| proposition | 922 |
Top AFP Entries
| Entry | Count |
|---|---|
| Crypto_Standards | 10,367 |
| AutoCorres2 | 8,760 |
| JinjaThreads | 4,937 |
| Cook_Levin | 3,008 |
| ConcurrentHOL | 2,989 |
About AFP
The Archive of Formal Proofs is a collection of proof libraries for Isabelle/HOL, maintained by the Isabelle community. It contains formalized mathematics, verified algorithms, and program verification.
Use Cases
- Retrieval/RAG for Isabelle/HOL
- Training embeddings for formal proofs
- Cross-prover research (compare with Coq, Lean, Agda)
- Verified software research