File size: 2,004 Bytes
2711343 0a381a3 2711343 0a381a3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
---
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](https://github.com/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
|