# Todd Trimble Three topos theorems in one

I want to discuss a neat theorem (theorem 2 below) which manages to roll several fundamental theorems of topos theory into one.

I’ve known this theorem for some time now (about twelve years), but for a long time it struck me as just a kind of curiosity – I didn’t know any exciting new applications, and I didn’t even know what I should name the new concept that the theorem depends on. But, after thinking about some recent discussion on the blog on modal logic, it occurred to me there might be some justification for christening this new concept “modal operator”.

Just giving the baby a jazzy new name (even if it doesn’t really suit her in the end) somehow rekindled the motivation to want to show her to people: write down the proofs, see if I could make it grow, and so on. And in the process, I found a way to construct modal operators that for some reason hadn’t occurred to me before (theorem 3). If anyone knows about this concept from somewhere else, I’d really like to know about it!

Although this article is more or less self-contained, it’s really addressed to those who know some topos theory at an introductory level, say through the first five chapters of the book by Mac Lane and Moerdijk. I’ve included a little appendix on a way to think about sheafification, which I’m sure is known to experts but which I’ve never seen written down.

## Three theorems

There are three basic theorems for building new toposes from old ones:

• Slice theorem: If $E$ is a topos and $X$ is an object, then $E/X$ is a topos.

• Lex comonad theorem: If $G:E\to E$ is a left exact comonad acting on a topos $E$, then the category of $G$-coalgebras is also a topos.

If the slice theorem is the one which passes to toposes of presheaves on internal discrete categories, then the lex comonad theorem is the one which, among other things, extends that further to toposes of presheaves on general internal categories.

• Lex idempotent monad theorem: If $J:E\to E$ is a left exact idempotent monad acting on a topos $E$, then the category of $J$-algebras is also a topos.

This is the theorem which takes us from presheaves to sheaves. Here the monad $J$ is the composite of taking the associated sheaf functor (which is left exact) followed by the forgetful functor from sheaves to presheaves; the $J$-algebras are the sheaves. The monad $J$ is idempotent because the associated sheaf of a sheaf $X$ is canonically isomorphic to $X$ (alternatively, because the embedding of sheaves in presheaves is full and faithful). In fact, every such lex idempotent monad on a topos $E$ arises in this way, by sheafifying with respect to a Lawvere-Tierney topology in $E$.

Thus the three theorems taken together effect the passage from a base category $\mathrm{Set}$ as a topos, to Grothendieck toposes. We will show how to effect this passage in just one step, instead of three separate ones. In fact, we will see that all three theorems can be combined into one master theorem (theorem 2 below).

## Two theorems in one

The first reduction combines the slice theorem and the lex comonad theorem into one. The idea is rather simple. Indeed, notice that the slice $E/X$ is the category of coalgebras for the comonad $-×X:E\to E$, where the comonad structure comes from the unique comonoid structure which exists on any object $X$:

$\delta :X\to X×X\phantom{\rule{2em}{0ex}}\epsilon :X\to 1$\delta: X \to X \times X \qquad \varepsilon: X \to 1

The comonad $-×X$ isn’t left exact (it doesn’t preserve the terminal object), but it does preserve pullbacks.

Thus, we will reproduce the following theorem. It has long been known as folklore to experts, and appears in Johnstone’s Sketches of an Elephant, section A, Remark 4.2.3.

Theorem 1: If $G:E\to E$ is a pullback-preserving comonad acting on a topos $E$, then the category of coalgebras ${E}_{G}$ is also a topos.

Proof: It suffices to produce finite limits and power objects in ${E}_{G}$. Pullbacks in ${E}_{G}$ are created by the forgetful functor ${E}_{G}\to E$ because $G$ preserves pullbacks, and $G1$ is terminal in ${E}_{G}$ if $1$ is terminal in $E$, since the right adjoint $G-:E\to {E}_{G}$ preserves limits. So ${E}_{G}$ is finitely complete.

Since $G:E\to E$ preserves pullbacks, it also preserves monos. In particular, if ${\in }_{Y}↪Y×PY$ denotes the elementhood relation between $Y$ and its power object $PY$ in $E$, we have a chain of monos

(1)$G\left({\in }_{Y}\right)↪G\left(Y×PY\right)\cong GY{×}_{G1}GPY↪GY×GPY$G(\in_Y) \hookrightarrow G(Y \times P Y) \cong G Y \times_{G 1} G P Y \hookrightarrow G Y \times G P Y

where the middle two objects are pullbacks of the diagram

$\begin{array}{ccc}& & GY\\ & & ↓G!\\ GPY& \stackrel{G!}{\to }& G1\end{array}$\array{ & & G Y \\ & & \downarrow G ! \\ G P Y & \stackrel{G !}{\to} & G 1 }

in $E$. The composite of the monos in (1) names a subobject of $GY×GPY$, which is classified by a map

$\varphi :GPY\to PGY$\phi: G P Y \to P G Y

in $E$.

Let $\delta :G\to GG$ denote the comultiplication and $\epsilon :G\to {1}_{E}$ the counit of $G$, and suppose $Y$ carries a $G$-coalgebra $\eta :Y\to GY$. Define the object ${P}_{G}Y$ in ${E}_{G}$ to be the equalizer in ${E}_{G}$ of the following pair of coalgebra maps from the cofree coalgebra $GPY$ to itself:

(2)$\begin{array}{ccc}GPY& \stackrel{\mathrm{id}}{\to }& GPY\\ \delta PY↓& & ↑GP\eta \\ GGPY& \stackrel{G\varphi }{\to }& GPGY\end{array}$\array{ G P Y & \stackrel{id}{\to} & G P Y \\ \delta P Y \downarrow & & \uparrow G P\eta \\ G G P Y & \stackrel{G\phi}{\to} & G P G Y }

where $P$ is the contravariant power object functor (whence the direction $P\eta :PGY\to PY$). We will show that ${P}_{G}Y$ is the power object of $Y$ in ${E}_{G}$.

So, let $\left(X,\theta :X\to GX\right)$ be a coalgebra. We must show that coalgebra maps $f:X\to {P}_{G}Y$ correspond precisely to subcoalgebras of the product $X×Y$ in ${E}_{G}$ (whose underlying object in $E$ is the pullback $X{×}_{G1}Y$). The remainder of the proof will be proven with the help of three lemmas.

Lemma 0: If $\left(S,\gamma :S\to GS\right)$ is a $G$-coalgebra, then the coassociativity square

$\begin{array}{ccc}S& \stackrel{\gamma }{\to }& GS\\ \gamma ↓& & ↓G\gamma \\ GS& \stackrel{\delta S}{\to }& GGS\end{array}$\array{ S & \stackrel{\gamma}{\to} & G S \\ \gamma \downarrow & & \downarrow G\gamma \\ G S & \stackrel{\delta S}{\to} & G G S }

is a pullback. In any pullback, if the two pullback projections coincide (as here, where they are both $\gamma$), then the pullback projection is monic.

Proof: In any commutative square

$\begin{array}{ccc}X& \stackrel{f}{\to }& GS\\ g↓& & ↓G\gamma \\ \mathrm{GS}& \stackrel{\delta S}{\to }& GGS\end{array}$\array{ X & \stackrel{f}{\to} & G S \\ g \downarrow & & \downarrow G\gamma \\ GS & \stackrel{\delta S}{\to} & G G S }

the arrows $f$, $g$ coincide because $G\gamma$ and $\delta S$ have a common left inverse $G\epsilon S:GGS\to GS$. Therefore the pullback of the arrows $G\gamma$, $\delta S$ is the same as their equalizer, which is $\gamma :S\to GS$. For the second sentence, the condition that the two pullback projections coincide is equivalent to the condition that the projection is the equalizer, and equalizers are monic. $\square$

