61
$\begingroup$

It's not hard to show that this is true in the category Set, and proofs have been written down in many places. But all the ones I know are a bit fiddly.

Question 1: is there a soft proof of this fact?

For example, here's a soft proof of the fact that filtered colimits in Set commute with binary products. If $J$ is a filtered category, and $R,S:J\to$ Set are functors, then

$$colim_{j\in J} R(j)\times colim_{k\in J} S(k) \cong colim_{j\in J} colim_{k\in J} R(j)\times S(k)$$ $$\cong colim_{(j,k)\in J\times J} R(j)\times S(k) \cong colim_{j\in J} R(j)\times S(j) $$

where the first isomorphism uses the fact that Set is cartesian closed, so that the functors $X\times-$ and $-\times X$ are cocontinuous; the second isomorphism is the "Fubini theorem"; and the third isomorphism follows from the fact that the diagonal functor $\Delta:J\to J\times J$ is final.

Is there some way to extend this to deal with equalizers and/or pullbacks? (The case of the terminal object is easy.)

For the sort of person who'd rather just prove the fact directly (which after all is not that hard), it's worth pointing out that this proof works not just in Set but for any cartesian closed category with filtered colimits. It works without knowing how to construct colimits in Set.

So another way to ask my question might be

Question 2: what is a class of categories in which you can prove that filtered colimits commute with finite limits (without first proving that this is true in Set)?

So yes, I know that the commutativity holds in any locally finitely presentable category, but the only proofs of this I know depend on the fact that it is true in Set.

$\endgroup$
2
  • 5
    $\begingroup$ Thought I'd mention that a proof that filtered colimits commute with, say, equalizers, must use something more than what you've used for finite limits. Indeed, all you really used was that $J$ was "sifted" (the diagonal map is cofinal). But sifted colimits do not commute with equalizers in general. $\endgroup$ Mar 10, 2013 at 1:23
  • 3
    $\begingroup$ Thanks, Dylan. I agree that J being filtered will have to be used. But what properties of Set should be used? $\endgroup$
    – Steve Lack
    Mar 11, 2013 at 23:55

3 Answers 3

12
$\begingroup$

In the Elephant, Theorem B2.6.8 shows that finite limits commute with filtered colimits in $\mathsf{Set}$ using arguments that can apparently be internalized to any $\mathcal{S}$ which is Barr-exact with reflexive coequalizers. Let's call such a category good.

I expected Johnstone's proof to be a straightforward internalization of the proof found, say, in Mac Lane. But in fact he relies on reducing preservation of pullbacks to preservation of binary products, as Buschi Sergio attempted to do in his answer. Johnstone reduces from statement 1 to statement 2 as follows:

  1. For any good category $\mathcal{S}$, and any $\mathbb{C} \in \mathrm{Cat}(\mathcal{S})$ which is internally filtered, the functor $\varinjlim: [\mathbb{C},\mathcal{S}] \to \mathcal{S}$ preserves pullbacks.

  2. For any good category $\mathcal{S}$, and any $\mathbb{C} \in \mathrm{Cat}(\mathcal{S})$ which is internally filtered, the functor $\varinjlim: [\mathbb{C},\mathcal{S}] \to \mathcal{S}$ preserves binary products.

Johnstone proves statement (2) directly, but if we're willing to assume that $\mathcal{S}$ is cartesian closed, then I suppose statement (2) will follow in a more conceptual manner by internalizing the argument from the question statement.

Johnstone proves statement (1) from statement (2) as follows; I'll omit the word ``internal" a lot. Think of $[\mathbb{C},\mathcal{S}]$ as the category of discrete opfibrations over $\mathbb{C}$. Consider a pullback $\mathbb{G} \times_{\mathbb{F}} \mathbb{H}$ over the discrete opfibration $\mathbb{F} \to \mathbb{C}$. Then $\mathbb{G}$ and $\mathbb{H}$ can be regarded as discrete opfibrations over $\mathbb{F}$ in the slice category $\mathcal{S}/\pi_0 \mathbb{F}$, and $\mathbb{G}\times_\mathbb{F} \mathbb{H}$ is their product as such. Now, $\mathbb{F}$ is weakly filtered (meaning its connected components are filtered) over $\mathbb{S}$ by Johnstone's Lemma B2.6.7 (being a discrete opfibration over a filtered category), so it is filtered internally to $\mathbb{S}/\pi_0\mathbb{F}$ by Johnstone's Corollary B2.6.6. Hence, since $\mathcal{S}/\pi_0\mathbb{F}$ is again a good category, we can apply statement (2) to deduce that the product $\mathbb{G}\times_\mathbb{F} \mathbb{H}$ is preserved by the colimit functor $\varinjlim:[\mathbb{F},\mathcal{S}/\pi_0\mathbb{F}] \to \mathcal{S}/\pi_0\mathbb{F}$: $\varinjlim(\mathbb{G}\times_\mathbb{F} \mathbb{H}) \cong \varinjlim(\mathbb{G}) \times \varinjlim(\mathbb{H})$. When we apply the forgetful functor $\mathcal{S}/\pi_0\mathbb{F} \to \mathcal{S}$ to this isomorphism, colimits are preserved and products become pullbacks over $\pi_0 \mathbb{F}$, so it says

