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: learning: questions

Topic: Categories generalizing groupoids and preorders


view this post on Zulip John Baez (Jan 16 2026 at 00:48):

Has anyone written about categories with this property?

Property A. Given morphisms f:xyf: x \to y and g:yxg: y \to x, ff must be the inverse of gg.

Note that any preorder has this property, and so does any groupoid.

More generally, I believe we can get a lot of categories with property A as follows. Take any preorder PP and any pseudofunctor F:PGpdF: P \to \mathbf{Gpd}, and do the covariant Grothendieck construction F\int F. Then I believe F\int F has property A. The category F\int F is like a "bundle of groupoids over a preorder".

But I believe it's not true that any category with property A is given by the above construction! A counterexample would a category with only two objects xx and yy, two morphisms f,g ⁣:xyf, g \colon x \to y, and identity morphisms for xx and yy.

This category is not a preorder, but it has a weaker property shared by all preorders:

Property B. If there is a morphism f:xyf : x \to y that is not an isomorphism, there is no morphism g:xyg: x \to y.

Has anyone studied categories with property B?

view this post on Zulip Kevin Carlson (Jan 16 2026 at 01:02):

Hm? Groupoids don't have Property A, do they? Just deloop any nontrivial group, and if you want xyx\ne y, cross this delooping with the walking iso.

view this post on Zulip Rémy Tuyéras (Jan 16 2026 at 01:44):

So Pro A \Leftrightarrow endomorphisms are identities ?

view this post on Zulip Rémy Tuyéras (Jan 16 2026 at 04:34):

And if there is typo in Pro B (where g:yxg:y \to x), then it looks like Pro B \Leftrightarrow endomorphisms are isomorphisms (by contradiction)

view this post on Zulip Rémy Tuyéras (Jan 16 2026 at 04:51):

So looks like we have an inclusion Pro(A)Pro(B)\mathbf{Pro}(A) \hookrightarrow \mathbf{Pro}(B) and we have a functor (is it?) Pro(B)Pro(A)\mathbf{Pro}(B) \to \mathbf{Pro}(A) which maps a category CC to a category CC' where CC' is defined as:

[f]={g  hg=fh,h,h automorphisms }[f] = \{ g ~| ~h \circ g = f \circ h'\,, \exists\, h, h' \textrm{ automorphisms }\}

Here g[f]g \in [f] defines a relation gfg \sim f where \sim is an equivalence:

and we have:

[f][f]=[ff][f] \circ [f'] = [f \circ f']

view this post on Zulip John Baez (Jan 16 2026 at 05:55):

Kevin Carlson said:

Hm? Groupoids don't have Property A, do they? Just deloop any nontrivial group, and if you want xyx\ne y, cross this delooping with the walking iso.

Ugh, yeah. I had an idea but I didn't formalize it correctly. I guess I meant

Property A'. Given morphisms f:xyf: x \to y and g:yxg: y \to x, ff and gg must be isomorphisms.

I think groupoids and preorders have this property, and more generally any category formed by the Grothendieck construction from a pseudofunctor F ⁣:PGpdF \colon P \to \mathbf{Gpd} where PP is a preorder.

view this post on Zulip Morgan Rogers (he/him) (Jan 16 2026 at 08:51):

Every category has a preorder reflection. Property A' says that the functor from our category to its preorder reflection is conservative (reflects isomorphisms)

view this post on Zulip Morgan Rogers (he/him) (Jan 16 2026 at 08:56):

Isn't property B the contrapositive of A'?

view this post on Zulip Noam Zeilberger (Jan 16 2026 at 12:20):

Is EI-category what you have in mind?

view this post on Zulip Rémy Tuyéras (Jan 16 2026 at 12:34):

Noam Zeilberger said:

Is EI-category what you have in mind?

Yeah, without checking too much the details, it looks like we have Pro B \Leftrightarrow endomorphisms are isos \Leftrightarrow Pro A'

view this post on Zulip Rémy Tuyéras (Jan 16 2026 at 12:59):

John Baez said:

Kevin Carlson said:

Hm? Groupoids don't have Property A, do they? Just deloop any nontrivial group, and if you want xyx\ne y, cross this delooping with the walking iso.

Ugh, yeah. I had an idea but I didn't formalize it correctly. I guess I meant