Lemma 1: Suppose $G:E\to E$ is a comonad which preserves pullbacks, and let $\left(S,\gamma :S\to GS\right)$ be a $G$-coalgebra. Then a pair $\left(k:R\to S,\beta :R\to GR\right)$ defines a subcoalgebra of $S$ precisely when $k$ is monic and the compatibility square

(3)$\begin{array}{ccc}R& \stackrel{\beta }{\to }& GR\\ k↓& & ↓Gk\\ S& \stackrel{\gamma }{\to }& GS\end{array}$\array{ R & \stackrel{\beta}{\to} & G R \\ k \downarrow & & \downarrow G k \\ S & \stackrel{\gamma}{\to} & G S }

commutes.

Proof: First, $Gk$ is monic assuming $k$ is monic, since $G$ preserves pullbacks. Therefore $\beta$ is uniquely determined. We must show that $\beta :R\to GR$ satisfies the axioms for a coalgebra structure, i.e., that

(4)$G\beta \circ \beta =\delta R\circ \beta \phantom{\rule{2em}{0ex}}\epsilon R\circ \beta ={1}_{R}.$G\beta \circ \beta = \delta R \circ \beta \qquad \varepsilon R \circ \beta = 1_R.

Since $k$ is monic, the second equation follows from the equation

$k\circ \epsilon R\circ \beta =k$k \circ \varepsilon R \circ \beta = k

but this equation holds since

$k\circ \epsilon R\circ \beta =\epsilon S\circ Gk\circ \beta =\epsilon S\circ \gamma \circ k={1}_{S}\circ k$k \circ \varepsilon R \circ \beta = \varepsilon S \circ G k \circ \beta = \varepsilon S \circ \gamma \circ k = 1_S \circ k

using in turn naturality of $\epsilon$, the square (3), and the fact that $S$ is a coalgebra.

Again, $G$ preserves pullbacks, so $GGk$ is monic assuming $k$ is. So the first equation of (4) follows from

$GGk\circ G\beta \circ \beta =GGk\circ \delta R\circ \beta$G G k \circ G\beta \circ \beta = G G k \circ \delta R \circ \beta

and this last equation is left to the reader; it follows from naturality of $\delta$, the square (3), and the fact that $S$ is a coalgebra. $\square$

Lemma 2: In the notation of lemma 1, if $k:R\to S$ is a monic coalgebra map, then the square

(5)$\begin{array}{ccc}R& \stackrel{\beta }{\to }& GR\\ k↓& & ↓Gk\\ S& \stackrel{\gamma }{\to }& GS\end{array}$\array{ R & \stackrel{\beta}{\to} & G R \\ k \downarrow & & \downarrow G k \\ S & \stackrel{\gamma}{\to} & G S }

is a pullback.

Proof: Suppose we have a commutative square

(6)$\begin{array}{ccc}X& \stackrel{f}{\to }& GR\\ g↓& & ↓Gk\\ S& \stackrel{\gamma }{\to }& GS\end{array}$\array{ X & \stackrel{f}{\to} & G R \\ g \downarrow & & \downarrow G k \\ S & \stackrel{\gamma}{\to} & G S }

First, we prove that $f$ equalizes the pair $\delta R,G\beta :GR\to GGR$. We have a series of equations

$GGk\circ G\beta \circ f=G\gamma \circ Gk\circ f=G\gamma \circ \gamma \circ g=\delta S\circ \gamma \circ g=\delta S\circ Gk\circ f=GGk\circ \delta R\circ f$G G k \circ G\beta \circ f = G\gamma \circ G k \circ f = G\gamma \circ \gamma \circ g = \delta S \circ \gamma \circ g = \delta S \circ G k \circ f = G G k \circ \delta R \circ f

using, in turn, (5) (and functoriality of $G$), (6), the coassociativity on the coalgebra $S$, (6) again, and naturality of $\delta$. Comparing the first and last terms of this series, and using the fact that $GGk$ is monic (because $k$ is monic and $G$ preserves pullbacks), we obtain $\delta R\circ f=G\beta \circ f$.

Thus $f$ factors through the equalizer $\beta :R\to GR$ of $\delta R,G\beta :GR\stackrel{\to }{\to }GGR$. Write $f=\beta \circ p$. We then have

$\gamma \circ k\circ p\stackrel{\left(5\right)}{=}Gk\circ \beta \circ p=Gk\circ f\stackrel{\left(6\right)}{=}\gamma \circ g$\gamma \circ k \circ p \stackrel{(5)}{=} G k \circ \beta \circ p = G k \circ f \stackrel{(6)}{=} \gamma \circ g

and since $\gamma$ is monic (cf. lemma 0), we infer that $k\circ p=g$. Moreover, this $p$ is unique since $k$ is monic. Thus, we have shown that any square (6) factors uniquely, via the map $p:X\to R$, through the square (5); this completes the proof. $\square$

Now we return to the proof of Theorem 1; it remains to show that the equalizer $j:{P}_{G}\left(Y\right)\to GPY$ of the pair of maps in (2) is the power object of the coalgebra $\left(Y,\eta :Y\to GY\right)$. Let $\left(X,\theta :X\to GX\right)$ be a coalgebra, and $f:X\to {P}_{G}\left(Y\right)$ a coalgebra map. Then $g=jf:X\to GPY$ equalizes the maps in (2). Moreover, since $GPY$ is cofree, we have that to each $G$-coalgebra map $g:X\to GPY$, there exists a unique $h:X\to PY$ in the topos $E$ such that

$g=\left(X\stackrel{\theta }{\to }GX\stackrel{Gh}{\to }GPY\right)$g = (X \stackrel{\theta}{\to} G X \stackrel{G h}{\to} G P Y)

Thus $g:X\to GPY$ in ${E}_{G}$ or $h:X\to PY$ in $E$ corresponds to a subobject $i:R↪X×Y$ in $E$. We need to check that the condition that $g$ equalizes the pair of maps in (2) corresponds precisely to the condition that $R$ is a subcoalgebra of $X{×}_{G1}Y$ (the product of $X$ and $Y$ in ${E}_{G}$). Or, taking into account lemmas 0, 1, 2: precisely to the condition that there is a pullback diagram of the form

(7)$\begin{array}{ccc}R& \stackrel{\beta }{\to }& GR\\ k↓& & ↓Gk\\ X{×}_{G1}Y& \stackrel{\gamma }{\to }& G\left(X{×}_{G1}Y\right)\end{array}$\array{ R & \stackrel{\beta}{\to} & G R \\ k \downarrow & & \downarrow G k \\ X \times_{G 1} Y & \stackrel{\gamma}{\to} & G(X \times_{G 1} Y) }

where $\gamma$ is the coalgebra structure on $X{×}_{G1}Y$, and $k$ is monic.

Proof: That $g:X\to GPY$ equalizes the pair of maps in (2) translates to a condition on $h:X\to PY$, that the following diagram commutes:

$\begin{array}{ccccc}& & X& \stackrel{h}{\to }& PY\\ & \theta ↙& ↓g& & ↑P\eta \\ GX& \stackrel{Gh}{\to }& GPY& \stackrel{\varphi }{\to }& PGY\end{array}$\array{ & & X & \stackrel{h}{\to} & P Y \\ & \theta \swarrow & \downarrow g & & \uparrow P\eta \\ G X & \stackrel{G h}{\to} & G P Y & \stackrel{\phi}{\to} & P G Y }

Or, that the subobject $i:R↪Y×X$ equals the subobject classified by

$X\stackrel{\theta }{\to }GX\stackrel{Gh}{\to }GPY\stackrel{\varphi }{\to }PGY\stackrel{P\eta }{\to }PY.$X \stackrel{\theta}{\to} G X \stackrel{G h}{\to} G P Y \stackrel{\phi}{\to} P G Y \stackrel{P\eta}{\to} P Y.

