Zulip Chat Archive

Stream: mathlib4

Topic: Morphisms in FullSubcategory


Yaël Dillies (Apr 01 2025 at 08:59):

In the context of the Toric project, we need to work with the essential image of a functor F : C ⥤ D. The essential image docs#CategoryTheory.Functor.essImage is defined using docs#CategoryTheory.FullSubcategory.

Yaël Dillies (Apr 01 2025 at 09:07):

Here's the catch: For X Y : FullSubcategory P, the homset X ⟶ Y is defeq to the homset X.1 ⟶ Y.1 in the original category. Furthermore, there is no "identity" equivalence (X ⟶ Y) ≃ (X.1 ⟶ Y.1) that we can insert to unconfuse automation.

Yaël Dillies (Apr 01 2025 at 09:19):

This is causing me immense trouble when dealing with the essential image, eg

Yaël Dillies (Apr 01 2025 at 09:20):

TLDR: Should we break the defeq between X ⟶ Y and X.1 ⟶ Y.1 when X Y : FullSubcategory P?

Markus Himmel (Apr 01 2025 at 09:21):

Yes, induced categories should be redefined to use a one-field structure for morphisms. Both Joël Riou and I tried this at some point (cf. the discussion here) but didn't finish for various reasons, most recently because we didn't want to interfere with Anne's concrete category refactor. Anne's work is complete, so now would be a good time to try again. This is on my TODO list and I will get to it eventually but of course I'd be very happy if someone else does it. Based on the experience at branch#induced-struct, it shouldn't be too hard to finish the refactor.


Last updated: May 02 2025 at 03:31 UTC