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: Dependent Sum vs Composition


view this post on Zulip John Onstead (Dec 04 2024 at 19:23):

Real quick question here. As we all know, given a morphism f:ABf: A \to B in a category CC with pullbacks, there exists a base change functor f:C/BC/Af^*: C/B \to C/A. It has two adjoints: its left adjoint is the dependent sum and its right adjoint is the dependent product construction.

However, recently I came across this article by the nlab which might conflict with this information. It says that the inverse image and direct image (composition) functors between slice categories form an adjoint pair. If the inverse image functor is the base change functor, then this is a direct contradiction since we know from above that the left adjoint to the base change is the dependent sum, not the composition functor. The only possible way this makes sense is if the "inverse image" functor as described on that nlab page is not, in fact, the same as the base change functor. But both are given by pullbacks, so what is the difference?

view this post on Zulip Mike Shulman (Dec 04 2024 at 19:38):

Dependent sum is the same as composition, from a categorical point of view.

view this post on Zulip Mike Shulman (Dec 04 2024 at 19:38):

(BTW, dependent product may not exist in a category with pullbacks.)

view this post on Zulip John Onstead (Dec 04 2024 at 19:46):

Mike Shulman said:

Dependent sum is the same as composition, from a categorical point of view.

I see, thanks!

view this post on Zulip John Onstead (Dec 04 2024 at 19:46):

I guess it's one of those "concepts with attitudes"!

view this post on Zulip John Baez (Dec 04 2024 at 21:31):

I think it goes like this - someone will correct me if I'm wrong. Say you have a set over AA, like

g ⁣:XA g \colon X \to A

This is an object in the slice category Set/A\mathsf{Set}/A. The set of all elements of XX mapping to aAa \in A is called the fiber over aa.

Now say we have a function f:ABf: A \to B.

The composite fg:XBf \circ g: X \to B is now a set over BB. The fiber of fgf \circ g over any point bBb \in B is a sum, or disjoint union, of fibers of ff. Which fibers? The fibers over points aa with f(a)=bf(a) = b.

This construction is called a dependent sum, and it gives the left adjoint @John Onstead is talking about.

view this post on Zulip John Onstead (Dec 04 2024 at 21:46):

John Baez said:

The composite fg:XBf \circ g: X \to B is now a set over BB. The fiber of fgf \circ g over any point bBb \in B is a sum, or disjoint union, of fibers of ff. Which fibers? The fibers over points aa with f(a)=bf(a) = b.

That's a really cool perspective and justification of the "sum" in "dependent sum". Thanks!

view this post on Zulip John Baez (Dec 05 2024 at 00:04):

Thanks! I believe the dependent product works similarly, but now the fiber over bBb \in B is the product of all fibers over points aAa \in A with f(a)=bf(a) = b.