First, remembering how $\varphi$ was defined, the subobject classified by $\varphi \circ Gh:GX\to PGY$ appears as the left-hand column in

$\begin{array}{ccccc}& GR& \to & G\left({\in }_{Y}\right)& \\ & Gi↓& & ↓& \\ & G\left(Y×X\right)& \stackrel{G\left(1×h\right)}{\to }& G\left(Y×PY\right)& \\ ⟨G\left({\pi }_{1}\right),G\left({\pi }_{2}\right)⟩& ↓& & ↓& ⟨G\left({\pi }_{1}\right),G\left({\pi }_{2}\right)⟩\\ & GY×GX& \stackrel{1×Gh}{\to }& GY×GPY& \end{array}$\array{ & G R & \to & G(\in_Y) & \\ & G i \downarrow & & \downarrow & \\ & G(Y \times X) & \stackrel{G(1 \times h)}{\to} & G(Y \times P Y) & \\ \langle G(\pi_1), G(\pi_2) \rangle & \downarrow & & \downarrow & \langle G(\pi_1), G(\pi_2) \rangle \\ & G Y \times G X & \stackrel{1 \times G h}{\to} & G Y \times G P Y & }

Then, the condition is that postcomposing $\varphi \circ Gh$ by $P\eta$ and precomposing with $\theta$, the subobject of $Y×X$ classified by $P\eta \circ \varphi \circ Gh\circ \theta$, which is obtained by further pulling back as below, should match the subobject $i:R↪Y×X$, as in the left-hand column below:

$\begin{array}{ccccc}R& \to & GR& \to & G\left({\in }_{Y}\right)\\ k↓& & Gi↓& & ↓\\ Y{×}_{G1}X& \stackrel{\eta {×}_{G1}\theta }{\to }& GY{×}_{G1}GX& \to & G\left(Y×PY\right)\\ ↓& & ↓& & ↓\\ Y×X& \stackrel{\eta ×\theta }{\to }& GY×GX& \stackrel{1×Gh}{\to }& GY×GPY\end{array}$\array{ R & \to & G R & \to & G(\in_Y) \\ k \downarrow & & G i \downarrow & & \downarrow \\ Y \times_{G 1} X & \stackrel{\eta \times_{G 1} \theta}{\to} & G Y \times_{G 1} G X & \to & G(Y \times P Y) \\ \downarrow & & \downarrow & & \downarrow \\ Y \times X & \stackrel{\eta \times \theta}{\to} & G Y \times G X & \stackrel{1 \times G h}{\to} & G Y \times G P Y }

This condition amounts saying that the top left square is a pullback (and that $i:R\to Y×X$ factors through the inclusion $Y{×}_{G1}X↪Y×X$), since the other three squares are obviously pullbacks already if $G$ preserves pullbacks. That the top left square is a pullback is tantamount to having a pullback (through which the top left square factors)

$\begin{array}{ccc}R& \to & GR\\ k↓& & ↓Gk\\ Y{×}_{G1}X& \stackrel{\gamma }{\to }& G\left(Y{×}_{G1}X\right)\end{array}$\array{ R & \to & G R \\ k \downarrow & & \downarrow G k \\ Y \times_{G 1} X & \stackrel{\gamma}{\to} & G(Y \times_{G 1} X) }

precisely as in (7). Thus the proof of theorem 1 is complete. $\square$

## Application of theorem 1

Let us put this theorem to work, by showing how the passage from a topos $E$ to the topos of presheaves on an internal category can be accomplished in just one step, instead of two. Given an internal category in $E$ with underlying span

$\begin{array}{ccccc}& & {C}_{1}& & \\ & s↙& & ↘t\\ {C}_{0}& & & & {C}_{0}\end{array}$\array{ & & C_1 & & \\ & s \swarrow & & \searrow t \\ C_0 & & & & C_0 }

there is a comonad formed as the composite

$E\stackrel{{C}_{0}×-}{\to }E/{C}_{0}\stackrel{{s}^{*}}{\to }E/{C}_{1}\stackrel{{\Pi }_{t}}{\to }E/{C}_{0}\stackrel{\sum _{{C}_{0}}}{\to }E$E \stackrel{C_0 \times -}{\to} E/C_0 \stackrel{s^*}{\to} E/C_1 \stackrel{\Pi_t}{\to} E/C_0 \stackrel{\sum_{C_0}}{\to} E

where ${s}^{*}$ denotes pulling back along $s$, and ${\Pi }_{t}$ is right adjoint to ${t}^{*}$.

This comonad takes an object $Y$ of $E$ (“a set”) to

$\sum _{x\in {C}_{0}}{Y}^{{t}^{-1}\left(x\right)}$\sum_{x \in C_0} Y^{t^{-1}(x)}

where ${t}^{-1}\left(x\right)$ denotes the set of all morphisms whose target is $x\in {C}_{0}$. This comonad is manifestly pullback-preserving. A coalgebra structure

$Y\to \sum _{x\in {C}_{0}}{Y}^{{t}^{-1}\left(x\right)}$Y \to \sum_{x \in C_0} Y^{t^{-1}(x)}

sends $y\in Y$ to some summand at an index $x$ (so we think of this $y↦x$ as giving a fibering $p:Y\to {C}_{0}$). More precisely, $y$ is mapped to a function ${y}^{-}:{t}^{-1}\left(x\right)\to Y$, so that given $f:x\prime \to x=p\left(y\right)$ in ${t}^{-1}\left(x\right)$, hitting it with ${y}^{-}$ gives an element ${y}^{f}$ in $Y$. The assignments $\left(f,y\right)↦{y}^{f}$ should be thought of as producing a (contravariant) action of $C$ on the fibered set $Y\to {C}_{0}$, inasmuch as the coalgebra axioms guarantee equational axioms of the form

$\left({y}^{f}{\right)}^{g}={y}^{f\circ g}\phantom{\rule{2em}{0ex}}{y}^{1}=1$(y^f)^g = y^{f \circ g} \qquad y^1 = 1

wherever they make sense. But such a $C$-action is simply another name for a presheaf $F$ on $C$, where the fibering $Y\to {C}_{0}$ corresponds to the category of elements of $F$.

In summary, coalgebras of this comonad $G:E\to E$ are exactly internal presheaves on $C$, and theorem 1 shows that the category of presheaves is a topos, in a single shot.

## Two theorems in one, again

We’ve now given a reduction of three fundamental theorems of topos theory to two:

• Pullback-preserving comonad theorem: Given a pullback-preserving comonad $G:E\to E$ acting on a topos $E$, the category of coalgebras ${E}_{G}$ is a topos.

• Lex idempotent monad theorem: Given a left exact idempotent monad $J:E\to E$ acting on a topos $E$, the category of algebras ${E}^{J}$ is a topos.

What is interesting in these cases is that the relevant constructions, in particular the construction of power objects, can be made to look exactly the same in ${E}^{J}$ as in ${E}_{G}$. It is therefore very tempting to seek a further reduction, i.e., a generalization which combines these two theorems into one. But finding a common generalization of monads and comonads would seem to be an ill-advised task, to say the least.

In particular, there is no analogue of the counit

$\epsilon :G\to {1}_{E}:E\to E$\varepsilon: G \to 1_E: E \to E

in the monad case, even when the monad is idempotent. However, looking over our earlier proofs, particularly of lemmas 0, 1, and 2, we found that the presence of a counit for our comonad $G$ played a very restricted role. In fact, it played no essential role whatsoever, except in one place in the proof of lemma 0, where it was used to prove that coalgebra structures fit into pullback squares

