Zulip Chat Archive

Stream: Is there code for X?

Topic: AddCommMonoid enriched categories


Bernhard Reinke (Mar 31 2025 at 13:49):

Is there already code for categories enriched over additive commutative monoids? So like preadditive categories, just without the inverses for addition? Similarly, for semirings, I think at the moment a linear category over a semi-ring is assumed to be preadditive. Is there a way to get rid off the assumption of the existence of additive inverses?

Kim Morrison (Mar 31 2025 at 22:47):

No, this is not done. You could perhaps used the generic EnrichedCategory formalism, but it will be a battle every step of the way.

Kim Morrison (Mar 31 2025 at 22:47):

What is your application?

Bernhard Reinke (Apr 01 2025 at 08:42):

I think it makes sense to define the category semi-ring of a category enriched over additive commutative monoids. I have a construction for the category ring of a preadditive category, but I don't think I really need negatives to prove associativity. At the moment I want to understand what the correct generality for my PR #22823 surrounding the associator of a ring should be.

Jakob von Raumer (Apr 01 2025 at 09:29):

@Kim Morrison Do you know if anyone has started to connect Preadditive to that formalism?

Kim Morrison (Apr 03 2025 at 01:35):

@Jakob von Raumer, I don't think so. I tried doing so during initial attempts at setting up enriched categories, but it never survived through to what's in Mathlib.

Jakob von Raumer (Apr 03 2025 at 11:57):

There's not even the monoidal structure on AddCommGrp or am I just not finding it?

Jakob von Raumer (Apr 03 2025 at 11:58):

Ah, we have it through modules

Jakob von Raumer (Apr 08 2025 at 14:11):

Kim Morrison said:

Jakob von Raumer, I don't think so. I tried doing so during initial attempts at setting up enriched categories, but it never survived through to what's in Mathlib.

FWIW I started another attempt at #23826, finished one direction of what ideally should become an equivalence of the bicategories


Last updated: May 02 2025 at 03:31 UTC