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've recently been getting into learning more about generators. Say a category is monadic over . Let be the subobject poset of an object in and the subset poset of the underlying set of . Of course, there's a forgetful functor . However, instinctually, there should be a functor going the opposite direction: that "closes" a subset under the operations of the algebraic structure. For instance, if a subset is a generator, this functor will send the subset to the maximal element of that represents itself.
My hypothesis is the following: and are adjoint functors, and somehow this adjunction is "generated" by the fact that is monadic. If this is the case, then one gets an idempotent monad on that satisfies all the axioms of a closure operator. This would then exhibit generators as a special case of the more general abstract notion of "density under a closure operator".
My question is: is my hypothesis correct, and if so, then how does one prove it?
(Let denote a monad on , so that your is of the form -.)
It's a nice question, and the answer gets into the weeds of some important facts about -, specifically the fact that this category has well-behaved image factorizations (it is a [[regular category]]), and images of algebra maps can be computed at the underlying set level. This takes some slight doing for general monads , but see Theorem 2.6 here in the nLab.
First note that for any algebra , the monad induces a monad on . It takes an object in the slice to the object
where is the -algebra structure on that comes from . This is a pleasant and straightforward exercise which I'll leave to you.
The closure operator you want takes a subset to the image of the function , as a subobject of . By "image", I mean the intersection of all subsets of the codomain through which the function factors, i.e., the smallest subset through which it factors.
(Incidentally, the taking of images can be viewed as part of an adjunction: we have an inclusion functor
and the functor that takes an object to is the left adjoint to this inclusion. Notice by the way that the inclusion functor is full and faithful; equivalently, the counit of the adjunction is an isomorphism.)
So the claim is that is a closure operator, i.e., defines a monad on . First we check for the unit inclusion . Let
be the image factorization of . Then the map from to that witnesses is given by
where denotes the unit of the monad .
For the inclusion , we need a map from the following object in the slice,
to the subobject . This is where we use the fact that the image of an algebra map, as computed in , carries a -algebra structure: that gives you the map you need in the slice. Then, since this shows that factors through the subobject
and the image of , which is , is the smallest subobject through which factors, we get .
Finally, note that is a -algebra map, so gives you the map you were expecting.
I haven't given every last detail, but this should be enough to go on.
Here's a more abstract argument. Suppose and are well-powered categories with all intersections of families of subobjects, and is a functor that preserves monomorphisms and their intersections. (For instance, if is well-powered and complete, like Set, then any monadic over it is such.) Then since preserves monomorphisms, it induces a poset map for any . And since and are well-powered and have arbitrary intersections and preserves them, these posets are small complete lattices and the map between them preserves arbitrary meets. Therefore, by the adjoint functor theorem for posets, this map has a left adjoint, and so the induced poset-monad on is a closure operator.
Thanks to both of you for your help! There's a lot to breakdown and review here which I will probably need to do for a bit...
So I've read through everything a few times and here are my thoughts. In general, I was surprised by how non-trivial this result is- to be honest, I was expecting there to just be some sort of composition or lifting I had just overlooked.
Here's what I tried to gather from the above. In my understanding, a "generator" of an algebraic object is a subset such that is a quotient of the free algebra on it . The quotient in turn is what allows one to include "relations", leading to the "presentation in terms of generators and relations". I'm not sure exactly what alpha is in the "straightforward exercise", but I do know that since is a coequalizer of a diagram involving by the canonical presentation, there is a canonical resulting projection as part of the complete coequalizer diagram. That means, following , there's a resulting morphism in .
So one can think of this morphism as the restriction from the full free object on the underlying set to the algebraic object in question. Then, we proceed by identifying a subset and taking its free algebra , but then we have to make sure we do the restriction on just like we did on to make it back into a component of , so this is why we have to compose , and then take the image. Anyways I'm really hoping I understood at least some of the stuff!
The only thing I don't see is why this doesn't work in general, even outside ? It doesn't really seem like, at any point in the above, you needed to know that the objects in the base category were sets. Plus, even if the base category doesn't have nice properties like colimits or powers, it shouldn't matter since the EM category always has the ability to do the necessary coequalizers on free objects as part of its defining property. Maybe it's because the image isn't always possible to construct? Or maybe I misunderstood a step (probably likely!)
to be honest, I was expecting there to just be some sort of composition or lifting I had just overlooked
If it helps, you can write out the monad on as a composition
But I don't think it's immediate from this description that you actually get a monad.
I'm not sure exactly what alpha is in the "straightforward exercise",
You gave a correct description of after you wrote this, but note that I had written "where is the -algebra structure on that comes from ". What is ? It's some -algebra. What is a -algebra? It's a set (the underlying set, ) together with a structural map obeying the -algebra axioms. That map is your , and that's what I meant.
The only thing I don't see is why this doesn't work in general, even outside Set?
It does, as long as your base category is good enough. (I didn't know you wanted to go beyond : you explicitly wrote about in your question, so that's what I went with.) Mike gave an alternative path which honestly I didn't think of, but even in his proof there you have to assume something about the base category, e.g., well-poweredness and existence of intersections.
it shouldn't matter since the EM category always has the ability to do the necessary coequalizers on free objects as part of its defining property. Maybe it's because the image isn't always possible to construct?
To get one thing out of the way: that the EM category has coequalizers generally is not automatic, and it's not even true generally: you have to assume some things. (See the flurry of results in section 2 of the nLab link I gave.) There are strange examples where the base category is something very reasonable, even locally presentable if I recall correctly (ah, see Example III.10 here) with a monad where the EM category doesn't have all coequalizers. (Mike's argument would still handle this type of example.)
So, how does one construct images? The way I was going about it, working in categories monadic over , the image factorization of a map involves an epi followed by a mono,
where the epi is intuitively thought of as taking an element to its "-equivalent class", where if . To formalize this equivalence relation categorically, one can take the [[kernel pair]] of , which is the pullback of along itself. Intuitively this pullback expresses the object . If is this pullback, with the two pullback projections where for , and , then coequalizer of is a map which identifies and whenever belongs to . This coequalizer gives the desired epi . This is a tried-and-true way of constructing images in [[regular categories]]. In our situation, the map I wanted the image of is this composite
construed as a map in the EM category (viewing and as algebra maps), or perhaps you would prefer it if I said we're talking about the map that corresponds to under the adjunction .
Mike's argument can be seen as referring not to the epi end of things, but instead the mono end , where you consider instead the smallest subalgebra of through which this map factors, by taking the intersection of all subalgebras through which the map factors.
But instead of giving austere categorical arguments, let me try to give some more intuition based on concrete examples. For example, if the EM category is the category of vector spaces , then the monad on takes a subset to the vector subspace of that the subset generates. This subspace consists of all linear combinations that you can form from elements . Now the vector space , the free vector space on , has for its elements formal linear combinations of elements in , and then the map interprets those formal combinations as elements of the vector space . We take the image of that map to get the subspace generated by , i.e., the closure of under the vector space operations.
In general, any monad on can be thought of in terms of an algebraic theory of operations on sets, and the procedure of the last paragraph generalizes, to close up the subset under all the operations of the theory. You can look at the crucial aspect of this, taking the image of this , either from the epi end or the mono end.
Todd Trimble said:
it shouldn't matter since the EM category always has the ability to do the necessary coequalizers on free objects as part of its defining property. Maybe it's because the image isn't always possible to construct?
To get one thing out of the way: that the EM category has coequalizers generally is not automatic, and it's not even true generally: you have to assume some things.
In case it clears up some confusion, the EM category does always have some coequalizers, specifically the split coequalizer presentation of any object . But the coequalizer you need to construct the image, as an object of the EM category, is not of this form.
To expand a bit on the intuition for my argument, as Todd said it's based on the general idea that the subalgebra generated by a subset is "the smallest subalgebra of that contains ". The invocation of the adjoint functor theorem is just a highfalutin' way of saying that is the intersection (wide pullback) of all the monomorphisms such that factors through , which corresponds in concrete cases to how one can construct abstractly as an intersection of subalgebras (rather than, as in Todd's description, the set of linear combinations etc.).
Todd Trimble said:
So, how does one construct images? The way I was going about it, working in categories monadic over Set, the image factorization of a map involves an epi followed by a mono,
Ok, that helps to clear things up! That's why when working over Set we can always find the image, because the category of algebras is a regular category and so has this factorization system. So we can always take a coequalizer of a kernel pair... but this might not be true for monadic categories for a base other than Set. Also, yes, as Mike suggests when I was talking about coequalizers I meant specifically the ones for generators and relations. I didn't know images could be given as a coequalizer until now!
Todd Trimble said:
Now the vector space , the free vector space on , has for its elements formal linear combinations of elements in , and then the map interprets those formal combinations as elements of the vector space . We take the image of that map to get the subspace generated by , i.e., the closure of under the vector space operations.
Thanks, this example helped! I suspected the map from the free algebra to the algebra in question was a form of "restriction", and so composing with it would be the necessary restriction of elements of the free algebra for a subset to a part of that algebra. But now I see you can interpret this "restriction" as sending formal linear combinations to realizations of those formal combinations as elements of the actual vector space being worked in.
Mike Shulman said:
But the coequalizer you need to construct the image, as an object of the EM category, is not of this form.
Ok, so it seems I was right in my assumption that the existence of the image is the main roadblock to defining this closure operator in general. Since if the coequalizer of the kernel pair, or if the wide pullback of all monomorphisms that our subobject factors through, does not exist, then this monad will also fail to exist. The adjoint functor theorem, when applied to this problem, then gives the conditions in which such an image construction will exist. And that's probably what requires the category to be well powered and all that.
when I was talking about coequalizers I meant specifically the ones for generators and relations
Yes, I think maybe you meant even more specifically coequalizers of type
where is the counit of the free-forgetful adjunction. Generally, though, when people speak of a generators and relations presentation of a -algebra , they refer to a coequalizer more general than that specific type of coequalizer, something that could be put in the form
where typically is a set of "relations" or equations that you want to mod out by (via a coequalizer) in order to get . So for example, when people write down a group presentation like , you would have , and the singleton set where is a formal variable standing in for the equation "", where one of the arrows takes to and the other takes to . So is the set of generators, and is the set of relations or equations to be imposed.
The specific sort of coequalizer I think you were referring to might be called the "canonical" presentation of an algebra . They are theoretically important, but they are too "tautological" to be of much benefit for the down and dirty job of describing complicated objects -- for example, maybe it's important to know whether is finitely presented, where the and are finite sets. The canonical presentation would of course be useless for settling this.
Todd Trimble said:
The specific sort of coequalizer I think you were referring to might be called the "canonical" presentation of an algebra
Right, I was being kind of loose with my terminology! Though in a sense this canonical coequalizer is the "most important" one since one can use it as we did above in the derivation of the "closure" of a subset under the operations of an algebraic structure. Thus any other generator presentation can be derived from this one, since if the image of the morphism we derived for some subset is that of the entire algebraic structure, that subset is a generator of the algebraic object. So the object can be expressed as a coequalizer involving the free algebra on the subset.
No, the coequalizer used in defining closure isn't one of the canonical ones. That was Todd's point about why the EM category not having all coequalizers is relevant.
Alright, I think I understand the basics of generators and how they work. Now I want to try and extend this reasoning to new contexts. In mathematics, there's many situations in which a small subset of a thing generates the rest of the elements of that thing under some operation. Usually, this is given as presentation of an algebraic structure in terms of a generator. For example, as we know, given a basis of a vector space, one may express any other element of the vector space as a sum of scalar multiples of the basis vectors.
A similar thing happens in a presheaf category. In this case, the "small subset" is the representables, and the operation is taking a colimit. This allows one to express any object of the presheaf category as a colimit over representables- in a sense, the representables form a "basis" or "generator" of the presheaf category. My question is: is there any way to formalize this analogy? That is, is there some way to "decategorify" a presheaf category into an algebraic object of some form such that the set of representables is then literally the generator? Or going another way- is the category of presheaf categories equipped with the colimit operation monadic over Set or Cat, in which case we can take a more direct approach and realize the Yoneda embedding directly as a generator?
The category of cocomplete categories (= large categories with all small colimits) is monadic over CAT (the very-large 2-category of large categories). Presheaf categories are then the algebras for this monad that are freely generated by some small category.
Mike Shulman said:
The category of cocomplete categories (= large categories with all small colimits) is monadic over CAT (the very-large 2-category of large categories). Presheaf categories are then the algebras for this monad that are freely generated by some small category.
Wow! That's really cool! I think it's really interesting that the presheaf categories can be thought of as being free objects since the two concepts have a lot in common, namely when it comes to some sort of a "maximal enlargement" of a set or category. This gives a really nice "category-centric" example of thinking about generators, free algebras, and non-free algebras.
I wanted to return briefly to this discussion of generators because I had an interesting thought. Could generators be seen as a generalized form of "self similarity"? For instance, the most common example of self-similarity in math is in fractals. One can think of a self-similar fractal as having a subset that, in some sense, "generates" the rest of the set through the operation of rescaling (as well as perhaps translation and rotation if needed). This seems quite similar to how some algebraic objects have a generator, a subset that generates the rest of the set by the algebraic operation. By any chance, is there any way to view self-similarity as an actual generator in the sense of abstract algebra?
If you would like to view self-similarity through a categorical lens, then a good place to start would be the work of Tom Leinster, for example here.
It might be relevant to consider the category of "sets equipped with an endomorphism". In that category, given an object and a subset , the subobject of generated by is the set of everything in that you can get to by starting with something in and iterating on it some finite number of times.
Todd Trimble said:
If you would like to view self-similarity through a categorical lens, then a good place to start would be the work of Tom Leinster, for example here.
Thanks! It seems he goes in a different direction with the idea, but it is still fascinating nonetheless! I'm also intrigued by the relationship drawn between self similarity and systems of equations, since those are two concepts I would not otherwise have found to be related.
Mike Shulman said:
It might be relevant to consider the category of "sets equipped with an endomorphism". In that category, given an object and a subset , the subobject of generated by is the set of everything in that you can get to by starting with something in and iterating on it some finite number of times.
Ah, so this is like a category of "dynamical systems". I didn't know that it was monadic! But this does make sense, thanks! (By the way, would you know which monad this comes from?)
It's the category of -sets (sets equipped with an action of the monoid ).
Thanks!