$\begin{array}{ccc}S& \stackrel{\gamma }{\to }& GS\\ \gamma ↓& & ↓G\gamma \\ GS& \stackrel{\delta S}{\to }& GGS;\end{array}$\array{ S & \stackrel{\gamma}{\to} & G S \\ \gamma \downarrow & & \downarrow G \gamma \\ G S & \stackrel{\delta S}{\to} & G G S; }

here we used only the fact that $G\epsilon$ was a common left inverse to $\delta$, $G\gamma$. In other words, if we take this pullback property for granted, then the rest of the proof of theorem 1 goes through without invoking the counit again.

Let’s look now at the monad side of things. For general monads $J$, there are two structure maps

$Ju,uJ:J\stackrel{\to }{\to }JJ$J u, u J: J \stackrel{\to}{\to} J J

where $u:1\to J$ denotes the unit, but for idempotent monads these maps coincide: each is the inverse of the monad multiplication

$m:JJ\to J$m: J J \to J

which for an idempotent monad is an isomorphism, by definition. Moreover, an algebra structure for an idempotent monad,

$\xi :JX\to X,$\xi: J X \to X,

is itself an isomorphism with inverse given by the unit $uX:X\to JX$. In particular, it is trivial that for a $J$-algebra $X$, the following square is a pullback:

$\begin{array}{ccc}X& \stackrel{uX}{\to }& JX\\ uX↓& & ↓JuX\\ JX& \stackrel{uJX}{\to }& JJX\end{array}$\array{ X & \stackrel{u X}{\to} & J X \\ u X \downarrow & & \downarrow J u X \\ J X & \stackrel{u J X}{\to} & J J X }

since all arrows in sight are isomorphisms. If we then define $\delta :J\to JJ$ to be $uJ$, then this pullback square for $J$-algebras has the same formal shape as the pullback square for $G$-coalgebras above.

With these preliminaries in place, we now propose the following definition as a generalization of pullback-preserving comonad and lex idempotent monad:

Definition 1: Let $E$ be a finitely complete category.

• A modal operator on $E$ is a pullback-preserving functor $G:E\to E$ equipped with a transformation $\delta :G\to GG$, such that the following coassociativity square is a pullback:

$\begin{array}{ccc}G& \stackrel{\delta }{\to }& GG\\ \delta ↓& & G\delta \\ GG& \stackrel{\delta G}{\to }& GGG\end{array}$\array{ G & \stackrel{\delta}{\to} & G G \\ \delta \downarrow & & G\delta \\ G G & \stackrel{\delta G}{\to} & G G G }
• A modal operator $\left(G,\delta \right)$ is strict if

${1}_{G1}=\left(G1\stackrel{\delta G1}{\to }GG1\stackrel{G1}{\to }G1\right)$1_{G 1} = (G 1 \stackrel{\delta G 1}{\to} G G 1 \stackrel{G 1}{\to} G 1)
• If $\left(G,\delta \right)$ is a modal operator on $E$, then a $G$-structure is an object $X$ of $E$ together with a morphism $\eta :X\to GX$ such that the coassociativity square

$\begin{array}{ccc}X& \stackrel{\eta }{\to }& GX\\ \eta ↓& & ↓G\eta \\ GX& \stackrel{\delta X}{\to }& GGX\end{array}$\array{ X & \stackrel{\eta}{\to} & G X \\ \eta \downarrow & & \downarrow G\eta \\ G X & \stackrel{\delta X}{\to} & G G X }

is a pullback. A morphism of $G$-structures $\left(X,\eta \right)$, $\left(Y,\theta :Y\to GY\right)$ is a map $f:X\to Y$ such that

$\begin{array}{ccc}X& \stackrel{\eta }{\to }& GX\\ f↓& & ↓Gf\\ Y& \stackrel{\theta }{\to }& GY\end{array}$\array{ X & \stackrel{\eta}{\to} & G X \\ f \downarrow & & \downarrow G f \\ Y & \stackrel{\theta}{\to} & G Y }

commutes. $\square$

The category of $G$-structures will be denoted ${E}_{G}$. It is not hard to see that $G$ is strict if and only if $G1$ is terminal in ${E}_{G}$.

Remark: I invite discussion about the appropriateness of the term ‘modal operator’ to describe such structures. On the one hand, Tarski has given a topological interpretation of a modal operator ‘necessity’, by considering the operator on the Boolean algebra $PX$ which maps a subset to its interior with respect to some given topology on $X$; such interior operators are the same as left exact comonads on $PX$. (See for instance the paper by Awodey-Kinisha.) On the other hand, Lawvere claims that a Lawvere-Tierney topology, that is a left exact internal monad on $\Omega$, or (on a categorified level) a left exact idempotent monad on the ambient topos $E$, should be construed as a modal operator $j$ where truth of $j\varphi$ is read as saying ’$\varphi$ is true locally’ (where the meaning of ‘local’ depends on the Lawvere-Tierney topology chosen). It’s clear that I’m trying to consider an abstract common (categorified) generalization that covers these cases, but at present I haven’t assembled more convincing arguments for why ‘modal operator’ is a good term. Maybe it is, maybe it isn’t…

I’m happy to hear other suggestions, of course. I seem to recall that modal operators as defined here bear some broad resemblance to the notion of “interpolad” due to Koslowski, but I have not studied this work. $\square$

Here then is our fundamental three-in-one theorem:

Theorem 2: Let $\left(G,\delta \right)$ be a strict modal operator on a topos $E$. Then the category of $G$-structures ${E}_{G}$ is also a topos.

Proof: This proceeds pretty much the same way as the proof given above for theorem 1. It is straightforward to check that the underlying functor ${E}_{G}\to E$, from $G$-structures to $E$, creates and preserves pullbacks if $G$ preserves pullbacks. Thus ${E}_{G}$ admits pullbacks, and it admits a terminal object $G1$ under the strictness assumption; therefore ${E}_{G}$ admits all finite limits. In particular, the underlying object in $E$ of the product of two $G$-structures $X$, $Y$ is $X{×}_{G1}Y$.

Power objects in ${E}_{G}$ are constructed just as they were in theorem 1. First one constructs an auxiliary map in $E$,

$\varphi :GPY\to PGY,$\phi: G P Y \to P G Y,

namely the map which classifies the subobject defined by the composite mono

$G\left({\in }_{Y}\right)↪G\left(Y×PY\right)\cong GY{×}_{G1}GPY↪GY×GPY$G(\in_Y) \hookrightarrow G(Y \times P Y) \cong G Y \times_{G 1} G P Y \hookrightarrow G Y \times G P Y

and then as before one defines, for a $G$-structure $\left(Y,\eta :Y\to GY\right)$, a putative power object ${P}_{G}\left(Y\right)$ in ${E}_{G}$, namely the equalizer of the diagram

(8)$\begin{array}{ccc}GPY& \stackrel{\mathrm{id}}{\to }& GPY\\ \delta PY↓& & ↑GP\eta \\ GGPY& \stackrel{G\varphi }{\to }& GPGY\end{array}$\array{ G P Y & \stackrel{id}{\to} & G P Y \\ \delta P Y \downarrow & & \uparrow G P\eta \\ G G P Y & \stackrel{G\phi}{\to} & G P G Y }

in ${E}_{G}$. One then has the task of proving that this works: that given a $G$-structure $\left(X,\theta :X\to GX\right)$, that $G$-structure maps are in natural bijection with $G$-structure subobjects of $X{×}_{G1}Y$, the product of $X$ and $Y$ in ${E}_{G}$. At the risk of some redundancy (by essentially repeating earlier arguments), let’s run through this now.

Lemma 3: Let $G:E\to E$ be a modal operator, and $\left(S,\gamma :S\to GS\right)$ a $G$-structure. Then a mono in ${E}_{G}$ targeted at $\left(S,\gamma \right)$ is given precisely by a mono $k:R\to S$ in $E$ which fits into a pullback square of the form

