Metamath set.mm: 63,141 Formally Verified Theorems and Axioms in Structured Form (Metamath, phanerozoic extraction)

Provider
Metamath contributors (Norman Megill et al.); extraction by phanerozoic
License
CC0-1.0 (source)
Size
3 files
Format
Parquet (in sampled files)
Stored at
Hugging Face (https://huggingface.co/datasets/phanerozoic/Metamath)
Access
Free and public. No account with the data provider is needed.
Category
Mathematics
Source
https://us.metamath.org

About this dataset

The Metamath databases of formally verified mathematics (set.mm for ZFC set theory and classical logic, plus hol.mm and the other main libraries in the metamath/set.mm repository), split into one row per declaration. There are 63,141 entries: 59,651 proved theorems ($p) and 3,490 axioms and definitions ($a). The extraction is from upstream commit 160dfc7e. Each row has the statement (the claim without its proof), the verbatim compressed proof, the declaration type, the label (symbolic_name), the sub-library and file, the intra-corpus identifiers it depends on, and the preceding documentation comment. Metamath proofs are checked by small independent verifiers, and set.mm is one of the largest bodies of fully machine-checked mathematics. That makes it a corpus for proof modeling, automated theorem proving, retrieval and dependency analysis. It is one Parquet file; load it with pandas or Hugging Face datasets. The upstream Metamath databases are dedicated to the public domain under CC0 1.0 by their contributors. Credit the Metamath project (us.metamath.org).

How to load this dataset in Python

from datasets import load_dataset
ds = load_dataset("phanerozoic/Metamath")
print(ds)

Data structure

File types in sampled files: Parquet

Files

Example file: data/train-00000-of-00001.parquet

Analyze this dataset without downloading it

On Scigantic, Metamath set.mm: 63,141 Formally Verified Theorems and Axioms in Structured Form (Metamath, phanerozoic extraction) opens in a hosted JupyterLab notebook with the data already mounted, so you can read files where they are stored instead of copying them first. Each notebook includes an AI assistant that can see the mounted files and write and run analysis code. Open the dataset page to launch a notebook, or browse the full catalog.

This page is also available as Markdown and as JSON.

Related Mathematics datasets