In as far as the notion of functor generalizes that of function and that of profunctor generalizes that of relation, the notion of graph of a (pro)functor generalizes that of graph of a function.
Just as the graph of a function , or more generally that of a relation for is nothing but the category of elements of the corresponding characteristic function , so the graph of a functor , or more generally that of a profunctor , is nothing but its category of elements, a.k.a. Grothendieck construction.
However, there are a number of different ways to construct such a category of elements, depending on the variance of morphisms in and that we include in it. A one-variable functor has two categories of elements, one with a projection to (which is a discrete opfibration) and one with a projection to (which is a discrete fibration). Similarly, a two-variable functor such as has four categories of elements; thus a profunctor has four different “graphs”. In addition, there are two ways to make a functor into a profunctor, so a functor actually has eight graphs.
Let be a profunctor; it has the following four graphs. In each case, the objects are triples , but we can take the morphisms to be any of the following:
Pairs such that . This graph comes with a projection to , which is a two-sided discrete fibration that is contravariant over and covariant over .
Pairs such that . This graph comes with a projection to , which is a discrete opfibration. It is also the comma category :
Pairs such that . This graph comes with a projection to , which is a discrete fibration; it is the opposite of the previous category.
Pairs such that . This graph comes with a projection to , which is a two-sided discrete fibration that is covariant over and contravariant over ; it is the opposite of the first graph.
If the profunctor is the hom profunctor? of a category , then the first graph is the arrow category of and the second graph is the twisted arrow category of .
Let be a functor, and let and be the corresponding representable profunctors:
Then the graphs of yield four graphs of , all of whose objects are triples , and whose morphisms are:
Pairs such that . This graph comes with a projection to , which is a two-sided discrete fibration that is contravariant over and covariant over . It is also the comma category :
Pairs such that . This graph comes with a projection to , which is a discrete opfibration; it is the comma category .
Pairs such that . This graph comes with a projection to , which is a discrete fibration; it is the opposite of the preceeding graph.
Pairs such that . This graph comes with a projection to , which is a two-sided discrete fibration that is covariant over and contravariant over ; it is the opposite of the first graph of .
Similarly, the graphs of yield four graphs of , all of whose objects are triples , and whose morphisms are:
Pairs such that . This graph comes with a projection to , which is a two-sided discrete fibration that is covariant over and contravariant over . It is also the comma category :
Pairs such that . This graph comes with a projection to , which is a discrete opfibration; it is the comma category .
Pairs such that . This graph comes with a projection to , which is a discrete fibration; it is the opposite of the preceeding graph.
Pairs such that . This graph comes with a projection to , which is a two-sided discrete fibration that is contravariant over and covariant over ; it is the opposite of the first graph of .
For , let and be a realization of the notions of -category of -categories and of the -category of -categories, respectively, such that standard constructions of category theory work, in particular a version of the Yoneda lemma. See higher category theory.
Then with let be a (-)functor. By the general logic of profunctors this defines -profunctors
We can then consider analogues of all eight kinds of graphs. For instance, the second kind of graph of is the fibration classified by .
In the context of -category theory, this graph may be taken to be the fibration classified by as described at universal fibration of (∞,1)-categories.
To reproduce the ordinary notion of graph of a function let . then -categories are just sets and a functor is just a function between sets. Moreover, the category of -categories is the set of truth values, as described at (-1)-category. The profunctor corresponding to is therefore the characteristic function
that maps
(Notice that in this case .)
The 2-pullback of along is just the ordinary pullback
which identifies with the subset of pairs for which . This is the ordinary notion of graph of a function.
Last revised on December 2, 2022 at 12:50:01. See the history of this page for a list of all contributions to it.