(9)$\begin{array}{ccc}R& \stackrel{\beta }{\to }& GR\\ k↓& & ↓Gk\\ S& \stackrel{\gamma }{\to }& GS\end{array}$\array{ R & \stackrel{\beta}{\to} & G R \\ k \downarrow & & \downarrow G k \\ S & \stackrel{\gamma}{\to} & G S }

Proof: A morphism $k$ in ${E}_{G}$ is monic if and only if its underlying morphism in monic in $E$, because the underlying functor ${E}_{G}\to E$ creates and preserves pullbacks and therefore monos.

So let $k:R\to S$ be a mono in $E$, and suppose (9) is a pullback square. The map $\beta :R\to GR$ is uniquely determined since $Gk$ is monic, and we claim it defines a $G$-structure on $R$. Indeed, we have a diagram

$\begin{array}{ccccc}R& \stackrel{\beta }{\to }& GR& \stackrel{Gk}{\to }& GS\\ \beta ↓& ?& ↓G\beta & & ↓G\gamma \\ GR& \stackrel{\delta R}{\to }& GGR& \stackrel{GGk}{\to }& GGS\end{array}$\array{ R & \stackrel{\beta}{\to} & G R & \stackrel{G k}{\to} & G S \\ \beta \downarrow & ? & \downarrow G\beta & & \downarrow G\gamma \\ G R & \stackrel{\delta R}{\to} & G G R & \stackrel{G G k}{\to} & G G S }

where the right-hand square is a pullback by assumption and the fact that $G$ preserves pullbacks. Therefore, to show the left-hand square is a pullback, it suffices to show the composite square is a pullback. But this composite is the same as the composite square for the diagram

$\begin{array}{ccccc}R& \stackrel{k}{\to }& S& \stackrel{\gamma }{\to }& GS\\ \beta ↓& & ↓\gamma & & ↓G\gamma \\ GR& \stackrel{Gk}{\to }& GS& \stackrel{\delta S}{\to }& GGS\end{array}$\array{ R & \stackrel{k}{\to} & S & \stackrel{\gamma}{\to} & G S \\ \beta \downarrow & & \downarrow \gamma & & \downarrow G\gamma \\ G R & \stackrel{G k}{\to} & G S & \stackrel{\delta S}{\to} & G G S }

in which both squares are pullbacks. Thus $\beta :R\to GR$ indeed defines a $G$-structure, and commutativity of (9) says $k$ is a $G$-structure map. Thus one direction of the lemma is established.

For the other direction, suppose that (9) defines a monomorphism of $G$-structures. We must show (9) is a pullback. For this, suppose we have a commutative square

(10)$\begin{array}{ccc}X& \stackrel{f}{\to }& GR\\ g↓& & ↓Gk\\ S& \stackrel{\gamma }{\to }& GS\end{array}$\array{ X & \stackrel{f}{\to} & G R \\ g \downarrow & & \downarrow G k \\ S & \stackrel{\gamma}{\to} & G S }

First, we prove that $f$ equalizes the pair $\delta R,G\beta :GR\to GGR$. We have a series of equations

$GGk\circ G\beta \circ f=G\gamma \circ Gk\circ f=G\gamma \circ \gamma \circ g=\delta S\circ \gamma \circ g=\delta S\circ Gk\circ f=GGk\circ \delta R\circ f$G G k \circ G\beta \circ f = G\gamma \circ G k \circ f = G\gamma \circ \gamma \circ g = \delta S \circ \gamma \circ g = \delta S \circ G k \circ f = G G k \circ \delta R \circ f

using, in turn, (9) (and functoriality of $G$), (10), the coassociativity on the $G$-structure $S$, (10) again, and naturality of $\delta$. Comparing the first and last terms of this series, and using the fact that $GGk$ is monic, we obtain $\delta R\circ f=G\beta \circ f$.

Thus $f$ factors through the equalizer $\beta :R\to GR$ of $\delta R,G\beta :GR\stackrel{\to }{\to }GGR$. Write $f=\beta \circ p$. We then have

$\gamma \circ k\circ p\stackrel{\left(9\right)}{=}Gk\circ \beta \circ p=Gk\circ f\stackrel{\left(10\right)}{=}\gamma \circ g$\gamma \circ k \circ p \stackrel{(9)}{=} G k \circ \beta \circ p = G k \circ f \stackrel{(10)}{=} \gamma \circ g

and since $\gamma$ is monic, we infer that $k\circ p=g$. Moreover, this $p$ is unique since $k$ is monic. Thus, we have shown that any square (10) factors uniquely, via the map $p:X\to R$, through the square (9); this completes the proof of lemma 3. $\square$

Now we resume the proof of theorem 2; it remains to show that the equalizer $j:{P}_{G}\left(Y\right)\to GPY$ of the pair of maps in (8) is the power object of the $G$-structure $\left(Y,\eta :Y\to GY\right)$. Let $\left(X,\theta :X\to GX\right)$ be a $G$-structure, and $f:X\to {P}_{G}\left(Y\right)$ a $G$-structure map. Then $g=jf:X\to GPY$ equalizes the maps in (8).

Let $h:X\to PY$ be the composite

$X\stackrel{g}{\to }GPY\stackrel{\varphi }{\to }PGY\stackrel{P\eta }{\to }PY$X \stackrel{g}{\to} G P Y \stackrel{\phi}{\to} P G Y \stackrel{P\eta}{\to} P Y

Then we have

$g=GP\eta \circ G\varphi \circ \delta PY\circ g=GP\eta \circ G\varphi \circ Gg\circ \theta =Gh\circ \theta$g = G P\eta \circ G\phi \circ \delta P Y \circ g = G P \eta \circ G\phi \circ G g \circ \theta = G h \circ \theta

where the first equation is the equalizing condition on $g$, the second uses the fact that $g$ is a $G$-structure map, and the third uses functoriality of $G$. Hence $g$ is retrievable from $h$. In fact, the mapping

$\left(g:X\to GPY\right)↦h=\left(X\stackrel{g}{\to }GPY\stackrel{\varphi }{\to }PGY\stackrel{P\eta }{\to }PY\right)$(g: X \to G P Y) \mapsto h = (X \stackrel{g}{\to} G P Y \stackrel{\phi}{\to} P G Y \stackrel{P\eta}{\to} P Y)

defines a bijection between maps $g$ satisfying the equalizing condition and maps $h:X\to PY$ such that

(11)$h=\left(X\stackrel{\theta }{\to }GX\stackrel{Gh}{\to }GPY\stackrel{\varphi }{\to }PGY\stackrel{P\eta }{\to }PY\right)$h = (X \stackrel{\theta}{\to} G X \stackrel{G h}{\to} G P Y \stackrel{\phi}{\to} P G Y \stackrel{P\eta}{\to} P Y)

The map $h$ classifies a subobject $i:R↪X×Y$ in $E$, and we need to check that condition (11) on $h$ corresponds precisely to the condition that $R$ is a sub-$G$-structure of $X{×}_{G1}Y$. Or, taking into account lemma 3: precisely to the condition that there is a pullback diagram of the form

(12)$\begin{array}{ccc}R& \stackrel{\beta }{\to }& GR\\ k↓& & ↓Gk\\ X{×}_{G1}Y& \stackrel{\gamma }{\to }& G\left(X{×}_{G1}Y\right)\end{array}$\array{ R & \stackrel{\beta}{\to} & G R \\ k \downarrow & & \downarrow G k \\ X \times_{G 1} Y & \stackrel{\gamma}{\to} & G(X \times_{G 1} Y) }

