Shipped libraries
A library is a set of Metamath statements and the proofs of its theorems, packed into the flash pages the calculator reads. Each library below contains the one before it: ring theory includes all of predicate calculus, and predicate calculus includes all of propositional calculus.
| Library | Covers | Axioms | Theorems | Size (bytes) | Flash pages |
|---|---|---|---|---|---|
| Propositional calculus | Formulas built with not, implies, and, or and if and only if. | 4 | 756 | 77,773 | 5 |
| Predicate calculus with equality | Adds quantifiers, equality and substitution. | 14 | 1,125 | 124,142 | 8 |
| Ring theory | Adds set theory, numbers, groups and rings. | 42 | 3,049 | 465,471 | 29 |
The Axioms column counts assertions labelled ax-, and the Theorems column counts assertions with a proof whose statement begins with the turnstile. Not counted here are syntax rules, including the few that are proved from the others, definitions, and any other unproved assertions. Each page lists them. A flash page holds 16,384 bytes.
Every page starts with a notation key. It then lists the syntax rules, axioms, definitions and theorems in the order the library stores them, each statement in mathematical notation with its ASCII spelling under it.
How the libraries are built
The libraries are extracted from set.mm. A manifest under libraries/ names the root theorems of each library and where it stops, and takes in everything they depend on.
libraries/source.toml pins the exact set.mm commit and its SHA-256, and mcpack build refuses any other file. Each page links the pinned commit.
The pages and the table above are generated when the site is built. They are decoded from the packed library, the same bytes the calculator reads, so the counts and sizes cannot differ from what ships.