Zulip Chat Archive

Stream: Is there code for X?

Topic: Category theory: prod distributes over coprod


Mario Carneiro (Jun 30 2024 at 05:31):

Is there a proof of A ⨯ (B ⨿ C) ≅ (A ⨯ B) ⨿ (A ⨯ C) somewhere? Is it even true in general?

Christian Merten (Jun 30 2024 at 05:55):

This is wrong in e.g. vector spaces over a field, since here finite coprod = finite prod.

Mario Carneiro (Jun 30 2024 at 06:07):

I have a proof using that the category is cartesian closed but it seems like overkill

Markus Himmel (Jun 30 2024 at 06:24):

Have you seen https://ncatlab.org/nlab/show/distributive+category ? I don't think mathlib has a typeclass for distributive categories.


Last updated: May 02 2025 at 03:31 UTC