where $\gamma$ is the $G$-structure on $X{×}_{G1}Y$, and $k$ is monic.

Proof: The condition is that the subobject $i:R↪Y×X$ equals the subobject classified by the composite given in (11):

$X\stackrel{\theta }{\to }GX\stackrel{Gh}{\to }GPY\stackrel{\varphi }{\to }PGY\stackrel{P\eta }{\to }PY.$X \stackrel{\theta}{\to} G X \stackrel{G h}{\to} G P Y \stackrel{\phi}{\to} P G Y \stackrel{P\eta}{\to} P Y.

The subobject classified by $\varphi \circ Gh:GX\to PGY$ appears as the left-hand column in

$\begin{array}{ccccc}& GR& \to & G\left({\in }_{Y}\right)& \\ & Gi↓& & ↓& \\ & G\left(Y×X\right)& \stackrel{G\left(1×h\right)}{\to }& G\left(Y×PY\right)& \\ ⟨G\left({\pi }_{1}\right),G\left({\pi }_{2}\right)⟩& ↓& & ↓& ⟨G\left({\pi }_{1}\right),G\left({\pi }_{2}\right)⟩\\ & GY×GX& \stackrel{1×Gh}{\to }& GY×GPY& \end{array}$\array{ & G R & \to & G(\in_Y) & \\ & G i \downarrow & & \downarrow & \\ & G(Y \times X) & \stackrel{G(1 \times h)}{\to} & G(Y \times P Y) & \\ \langle G(\pi_1), G(\pi_2) \rangle & \downarrow & & \downarrow & \langle G(\pi_1), G(\pi_2) \rangle \\ & G Y \times G X & \stackrel{1 \times G h}{\to} & G Y \times G P Y & }

Then, the condition is that postcomposing $\varphi \circ Gh$ by $P\eta$ and precomposing with $\theta$, the subobject of $Y×X$ classified by $P\eta \circ \varphi \circ Gh\circ \theta$, which is obtained by further pulling back as below, should match the subobject $i:R↪Y×X$, as in the left-hand column below:

$\begin{array}{ccccc}R& \to & GR& \to & G\left({\in }_{Y}\right)\\ k↓& & Gi↓& & ↓\\ Y{×}_{G1}X& \stackrel{\eta {×}_{G1}\theta }{\to }& GY{×}_{G1}GX& \to & G\left(Y×PY\right)\\ ↓& & ↓& & ↓\\ Y×X& \stackrel{\eta ×\theta }{\to }& GY×GX& \stackrel{1×Gh}{\to }& GY×GPY\end{array}$\array{ R & \to & G R & \to & G(\in_Y) \\ k \downarrow & & G i \downarrow & & \downarrow \\ Y \times_{G 1} X & \stackrel{\eta \times_{G 1} \theta}{\to} & G Y \times_{G 1} G X & \to & G(Y \times P Y) \\ \downarrow & & \downarrow & & \downarrow \\ Y \times X & \stackrel{\eta \times \theta}{\to} & G Y \times G X & \stackrel{1 \times G h}{\to} & G Y \times G P Y }

This condition amounts saying that the top left square is a pullback (and that $i:R\to Y×X$ factors through the inclusion $Y{×}_{G1}X↪Y×X$), since the other three squares are obviously pullbacks already if $G$ preserves pullbacks. That the top left square is a pullback is tantamount to having a pullback (through which the top left square factors)

$\begin{array}{ccc}R& \to & GR\\ k↓& & ↓Gk\\ Y{×}_{G1}X& \stackrel{\gamma }{\to }& G\left(Y{×}_{G1}X\right)\end{array}$\array{ R & \to & G R \\ k \downarrow & & \downarrow G k \\ Y \times_{G 1} X & \stackrel{\gamma}{\to} & G(Y \times_{G 1} X) }

precisely as in (12). Thus the proof of theorem 2 is complete. $\square$

To tie up some loose ends, we should check that theorem 2 really does specialize to the pullback-preserving comonad theorem and the lex idempotent monad theorem. In other words, we should check that $G$-structures really are the same things as $G$-coalgebras or $G$-algebras, where $G$ is either a pullback-preserving comonad or a lex idempotent monad, seen as a modal operator.

First, suppose $G$ is a pullback-preserving comonad. We have already seen that a $G$-coalgebra $\left(X,\eta :X\to GX\right)$ satisfies the $G$-structure axiom. Converse, if $\left(X,\eta :X\to GX\right)$ is a $G$-structure, then it is also a $G$-coalgebra: all we have to do is verify the equation

${1}_{X}=\left(X\stackrel{\eta }{\to }GX\stackrel{\epsilon X}{\to }X\right)$1_X = (X \stackrel{\eta}{\to} G X \stackrel{\varepsilon X}{\to} X)

Since we have a pullback

(13)$\begin{array}{ccc}X& \stackrel{\eta }{\to }& GX\\ \eta ↓& & ↓G\eta \\ GX& \stackrel{\delta X}{\to }& GGX\end{array}$\array{ X & \stackrel{\eta}{\to} & G X \\ \eta \downarrow & & \downarrow G\eta \\ G X & \stackrel{\delta X}{\to} & G G X }

we know $\eta$ is monic by lemma 0, so it suffices to show $\eta =\eta \circ \epsilon X\circ \eta$. But we have

$\delta X\circ \eta \circ \epsilon X\eta =\delta X\circ \epsilon GX\circ G\eta \circ \eta =G\eta \circ \eta =\delta X\circ \eta$\delta X \circ \eta \circ \varepsilon X \eta = \delta X \circ \varepsilon G X \circ G\eta \circ \eta = G\eta \circ \eta = \delta X \circ \eta

using naturality of $\epsilon$, the counit axiom for comonads, and commutativity of (13). Finally, since $\delta$ is monic, we have $\eta =\eta \circ \epsilon X\circ \eta$, as was to be shown.

Next, let $G$ be a lex idempotent monad, and define $\delta :G\to GG$ to be $uG$. Here we have a commuting coassociativity square for $\delta$ which consists of isomorphisms and is therefore a pullback, so $\left(G,\delta \right)$ is a modal operator. Also, for a $G$-algebra $\left(X,\alpha :GX\to X\right)$, the map $\alpha$ is an isomorphism, and so here algebra structure boils down to a condition that the unit $uX:X\to GX$ is invertible (and then $\alpha =\left(uX{\right)}^{-1}$). It is then automatic that $\eta =uX:X\to GX$ satisfies the $G$-structure pullback condition (again since all arrows in the coassociativity square (13) are isomorphisms).

In the other direction, if $\left(X,\eta :X\to GX\right)$ is a $G$-structure, then the naturality square

$\begin{array}{ccc}X& \stackrel{uX}{\to }& GX\\ \eta ↓& & ↓G\eta \\ GX& \stackrel{uGX}{\to }& GGX\end{array}$\array{ X & \stackrel{u X}{\to} & G X \\ \eta \downarrow & & \downarrow G\eta \\ G X & \stackrel{u G X}{\to} & G G X }

factors through the pullback (13) via a unique map $i:X\to X$, and since $\eta$ is an isomorphism in this case, we must have $i={1}_{X}$, whence also $\eta =uX$. Thus $uX$ is an isomorphism, so that $X$ is a $G$-algebra. In other words, the category of $G$-algebras for a lex idempotent monad $G$ is equivalent to the category of $G$-structures where $G$ is viewed as a modal operator.

Finally, it is clear that $1$ is a $G$-algebra, hence the $G$-algebra map $G1\to 1$ is an isomorphism. Hence $G1$ is terminal in ${E}_{G}$, so that $G$ is strict.

