Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2022/iii/paper-119/4/solution

A monad on a category consists of an endofunctor , a unit , and a multiplication satisfying
If is an adjunction with unit and counit , then
defines the monad induced by an adjunction. The two triangle identities give the unit laws, while naturality of gives associativity.
Let now be a full subcategory of that contains the identity endofunctor and is closed under composition, and suppose is terminal in . There is exactly one natural transformation
and exactly one
Both sides of either unit law are endomorphisms of the terminal object , so they equal ; both sides of associativity are maps , so they are equal as well. This gives a monad, and terminality also makes both structure maps unique. This is the monad structure on a terminal endofunctor.
For a set , let be the set of ultrafilters on . A function induces the pushforward
which makes the ultrafilter functor. There is no ultrafilter on the empty set. Moreover, every ultrafilter on contains exactly one of the complementary summands and , and restriction gives a unique ultrafilter on that summand. Therefore
so preserves finite coproducts.
Let preserve finite coproducts. For define
The decomposition and preservation of coproducts say that lies in exactly one of the two corresponding images. Thus exactly one of and its complement belongs to . Upward closure follows by factoring subset inclusions. If , decompose into the four disjoint Boolean cells determined by and . The unique cell containing must lie inside both sets, so . Hence is an ultrafilter.
For , the decompositions
show that
Thus is natural.
It is the only such natural transformation. For , let be its characteristic function. Since
and the two ultrafilters on are the principal ones, naturality with the two singleton inclusions forces any transformation to send each summand to the corresponding principal ultrafilter. Naturality with then says that belongs to the image ultrafilter exactly when lies in the image of . Hence the transformation must be .
The ultrafilter functor is therefore the terminal finite-coproduct-preserving set endofunctor. The preceding terminal-object argument supplies its unique ultrafilter monad structure.

New to topics? Read the docs here!