Skip to the Main Content

Note:These pages make extensive use of the latest XHTML and CSS Standards. They ought to look great in any standards-compliant modern browser. Unfortunately, they will probably look horrible in older browsers, like Netscape 4.x and IE 4.x. Moreover, many posts use MathML, which is, currently only supported in Mozilla. My best suggestion (and you will thank me when surfing an ever-increasing number of sites on the web which have been crafted to use the new standards) is to upgrade to the latest version of your browser. If that's not possible, consider moving to the Standards-compliant and open-source Mozilla browser.

May 28, 2019

A Question on Left Adjoints

Posted by John Baez

guest post by Jade Master

I’m interested in internalizing the “free category on a reflexive graph” construction.

We can define reflexive graphs internal to any category CC, and categories internal to CC whenever CC has finite limits. Suppose CC has finite limits; let RGph(C)\mathsf{RGph}(C) be the category of reflexive graphs internal to CC, and let Cat(C)\mathsf{Cat}(C) be the category of categories internal to CC. There’s a forgetful functor

U:Cat(C)RGraph(C)U \colon \mathsf{Cat}(C) \to \mathsf{RGraph}(C)

When does this have a left adjoint?

I’m hoping it does whenever CC is the category of algebras of a Lawvere theory in Set\mathsf{Set}, but I wouldn’t be surprised if it were true more generally.

Also, I’d really like references to results that answer my question!

Posted at May 28, 2019 6:54 AM UTC

TrackBack URL for this Entry:   https://golem.ph.utexas.edu/cgi-bin/MT-3.0/dxy-tb.fcgi/3114

29 Comments & 0 Trackbacks

Re: A Question on Left Adjoints

This functor preserves all limits that exist, so it has a left adjoint whenever the adjoint functor theorem applies. For instance, this is the case when CC (hence also RGraph(C)RGraph(C) and Cat(C)Cat(C)) is locally presentable. This includes the category of algebras for any accessible monad (such as a finitary monad, i.e. Lawvere theory) on a locally presentable category (such as SetSet).

Posted by: Mike Shulman on May 28, 2019 9:48 AM | Permalink | Reply to this

Re: A Question on Left Adjoints

I’d add maybe just a little more to that, because of course it’s not true that any limit-preserving functor out of a locally presentable category has a left adjoint (there are counterexamples in the case GrpGrp, for instance).

But in this case the forgetful functor Cat(C)RGraph(C)Cat(C) \to RGraph(C) is also accessible (because it satisfies the stronger condition of preserving filtered colimits), and so by Theorem 1.66 of Locally Presentable and Accessible Categories, that together with its continuity ensure that the adjoint functor theorem will apply.

But I think you ought to be able to make the construction pretty concrete. It’s slightly easier to consider the case for directed graphs in CC in place of reflexive directed graphs, but the idea is similar: write the directed graph as a span VEVV \leftarrow E \to V, and then take the coproduct (over natural numbers nn) of the nn-fold span composite (involving iterated pullbacks) in the category of spans from VV to VV. This gives you the free category of the directed graph.

The case for reflexive graphs involves taking a quotient of this construction to force the loops to behave as identities. If the details of that feel too messy, you can always quote a general result on relatively free functors; see for example the nLab, using the monadicity of CatCat and of reflexive graphs over the category of directed graphs.

Posted by: Todd Trimble on May 28, 2019 2:50 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

(Actually, I think I need to be a little more careful about the claimed concrete construction, because in my head it seems to use distributivity of certain limits over coproducts.)

Posted by: Todd Trimble on May 28, 2019 4:09 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Urgh, sorry for the multiple comments. But regarding a concrete construction: instead of what I proposed a few comments ago for the case of directed graphs, involving a coproduct of iterated span composites, maybe it’s easier after all in the reflexive graph setting, by imitating one or another free monad construction.

That is: a paths of length mm in an internal reflexive graph can be embedded into paths of length nn for any n>mn \gt m, by inserting a bunch of extra loops at the beginning. Here Path n(G)Path_n(G) is, as before, the iterated span composite which is a certain type of finite limit in CC. So we would form a filtered colimit of type

Path 0(G)Path 1(G)Path 2(G)Path_0(G) \hookrightarrow Path_1(G) \hookrightarrow Path_2(G) \hookrightarrow \ldots

and then the free category would be formed as a suitable quotient of this colimit, one that would force loops to be two-sided identities.

I have a feeling this works, but assuming it does, I think someone like Mike would be able to answer questions about this more quickly than I could. Actually, maybe I could just ask Mike directly: do you think something like this works?

Posted by: Todd Trimble on May 28, 2019 4:41 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Thank you this is very helpful. I did some digging and the result we want seems to be part of Gabriel-Ulmer duality which gives a biequivalence

