Category Theory
Zulip Server
Archive

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.


Stream: theory: category theory

Topic: New category from an endofunctor


view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:11):

Let C\mathcal{C} be category and F:CCF:\mathcal{C} \rightarrow \mathcal{C} an endofunctor.

Then, I can obtain a new category CF\mathcal{C}_F as follows:

It seems to me that it is similar to the idea of a Kleisli category but without assuming than the endofunctor is a monad, and even simpler that the category of algebras over an endofunctor. Somehow, the simplest category you can create from an endofunctor.

Does it have a name?

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:14):

Hmm I'm unsure if I didn't want to write instead:

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:15):

The first version you posted is simply the factorization of FF into a bijective-on-objects followed by a fully-faithful functor. It doesn't have anything to do with FF being an endofunctor.

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:16):

The second version won't work, since images of functors are not always subcategories.

view this post on Zulip fosco (Aug 02 2024 at 18:16):

By construction, the functor C\mathcal{C} \to {your category} is bijective on objects. This category arises in a certain sense as a Kleisli category: it's related to the Kleisli category of the codensity monad of F

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:17):

Kevin Carlson said:

The second version won't work, since images of functors are not always subcategories.

What do you mean? F(f)F(g)=F(fg)F(f) \circ F(g)=F(f \circ g), where is the issue?

view this post on Zulip fosco (Aug 02 2024 at 18:17):

(is it the same thing? Don't remember now)

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:17):

ff and gg aren't necessarily composable just because F(f)F(f) and F(g)F(g) are!

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:18):

Consider the functor from the disjoint union of two walking arrows that glues one domain to one codomain. The resulting quotient is a 2-simplex but the long arrow of the 2-simplex isn't in the image.

view this post on Zulip fosco (Aug 02 2024 at 18:18):

Jean-Baptiste Vienney said:

Kevin Carlson said:

The second version won't work, since images of functors are not always subcategories.

What do you mean? F(f)F(g)=F(fg)F(f) \circ F(g)=F(f \circ g), where is the issue?

The issue is that if $$f,g$ are composable then Ff,FgFf, Fg are; not viceversa. For example, take a constant functor onto a single object, f,gf,g in two disconnected components of the domain category...

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:18):

I see what you mean but I wrote that a morphism from AA to BB in the new category if of the form F(f)F(f) where ff is necessarily from AA to BB.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:19):

I don't ask just that it is of the form F(f):F(A)F(B)F(f):F(A) \rightarrow F(B) for any morphism ff.

view this post on Zulip Nathanael Arkor (Aug 02 2024 at 18:20):

Jean-Baptiste Vienney said:

It seems to me that it is similar to the idea of a Kleisli category but without assuming than the endofunctor is a monad

As Kevin has pointed out, the original definition is the [[full image]] of FF. However, there's a reason it looks similar to a Kleisli category: it is precisely the Kleisli category for FF viewed as an FF- [[relative monad]].

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:22):

Woh, very cool!

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:23):

So an endofunctor FF is a always an FF-relative monad?

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:24):

Jean-Baptiste Vienney said:

I see what you mean but I wrote that a morphism from AA to BB in the new category if of the form F(f)F(f) where ff is necessarily from AA to BB.

Does it solve the issue, or am I still misunderstanding?

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:25):

Ok, I see the issue.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:34):

fosco said:

Jean-Baptiste Vienney said:

Kevin Carlson said:

The second version won't work, since images of functors are not always subcategories.

What do you mean? F(f)F(g)=F(fg)F(f) \circ F(g)=F(f \circ g), where is the issue?

The issue is that if $$f,g$ are composable then Ff,FgFf, Fg are; not viceversa. For example, take a constant functor onto a single object, f,gf,g in two disconnected components of the domain category...

