Fiveable

🔢Category Theory Unit 10 Review

QR code for Category Theory practice questions

10.3 The Eilenberg-Moore category

10.3 The Eilenberg-Moore category

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🔢Category Theory
Unit & Topic Study Guides

The Eilenberg-Moore category provides a framework for understanding algebras associated with monads. It defines objects as T-algebras and morphisms as T-algebra homomorphisms, creating a structured environment to study monadic computations.

This category encapsulates the algebraic structure of monads, allowing for analysis of relationships between algebras. It also enables the interpretation of monadic computations as morphisms between algebras, ensuring well-behaved and compositional semantics for these computations.

The Eilenberg-Moore Category

Definition of Eilenberg-Moore category

  • Eilenberg-Moore category CT\mathcal{C}^T for a monad (T,η,μ)(T, \eta, \mu) on a category C\mathcal{C} consists of:
    • Objects: T-algebras (A,a)(A, a) where AA is an object in C\mathcal{C} and a:TAAa: TA \to A is a morphism satisfying:
      • aηA=idAa \circ \eta_A = id_A (unit law)
      • aTa=aμAa \circ Ta = a \circ \mu_A (associativity law)
    • Morphisms: T-algebra homomorphisms f:(A,a)(B,b)f: (A, a) \to (B, b) where f:ABf: A \to B is a morphism in C\mathcal{C} such that:
      • fa=bTff \circ a = b \circ Tf (homomorphism condition)
  • Composition of morphisms inherited from the base category C\mathcal{C}
  • Identity morphisms for each object (A,a)(A, a) given by idA:AAid_A: A \to A

Relationship to monad algebras

  • Eilenberg-Moore category CT\mathcal{C}^T encapsulates algebras for the monad TT
    • Each object in CT\mathcal{C}^T is an algebra for TT with a specific structure
    • Morphisms in CT\mathcal{C}^T preserve the algebra structure and respect the monad operations
  • Provides a categorical framework to study and compare algebras for a monad
    • Allows analyzing relationships between algebras through morphisms (CT\mathcal{C}^T morphisms)
  • Generalizes the notion of algebras for a monad to a category-theoretic setting
Definition of Eilenberg-Moore category, Morphism - Wikipedia

Proof of category axioms

  • Identity morphism axiom: For each T-algebra (A,a)(A, a), idA:AAid_A: A \to A is a T-algebra homomorphism
    • idAa=aT(idA)id_A \circ a = a \circ T(id_A) holds by the identity law in C\mathcal{C}
  • Composition axiom: If f:(A,a)(B,b)f: (A, a) \to (B, b) and g:(B,b)(C,c)g: (B, b) \to (C, c) are T-algebra homomorphisms, then gf:(A,a)(C,c)g \circ f: (A, a) \to (C, c) is also a T-algebra homomorphism
    • (gf)a=g(fa)=g(bTf)=(gb)Tf=cT(gf)(g \circ f) \circ a = g \circ (f \circ a) = g \circ (b \circ Tf) = (g \circ b) \circ Tf = c \circ T(g \circ f) (by associativity and homomorphism conditions)
  • Associativity axiom: Composition of T-algebra homomorphisms is associative
    • Inherited from the associativity of composition in the base category C\mathcal{C}

Framework for monadic computations

  • Eilenberg-Moore category allows interpreting monadic computations as morphisms between algebras
    • A monadic computation m:TATBm: TA \to TB can be lifted to a morphism m:(A,a)(B,b)m^\sharp: (A, a) \to (B, b) in CT\mathcal{C}^T where:
      • m=bmm^\sharp = b \circ m (lifting operation)
  • Ensures well-behaved and compositional semantics for monadic computations
    • Composition of lifted morphisms corresponds to composition of monadic computations
    • Identity morphism represents the trivial computation ηA\eta_A
  • Enables studying properties and relationships of monadic computations using categorical tools
    • Monadic laws expressible as commutative diagrams in CT\mathcal{C}^T
    • Morphisms between algebras allow comparing and transforming monadic computations (CT\mathcal{C}^T morphisms)