Lex opLFP \mathsf{Lex}^{op} \to \mathsf{LFP}

where Lex op\mathsf{Lex}^{op} is the 2-category of categories with finite limits, finite limit preserving functors and natural transformations. LFP\mathsf{LFP} is the 2-category of locally finitely presentable categories, right adjoints between them, and natural transformations. This equivalence makes the assignment CLex(C,Set)C \mapsto \mathsf{Lex} ( C , \mathsf{Set} ) and f:CD()f:Lex(C,Set)Lex(D,Set)f \colon C \to D \mapsto (-) \circ f \colon \mathsf{Lex} ( C , \mathsf{Set} ) \to \mathsf{Lex} ( D , \mathsf{Set} ) i.e. composition with ff.

Let CC be the category with two parallel arrows freely closed under finite limits and let DD be the finite limit theory for categories. Then there is a finite limit preserving functor f:CDf \colon C \to D which includes CC into DD in the natural way.Then Gabriel-Ulmer duality being well-defined says that the forgetful functor this induces is a right adjoint. This is the result I want.

The most detailed description of this duality is probably in Adamek’s Algebraic Theories of Quasivarieties. Unfortunately, as far as I can tell, Adamek’s detailed description of the equivalence skips the proof that this is well defined. The original source is in German (and I can’t read it). It seems likely to me that I’m missing something.

Posted by: Jade Master on May 31, 2019 12:39 AM | Permalink | Reply to this

Re: A Question on Left Adjoints

Sorry I made a mistake here. The Gabriel-Ulmer duality is contravariant. The functor ()f(-) \circ f goes from Lex(D,Set)Lex(C,Set)\mathsf{Lex} (D, \mathsf{Set} ) \to \mathsf{Lex} (C , \mathsf{Set} ).

Posted by: Jade Master on May 31, 2019 1:33 AM | Permalink | Reply to this

Re: A Question on Left Adjoints

Yeah, I think this is a nice way to go. I’d just make one correction in your description of LFPLFP: you want finitary (= filtered-colimit preserving) right adjoints as the 11-cells. Otherwise: it’s slick to let Gabriel-Ulmer do the work for you this way.

It sounds from your description that you’re now going with directed graphs, not reflexive directed graphs. Of course either way it works fine.

I think Mike had in mind something more general (that on some level this should work in the generality of locally presentable, not just locall finitely presentable, categories). But your approach seems sound for the locally finitely presentable case.

Posted by: Todd Trimble on May 31, 2019 2:39 AM | Permalink | Reply to this

Re: A Question on Left Adjoints

Thanks for that correction; of course in the right adjoint case you also need the functor to be accessible. It’s not obvious to me that this forgetful functor preserves (ω\omega-)filtered colimits in the general case of an arbitrary locally presentable category CC (for instance, if finite limits in CC fail to commute with filtered colimits — they do commute if CC is locally finitely presentable, or if it’s a Grothendieck topos, but in general I don’t think they do, do they?). But I would expect to be able to conclude that it’s accessible using generalities about functors induced by morphisms of sketches.

I didn’t mention an explicit construction due to precisely the same worries about limit-colimit distributivity that you mention in your second comment. The “obvious” construction involving a countable coproduct of objects of length-nn paths does seem to me only to work if pullbacks preserve countable coproducts. But your alternative approach, mimicking the transfinite construction of free algebras seems likely to work in general (though again, in the general case it’s not clear to me that you can get away with a merely countable colimit). Something similar appears in appendix D.1 of Tom’s book Higher operads, higher categories.

Posted by: Mike Shulman on May 28, 2019 5:52 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Thanks for the (guarded) confirmation, Mike. Since Jade seems interested particularly in the case of algebras of a Lawvere theory, maybe it’s okay not to worry too much about the general locally presentable case, and just focus on the locally finitely presentable case, where the length-nn path construction probably gets the job done without too much fuss.

Posted by: Todd Trimble on May 28, 2019 6:39 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Are we on the same page? I was referring to the construction that mimics the transfinite construction of free algebras. (Oh, I see now why my last comment might have been confusing there.)

Posted by: Todd Trimble on May 28, 2019 10:22 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Are you sure? Even in a locally finitely presentable category, countable coproducts may not be stable under pullback, which I think is the “obvious” condition to require for that construction to work.

Posted by: Mike Shulman on May 28, 2019 9:37 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Oops, I replied to the wrong thing. See my comment above.