• More generally, any lex monad $G:E\to E$ defines a modal operator if we put $\delta =uG:G\to GG$, and, as above, any $G$-algebra is a $G$-structure. But $G$-structures need not be $G$-algebras. Indeed, $G$-structures coincide with algebras over the idempotent monad ${J}_{G}:E\to E$ associated with $G$, where ${J}_{G}↪G$ is defined to be the equalizer of the pair of transformations

$uG,Gu:G\stackrel{\to }{\to }GG$u G, G u: G \stackrel{\to}{\to} G G

## Application of theorem 2, and further results

We have seen that pullback-preserving comonads and left exact idempotent monads (equivalently, pullback-preserving idempotent monads) are examples of modal operators. In order for the notion of modal operator to be a really viable concept, however, we should give some other interesting examples which fall outside these two classes. We should also make good on our promise to present the fundamental passage, from a topos $E$ to the topos of sheaves on an internal site in $E$, in a single step (more precisely, a single application of theorem 2).

These goals are interconnected: we will construct, given an internal site $\left(C,j\right)$ in $E$, a (strict) modal operator $G:E\to E$ such that the category of sheaves $\mathrm{Sh}\left(C,j\right)$ is equivalent to the category of $G$-structures. This $G$ is neither a pullback-preserving comonad nor a lex idempotent monad; it’s a hybrid which supports the viability of our notion of modal operator.

Indeed, it isn’t hard to imagine how this works. First, we have a two-step passage

$\begin{array}{c}\mathrm{Sh}\left(C,j\right)\\ a↑↓i\\ {E}^{{C}^{\mathrm{op}}}\\ G↑↓U\\ E\end{array}$\array{ Sh(C, j) \\ a \uparrow \downarrow i \\ E^{C^{op}} \\ G \uparrow \downarrow U \\ E }

where $U:{E}^{{C}^{\mathrm{op}}}\to E$ assigns to each presheaf its underlying “set” (object) of elements, and $G$ is right adjoint to $U$; the comonad $UG:E\to E$ was the one used to describe ${E}^{{C}^{\mathrm{op}}}$ as the category of coalgebras in the application of theorem 1. The functor $a:{E}^{{C}^{\mathrm{op}}}\to \mathrm{Sh}\left(C,j\right)$ is the associated sheaf functor, and $i$, its right adjoint, is the underlying functor from sheaves to presheaves. The composite $J=ia$ is a lex idempotent monad whose category of algebras is $\mathrm{Sh}\left(C,j\right)$, and naturally theorem 2 guarantees that $\mathrm{Sh}\left(C,j\right)$ is a topos, given that ${E}^{{C}^{\mathrm{op}}}$ is.

Suppose we traverse the full circuit of arrows from $E$ back to itself, giving rise to an operator

$K=UiaG:E\to E.$K = U i a G: E \to E.

This $K$ is a hybrid formed from the comonad $UG$ and the monad $J=ia$, but is neither a comonad nor a monad itself. It is, as we shall see, a (strict) modal operator on $E$, such that $\mathrm{Sh}\left(C,j\right)$ is equivalent to the category of $K$-structures! This is the denouement we were waiting for: it shows that the passage from sets to sheaves is really a one-step process, if we choose the modal operator on sets right.

The entire discussion is concentrated in theorem 3 below, after a few preliminaries. Let $E$ be finitely complete, and let $G:E\to E$ be a modal operator. For each $G$-structure $\left(Y,\eta \right):Y\to GY$, the map $\eta$ is a map of $G$-structures. Thus, if $U:{E}_{G}\to E$ denotes the underlying functor and $G:E\to {E}_{G}$, by slight abuse of notation, denotes the evident functor $X↦GX$, then we have a natural transformation

$\eta :{1}_{{E}_{G}}\to GU:{E}_{G}\to {E}_{G}$\eta: 1_{E_G} \to G U: E_G \to E_G

Of course, this isn’t generally a unit of an adjunction or anything like that, but much of the power of modal operators derives from a fact which is the essential point of lemma 3 above: that $\eta$ is cartesian with respect to monos. We take advantage of this fact repeatedly.

If furthermore $\left(H,\delta \right)$ is a modal operator on ${E}_{G}$, then we have a round trip operator

$K=\left(E\stackrel{G}{\to }{E}_{G}\stackrel{H}{\to }{E}_{G}\stackrel{U}{\to }E\right)$K = (E \stackrel{G}{\to} E_G \stackrel{H}{\to} E_G \stackrel{U}{\to} E)

and we define a transformation $\lambda :K\to KK$ in the only reasonable way possible: as the composite

$UHG\stackrel{U\delta G}{\to }UHHG\stackrel{UH\eta HG}{\to }UHGUHG$U H G \stackrel{U\delta G}{\to} U H H G \stackrel{U H \eta H G}{\to} U H G U H G

Theorem 3: $\left(K,\lambda \right)$ defines a modal operator on $E$, and ${E}_{K}\simeq \left({E}_{G}{\right)}_{H}$. If the modal operators $G$ and $H$ are strict, then so is $K$.

Proof: A completely detailed proof involves some largish diagrams, but we sketch the essential points. To prove $K$ is a modal operator, we need to contemplate a diagram of shape

$\begin{array}{ccccccc}& UHG& \stackrel{U\delta G}{\to }& UHHG& \stackrel{UH\eta HG}{\to }& UHGUHG& \\ U\delta G& ↓& & UH\delta G↓& & ↓& UHGU\delta G\\ & UHHG& \stackrel{U\delta HG}{\to }& UHHHG& \stackrel{UH\eta HHG}{\to }& UHGUHHG& \\ UH\eta HG& ↓& & UHH\eta HG↓& \left(4\right)& ↓& UHGUH\eta G\\ & UHGUHG& \underset{U\delta GUHG}{\to }& UHHGUHG& \underset{UH\eta HGUHG}{\to }& UHGUHGUHG& \end{array}$\array{ & U H G & \stackrel{U\delta G}{\to} & U H H G & \stackrel{U H\eta H G}{\to} & U H G U H G & \\ U\delta G & \downarrow & & U H \delta G \downarrow & & \downarrow & U H G U\delta G \\ & U H H G & \stackrel{U\delta H G}{\to} & U H H H G & \stackrel{U H\eta H H G}{\to} & U H G U H H G & \\ U H \eta H G & \downarrow & & U H H \eta H G \downarrow & (4) & \downarrow & U H G U H\eta G\\ & U H G U H G & \underset{U\delta G U H G}{\to} & U H H G U H G & \underset{U H\eta H G U H G}{\to} & U H G U H G U H G & }

where all four squares are pullbacks by more or less the same argument, which we give just for the square labeled (4): this square is obtained by applying the pullback-preserving functor $UH$ (at the argument $HG$) to the square

$\begin{array}{ccc}H& \stackrel{\eta H}{\to }& GUH\\ H\eta ↓& & ↓GUH\eta \\ HGU& \stackrel{\eta HGU}{\to }& GUHGU\end{array}$\array{ H & \stackrel{\eta H}{\to} & G U H \\ H\eta \downarrow & & \downarrow G U H\eta \\ H G U & \stackrel{\eta H G U}{\to} & G U H G U }

which is a pullback by lemma 3 ($H\eta$ is monic, and the transformation $\eta$ is cartesian with respect to monos). This completes the sketch for why $K$ is a modal operator.

Now we sketch the equivalence $\left({E}_{G}{\right)}_{H}\simeq {E}_{K}$. In one direction, it is relatively easy to define a functor $\left({E}_{G}{\right)}_{H}\to {E}_{K}$. For consider an object of $\left({E}_{G}{\right)}_{H}$. This consists of an object $X$ of $E$ together with structures

$\eta :X\to UGX\phantom{\rule{2em}{0ex}}\theta :X\to hX$\eta: X \to U G X \qquad \theta: X \to h X

