Formalisation
Some statements of this encyclopaedia have been formalised: stated, and usually proved, in a proof assistant, whose kernel checks every step. Below each such statement a line Lean names the declarations that formalise it, with links to their documentation; the statement's tag page shows them in full, with their source and their authors. A result formalised as stated, or in greater generality, is flagged Certified (flags of the results), and has a full green outline in the proof trees and the dependency graph.
Every link was checked by hand, by reading the declaration against the statement, at the commit of the library named below; the note with each link says how they differ. A link says one of the following.
- formalised: the declaration states this result, up to notation and the usual translation of definitions
- formalised in greater generality: the declaration proves a more general result, which gives this one at once
- partly formalised: the declaration proves part of the result, or a special case; the note says which
- defined: the declaration defines this notion; the note says where conventions differ
- stated without proof: the result is stated in Lean, but its proof is not finished
- : a declaration on the same subject that does not formalise the statement
By area
| Area | Statements | Formalised | Partly | Linked |
|---|---|---|---|---|
| Mathematical logic and foundations | 204 | 0 | 0 | 0 |
| Order, lattices, ordered algebraic structures | 62 | 0 | 1 | 1 |
| Field theory and polynomials | 27 | 0 | 0 | 0 |
| Associative rings and algebras | 118 | 3 | 3 | 6 |
| Category theory; homological algebra | 121 | 11 | 0 | 11 |
| Group theory and generalizations | 48 | 0 | 0 | 0 |
| Topological groups, Lie groups | 158 | 1 | 0 | 1 |
| Dynamical systems and ergodic theory | 254 | 0 | 0 | 0 |
| Functional analysis | 385 | 5 | 2 | 7 |
| General topology | 16 | 1 | 0 | 1 |
All links
| Tag | Statement | Link | Declarations |
|---|---|---|---|
| 1008 | Theorem 180.7 (Baire category theorem) | formalised in greater generality | Mathlib: BaireSpace.of_completelyPseudoMetrizabledense_iInter_of_isOpen |
| 3019 | Theorem 29.10 (Hahn’s embedding theorem) | partly formalised | Mathlib: hahnEmbedding_isOrderedAddMonoid |
| 400J | Theorem 161.1 | partly formalised | Mathlib: gelfandStarTransform |
| 500U | Theorem 139.2 (Hahn–Banach) | formalised | Mathlib: exists_extension_norm_eq |
| 5014 | Theorem 140.1 (Uniform boundedness principle) | partly formalised | Mathlib: banach_steinhaus |
| 5017 | Theorem 140.4 (Open mapping theorem) | formalised | Mathlib: ContinuousLinearMap.isOpenMapContinuousLinearMap.exists_preimage_norm_le |
| 5019 | Theorem 140.6 (Closed graph theorem) | formalised | Mathlib: LinearMap.continuous_of_isClosed_graph |
| 501T | Theorem 146.8 (Banach–Alaoglu) | formalised in greater generality | Mathlib: WeakDual.isCompact_closedBall |
| 502D | Theorem 141.2 (Krein–Milman) | formalised | Mathlib: closure_convexHull_extremePoints |
| 6002 | Definition 61.1 (Category) | defined | Mathlib: CategoryTheory.Category |
| 600C | Definition 62.1 (Functor) | defined | Mathlib: CategoryTheory.Functor |
| 600J | Definition 63.1 (Natural transformation) | defined | Mathlib: CategoryTheory.NatTrans |
| 600X | Theorem 65.3 (Yoneda lemma) | formalised | Mathlib: CategoryTheory.coyonedaEquivCategoryTheory.yonedaEquivCategoryTheory.yonedaLemma |
| 601K | Definition 68.1 (Adjunction) | defined | Mathlib: CategoryTheory.AdjunctionCategoryTheory.Adjunction.homEquiv |
| 601V | Theorem 69.2 | formalised | Mathlib: CategoryTheory.Adjunction.rightAdjoint_preservesLimitsCategoryTheory.Adjunction.leftAdjoint_preservesColimits |
| 6022 | Definition 70.1 (Monad) | defined | Mathlib: CategoryTheory.Monad |
| 6029 | Theorem 70.8 (Beck’s monadicity theorem) | formalised | Mathlib: CategoryTheory.Monad.monadicOfCreatesGSplitCoequalizersCategoryTheory.Monad.createsGSplitCoequalizersOfMonadic |
| 602K | Theorem 71.10 (Freyd–Mitchell embedding theorem) | formalised in greater generality | Mathlib: CategoryTheory.Abelian.freyd_mitchell |
| 603E | Definition 79.2 (Grothendieck topology, site) | defined | Mathlib: CategoryTheory.GrothendieckTopology |
| 701K | Theorem 108.4 (Open mapping theorem) | formalised in greater generality | Mathlib: MonoidHom.isOpenMap_of_sigmaCompact |
| 702X | Definition 71.3 (Abelian category) | defined | Mathlib: CategoryTheory.AbelianCategoryTheory.Abelian.ofCoimageImageComparisonIsIso |
| 800B | Definition 39.1 (Semisimple ring) | defined | Mathlib: IsSemisimpleRing |
| 800G | Theorem 39.6 (Wedderburn–Artin theorem) | partly formalised | Mathlib: IsSemisimpleRing.exists_ringEquiv_pi_matrix_divisionRingIsSemisimpleRing.exists_algEquiv_pi_matrix_divisionRing |
| 800Y | Theorem 47.7 (Nakayama’s lemma) | partly formalised | Mathlib: Submodule.eq_bot_of_le_smul_of_le_jacobson |
| 801B | Theorem 51.3 (Maschke’s theorem) | partly formalised | Mathlib: MonoidAlgebra.Submodule.exists_isCompl |
| 801V | Theorem 40.3 (Jacobson density theorem) | formalised | Mathlib: jacobson_density |
| 8023 | Theorem 44.2 (Wedderburn’s little theorem) | formalised | Mathlib: littleWedderburn |
Sources and credits
The links point to, and these pages reproduce excerpts of, the following works. Each excerpt of a Lean library (a declaration as written in its source file, and its docstring) is shown with that file's copyright notice and authors.
- Mathlib, the community library of formalised mathematics for the Lean theorem prover: commit 02a839b (2026-11-28), Apache License 2.0.
- 1000+ theorems, a list of more than a thousand named theorems, by Wikidata identifier, and of their formalisations in Lean, Isabelle, Rocq, Metamath and other systems: commit 8e04b97 (2026-07-22), public domain (The Unlicense).
How the links are kept and checked, and how to add one: formal/README.md.
How the formalisations depend on each other
An arrow from one statement to another means that, in Lean, the formalisation of the second depends on that of the first, directly or through other declarations. A solid arrow is also a dependency in this encyclopaedia; a dashed one is a dependency of the formal proof only. Click a node for its formalisation.