You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
I seem to recall there is some way to view categories as monoid objects in a (bicategory?) of spans, could anyone enlighten me as to what I am half-remembering?
I learned this from @Christian Williams on Twitter, see this thread.
@ejpatters my favorite monoid is a category - a monoid in Span(Set)(Ob,Ob) this is using that not only in Cat, but in any 2-category K, the category of endomorphisms of an object is monoidal, with tensor given by composition.
- Christian Williams (@c0b1w2)See Section 4.2 of Higher categories, higher operads, and especially Example 4.2.6 for a detailed look at this construction.
Thanks both!
It's fun to take the bicategory of spans of sets, look at a monoid object in it, and show it's just a category.
For starters a span of sets is a pair of maps .
For the span to be a monoid object we need so we get . (By the way, a monoid object in a bicategory is usually called a monad.)
The multiplication of the monoid object gives .
From then on it's a downhill slide: is the set of morphisms of a category, is the set of objects, are the source and target maps, and is composition of morphisms.
Cool, thanks! Is there any particular reason you prefer to call that a monad? Is it just because that concept precisely describes the situation where you are dealing with the endomorphism monoidal category in a 2-category?
A monad in the 2-category is precisely a monad on a small category in the traditional sense.
I said it's usually called a monad, not that I prefer anything.
People usually talk about a "monoid object" in a monoidal category, and a "monad" in a bicategory (or 2-category).
A monad in a bicategory is the same thing as a monoid object in the monoidal category of endomorphisms of some object in that bicategory.
It's called a monad "on" that object.
Makes sense, thanks!
You don't get functors as the morphisms between categories from the bicategory of spans though - for that you need to look at the double category of sets, functions, and spans. (Then you can get even more: the double category of (categories, functors, profunctors) arises as a double category of (monoids, monoid morphisms, bimodules) in (sets, functions, spans).)
A different way to get functors and natural transformations is as a free cocompletion under a suitable kind of Kleisli object.