homalg-project / CAP_project

CAP project -- Categories, Algorithms, and Programming
https://homalg-project.github.io/docs/CAP_project-based/
24 stars 18 forks source link

Derivation of EvaluationMorphism only installed for symmetric monoidal categories #1442

Closed zickgraf closed 9 months ago

zickgraf commented 1 year ago

EvaluationMorphism is derived as the counit of the tensor-hom adjunction: https://github.com/homalg-project/CAP_project/blob/39f43d3fb99140ece7a745f702289e7b9a71d1c1/MonoidalCategories/gap/SymmetricClosedMonoidalCategoriesDerivedMethods.gi#L637-L651

This derivation only triggers for IsSymmetricClosedMonoidalCategory, not for IsClosedMonoidalCategory. I think this is for historic reasons: This derivation already existed before 57d73bb20092f722049eaafc4e1e3bcc133f2809 and before this commit there was no IsClosedMonoidalCategory. So I think the filter could be relaxed to IsClosedMonoidalCategory.

@mohamed-barakat @sebastianpos Is this correct or am I missing something?

mohamed-barakat commented 1 year ago

Yes, this is just a special case of the adjunction of the closed monoidal structure, no symmetric monoidal structure is needed.

zickgraf commented 10 months ago

@mohamed-barakat The derivation mentioned in the first comment seems to not be touched by #1561, so I guess this is not (fully) fixed?