LogicArtificialis

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
  • related declaration: a declaration on the same subject that does not formalise the statement

By area

AreaStatementsFormalisedPartlyLinked
Mathematical logic and foundations204000
Order, lattices, ordered algebraic structures62011
Field theory and polynomials27000
Associative rings and algebras118336
Category theory; homological algebra12111011
Group theory and generalizations48000
Topological groups, Lie groups158101
Dynamical systems and ergodic theory254000
Functional analysis385527
General topology16101

All links

TagStatementLinkDeclarations
1008Theorem 180.7 (Baire category theorem)formalised in greater generalityMathlib: BaireSpace.of_completelyPseudoMetrizable
dense_iInter_of_isOpen
3019Theorem 29.10 (Hahn’s embedding theorem)partly formalisedMathlib: hahnEmbedding_isOrderedAddMonoid
400JTheorem 161.1partly formalisedMathlib: gelfandStarTransform
500UTheorem 139.2 (Hahn–Banach)formalisedMathlib: exists_extension_norm_eq
5014Theorem 140.1 (Uniform boundedness principle)partly formalisedMathlib: banach_steinhaus
5017Theorem 140.4 (Open mapping theorem)formalisedMathlib: ContinuousLinearMap.isOpenMap
ContinuousLinearMap.exists_preimage_norm_le
5019Theorem 140.6 (Closed graph theorem)formalisedMathlib: LinearMap.continuous_of_isClosed_graph
501TTheorem 146.8 (Banach–Alaoglu)formalised in greater generalityMathlib: WeakDual.isCompact_closedBall
502DTheorem 141.2 (Krein–Milman)formalisedMathlib: closure_convexHull_extremePoints
6002Definition 61.1 (Category)definedMathlib: CategoryTheory.Category
600CDefinition 62.1 (Functor)definedMathlib: CategoryTheory.Functor
600JDefinition 63.1 (Natural transformation)definedMathlib: CategoryTheory.NatTrans
600XTheorem 65.3 (Yoneda lemma)formalisedMathlib: CategoryTheory.coyonedaEquiv
CategoryTheory.yonedaEquiv
CategoryTheory.yonedaLemma
601KDefinition 68.1 (Adjunction)definedMathlib: CategoryTheory.Adjunction
CategoryTheory.Adjunction.homEquiv
601VTheorem 69.2formalisedMathlib: CategoryTheory.Adjunction.rightAdjoint_preservesLimits
CategoryTheory.Adjunction.leftAdjoint_preservesColimits
6022Definition 70.1 (Monad)definedMathlib: CategoryTheory.Monad
6029Theorem 70.8 (Beck’s monadicity theorem)formalisedMathlib: CategoryTheory.Monad.monadicOfCreatesGSplitCoequalizers
CategoryTheory.Monad.createsGSplitCoequalizersOfMonadic
602KTheorem 71.10 (Freyd–Mitchell embedding theorem)formalised in greater generalityMathlib: CategoryTheory.Abelian.freyd_mitchell
603EDefinition 79.2 (Grothendieck topology, site)definedMathlib: CategoryTheory.GrothendieckTopology
701KTheorem 108.4 (Open mapping theorem)formalised in greater generalityMathlib: MonoidHom.isOpenMap_of_sigmaCompact
702XDefinition 71.3 (Abelian category)definedMathlib: CategoryTheory.Abelian
CategoryTheory.Abelian.ofCoimageImageComparisonIsIso
800BDefinition 39.1 (Semisimple ring)definedMathlib: IsSemisimpleRing
800GTheorem 39.6 (Wedderburn–Artin theorem)partly formalisedMathlib: IsSemisimpleRing.exists_ringEquiv_pi_matrix_divisionRing
IsSemisimpleRing.exists_algEquiv_pi_matrix_divisionRing
800YTheorem 47.7 (Nakayama’s lemma)partly formalisedMathlib: Submodule.eq_bot_of_le_smul_of_le_jacobson
801BTheorem 51.3 (Maschke’s theorem)partly formalisedMathlib: MonoidAlgebra.Submodule.exists_isCompl
801VTheorem 40.3 (Jacobson density theorem)formalisedMathlib: jacobson_density
8023Theorem 44.2 (Wedderburn’s little theorem)formalisedMathlib: 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.

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.

G thm:baire-category Thm. 180.7 Baire category theorem thm:uniform-boundedness Thm. 140.1 Uniform boundedness principle thm:baire-category->thm:uniform-boundedness thm:open-mapping Thm. 140.4 Open mapping theorem thm:baire-category->thm:open-mapping thm:open-mapping-locally-compact Thm. 108.4 Open mapping theorem thm:baire-category->thm:open-mapping-locally-compact thm:commutative-gelfand-naimark Thm. 161.1 thm:closed-graph Thm. 140.6 Closed graph theorem thm:open-mapping->thm:closed-graph thm:banach-alaoglu Thm. 146.8 Banach–Alaoglu thm:banach-alaoglu->thm:commutative-gelfand-naimark def:category Def. 61.1 Category def:functor Def. 62.1 Functor def:category->def:functor def:grothendieck-topology Def. 79.2 Grothendieck topology, site def:category->def:grothendieck-topology def:natural-transformation Def. 63.1 Natural transformation def:functor->def:natural-transformation thm:yoneda Thm. 65.3 Yoneda lemma def:natural-transformation->thm:yoneda def:adjunction Def. 68.1 Adjunction def:natural-transformation->def:adjunction def:monad Def. 70.1 Monad def:natural-transformation->def:monad thm:freyd-mitchell Thm. 71.10 Freyd–Mitchell embedding theorem thm:yoneda->thm:freyd-mitchell thm:adjoints-preserve-limits Thm. 69.2 def:adjunction->thm:adjoints-preserve-limits thm:beck-monadicity Thm. 70.8 Beck’s monadicity theorem def:adjunction->thm:beck-monadicity def:abelian-category Def. 71.3 Abelian category def:adjunction->def:abelian-category thm:adjoints-preserve-limits->thm:freyd-mitchell def:monad->thm:beck-monadicity def:abelian-category->thm:freyd-mitchell def:semisimple-ring Def. 39.1 Semisimple ring thm:wedderburn-artin Thm. 39.6 Wedderburn–Artin theorem def:semisimple-ring->thm:wedderburn-artin thm:wedderburn-little Thm. 44.2 Wedderburn’s little theorem def:semisimple-ring->thm:wedderburn-little