Posted by: Todd Trimble on May 28, 2019 10:23 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Ah. I thought “length-nn path construction” referred to the one with countable coproducts, since that’s where I used the phrase in my comment, but you meant your sequential colimit one which also uses length-nn paths. (-:

Posted by: Mike Shulman on May 29, 2019 12:23 AM | Permalink | Reply to this

Re: A Question on Left Adjoints

To be clear the original proposition for a concrete construction was to form the left adjoint as the following coproduct n=0 E n \sum_{n=0}^{\infty} E^n where E nE^n is the nn-fold composition of the span VEV V \leftarrow E \to V with itself. The problem is that when you want to define composition : n=0 E n× V n=0 E n n=0 E n\circ \colon \sum_{n=0}^{\infty} E^n \times_{V} \sum_{n=0}^{\infty} E^n \to \sum_{n=0}^{\infty} E^n you want the pullback to commute with the coproducts so you can define composition on each pair E n× VE mE^n \times_{V} E^m.

To avoid this problem you say that we are in a locally finitely presentable category and compute the free category as the directed colimit you suggested. Then to define composition you still want to define it in pairs Path n(G)× VPath m(G)Path n+m(G)\mathrm{Path}_n (G) \times_V \mathrm{Path}_m (G) \to \mathrm{Path}_{n+m} (G) so you want this pullback to commute with directed colimits. In locally finitely presentable categories is this always true? An object is called finitely presentable if its representable preserves directed colimits. It seems like this might imply that this pullback does as well but I’m not sure how.

Posted by: Jade Master on May 31, 2019 1:20 AM | Permalink | Reply to this

Re: A Question on Left Adjoints

In a locally finitely presentable category DD, finite limits commute with filtered colimits. If you like, you can invoke Gabriel-Ulmer duality to see this: write DD as Lex(C op,Set)Lex(C^{op}, Set) where CC is the category of finitely presented objects, and then use the fact that finite limits commute with filtered colimits in SetSet, so that filtered colimits in Lex(C op,Set)Lex(C^{op}, Set) may be computed pointwise and the same commutation would hold in that category.

Posted by: Todd Trimble on May 31, 2019 11:32 AM | Permalink | Reply to this

Re: A Question on Left Adjoints

Thank you. This is beautiful.

Posted by: Jade Master on May 31, 2019 4:51 PM | Permalink | Reply to this

Kevin

This is just to record an example of a locally presentable category in which finite limits don’t commute with filtered colimits. Consider the 1\aleph_1-presentable category ωSLat\omega-SLat of posets admitting suprema of nonempty countable subsets and maps preserving those suprema. For finite posets, these are just order-preserving maps. The filtered diagrams D 1={[0][1]...[n]...}D_1=\{[0]\to [1]\to...\to [n]\to...\} and D 2={[1][2]...[n+1]...}D_2=\{[1]\to [2]\to...\to [n+1]\to...\}, where the maps are inclusions of finite ordinals as initial segments, both have as colimit the ordinal ω+1\omega+1. There are two natural transformations I,F:D 1D 2I,F: D_1\to D_2 given by the inclusion of the initial and of the final segments, respectively. The equalizer of II and FF in ωSLat \omega-SLat^{\mathbb{N}} is the empty diagram and has empty colimit. But colimI\mathrm{colim} I and colimF\mathrm{colim} F have nonempty equalizer, namely the single point ωω+1\omega\in \omega+1.

Posted by: Kevin Carlson on June 5, 2019 2:06 AM | Permalink | Reply to this

Re: A Question on Left Adjoints

That’s nice – thanks!

I changed the subject line back to what it was; hope you don’t mind.

Posted by: Todd Trimble on June 5, 2019 12:40 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Oops, weird. I don’t remember editing the subject in my previous comment, certainly didn’t mean it to be my name!

Posted by: Kevin Carlson on June 5, 2019 5:22 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

I don’t see a way to change the subject header of that one comment. No big deal: it’s a nice example, Kevin! Thanks!

Posted by: John Baez on June 5, 2019 5:41 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

The following two results may be relevant:

  • Proposition 7.3 in M. E. Maietti, “Joyal’s arithmetic universes as a list-arithmetic pretopos”, Theory and Applications of Categories 24 (3) (2010), pp. 39–83.

  • Proposition 1.6 in T. M. Fiore, N. Gambino and J. Kock, “Monads in double categories”, Journal of Pure and Applied Algebra 215 (2011), pp. 1174-1197.

Posted by: Nicola Gambino on May 30, 2019 3:54 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Thank you. I am working on understanding these propositions and I will let you know if I have any questions :-)

Posted by: Jade Master on May 31, 2019 1:26 AM | Permalink | Reply to this

Re: A Question on Left Adjoints

Hi thanks. This might be exactly what I need. For a Lawvere theory Q\mathsf{Q} I would like the category Mod(Q)\mathsf{Mod} ( \mathsf{Q} ) to be a list-arithmetic pretopos. Do you have any intuition about whether or not this would be true?

