Zulip Chat Archive
Stream: Is there code for X?
Topic: Variant of Representable Functor
Anthony Bordg (Jul 02 2024 at 09:08):
Is there code for the following variant of a representable functor?
where is a functor from a category to a category .
Markus Himmel (Jul 02 2024 at 09:12):
I think the usual spelling for that functor would be F.op ⋙ yoneda.obj d
.
Anthony Bordg (Jul 03 2024 at 07:59):
Thank you, @Markus Himmel. It's really helpful :smile:
Given a morphism in , is there code for the following natural transformation?
Joël Riou (Jul 03 2024 at 08:05):
Untested, but something like whiskerLeft F.op (yoneda.map f)
.
Markus Himmel (Jul 03 2024 at 08:06):
You also often see this as ((whiskeringLeft _ _ _).obj F.op).map (yoneda.map f)
. It's the same as what Joël wrote, but some useful theorems use this longer version. (Edit: this might actually be outdated information)
Anthony Bordg (Jul 03 2024 at 10:00):
Great! Thank you, Joël and Markus. Actually, the source and target of this transformation are sheaves, so it remains for me to understand how to convince Lean that your proposed transformation is not only a map between the underlying presheaves but a map between the corresponding sheaves. Is there a coercion to this effect?
Dagur Asgeirsson (Jul 03 2024 at 10:06):
If f : F.val ⟶ G.val
is your morphism of underlying presheaves, then ⟨f⟩
or { val := f }
gives you the corresponding morphism F ⟶ G
of sheaves
Dagur Asgeirsson (Jul 03 2024 at 10:07):
See docs#CategoryTheory.Sheaf.Hom for how morphisms of sheaves are defined
Last updated: May 02 2025 at 03:31 UTC