Property A'. Given morphisms f:xyf: x \to y and g:yxg: y \to x, ff and gg must be isomorphisms.

I think groupoids and preorders have this property, and more generally any category formed by the Grothendieck construction from a pseudofunctor F ⁣:PGpdF \colon P \to \mathbf{Gpd} where PP is a preorder.

Just some intuitions here, nothing that I checked properly:

I would probably look into functors like Pro(B)Prop(A)\mathbf{Pro}(B) \to \mathbf{Prop}(A), because they might hide some equivalence/adjunction which would help express any category CC in Pro(B)\mathbf{Pro}(B) in terms of its corresponding category CC' in Pro(A)\mathbf{Pro}(A), which could be close to a preorder, if not one.

And given how the quotient CC' is computed, the relationship that we would get might say that CC is linked to a function Obj(C)Aut(C)\mathsf{Obj}(C') \to \mathbf{Aut}(C), which could be formally extended to some pseudofunctor functor CGpdC' \to \mathbf{Gpd}.

This could give you a good measurement of how far the construction PGpdP \to \mathbf{Gpd} is from recovering all categories satisfying Pro(A)\mathsf{Pro}(A), etc.

view this post on Zulip John Baez (Jan 17 2026 at 04:56):

Morgan Rogers (he/him) said:

Isn't property B the contrapositive of A'?

Haha, yes it is! As you can see, I haven't put much thought into this yet. Property A is stricter than I want - what I want is property A', which is the same as property B.

It would be nice to have a construction of all categories with property A' as some sort of hybrid of a preorder and a groupoid.

view this post on Zulip John Baez (Jan 17 2026 at 08:10):

Property B: given morphisms f:xyf : x \to y and g:yxg: y \to x, both ff and gg are isomorphisms.

EI-category: every endomorphism is an isomorphism.

@Rémy Tuyéras suggested that these are equivalent. I easily saw that every category with property B is an EI-category, but I didn't believe the reverse implication until I looked at the nLab, which offers a proof.

The proof uses the (claimed) fact that isomorphisms obey the two-out-of-six property.

I say "claimed" because I still haven't shown to myself that they do!

