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: theory: category theory

Topic: co/yoneda as co/evaluation


view this post on Zulip Christian Williams (Apr 15 2021 at 03:46):

Let F:CSetF:C\to Set be a covariant CC-module ("copresheaf").
The coYoneda lemma is left extension along the identity: FcF(c)×C(c,)F \simeq \int^c F(c)\times C(c,-).
The Yoneda lemma is right extension along the identity: c[C(,c),F(c)]F\int_c [C(-,c),F(c)] \simeq F.

view this post on Zulip Christian Williams (Apr 15 2021 at 03:47):

coYoneda characterizes a CC-module as an indexed sum of representables.
Yoneda characterizes a CC-module as an indexed product of representables.

view this post on Zulip Christian Williams (Apr 15 2021 at 03:48):

Because extensions are defined by adjunctions, these natural isomorphisms are actually a unit and counit.

view this post on Zulip Christian Williams (Apr 15 2021 at 03:49):

In some dream of generalized logic, I imagine these to be a fundamental form of η\eta-expansion and β\beta-reduction.

view this post on Zulip Christian Williams (Apr 15 2021 at 03:52):

we could write these in different styles.
F=Σc.Fc×C(c,)\mathtt{F = \Sigma c. Fc \times C(c,-)}
Πc.C(,c)Fc=F\mathtt{\Pi c. C(-,c)\to Fc = F}

view this post on Zulip Christian Williams (Apr 15 2021 at 03:55):

I feel like this basic idea is sunk into many formal categorical proofs. But I don't know if I've seen this terminology explicitly.

view this post on Zulip Christian Williams (Apr 15 2021 at 03:56):

I think the analogy between η\eta-expansion / β\beta-reduction and co/Yoneda can be justified and expressed in a fibrant double category (proarrow equipment) which is biclosed.

view this post on Zulip Christian Williams (Apr 15 2021 at 04:01):

I have a strong feeling that there's a type theory for (multivariable) equipments in which co/ends are a more general and fluid notion of indexed sum and product.

view this post on Zulip Christian Williams (Apr 15 2021 at 04:04):

That's a different story. I just want to ask: how is coYoneda an expansion and how is Yoneda a reduction?

view this post on Zulip Christian Williams (Apr 15 2021 at 04:11):

actually, maybe a more universal terminology than η\eta/β\beta would be co/evaluation.

view this post on Zulip Christian Williams (Apr 15 2021 at 04:14):

because we're talking about a generalized tensor-hom adjunction: C(ab,c)C(a,[b,c])C(a\otimes b, c)\simeq C(a,[b,c]) gives a unit "coevaluation" ηab:a[b,ab]\eta_{ab}: a\to [b,a\otimes b] and a counit "evaluation" βbc:[b,c]bc\beta_{bc}:[b,c]\otimes b\to c.

view this post on Zulip Christian Williams (Apr 15 2021 at 04:17):

coevaluation, colimit, left adjoint, left extension, coYoneda, indexed sum, existential
evaluation, limit, right adjoint, right extension, Yoneda, indexed product, universal

view this post on Zulip Christian Williams (Apr 15 2021 at 04:18):

to clarify how extensions generalize the tensor-hom adjunction, we understand a bicategory as a multisorted monoidal category -- tensor becomes composition.

view this post on Zulip Christian Williams (Apr 15 2021 at 04:20):

Then we can ask if there is a right adjoint to precomposition: K(fi,g)K(f,[i,g])K(f\circ i, g) \simeq K(f, [i,g])

view this post on Zulip Christian Williams (Apr 15 2021 at 04:21):

So if it exists, this generalized hom [i,g][i,g] is Rani(g)Ran_i(g)

view this post on Zulip Christian Williams (Apr 15 2021 at 04:24):

If we also have a right adjoint to the other tensor, postcomposition: K(fi,g)K(i,fg)K(f\circ i, g)\simeq K(i, f\multimap g) that is right lifting.

view this post on Zulip Christian Williams (Apr 15 2021 at 04:26):

so, the multisorted form of a (bi)closed monoidal category is a bicategory with right extensions and liftings.

view this post on Zulip Christian Williams (Apr 15 2021 at 04:27):

that's great, but what about the left adjoints? I've been motivating a duality between left and right extensions.

view this post on Zulip Christian Williams (Apr 15 2021 at 04:30):

this is the part where I think if we use the dao of equipments there's a clear direction.

view this post on Zulip Christian Williams (Apr 15 2021 at 04:31):

any way this is a thread about co/yoneda as co/evaluation, both formally and philosophically.

view this post on Zulip Mike Shulman (Apr 15 2021 at 13:27):

The end that appears in coYoneda is a special case of composition in the bicategory of profunctors, and the end that appears in Yoneda is the corresponding special case of its right adjoint. Is that not what you're asking about?

view this post on Zulip Christian Williams (Apr 15 2021 at 15:34):

yes, it is

view this post on Zulip Mike Shulman (Apr 15 2021 at 15:38):

Ok, so what is the question exactly?

view this post on Zulip Christian Williams (Apr 15 2021 at 16:31):

just naively/philosophically, in what sense is coYoneda a coevaluation/η\eta-expansion and Yoneda an evaluation/β\beta-reduction?

view this post on Zulip Mike Shulman (Apr 15 2021 at 19:43):

Other than the sense in which one is the unit of an adjunction and the other is its counit?

view this post on Zulip Christian Williams (Apr 15 2021 at 22:57):

yes. and it's not just any adjunction, right? it's a tensor-hom adjunction.

view this post on Zulip Christian Williams (Apr 15 2021 at 22:59):

but yes I mean for example in proofs, do you find that you often use coYoneda as an "expansion" and Yoneda as a "reduction"? not always, but most of the time

view this post on Zulip Mike Shulman (Apr 16 2021 at 03:39):

I think I most often use them both as reductions.

view this post on Zulip Christian Williams (Apr 16 2021 at 20:16):

hm, okay. what's a good example of using coYoneda as a reduction?

view this post on Zulip Mike Shulman (Apr 16 2021 at 20:35):

Well, I just grepped through my own papers and the only occurrence of "co-Yoneda" I could find is on p14 of http://home.sandiego.edu/~shulman/papers/reedy.pdf.

view this post on Zulip Mike Shulman (Apr 16 2021 at 20:36):

But thinking about it a bit more I can see an "expansion" use of co-Yoneda in the form "any presheaf is a colimit of representables", which is less often called by the name "co-Yoneda" but is certainly a sort of expansion, starting with a presheaf and expanding it into a colimit.

view this post on Zulip Christian Williams (Apr 16 2021 at 20:37):

yes, that's how I was thinking

view this post on Zulip Christian Williams (Apr 16 2021 at 20:37):

people don't often use the term coYoneda, but they use this idea all the time.

view this post on Zulip Christian Williams (Apr 16 2021 at 21:44):

there's a funny asymmetry - coYoneda says "a presheaf is a colimit of representables" AcA(c)×C(,c)A\simeq \int^c A(c)\times C(-,c), but Yoneda doesn't say "a presheaf is a limit of representables", because the representables are the arities: Ac[C(,c),A(c)]A\simeq \int_c [C(-,c),A(c)]