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: The free category with finite limits on a set


view this post on Zulip fosco (Jan 11 2023 at 12:58):

Let SS be a set, regarded as discrete category.

Is there any hope to describe explicitly the free category with finite limits on SS? Other than when SS is a singleton (it's the opposite of finite sets and functions), I can't see how.

view this post on Zulip Spencer Breiner (Jan 11 2023 at 13:07):

Shouldn't this just be a sum of copies of Setop\bf Set^{op}? Building the free finite-limit category ought to be a left adjoint, hence preserve the coproduct.

view this post on Zulip Spencer Breiner (Jan 11 2023 at 13:09):

Sum in finite-limit categories (e.g., shared terminal object).

view this post on Zulip Reid Barton (Jan 11 2023 at 13:10):

It should be the opposite of (finite sets equipped with a map to S).

view this post on Zulip Reid Barton (Jan 11 2023 at 13:11):

If S is finite then it's also the opposite of (S-indexed families of finite sets).

view this post on Zulip Nathanael Arkor (Jan 11 2023 at 13:14):

To put it another way, the free finite limit completion of a discrete category is the free finite product completion of a discrete category, because there are no nontrivial nondiscrete limits in a discrete category.

view this post on Zulip fosco (Jan 11 2023 at 13:25):

Mmh, I find both arguments convincing, but somehow I'm having trouble proving the universal property..

view this post on Zulip fosco (Jan 11 2023 at 14:20):

I really want to believe your conjecture but I can't figure out how to make it precise: let F:SAF : S \to {\cal A} be a functor, i.e. a SS-family of objects of a category with finite limits.

Now, there is an obvious unit map S(Fin/S)opS\to (Fin/S)^{op} sending ss to s:{}Ss:\{*\}\to S.

view this post on Zulip fosco (Jan 11 2023 at 14:23):

Trying to extend FF to a Fˉ\bar F along the above candidate unit,

  1. On one side, in order for Fˉ\bar F to act like FF on objects of the form s:{}Ss : \{*\}\to S, one would like to define Fˉ(AS)={sAs}Fs\bar F (A\to S)=\prod_{\{s\mid A_s\ne\emptyset\}}Fs
  2. On the other hand, this functor is clearly not product preserving (it doesn't preserve the terminal object, i.e. the identity of SS --I am thinking SS finite)

view this post on Zulip Reid Barton (Jan 11 2023 at 14:25):

The terminal object is the empty set mapping to S.

view this post on Zulip fosco (Jan 11 2023 at 14:26):

ah but the domain is the opposite of (Fin/S)(Fin/S). Then the terminal object is not 1_S

view this post on Zulip fosco (Jan 11 2023 at 14:26):

indeed, indeed

view this post on Zulip Reid Barton (Jan 11 2023 at 14:26):

Probably easier to just replace limits by colimits throughout

view this post on Zulip fosco (Jan 11 2023 at 14:44):

Ok now I am convinced!

view this post on Zulip John Baez (Jan 11 2023 at 15:11):

Spencer Breiner said:

Shouldn't this just be a sum of copies of Setop\mathsf {Set^{op}}? Building the free finite-limit category ought to be a left adjoint, hence preserve the coproduct.

By the way, this is the free category with all small limits on a set. The free category with finite limits on a set SS should be a sum of SS copies of FinSetop\mathsf {FinSet^{op}}, I believe.

view this post on Zulip John Baez (Jan 11 2023 at 15:18):

But this should be (FinSet/S)op(\mathsf{FinSet}/S)^{\mathsf{op}}, as Reid said - that's a bit more concrete.

view this post on Zulip John Baez (Jan 11 2023 at 15:20):

And as Nathaniel pointed out, this is also the free category with finite products on SS.

view this post on Zulip John Baez (Jan 11 2023 at 15:21):

(I'm just trying to put all this nice stuff in one place.)

view this post on Zulip fosco (Jan 11 2023 at 21:21):

Now that I think about it, why the extension of FF preserves products? Given a coproduct in Fin/SFin/S, i.e. the map ABSA\sqcup B\to S, why is Fˉ[ABS]F[AS]×Fˉ[BS]\bar F\left[\begin{smallmatrix}A\sqcup B \\\downarrow\\ S\end{smallmatrix}\right]\cong F\left[\begin{smallmatrix}A \\\downarrow\\ S\end{smallmatrix}\right]\times\bar F\left[\begin{smallmatrix} B \\\downarrow\\ S\end{smallmatrix}\right], if Fˉ\bar F sends a:ASa : A\to S to the product sim(a)Fs\prod_{s\in im(a)} Fs?

view this post on Zulip John Baez (Jan 11 2023 at 22:34):

There's a funny mix of products and coproducts in your question. I find it easier to work only with coproducts until the very last minute.

I claim the free category with finite colimits on a set SS is FinSet/S\mathsf{FinSet}/S. Given a functor F:SAF: S \to \mathsf{A} where AA has finite colimits we want to extend FF to a finite-colimit-preserving functor F:FinSet/SA\overline{F} : \mathsf{FinSet}/S \to \mathsf{A}.

Here's how F\overline{F} works: it sends f:ASf: A \to S to

xAF(f(x))\sum_{x \in A} F(f(x))

The coproduct in FinSet/S\mathsf{FinSet}/S of f:ASf: A \to S and g:BSg: B \to S is f,g:ABS\langle f, g \rangle: A \sqcup B \to S. Here f,g \langle f, g \rangle is my notation for the map that equals ff on AA and gg on BB.

So, F\overline{F} sends the coproduct of f:ASf: A \to S and g:BSg: B \to S to

xABF(f,g(x))=xAF(f(x))+xBF(g(x))\sum_{x \in A \sqcup B} F(\langle f, g \rangle (x)) = \sum_{x \in A } F(f(x)) + \sum_{x \in B} F(g(x))

So F\overline{F} preserves binary coproducts.

view this post on Zulip John Baez (Jan 11 2023 at 22:36):

Once we finish showing that FinSet/S\mathsf{FinSet}/S is the free category with finite colimits on SS, we can instantly conclude that (FinSet/S)op(\mathsf{FinSet}/S)^{\text{op}} is the free category with finite limits on SS.

view this post on Zulip Tom Hirschowitz (Jan 12 2023 at 10:33):

Spencer Breiner said:

Shouldn't this just be a sum of copies of Setop\bf Set^{op}? Building the free finite-limit category ought to be a left adjoint, hence preserve the coproduct.

Right, but the left adjoint goes to categories with finite limits, hence the free finite-limit category on SS should be a coproduct of SS copies of Setop\mathbf{Set}^{\mathit{op}} in the (large) category of finite-limit categories. And this coproduct is not preserved by the forgetful functor to CAT\mathbf{CAT}, is it?

view this post on Zulip fosco (Jan 12 2023 at 11:19):

John Baez said:

There's a funny mix of products and coproducts in your question. I find it easier to work only with coproducts until the very last minute.

I claim the free category with finite colimits on a set SS is FinSet/S\mathsf{FinSet}/S. Given a functor F:SAF: S \to \mathsf{A} where AA has finite colimits we want to extend FF to a finite-colimit-preserving functor F:FinSet/SA\overline{F} : \mathsf{FinSet}/S \to \mathsf{A}.

Here's how F\overline{F} works: it sends f:ASf: A \to S to

xAF(f(x))\sum_{x \in A} F(f(x))

The coproduct in FinSet/S\mathsf{FinSet}/S of f:ASf: A \to S and g:BSg: B \to S is f,g:ABS\langle f, g \rangle: A \sqcup B \to S. Here f,g \langle f, g \rangle is my notation for the map that equals ff on AA and gg on BB.

So, F\overline{F} sends the coproduct of f:ASf: A \to S and g:BSg: B \to S to

xABF(f,g(x))=xAF(f(x))+xBF(g(x))\sum_{x \in A \sqcup B} F(\langle f, g \rangle (x)) = \sum_{x \in A } F(f(x)) + \sum_{x \in B} F(g(x))

So F\overline{F} preserves binary coproducts.

Yes, I just got the wrong definition of Fˉ\bar F, silly mistake.