$\varinjlim(\mathbb{G}\times_\mathbb{F} \mathbb{H}) \cong \varinjlim(\mathbb{G}) \times_{\pi_0 \mathbb{F}} \varinjlim(\mathbb{H}) = \varinjlim(\mathbb{G}) \times_{\varinjlim( \mathbb{F})} \varinjlim(\mathbb{H})$

as desired. Note that in order to use the soft proof of (2), though, we need the slice category of $\mathcal{S}$ to be cartesian closed, i.e. we need $\mathcal{S}$ to be locally cartesian closed in addition to being good.

Some thoughts:

  • In the direction of making this more self-contained, it looks like this proof could be stripped down to avoid reliance on internal logic if we just want it to apply when $\mathcal{S} = \mathsf{Set}$ -- although it looks like we will still have to think about categories internal to slices of $\mathsf{Set}$, this shouldn't be too bad. I'm not sure how ``soft" this is, though.

  • In the direction of looking for maximum generality, this theorem identifies a nice class of categories where an internal version of finite limits and filtered colimits commute. But Question 2 asked for a nice class of categories where honest-to-goodness external finite limits commute with filtered colimits. I'm less sure about how to use this theorem to identify such a class. If $\mathcal{S}$ admits a geometric morphism to $\mathsf{Set}$ (or something along these lines), then ordinary small categories can be turned freely into internal categories in $\mathcal{S}$. Would such a functor also turn discrete opfibrations into discrete opfibrations? And would it preserve notions of limit and colimit? These are change-of-base questions that someone out there surely knows...

  • It sure would be nice to modify this proof or find another proof which explicitly exploits the definition of filteredness of $\mathbb{C}$ which says that the diagonal functor $\Delta: \mathbb{C} \to [\mathbb{I},\mathbb{C}]$ is final for every finite $\mathbb{I}$.

$\endgroup$
3
  • 1
    $\begingroup$ I'm still not sure whether this theorem implies that finite limits commute with filtered colimits externally in an arbitrary (Grothendieck) topos. I'm not sure whether that's even true! $\endgroup$
    – Tim Campion
    Oct 28, 2014 at 11:00
  • 5
    $\begingroup$ It is true. The usual proof uses the fact that sheafification preserves finite limits as well as filtered colimits. $\endgroup$
    – Zhen Lin
    Oct 28, 2014 at 16:51
  • 1
    $\begingroup$ It seems that this proof cannot be applied to the closed category $\mathsf{CGWH}$ of compactly generated weak Hausdorff spaces since not each congruence is a kernel pair in there. However, I am wondering if the statement is really false in this case? $\endgroup$
    – FKranhold
    Mar 2, 2020 at 13:42
6
$\begingroup$

For a generalization to pullback we have to proof that $colim_i X_i\times_{Y_i} B_i \cong X\times_YB$ (where $X, Y, B$ are the respective colimits). Because $I$ is filtred the triple diagonal $I\to I\times I\times I$ is final and we can make this colimit partially, then we can do the colimit in the $Y_i$ before.

Then we have to prove that $colim_i X_i\times_Y B_i \cong X\times_YB$ .

Then is enought show that the pullback of any colimit is still a colimit, and then with the some "soft proof" argumentations you done.

Is enought to show that:

give a $f: X\to Y$ and a cocone $B_i \to Y$ with $I$ a small category (no necessarly filtred), with a colimit $B_i\to B$ and the natural arrow $B\to Y$. Then the pullback with $f$: $B_i\times_Y X \to B\times_Y X$ is a colimit.

this is true if the pullbach funtor $(X, f)^\ast: \mathcal{C}\downarrow Y\to \mathcal{C}\downarrow X$ is a left adjoint, and then is cocomplete.

This is as said that $\mathcal{C}$ is locally-cartesian-closed.

This is true in any topos, and this property is a specific and profound aspect of topoi and their internal logic.

We can observe that in my above argomentation $I$ need not be filtred, but for $I$ no filtred the diagonal $I\to I\times I$ could be no final.

