Beck's monadicity theorem
ProvedFamousTheorems.beck_monadicity_theoremBeck's monadicity theorem. Let be a functor with a left adjoint . Suppose that reflects isomorphisms, that has coequalisers of all -split pairs, and that preserves them. Then is monadic: the comparison functor from to the category of algebras over the monad is an equivalence.
Beck's theorem characterises categories of algebras over monads. It shows, for example, that groups, rings and modules are monadic over sets, and that compact Hausdorff spaces are monadic over sets via the ultrafilter monad. It is the basis of descent theory.
Formalization note. Mathlib's CategoryTheory.Monad.monadicOfHasPreservesGSplitCoequalizersOfReflectsIsomorphisms, which constructs the monadicity data; the statement asserts that CategoryTheory.MonadicRightAdjoint G is inhabited. The two categories share a morphism universe.
import Mathlib
namespace FamousTheorems
universe v
theorem beck_monadicity_theorem {C D : Type*} [CategoryTheory.Category.{v} C] [CategoryTheory.Category.{v} D]
{G : CategoryTheory.Functor D C} {F : CategoryTheory.Functor C D} (adj : CategoryTheory.Adjunction F G)
[G.ReflectsIsomorphisms] [CategoryTheory.Monad.HasCoequalizerOfIsSplitPair G]
[CategoryTheory.Monad.PreservesColimitOfIsSplitPair G] : Nonempty (CategoryTheory.MonadicRightAdjoint G) := by sorry
end FamousTheorems