(I haven't tried yet. It seems like a surprising fact, but someday it should seem obvious.)

view this post on Zulip John Baez (Jan 17 2026 at 08:29):

:shower: Okay, I took a shower and now it's obvious. :shower:

I'll pose it as a little self-contained puzzle for anyone just learning category theory, like me apparently:

Puzzle. Suppose f:xyf: x \to y and g:yxg: y \to x are morphisms such that fgf g and gfg f are isomorphisms. Show that ff and gg are isomorphisms.

I guess if you feel like posting a solution you should use a "spoiler warning" like this:

view this post on Zulip Jack Jia (Jan 18 2026 at 01:29):

John Baez said:

:shower: Okay, I took a shower and now it's obvious. :shower:

Puzzle. Suppose f:xyf: x \to y and g:yxg: y \to x are morphisms such that fgf g and gfg f are

It should be something like this?

view this post on Zulip John Baez (Jan 18 2026 at 06:17):

Why does fgfg having a right inverse imply that ff has a right inverse? (Simple enough, but this is the key step in my opinion. Symmetry will then handle the left inverses, etc.)

view this post on Zulip John Baez (Jan 18 2026 at 06:31):

Okay, so it's [[EI categories]] that I'm interested in. I suppose I should say why:

Proposition The category of finite-dimensional simple algebras over a field (with algebra homomorphisms as morphisms) is an EI-category.

Proof. Suppose AA is a finite-dimensional simple algebra and f ⁣:AAf\colon A \to A is an endomorphism. The kernel of ff is an ideal of AA, but since AA is simple, by definition its only ideals are {0}\{0\} and AA. Suppose AA has 101 \ne 0. Then the kernel of ff can't be all of AA since f(1)=10f(1) = 1 \ne 0, so the kernel is {0}\{0\}. Thus ff is one-to-one, so by dimension-counting it must also be onto. On the other hand if 1=01 = 0 in AA then A={0}A = \{0\} and every endomorphism is automatically an isomorphism. ▮

I hadn't expected to fuss over the algebra {0}\{0\}, but according to the definition I just gave, a standard definition, it's simple! One might argue it's [[too simple to be simple]].

view this post on Zulip John Baez (Jan 18 2026 at 06:38):

It would be nice to generalize this to simple algebras over a commutative ring. I guess finite-dimensionality condition should get replaced by something like being [[Artinian]]?

It would also be nice to generalize this even further to some class of "simple monoids" in a suitably nice symmetric monoidal category, but for now I will just work with algebras over a field to keep things simple.

view this post on Zulip John Baez (Jan 18 2026 at 06:57):

The main thing is that we get an EI-category. Let CC be any EI-category. @Morgan Rogers (he/him) mentioned the preorder reflection C\underline{C} of CC, and this is exactly the road I want to go down. Recall that C\underline{C} is the preorder with objects of CC as elements and ccc \le c' iff there exists a morphism f:ccf: c \to c' in CC. There's an obvious functor

π ⁣:CC\pi \colon C \to \underline{C}

and Morgan noted that if π(f)\pi(f) is an isomorphism ff must be too... given that CC is an EI-category.

Note the fibers of π\pi are groupoids, because CC is an EI-category.

I would like π\pi to be an opfibration and for it to arise via the Grothendieck construction from some pseudofunctor

F ⁣:CGpd F \colon \underline{C} \to \mathbf{Gpd}

but I may be wrong here.

view this post on Zulip John Baez (Jan 18 2026 at 07:02):

Since I'm pestering @Alex Kreitzberg to pose precise questions, here is one:

Question. Given an [[EI-category]] CC is the obvious functor from CC to its preorder reflection an opfibration?

Okay, I think the answer is no because we can take CC to the category with two objects xx and yy and two morphisms f,gf,g from xx to yy (together with identity morphisms). Neither ff nor gg can be a cocartesian lift of the unique arrow from xx to yy in the preorder reflection of CC.

view this post on Zulip John Baez (Jan 18 2026 at 07:08):

However, I feel this situation doesn't happen in the kind of example I actually care about, where CC is the category of finite-dimensional simple algebras over a field. So it may be that I want some strengthening of the notion of EI-category, where:

given two morphisms f,g ⁣:xyf, g \colon x \to y, there exist automorphisms α ⁣:xx\alpha \colon x \to x, β ⁣:yy\beta \colon y \to y such that g=βfαg = \beta f \alpha .

I think this forces the functor from CC to its preorder reflection to be an opfibration.

view this post on Zulip Jack Jia (Jan 19 2026 at 00:47):

John Baez said:

Why does fgfg having a right inverse imply that ff has a right inverse? (Simple enough, but this is the key step in my opinion. Symmetry will then handle the left inverses, etc.)

I don't quite see the difficulty in this step.

Also, since you are proving the two-out-of-six property, should you be dealing with hghg and gfgf instead? The proof remains exactly the same though.

view this post on Zulip John Baez (Jan 19 2026 at 05:53):

I didn't say there was anything difficult, but it was a puzzle for beginners so a good solution will be one where it's easy for beginners to follow the key step (which you have now added).

The puzzle was not to prove the two-out-of-six property.

view this post on Zulip Joe Moeller (Jan 19 2026 at 21:18):

I'll just plug my paper Extensions of representation stable categories where I give conditions under which the Grothendieck construction produces an EI-category.

view this post on Zulip John Baez (Jan 19 2026 at 23:37):

Cool, that should be helpful! One thing I'm curious about is a characterization of categories obtained by applying the covariant Grothendieck construction to a pseudofunctor

F:CGpd F : C \to \mathbf{Gpd}

where CC is a preorder. Such categories are EI-categories, so your result may be illuminating. But not every EI-category is of this form!

I'm thinking that for a category XX to be of the form F\int F where CC is a preorder and F:CGpdF: C \to \mathbf{Gpd}, XX must have this property:

Property C. Given two morphisms f,g:xyf, g: x \to y, there exists an automorphism α:yy\alpha : y \to y such that g=αfg = \alpha \circ f.

That is, I'm thinking this property is necessary; I'm not claiming it's sufficient.

Any category with property C is an EI-category, but not every EI-category has property C.

Notice that any preorder has property C, and so does any groupoid!

view this post on Zulip Ryan Wisnesky (Jan 20 2026 at 06:56):

fwiw, this condition comes up in practice all the time when formalizing database schemas as categories , because more constructions on El-categories are finite than in general. About 90% of the time we see users create schemas that are not El-categories in CQL it's a user error / modeling problem that leads to computational problems later on