{
  "id": "metamath",
  "name": "Metamath",
  "aka": [
    "set.mm",
    "Metamath Proof Explorer"
  ],
  "summary": "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.",
  "details": "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",
  "open": "open-source",
  "license": "GPL-2.0 (metamath.exe); CC0-1.0 (set.mm)",
  "links": {
    "homepage": "https://us.metamath.org/",
    "repo": "https://github.com/metamath/set.mm",
    "docs": "https://us.metamath.org/downloads/metamath.pdf"
  },
  "trust_card": {
    "kernel": {
      "summary": "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": [
      {
        "name": "metamath.exe",
        "url": "https://github.com/metamath/metamath-exe",
        "note": "Original verifier in C, by Norman Megill."
      },
      {
        "name": "checkmm",
        "url": "https://github.com/EricSchmidt-119/checkmm",
        "note": "Verifier in C++ by Eric Schmidt."
      },
      {
        "name": "smetamath-rs",
        "url": "https://github.com/sorear/smetamath-rs",
        "note": "Parallel verifier in Rust by Stefan O'Rear."
      },
      {
        "name": "metamath-knife",
        "url": "https://github.com/metamath/metamath-knife",
        "note": "Rust fork of smetamath-rs, so not fully independent of it; also run in set.mm's CI."
      },
      {
        "name": "mmj2",
        "url": "https://github.com/digama0/mmj2",
        "note": "Java proof assistant and verifier; also runs the definition soundness check."
      },
      {
        "name": "mmverify.py",
        "url": "https://github.com/david-a-wheeler/mmverify.py",
        "note": "Verifier in Python, originally by Raph Levien."
      }
    ],
    "axioms": {
      "summary": "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": {
      "summary": "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_issues": [
      {
        "date": "2026-11",
        "title": "mmj2's definition checker accepted an unsound new definition that proves False",
        "url": "https://github.com/metamath/set.mm/issues/5612",
        "fixed": false,
        "note": "Open. Concerns a definition added for the test; the report does not claim set.mm itself is inconsistent."
      },
      {
        "date": "2023-08",
        "title": "Definition soundness check missed an unsound definition with free setvars",
        "url": "https://github.com/digama0/mmj2/issues/70",
        "fixed": false,
        "note": "Open. The definition was caught in review and not merged into set.mm."
      }
    ],
    "soundness_channel": "https://github.com/metamath/set.mm/issues"
  },
  "checker_level": "green",
  "last_release": {
    "version": "metamath-exe v0.198",
    "date": "2021-08-07",
    "source": "https://github.com/metamath/metamath-exe/tags"
  },
  "last_commit": {
    "date": "2026-11-01",
    "source": "https://github.com/metamath/metamath-exe/commits/master"
  },
  "last_checked": "2026-11-26",
  "attestation": "maintainer",
  "claimed_by_authors": false,
  "sources": [
    {
      "url": "https://github.com/metamath/set.mm/blob/develop/.github/workflows/verifiers.yml",
      "title": "set.mm CI workflow that runs the verifiers on every change",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://github.com/metamath/set.mm/pull/3339",
      "title": "Draft PR showing two proofs of FALSE from a proposed definition (not merged)",
      "accessed": "2026-11-26"
    },
    {
      "url": "https://github.com/metamath/metamath-exe",
      "title": "metamath-exe (developed on master after v0.198; version string 0.200.pre)",
      "accessed": "2026-11-26"
    }
  ],
  "computed": {
    "kind": "provers",
    "methodology_version": "0.1",
    "built": "2026-11-26",
    "links": {
      "html": "/provers/metamath/",
      "json": "/provers/metamath.json",
      "markdown": "/provers/metamath.md"
    },
    "used_by": [],
    "semantics_available": []
  }
}