$\endgroup$
2
  • 1
    $\begingroup$ Thanks, Buschi. I certainly agree that if the category is locally cartesian closed then we have $colim_i(X_i\times_Y B_i)\cong (colim_i X_i)\times_Y (colim_i B_i)$: this is the same argument I gave applied to the slice category ${\mathcal C}\downarrow Y$. But I don't follow the first paragraph. For one thing, the triple diagonal $I\to I\times I\times I$ does not seem to be directly relevant. You can form the product $X_i\times B_j$ for any $i$ and $j$, but the pullback $X_i\times_{Y_k} B_j$ only makes sense if we have first chosen maps $i\to k$ and $j\to k$. $\endgroup$
    – Steve Lack
    Mar 2, 2011 at 22:27
  • 3
    $\begingroup$ Steve LAck, yes you are right, in the first part I wrong (I seem it simple, I was shallow). I'm thinking about. $\endgroup$ Mar 3, 2011 at 9:44
5
$\begingroup$

One possible answer to question 2 is "categories in which finite limits distribute over filtered colimits". A general notion of distributivity described on the nlab by Dmitri Pavlov points out that the comparison morphism for a diagram $D:I\times K \to C$

$$f\colon {\rm colim}_K {\rm lim}_I D \to {\rm lim}_I {\rm colim}_K D$$

whose invertibility we describe by "$I$-limits commute with $K$-colimits", factors as a composite

$${\rm colim}_K {\rm lim}_I D \xrightarrow{g} {\rm colim}_{K^I} {\rm lim}_I D' \xrightarrow{h} {\rm lim}_I {\rm colim}_K D.$$

where $K^I$ is the functor category and $D'\colon I\times K^I\to C$ is obtained from $D$ by precomposition with the functor $(\pi_1,{\rm ev}) : I\times K^I \to I\times K$ that sends a pair $(i,s)$ to $(i,s(i))$. The map $g$ is induced by the diagonal functor $K\to K^I$, while $h$ is defined by universal properties.

Thus, if the diagonal $K\to K^I$ is final, it follows that $f$ is an isomorphism if and only if $g$ is. The latter property is described as "$I$-limits distribute over $K$-colimits", and if $I$ is discrete it's easily equivalent to the usual notion of products distributing over colimits.

However, if $I$ is not discrete, it's not clear to me how to reformulate this distributivity condition in a more explicit way so as to deduce it from something like local cartesian closure, or even to prove directly that it holds in $\rm Set$. But maybe someone else sees how.

$\endgroup$
14
  • 3
    $\begingroup$ I've had occasion to wonder recently if maybe the whole apparatus of limit doctrines could be redone with distributivity rather than commutation of limits and colimits. Perhaps it would even work better. By the way, at least one formulation of distributivity of limits and colimits which appears on that nlab page seems to be from around 7.11 in Chu and Haugseng. I think what happened is that Dmitri came up with the original formulation, then Rune and Hongyi came up with the second formulation and it was added to the page, but I haven't investigated. $\endgroup$
    – Tim Campion
    Apr 27, 2021 at 10:56
  • $\begingroup$ But anyway, distributivity of limits and colimits seems to be becoming notorious as "that somewhat-inscrutable notion on the nlab", and it's probably about time somebody wrote a proper paper on the topic. $\endgroup$
    – Tim Campion
    Apr 27, 2021 at 10:58
  • $\begingroup$ @TimCampion Agreed! Thanks for the reference to Chu-Haugseng. The only result I can find in their paper about when limits and colimits do distribute is 7.16, which if I am reading it correctly is about limits distributing over copowers, since $K$ is valued in spaces rather than categories? Do they have any more to say about this question? $\endgroup$ Apr 27, 2021 at 16:27
  • $\begingroup$ My impression was that they didn't do much beyond what's actually in that paper (which I also haven't actually read -- this bit was pointed out to me by Rune) but I haven't specifically asked either author about whether they'd thought about it any more beyond that. $\endgroup$
    – Tim Campion
    Apr 27, 2021 at 20:08
  • 3
    $\begingroup$ @TimCampion: Prompted by this exchange, I started digging through the literature, and found this paper: Jan-Erik Roos, Introduction à l’étude de la distributivité des foncteurs lim par rapport aux lim dans les catégories des faisceaux (topos), Comptes Rendus Hebdomadaires des Séances de l’Académie des Sciences 259 (1964), 969–972. Definition 1 appears to coincide with nLab's definition. Here is a PDF: ncatlab.org/nlab/files/roos-distributivity.pdf. $\endgroup$ Apr 28, 2021 at 0:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.