Argh, no I still don't understand. I think this is a subcategory of the first one and I could even get a bigger one by writing CF[A,B]={F(f):F(A)F(B), fC[X,Y], X,YOb(C)}\mathcal{C}^F[A,B]=\{F(f):F(A) \rightarrow F(B),~f \in \mathcal{C}[X,Y],~X,Y \in \mathrm{Ob}(\mathcal{C})\}. No need that ff and gg are composable since you just compose F(f)F(f) and F(g)F(g).

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:36):

Though, I think these two subcategories are not very useful.

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:44):

But the whole point is that F(f)F(g)F(f)\circ F(g) need not be of the form F(h)F(h) for any hh!

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:44):

You could take the subcategory generated by these morphisms, if you wanted. This is the image.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:46):

Kevin Carlson said:

But the whole point is that F(f)F(g)F(f)\circ F(g) need not be of the form F(h)F(h) for any hh!

Ok, so the third category doesn't make sense. But in the second one you're doing F(f)F(g)F(f) \circ F(g) where ff and gg are composable.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:47):

So that F(f)F(g)=F(fg)F(f) \circ F(g)=F(f \circ g).

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:47):

No, sorry.

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:48):

The second one being CF(A,B)={F(f), fC(A,B)}C_F(A,B)=\{F(f), f\in C(A,B)\}?

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:48):

It works if you write this:
CF[A,B]={F(f),f:AB, such that F(f):F(A)F(B)}\mathcal{C}_F[A,B]=\{F(f), f:A \rightarrow B, \text{ such that }F(f):F(A) \rightarrow F(B)\}

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:49):

You can quotient CC by the congruence f:ABg:ABf:A\to B\sim g:A\to B if F(f)=F(g),F(f)=F(g), sure. The "such that" statement you wrote doesn't seem meaningful.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:50):

Yes, it doesn't make sense.

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:50):

I guess this is the factorization of FF as a bijective-on-objects-and-full functor followed by a faithful functor.

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:50):

But for sure it again doesn't require FF to be an endofunctor.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:50):

Kevin Carlson said:

The second one being CF(A,B)={F(f), fC(A,B)}C_F(A,B)=\{F(f), f\in C(A,B)\}?

But so, this one works?

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:51):

You have F(f):F(A)F(B)F(f):F(A) \rightarrow F(B), F(g):F(B)F(C)F(g):F(B) \rightarrow F(C) and you're just doing F(g)F(f)F(g) \circ F(f).

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:51):

Yes, as I said, this is the (bijective on object+full , faithful) factorization

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:52):

