Skip to content

[Merged by Bors] - feat: Monoidal and cartesian distributive categories - #20182

Closed
sinhp wants to merge 104 commits into
masterfrom
sina-distributive-categories
Closed

sinhp wants to merge 104 commits into
masterfrom
sina-distributive-categories

Conversation

@sinhp

@sinhp sinhp commented Dec 22, 2024 •

Copy link
Copy Markdown
Collaborator

This PR defines monoidal and cartesian distributive categories, develop the API, and prove some main results. We show a closed monoidal category is distributive.

We also show that, for a category C with binary coproducts, the category of endofunctors C ⥤ C is left distributive. This requires the following new file which develops a convenient API for the binary (co)products in the functor categories:
CategoryTheory/Limits/FunctorCategory/Shapes/BinaryProducts

In Mathlib/CategoryTheory/Distributive/Cartesian.lean we show that the coproduct coprojections are monic in a cartesian distributive category.


Open in Gitpod

@github-actions github-actions Bot added the t-category-theory Category theory label Dec 22, 2024
@github-actions

github-actions Bot commented Dec 22, 2024 •

Copy link
Copy Markdown

messageFile.md

@sinhp
sinhp requested a review from TwoFX December 22, 2024 16:34
@sinhp sinhp added the good first issue Good for newcomers label Dec 22, 2024
@joelriou joelriou added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Dec 23, 2024
@sinhp sinhp removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Dec 25, 2024
@joelriou joelriou added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Mar 10, 2025
@sinhp sinhp removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Mar 10, 2025
@joelriou

Copy link
Copy Markdown
Contributor

Thanks!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Mar 10, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Mar 10, 2025
This PR defines monoidal and cartesian distributive categories, develop the API, and prove some main results. We show a closed monoidal category is distributive.

We also show that, for a category `C` with binary coproducts, the category of endofunctors `C ⥤ C`  is left distributive. This requires the following new file which develops a convenient API for the binary (co)products in the functor categories:
CategoryTheory/Limits/FunctorCategory/Shapes/BinaryProducts

In Mathlib/CategoryTheory/Distributive/Cartesian.lean we show that the coproduct coprojections are monic in a cartesian distributive category.
@mathlib-bors

mathlib-bors Bot commented Mar 10, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: Monoidal and cartesian distributive categories [Merged by Bors] - feat: Monoidal and cartesian distributive categories Mar 10, 2025
@mathlib-bors mathlib-bors Bot closed this Mar 10, 2025
@mathlib-bors
mathlib-bors Bot deleted the sina-distributive-categories branch March 10, 2025 20:15
tukamilano pushed a commit that referenced this pull request Mar 20, 2025
This PR defines monoidal and cartesian distributive categories, develop the API, and prove some main results. We show a closed monoidal category is distributive.

We also show that, for a category `C` with binary coproducts, the category of endofunctors `C ⥤ C`  is left distributive. This requires the following new file which develops a convenient API for the binary (co)products in the functor categories:
CategoryTheory/Limits/FunctorCategory/Shapes/BinaryProducts

In Mathlib/CategoryTheory/Distributive/Cartesian.lean we show that the coproduct coprojections are monic in a cartesian distributive category.
idontgetoutmuch pushed a commit to idontgetoutmuch/mathlib4 that referenced this pull request Apr 7, 2025
…unity#20182)

This PR defines monoidal and cartesian distributive categories, develop the API, and prove some main results. We show a closed monoidal category is distributive.

We also show that, for a category `C` with binary coproducts, the category of endofunctors `C ⥤ C`  is left distributive. This requires the following new file which develops a convenient API for the binary (co)products in the functor categories:
CategoryTheory/Limits/FunctorCategory/Shapes/BinaryProducts

In Mathlib/CategoryTheory/Distributive/Cartesian.lean we show that the coproduct coprojections are monic in a cartesian distributive category.
mathlib-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…x docstrings (#44602)

This PR adds the missing scoped to the ∂R notation in Mathlib/CategoryTheory/Distributive/Monoidal.lean, consistent with ∂L, and fixes the docstrings of both notations, since leftDistrib and rightDistrib are isomorphisms (≅).

Motivation: currently every proof that imports Mathlib is affected by this short notation, and by Mathlib convention such short notations should be scoped anyway.

In the review of #20182, @joelriou asked for these notations to be scoped; this was done for `∂L`, but the `scoped` keyword was missed for `∂R`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-category-theory Category theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants