nLab comonadic functor

Contents

Contents

Idea

The notion of a comonadic functor is the dual of that of a monadic functor. See there for more background.

Definition

Given a pair L⊣RL\dashv R of adjoint functors, L:A→B:RL\colon A \to B\colon R, with counit ϵ\epsilon and unit η\eta, one forms a comonad Ω=(Ω,δ,ϵ)\mathbf{\Omega} = (\Omega, \delta, \epsilon) by Ω≔L∘R\Omega \coloneqq L \circ R, δ≔LηR\delta \coloneqq L \eta R. Ω\mathbf{\Omega}-comodules (aka Ω\mathbf{\Omega}-coalgebras) form a category B ΩB_{\mathbf{\Omega}} and there is a natural comparison functor K=K Ω:A→B ΩK = K_{\mathbf{\Omega}}\colon A \to B_{\mathbf{\Omega}} given by A↦(LA,LA→L(η A)LRLA)A \mapsto (L A, L A \stackrel{L(\eta_A)}\to L R L A).

A functor L:A→BL\colon A\to B is comonadic if it has a right adjoint RR and the corresponding comparison functor KK is an equivalence of categories. The adjunction L⊣RL \dashv R is said to be a comonadic adjunction.

Properties

Beck’s monadicity theorem has its dual, comonadic analogue. To discuss it, observe that for every Ω\Omega-comodule (N,ρ)(N, \rho),

Layer 1 N → ρ Q * Q * N ⇉ Q * η Q * N Q * Q * ρ Q * Q * Q * Q * N N\xrightarrow[\rho]{\qquad}Q^Q_ N\underoverset{\; Q^* \eta_{Q_N}\quad}{\;Q^ Q_* \rho\quad}{\rightrightarrows}Q^* Q_Q^ Q_* N ϵ Q * Q * N \epsilon_{Q^* Q_* N} ϵ N \epsilon_{N}

manifestly exhibits a split equalizer sequence.

…

Examples

Comonadic adjoints to monadic functors

If T:Set→SetT: Set \to Set is a monad on SetSet, with corresponding monadic functor U:Set T→SetU: Set^T \to Set, then the left adjoint F:Set→Set TF: Set \to Set^T is comonadic provided that the unique algebra map !:F(0)→F(1)!: F(0) \to F(1) is a regular monomorphism and not an isomorphism. In particular, if TT is given by an algebraic theory with at least one constant and a model with more than one element, then the left adjoint is comonadic (if the initial algebra F(0)F(0) is nonempty, then !:F(0)→F(1)!: F(0) \to F(1) is a split monomorphism since any constant c:1→F(0)c: 1 \to F(0) induces an algebra map F(1)→F(0)F(1) \to F(0) that retracts !!; on the other hand there is more than one algebra map F(1)→MF(1) \to M if MM has more than one element, so F(1)F(1) isn’t itself initial).

More generally, let AA be a locally small category with small copowers, and suppose aa is an object such that 0→a0 \to a is a regular monomorphism but not an isomorphism, then the copowering with aa,

−⋅a:Set→A- \cdot a: Set \to A

(left adjoint to A(a,−):A→SetA(a, -): A \to Set) is comonadic. See proposition 6.13 and related results in this paper by Mesablishvili.

Necessity

In the context of the treatment of modal operators given at Possible worlds via first-order logic and type theory, we find that base change along the terminal morphism from the type of worlds, WW, and its right adjoint, dependent product, form a comonadic adjunction. W *⊣∏ WW^{\ast} \dashv \prod_W.

Let H\mathbf{H} be a topos. For a type/object, PP, in H≃H /*\mathbf{H} \simeq \mathbf{H}_{/\ast} we have that

W *(P)=P×W→W W^{\ast} (P) = P \times W \to W

(projection on the second component). And for [Q→W][Q \to W] in H /W\mathbf{H}_{/W}, we have

∏ W(Q)=Γ W(Q) \prod_W (Q) = \Gamma_W(Q)

(space of sections).

Hence the composite, a kind of necessity operator

□ W:H /W⟶∏ WH⟶W *H /W \Box_W \colon \mathbf{H}_{/W}\stackrel{\prod_W}{\longrightarrow} \mathbf{H} \stackrel{W^\ast}{\longrightarrow} \mathbf{H}_{/W}

(an analog of the jet comonad), sends Q→WQ \to W to Γ W(Q)×W→W\Gamma_W(Q) \times W \to W.

If WW is an inhabited object so that W→*W \to \ast is an epimorphism, then W *W^\ast is a conservative functor. Since it moreover preserves all limits (having a further left adjoint, the dependent sum operation) the monadicity theorem applies and says that the coalgebras for this comonad are the types in H\mathbf{H}, or rather the types in H /W\mathbf{H}_{/W} which are in the image of W *W^{\ast}, hence of the form P×WP \times W, and equipped with the map

(const,id):P×W⟶□ W(P×W)≃P W×W (const, id) \;\colon\; P \times W \longrightarrow \Box_W (P \times W) \simeq P^W \times W

over WW (P WP^W denotes the internal hom), where the first component of the map sends p:Pp: P to the constant map at pp.

To see this as an equalizer, consider the two maps from □ W(P×W→W)\Box_W (P \times W \to W) to □ W□ W(P×W→W)\Box_W \Box_W (P \times W \to W). Over WW, these are formed from the two ways of mapping P WP^W to P (W×W)P^{(W \times W)}, by sending ff in P WP^W to g:(w,w′)↦f(w)g \colon (w, w') \mapsto f(w) and to h:(w,w′)↦f(w′)h \colon (w, w') \mapsto f(w').

The equalizer of these two maps is formed from the ff for which g=hg = h for all w,w′w, w' in WW, that is, when ff is constant. So the equalizer is equivalent to W *P=P×W→WW^{\ast} P = P \times W \to W.

Last revised on November 6, 2022 at 11:07:33. See the history of this page for a list of all contributions to it.