Isabelle-AFP / README.md
phanerozoic's picture
Add dataset card
0a381a3 verified
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

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