Metamath
Also known as set.mm, Metamath Proof Explorer
A tiny language for fully formal proofs, with the large set.mm database of mathematics on ZFC. Checking is simple enough that many independent verifiers exist.
A proof is a list of substitution steps, so a verifier can be written in a few hundred lines; several people have written their own.
Trust card
What you trust when you accept a proof from Metamath. Logic: None built in (substitution over symbol strings); set.mm uses classical first-order logic with ZFC set theory and the Tarski-Grothendieck axiom.
Trusted coreProof kernel. The small trusted core of a proof assistant that checks every proof.
The verifier is the whole trusted base. Checking is string substitution plus distinct-variable checks; the algorithm fits on two pages of the Metamath book. Every change to set.mm and iset.mm is re-verified by five verifiers written by different people in C, C++, Rust, Java and Python. Definitions are stated as axioms; their soundness is checked by mmj2's definition checker and by review, and four foundational definitions are justified outside the tools.
sourceIndependent re-checkers
- metamath.exe — Original verifier in C, by Norman Megill.
- checkmm — Verifier in C++ by Eric Schmidt.
- smetamath-rs — Parallel verifier in Rust by Stefan O'Rear.
- metamath-knife — Rust fork of smetamath-rs, so not fully independent of it; also run in set.mm's CI.
- mmj2 — Java proof assistant and verifier; also runs the definition soundness check.
- mmverify.py — Verifier in Python, originally by Raph Levien.
Axioms
Metamath itself assumes nothing; each database states its own axioms. set.mm uses classical propositional and predicate logic, ZFC set theory, and the Tarski-Grothendieck axiom (outside ZFC, a strong replacement for the axiom of infinity).
sourceCertificatesProof certificate. A record of a proof that a separate, simpler program can check.
The proofs are the plain-text .mm database itself (set.mm is public domain under CC0). Any verifier can re-check the whole database; nothing has to be exported.
sourceSoundness record
2 notable issues in the last five years. An empty list means none were found, not that none exist. Reports go to this channel.
- Nov 2026 mmj2's definition checker accepted an unsound new definition that proves False Open. Concerns a definition added for the test; the report does not claim set.mm itself is inconsistent. Not fixed
- Aug 2023 Definition soundness check missed an unsound definition with free setvars Open. The definition was caught in review and not merged into set.mm. Not fixed
In this index
Entries that rely on Metamath.
Toolchains
None yet.
Semantics usable here
None yet.
Automation checked by it
None yet.