(where $hX$ denotes the underlying object in $E$ of the value of $H$ applied to the $G$-structure $\left(X,\eta \right)$), subject to various pullback conditions. Observe that $\eta$ may be regarded as a map in ${E}_{G}$; by applying $H:{E}_{G}\to {E}_{G}$ to it, we obtain a map

$h\eta :hX\to hGX=UHGX$h\eta: h X \to h G X = U H G X

and hence a composite

$X\stackrel{\theta }{\to }hX\stackrel{h\eta }{\to }UHGX$X \stackrel{\theta}{\to} h X \stackrel{h\eta}{\to} U H G X

which is a map $\zeta :X\to KX$ which defines a putative $K$-structure. Indeed, in $E$ we have a diagram of the form

$\begin{array}{ccccc}X& \stackrel{\theta }{\to }& hX& \stackrel{h\eta }{\to }& hGX\\ \theta ↓& \left(1\right)& ↓\delta X& \left(2\right)& ↓\delta GX\\ hX& \stackrel{h\theta }{\to }& hhX& \stackrel{hh\eta }{\to }& hhGX\\ h\eta ↓& \left(3\right)& ↓h\eta & \left(4\right)& ↓h\eta \\ hGX& \stackrel{hG\theta }{\to }& hGhX& \stackrel{hGh\eta }{\to }& hGhGX\end{array}$\array{ X & \stackrel{\theta}{\to} & h X & \stackrel{h\eta}{\to} & h G X\\ \theta\downarrow & (1) & \downarrow \delta X & (2) & \downarrow \delta G X \\ h X & \stackrel{h\theta}{\to} & h h X & \stackrel{h h\eta}{\to} & h h G X\\ h\eta\downarrow & (3) & \downarrow h\eta & (4) & \downarrow h\eta\\ h G X & \stackrel{h G\theta}{\to} & h G h X & \stackrel{h G h\eta}{\to} & h G h G X }

where (1) is a pullback because $\theta$ is the underlying map of an $H$-structure, (2) is a pullback because $h\eta$ is a monic $H$-structure map (then use lemma 3), (3) is a pullback because $H$ preserves pullbacks and $\theta$ is also a monic $G$-structure map (lemma 3 again), and (4) is a pullback because $H$ preserves pullbacks and $h\eta$ is a monic $G$-structure map.

In the other direction, we now define a functor ${E}_{K}\to \left({E}_{G}{\right)}_{H}$. This is a bit trickier; the main hurdle to overcome is to produce a $G$-structure $\eta :X\to UGX$ from a $K$-structure $\zeta :X\to UHGX$. In summary, the pullback of a diagram having the form

$\begin{array}{cccccc}& & & & hGX& \\ & & & & ↓& \eta \\ & & & & UGhGX& \\ & & & & ↓& UG\delta GX\\ & & & & UGhhGX& \\ & & & & ↓& UGh\eta \\ hGX& \stackrel{\eta hGX}{\to }& UGhGX& \stackrel{UGhG\zeta }{\to }& UGhGhGX& \end{array}$\array{ & & & & h G X & \\ & & & & \downarrow & \eta \\ & & & & U G h G X & \\ & & & & \downarrow & U G\delta G X \\ & & & & U G h h G X & \\ & & & & \downarrow & U G h\eta \\ h G X & \stackrel{\eta h G X}{\to} & U G h G X & \stackrel{U G h G\zeta}{\to} & U G h G h G X & }

is $X$ (with both pullback projections being $\zeta :X\to hGX$), by taking advantage of the pullback axiom on the $K$-structure $\zeta$ together with naturality of $\eta$. If we leave off the leftmost and topmost map from this diagram, we get a diagram

$\begin{array}{cccc}& & UGhGX& \\ & & ↓& UG\delta GX\\ & & UGhhGX& \\ & & ↓& UGh\eta \\ UGhGX& \stackrel{UGhG\zeta }{\to }& UGhGhGX& \end{array}$\array{ & & U G h G X & \\ & & \downarrow & U G\delta G X \\ & & U G h h G X & \\ & & \downarrow & U G h\eta \\ U G h G X & \stackrel{U G h G\zeta}{\to} & U G h G h G X & }

whose pullback is $UGX$ (with both pullback projections being $UG\zeta$), by the pullback condition on $\zeta$ and the fact that $UG$ preserves pullbacks. Thus the first pullback $X$ factors through the second pullback $UGX$, by a map I shall again call $\eta :X\to UGX$. It may be checked that this makes $X$ a $G$-structure. From all this we get a pullback

$\begin{array}{ccc}X& \stackrel{\zeta }{\to }& hGX\\ \eta ↓& & ↓\eta \\ UGX& \stackrel{UG\zeta }{\to }& UGhGX\end{array}$\array{ X & \stackrel{\zeta}{\to} & h G X \\ \eta \downarrow & & \downarrow \eta \\ U G X & \stackrel{U G\zeta}{\to} & U G h G X }

so that $\zeta :X\to hGX$ is a $G$-structure map, and it will be so regarded. Thus, we interpret this pullback square as lifted up to the category ${E}_{G}$, and we hit it with the pullback-preserving functor $h=UH$. The result is the square appearing in the diagram

$\begin{array}{cccc}& & UHGX& \\ & & ↓& \delta GX\\ hX& \stackrel{h\zeta }{\to }& UHHGX& \\ h\eta X↓& & ↓& UH\eta HGX\\ UHGX& \stackrel{hG\zeta }{\to }& UHGUHGX& \end{array}$\array{ & & U H G X & \\ & & \downarrow & \delta G X \\ h X & \stackrel{h\zeta}{\to} & U H H G X & \\ h\eta X \downarrow & & \downarrow & U H \eta H G X \\ U H G X & \stackrel{h G\zeta}{\to} & U H G U H G X & }

and the pullback of the right-hand column against the bottom map is, by the $K$-structure axiom, $X$ with both pullback projections being $\zeta :X\to UHGX$. Thus we arrive at a diagram

$\begin{array}{ccc}X& \stackrel{\zeta }{\to }& UHGX\\ \theta ↓& & ↓& \delta GX\\ hX& \stackrel{h\zeta }{\to }& UHHGX& \\ h\eta X↓& & ↓& UH\eta HGX\\ UHGX& \stackrel{hG\zeta }{\to }& UHGUHGX& \end{array}$\array{ X & \stackrel{\zeta}{\to} & U H G X \\ \theta \downarrow & & \downarrow & \delta G X \\ h X & \stackrel{h\zeta}{\to} & U H H G X & \\ h\eta X \downarrow & & \downarrow & U H \eta H G X \\ U H G X & \stackrel{h G\zeta}{\to} & U H G U H G X & }

in which $\zeta =h\eta \circ \theta$. It may be checked that $\theta$ defines an $H$-structure in ${E}_{G}$, and this concludes our sketch of the equivalence ${E}_{K}\simeq \left({E}_{G}{\right)}_{H}$.

Finally, if the modal operators $G$ and $H$ are strict, then $G1$ is terminal in ${E}_{G}$, and then $HG1$ is terminal in $\left({E}_{G}{\right)}_{H}\simeq {E}_{K}$. Since $K1=HG1$ is terminal in ${E}_{K}$, it follows that $K$ is strict. This concludes the proof of theorem 3. $\square$

Theorem 3 gives one means of constructing new modal operators from old.

## Acknowledgments

I thank Sridhar Ramesh and Mike Shulman for pointing out that Theorem 1 appears in print in Johnstone’s Elephant, and Mike for many thoughtful comments on a draft of this article, in particular for pointing out the closely related work by Toby Kenney on toposes constructed by means of diads reference to be inserted.

Revised on March 4, 2010 14:08:57 by Todd Trimble