Zulip Chat Archive
Stream: Is there code for X?
Topic: Cocartesian and Bicartesian categories
William Sørensen (Dec 13 2025 at 23:06):
Hi i am formalizing the cambridge category theory course, and for this i wondered if there was a notion of bi-cartesian closed categories in mathlib?
Aaron Liu (Dec 13 2025 at 23:11):
we have docs#CategoryTheory.CartesianMonoidalCategory and docs#CategoryTheory.CartesianClosed but I don't see a typeclass for an explicit choice of finite coproducts
Aaron Liu (Dec 13 2025 at 23:12):
found the PR: #28718
Aaron Liu (Dec 13 2025 at 23:13):
until that lands maybe you can just get by with docs#CategoryTheory.Limits.HasFiniteCoproducts
William Sørensen (Dec 13 2025 at 23:14):
hmm i dont like this because theres no defeqs with it. I am thinking of just duplicating all of the work that has been done with the CMC and then defining a bicart cat from that. Unfortunate though
Matt Diamond (Dec 14 2025 at 01:48):
funny enough, the author of that PR (@Jad Ghalayini) just bumped this thread earlier today, seems kind of related?
William Sørensen (Dec 14 2025 at 08:53):
Oh lol he’s literally right next door to me in my department. Thanks for this
Last updated: Dec 20 2025 at 21:32 UTC