bec
The dependent sum is a universal construction in category theory. It generalizes the Cartesian product to the situation where one factor may depend on the other. It is the left adjoint to the base change functor between slice categories.
Beware that the term “sum” in “dependent sum” is really referring to coproducts. The dual notion is that of dependent product.
Let be a category and a morphism in such that pullbacks along exist in . These then constitute a base change functor
between the corresponding slice categories.
The dependent sum or dependent coproduct along the morphism is the left adjoint of the base change functor
This is directly seen to be equivalent to the following.
Assume that the category has a terminal object . Let be any object and assume that the terminal morphism admits all pullbacks along it.
Notice that a pullback of some along is simply the product , equipped with its projection morphism . We may regard as the image of the base change functor , but this is not quite just the product in , which instead corresponds to the terminal morphisms . But we have:
The product is, if it exists, equivalently the dependent sum of the base change of along :
Here we write “” also for the morphism .
Under the relation between category theory and type theory the dependent sum is the categorical semantics of dependent sum types .
Notice that under the identification of propositions as types, dependent sum types (or rather their bracket types) correspond to existential quantification .
The following table shows how the natural deduction rules for dependent sum types correspond to their categorical semantics given by the dependent sum universal construction.
The inference rules for dependent pair types (aka “dependent sum types” or “-types”):
For a category with finite limits and an object, then dependent sum
By this proposition limits over a cospan diagram in the slice category are computed as limits over the cocone diagram under the cospan in the base category. By this proposition this inclusion is a final functor, hence preserves limits. Since the dependent sum of the diagram is the restriction along this final functor, the result follows.
For a category with finite limits and any object, the naturality square of the unit of the -adjunction on any morphism in
is a pullback.
By prop. it suffices to see that the diagram is a pullback in under , where, by Frobenius reciprocity, it becomes
For a category with finite limits and any object, the naturality square of the counit of the -adjunction on any morphism in
is a pullback.
By Frobenius reciprocity the diagram is equivalent to
Let be an (∞,1)-category. We still want to define the dependent sum as the functor given by composing with the functor , but the details are more complex.
The codomain fibration is a cocartesian fibration classified by a functor .
Then for any , we can define to be the dependent sum.
Since the morphisms induced by composition are cocartesian morphisms, we see that is indeed given by composition with .
By proposition 6.1.1.1 and the following remarks of Lurie, if has pullbacks, then this is also a cartesian fibration, and is classified by a map . Then is the functor computing pullbacks along , and we have the adjunction .
Standard textbook accounts include section A1.5.3 of
and section IV of
Other references:
Only fairly indirectly related is the notion of “dependent sums” in
Last revised on April 15, 2024 at 13:28:54. See the history of this page for a list of all contributions to it.