$$\mathcal{C}^F[A,B]=\{F(f):F(A) \rightarrow F(B),~f \in \mathcal{C}[X,Y],~X,Y \in \mathrm{Ob}(\mathcal{C})\}$$. No need that $$f$$ and $$g$$ are composable since you just compose $$F(f)$$ and $$F(g)$$.
`````
And I think this one also works.

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:53):

I can't read that one.

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:53):

Isn't that the same third one we saw doesn't work a minute ago?

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:53):

Jean-Baptiste Vienney said:

fosco said:

Jean-Baptiste Vienney said:

Kevin Carlson said:

The second version won't work, since images of functors are not always subcategories.

What do you mean? F(f)F(g)=F(fg)F(f) \circ F(g)=F(f \circ g), where is the issue?

The issue is that if $$f,g$ are composable then Ff,FgFf, Fg are; not viceversa. For example, take a constant functor onto a single object, f,gf,g in two disconnected components of the domain category...

CF[A,B]={F(f):F(A)F(B), fC[X,Y], X,YOb(C)}\mathcal{C}^F[A,B]=\{F(f):F(A) \rightarrow F(B),~f \in \mathcal{C}[X,Y],~X,Y \in \mathrm{Ob}(\mathcal{C})\}.

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:54):

Yeah, that continues not to work for the same reason it didn't work last time you agreed it doesn't work.

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:54):

You can compose F(f)F(g)F(f)\circ F(g) all you want but you won't get something of the form F(h)F(h) in general.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:54):

Ok, I see.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 18:55):

For my defense, the second version I wrote at the beginning works just fine and then I tried to modify it in ways which don't work anymore because you told me that this second version didn't work.

view this post on Zulip Kevin Carlson (Aug 02 2024 at 18:56):

Yeah, you're right, I misread your second version at first.

view this post on Zulip Eric M Downes (Aug 02 2024 at 19:20):

The way this issue (CCat0̸    FCCat0\sf C\in Cat_0\not\implies\mathit{F}C\in Cat_0) for F:CDF:\mathsf{C\to D} is fixed in forming a [[category algebra]] (where FC0={}\mathcal{F}\mathsf{C}_0=\set*) is to have FfFg:=0Ff\circ Fg:=0 a sink morphism 0=0h=h0 hD10=0\circ h=h\circ 0~\forall h\in \mathsf{D}_1, whenever dom(f)cod(g)dom(f)\neq cod(g)

Is there a reason to not do something like that here? You end up with a unique sink for every homset, s.t. 0xy0yz=0xz0_{xy}\circ 0_{yz}=0_{xz}. It seems like the "smallest" category generated by FC\mathcal{F}\mathsf{C} in some sense. I've probably just described some kind of named closure. :)

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 20:04):

Yeah, I want to work with categories, not algebras. And your category algebras don't look much like categories, unless you make them into categories with a single object.

view this post on Zulip Eric M Downes (Aug 02 2024 at 21:02):

I apologize for the sloppiness with the codomain. It's fine to not want to use it, and it is algebraic in spirit, but what I have described is a category (Ed: when D\sf D is a [[gaunt category]] ). Or rather a natural transformation taking F:CD    F(0):CD(0)F:{\sf C\to D}\implies F^{(0)}:{\sf C\to D^{(0)}}, where the codomain of F(0)F^{(0)} has D\sf D as a faithfully included wide subcategory, and has a unique sink morphism adjoined for every homset of D\sf D. (The sinks form their own thin/posetal subcategory, excluded only the identities.) I'll do some digging and see if there is a name for it.

But it seems like you found a way to make what you're doing work. So I won't distract you unless you want to discuss it more.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 21:38):

Ok, so you say that if F:CDF:\mathcal{C} \rightarrow \mathcal{D} is a functor, then you can define a category CF\mathcal{C}^F as follows:

Fine, that's interesting.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 21:48):

The issue is that I believe this is not necessarily a category because I think the identity will not always be unital.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 21:50):

I mean: it looks like sometimes postcomposing a morphism uu (or precomposing a morphism vv) by the identity could return undefinedA,C\mathrm{undefined}_{A,C} instead of uu (instead of vv).

view this post on Zulip Rémy Tuyéras (Aug 02 2024 at 22:28):

Note sure whether this will help @Jean-Baptiste Vienney , but your two constructions seem to be related as follows.

Your functor F:CCF:\mathcal{C} \to \mathcal{C} defines a natural transformation:

F0:Obj(C)Obj(C)F_0:\mathsf{Obj}(\mathcal{C}) \to \mathsf{Obj}(\mathcal{C})
F1:Arr(C)Arr(C)F_1:\mathsf{Arr}(\mathcal{C}) \to \mathsf{Arr}(\mathcal{C})

compatible with identities, source, targets, compositions, etc.

It seems that your first construction is pulling back the structure of C\mathcal{C} along F0:Obj(C)Obj(C)F_0:\mathsf{Obj}(\mathcal{C}) \to \mathsf{Obj}(\mathcal{C}). This gives you a new category CF\mathcal{C}_F that gives you the following factorization of FF:

CaCFbC\mathcal{C} \mathop{\to}\limits^{a} \mathcal{C}_F \mathop{\to}\limits^{b} \mathcal{C}

The morphism aa should be induced by universal maps for the cones formed by FF and the structure of C\mathcal{C}. You can now use image factorizations on the components of morphism aa to form the following factorization:

Ca0CFa1CF\mathcal{C} \mathop{\to}\limits^{a_0} \mathcal{C}^F \mathop{\to}\limits^{a_1} \mathcal{C}_F

The two constructions seem to be related to the concept of weak [[Cartesian morphisms]], where your fibration would be CObj(C)\mathcal{C} \mapsto \mathsf{Obj}(\mathcal{C}) and an obvious Cartesian morphism would be b:CFCb:\mathcal{C}_F \to \mathcal{C}. I am wondering whether the arrow ba1:CFCb \circ a_1:\mathcal{C}^F \to \mathcal{C} is Cartesian is some sense too.

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 22:40):

Is aa doing a(f)=F(f)a(f)=F(f)?

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 22:41):

I don't understand what you mean by "universal maps for the cones ..."

view this post on Zulip Rémy Tuyéras (Aug 02 2024 at 22:41):

That would be bb that has this property

view this post on Zulip Jean-Baptiste Vienney (Aug 02 2024 at 22:42):

I think bb is doing b(f)=fb(f)=f, no?

view this post on Zulip Rémy Tuyéras (Aug 02 2024 at 22:47):

For example, you construct source and target of CF\mathcal{C}_F by pulling back the map (s,t):Arr(C)Obj(C)×Obj(C)(s,t):\mathsf{Arr}(\mathcal{C}) \to \mathsf{Obj}(\mathcal{C}) \times \mathsf{Obj}(\mathcal{C}) along F0×F0F_0 \times F_0. The pullback gives you a source and target

(s,t):Arr(CF)Obj(C)×Obj(C)(s',t'):\mathsf{Arr}(\mathcal{C}_F) \to \mathsf{Obj}(\mathcal{C})\times \mathsf{Obj}(\mathcal{C})

where Arr(CF)={(a,f,b)  (a,b) in Obj(C) and f:F(a)F(b)}\mathsf{Arr}(\mathcal{C}_F) = \{(a,f,b)~|~(a,b) \textrm{ in } \mathsf{Obj}(\mathcal{C})\textrm{ and }f:F(a) \to F(b)\}

view this post on Zulip Rémy Tuyéras (Aug 02 2024 at 22:48):

The pullback square defines bb, and if you look at the map at the bottom of that square, it should be F0×F0F_0\times F_0 (representing the mapping F0F_0 on source and target separately)

view this post on Zulip Rémy Tuyéras (Aug 02 2024 at 22:49):

Ah, my bad, I realized I misread your message -- yes, a(f)=F1(f)a(f) = F_1(f)

view this post on Zulip Rémy Tuyéras (Aug 02 2024 at 22:50):

but b(X)=F0(X)b(X) = F_0(X)

view this post on Zulip Rémy Tuyéras (Aug 02 2024 at 22:53):

Jean-Baptiste Vienney said:

I don't understand what you mean by "universal maps for the cones ..."

Basically, the universal maps induced by the pullbacks to form aa

view this post on Zulip Eric M Downes (Aug 02 2024 at 23:57):

Jean-Baptiste Vienney said:

I mean: it looks like sometimes postcomposing a morphism uu (or precomposing a morphism vv) by the identity could return undefinedA,C\mathrm{undefined}_{A,C} instead of uu (instead of vv).

Thank you for catching that; the problem comes if FF collapses two objects either of which has automorphisms, without collapsing the autos themselves. I’m looking back at my notes and I misremembered some stuff. But it’s getting late here. I will try again tomorrow.

view this post on Zulip Eric M Downes (Aug 03 2024 at 03:02):

Okay, couldn’t sleep! What I was suggesting only works if the codomain of FF is a [[gaunt category]]; all isos are identities. This is quite a severe restriction for me to forget! Sorry for wasting your time, and thanks for the sanity check; my memory is just shot lately.

view this post on Zulip John Baez (Aug 03 2024 at 07:56):

I hadn't known the term "gaunt category". I enjoyed this jargonesque definition: a gaunt category is a skeletal category whose core is thin.