# Metamath

> 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.

- Kind: proof-assistant
- Logic: None built in (substitution over symbol strings); set.mm uses classical first-order logic with ZFC set theory and the Tarski-Grothendieck axiom
- Checker level: Strong (green)
- Licence: open-source, GPL-2.0 (metamath.exe); CC0-1.0 (set.mm)
- Latest release: metamath-exe v0.198 (2021-08-07) https://github.com/metamath/metamath-exe/tags
- Latest commit: 2026-11-01 https://github.com/metamath/metamath-exe/commits/master

## Trust card

- Kernel: 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. ([source](https://github.com/metamath/set.mm/blob/develop/verifiers.md))
- Independent checkers: [metamath.exe](https://github.com/metamath/metamath-exe) (Original verifier in C, by Norman Megill.); [checkmm](https://github.com/EricSchmidt-119/checkmm) (Verifier in C++ by Eric Schmidt.); [smetamath-rs](https://github.com/sorear/smetamath-rs) (Parallel verifier in Rust by Stefan O'Rear.); [metamath-knife](https://github.com/metamath/metamath-knife) (Rust fork of smetamath-rs, so not fully independent of it; also run in set.mm's CI.); [mmj2](https://github.com/digama0/mmj2) (Java proof assistant and verifier; also runs the definition soundness check.); [mmverify.py](https://github.com/david-a-wheeler/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). ([source](https://us.metamath.org/mpeuni/mmset.html))
- Certificates: 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. ([source](https://github.com/metamath/set.mm))
- Soundness reports: https://github.com/metamath/set.mm/issues

## Soundness issues (notable, recent first)
- 2026-11: [mmj2's definition checker accepted an unsound new definition that proves False](https://github.com/metamath/set.mm/issues/5612) — not fixed. Open. Concerns a definition added for the test; the report does not claim set.mm itself is inconsistent.
- 2023-08: [Definition soundness check missed an unsound definition with free setvars](https://github.com/digama0/mmj2/issues/70) — not fixed. Open. The definition was caught in review and not merged into set.mm.

---
Last checked 2026-11-26. Data: [JSON](/provers/metamath.json) · Page: [HTML](/provers/metamath/) · Methodology v0.1: [/methodology/](/methodology/) · Corrections: [/contribute/](/contribute/)