Posted by: Jade Master on June 18, 2019 3:47 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

It would be true only very rarely. You would need the category to be extensive for one thing, and already that’s pretty rare for a category of algebras. It would be an interesting side question to know just how rare; someone like Peter Johnstone might know the answer to that.

Was there something insufficient about the other responses you got?

Posted by: Todd Trimble on June 18, 2019 5:58 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Your construction involving taking the directed colimit of Path 0(G)Path 1(G) \mathrm{Path}_0 (G) \hookrightarrow \mathrm{Path}_1 (G) \ldots takes care of the left unit law. To take care of the right unit law you quotient by it directly (using a coequalizer?). The problem is that in general, coequalizers are not directed colimits so I’m not sure how to define the operation of composition in the same way as in the coproduct construction.

The proof involving the Gabriel-Ulmer duality doesn’t apply. Let AA and BB be categories with finite limits. Then the duality says that every functor

Lex(A,Set)Lex(B,Set)\mathrm{Lex}(A, \mathsf{Set} ) \to \mathrm{Lex}(B,\mathsf{Set} ) induced by composition is a finitary right adjoint. However, I am interested in a right adjoint to the forgetful functor

Lex(A,Prod(Q,Set))Lex(Prod(Q,Set))\mathrm{Lex}(A, \mathrm{Prod}(Q,\mathsf{Set}) ) \to \mathrm{Lex}(\mathrm{Prod}(Q,\mathsf{Set}) )

where QQ is a Lawvere theory. I suspect that there may be some way to use Gabriel-Ulmer in a “pointwise way”. If there is a tensor product in mathsfLexmathsf{Lex} with Lex(AB,C)Lex(A,Lex(B,C))\mathsf{Lex} (A \otimes B, C) \cong \mathsf{Lex} ( A, \mathsf{Lex} (B,C) ) then we can close QQ under finite limits to get Q¯\bar{Q} and

Lex(AQ¯,Set)Lex(A,Lex(Q¯,Set)Lex(A,Prod(Q,Set))\mathsf{Lex} (A \otimes \bar{Q}, \mathsf{Set} ) \cong \mathsf{Lex}( A, \mathsf{Lex} (\bar{Q}, \mathsf{Set} ) \cong \mathsf{Lex} (A, \mathsf{Prod} (Q, \mathsf{Set} ) )

Then Gabriel-Ulmer duality can be used to prove that the functor induced by composition with f1f \otimes 1 is a finitary right adjoint.

Does this seem like it’s on the right track?

Posted by: Jade Master on June 18, 2019 7:59 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Following the free monoid construction, I would expect you should do the quotient for the other unit law at each finite stage rather than waiting to the end. That is, define something like P 0=Path 0P_0 = Path_0, P 1=Path 1P_1=Path_1, and P 2=coeq(P 1Path 2)P_2 = coeq(P_1 \rightrightarrows Path_2), so that P 2P_2 consists of length-2 paths with (f,id)=(id,f)(f,id) = (id,f) imposed, and “so on”. Then the directed colimit should be correct right away without any further quotienting, and it should be all that has to be preserved.

As for the second approach, I believe there is such a tensor product in LexLex (at least, bicategorically), but I can’t think of a reference off the top of my head. Probably it is a special case of algebras for a commutative lax-idempotent pseudomonad or something.

Posted by: Mike Shulman on June 18, 2019 10:58 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Thanks, Jade, for pointing out the deficiency of the earlier suggestion (of the concrete construction for free internal categories).

I was about to say that I don’t have a lot to add to what Mike just said, and also that I personally haven’t sat down to check that everything works as advertised. Since I’ve made a few silly mistakes so far in the discussion, you would be justified in not accepting a claim just on my personal say-so.

However, after googling a bit, I did find a paper by Steve Lack which addresses your question. Specifically, in the beginning of section 5, he answers your exact question of constructing free internal categories within varieties (categories of algebras of Lawvere theories). So hopefully that will do for your purposes.

I do agree with Mike that your idea of using a tensor product on Lex\mathsf{Lex} should work and is nicely high-powered, but nailing down every last detail may be more work than you want for your immediate purposes.

Posted by: Todd Trimble on June 19, 2019 9:20 PM | Permalink | Reply to this

Re: A Question on Left Adjoints

Glad you found that Lack paper, Todd. In particular, he points out that Kelly’s construction is designed for free monads, where the tensor product (composition of endofunctors) preserves only directed colimits on one side, but preserves all colimits on the other side. So possibly my last suggestion, which was based on that, will not work in this situation either, and you need his more refined version.

Someone should add a reference to that Lack paper to the nLab page on free monoids.

Posted by: Mike Shulman on June 21, 2019 7:17 PM | Permalink | Reply to this

Post a New Comment