Skip to content

[Merged by Bors] - chore: rename ChosenFiniteProducts to CartesianMonoidalCategory - #24390

Closed
YaelDillies wants to merge 5 commits into
masterfrom
cartesian_monoidal_category
Closed

YaelDillies wants to merge 5 commits into
masterfrom
cartesian_monoidal_category

Conversation

@YaelDillies

@YaelDillies YaelDillies commented Apr 26, 2025 •

Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies added WIP Work in progress t-category-theory Category theory toric Part of the ongoing formalisation of toric varieties labels Apr 26, 2025
@github-actions

github-actions Bot commented Apr 26, 2025 •

Copy link
Copy Markdown

PR summary 9932f2c207

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Algebra.Category.Grp.ChosenFiniteProducts -883
Mathlib.CategoryTheory.ChosenFiniteProducts.Over -645
Mathlib.CategoryTheory.ChosenFiniteProducts.FunctorCategory -623
Mathlib.CategoryTheory.ChosenFiniteProducts.InfSemilattice -621
Mathlib.CategoryTheory.ChosenFiniteProducts.Cat -620
Mathlib.CategoryTheory.ChosenFiniteProducts -619
Mathlib.CategoryTheory.Monoidal.Cartesian.Basic 619
Mathlib.CategoryTheory.Monoidal.Cartesian.Cat 620
Mathlib.CategoryTheory.Monoidal.Cartesian.InfSemilattice 621
Mathlib.CategoryTheory.Monoidal.Cartesian.FunctorCategory 623
Mathlib.CategoryTheory.Monoidal.Cartesian.Over 645
Mathlib.CategoryTheory.Sites.CartesianMonoidal (new file) 730
Mathlib.Algebra.Category.Grp.CartesianMonoidal 883

Declarations diff

+ CartesianMonoidalCategory
+ CartesianMonoidalCategory.lift_apply
+ CartesianMonoidalCategory.ofReflective
+ IsMonoidal.of_cartesianMonoidalCategory
+ _root_.CategoryTheory.BraidedCategory.ofCartesianMonoidalCategory
+ and
+ cartesianMonoidalCategoryAddCommGrp
+ cartesianMonoidalCategoryAddGrp
+ cartesianMonoidalCategoryCommGrp
+ cartesianMonoidalCategoryFst_val
+ cartesianMonoidalCategoryGrp
+ cartesianMonoidalCategoryLift_val
+ cartesianMonoidalCategorySnd_val
+ cartesianMonoidalCategoryWhiskerLeft_val
+ cartesianMonoidalCategoryWhiskerRight_val
+ instCartesianMonoidalCategory
+ instance (priority := low) toSymmetricCategory [BraidedCategory C] : SymmetricCategory C
+ instance : BraidedCategory (Over S) := .ofCartesianMonoidalCategory
+ instance : BraidedCategory (Type u) := .ofCartesianMonoidalCategory
+ instance : BraidedCategory AddCommGrp.{u} := .ofCartesianMonoidalCategory
+ instance : BraidedCategory AddGrp.{u} := .ofCartesianMonoidalCategory
+ instance : BraidedCategory Cat := .ofCartesianMonoidalCategory
+ instance : BraidedCategory CommGrp.{u} := .ofCartesianMonoidalCategory
+ instance : BraidedCategory Grp.{u} := .ofCartesianMonoidalCategory
+ instance : BraidedCategory Scheme := .ofCartesianMonoidalCategory
+ instance : CartesianMonoidalCategory (CondensedSet.{u})
+ instance : CartesianMonoidalCategory (LightCondSet.{u})
+ instance : CartesianMonoidalCategory (Over S) := Over.cartesianMonoidalCategory _
+ instance : CartesianMonoidalCategory Cat
+ instance : CartesianMonoidalCategory SSet.{u}
+ instance : CartesianMonoidalCategory Scheme := .ofHasFiniteProducts
+ instance : F.Monoidal := .ofOplaxMonoidal F
+ instance : Nonempty (BraidedCategory C) := ⟨.ofCartesianMonoidalCategory⟩
+ instance [HasSheafify J A] [CartesianMonoidalCategory A] [CartesianClosed (Cᵒᵖ ⥤ A)] :
+ isLimitCartesianMonoidalCategoryOfPreservesLimits
+ typesCartesianMonoidalCategory
+ δ_of_cartesianMonoidalCategory
+ ε_of_cartesianMonoidalCategory
+ η_of_cartesianMonoidalCategory
+ μ_of_cartesianMonoidalCategory
+++ cartesianMonoidalCategory
- ChosenFiniteProducts.lift_apply
- chosenFiniteProductsAddGrp
- chosenFiniteProductsCommGrp
- chosenFiniteProductsGrp
- chosenFiniteProducts_fst_val
- chosenFiniteProducts_lift_val
- chosenFiniteProducts_snd_val
- chosenFiniteProducts_whiskerLeft_val
- chosenFiniteProducts_whiskerRight_val
- instChosenFiniteProducts
- instance (priority := low) [BraidedCategory C] : SymmetricCategory C
- instance : BraidedCategory (Over S) := .ofChosenFiniteProducts
- instance : BraidedCategory (Type u) := .ofChosenFiniteProducts
- instance : BraidedCategory AddCommGrp.{u} := .ofChosenFiniteProducts
- instance : BraidedCategory AddGrp.{u} := .ofChosenFiniteProducts
- instance : BraidedCategory Cat := .ofChosenFiniteProducts
- instance : BraidedCategory CommGrp.{u} := .ofChosenFiniteProducts
- instance : BraidedCategory Grp.{u} := .ofChosenFiniteProducts
- instance : BraidedCategory Scheme := .ofChosenFiniteProducts
- instance : ChosenFiniteProducts (CondensedSet.{u})
- instance : ChosenFiniteProducts (LightCondSet.{u})
- instance : ChosenFiniteProducts (Over S) := Over.chosenFiniteProducts _
- instance : ChosenFiniteProducts Cat
- instance : ChosenFiniteProducts SSet.{u}
- instance : ChosenFiniteProducts Scheme := .ofHasFiniteProducts
- instance : F.Monoidal := Functor.Monoidal.ofOplaxMonoidal F
- instance : Nonempty (BraidedCategory C)
- instance [HasSheafify J A] [ChosenFiniteProducts A] [CartesianClosed (Cᵒᵖ ⥤ A)] :
- isMonoidal_of_chosenFiniteProducts
- typesChosenFiniteProducts
- δ_of_chosenFiniteProducts
- ε_of_chosenFiniteProducts
- η_of_chosenFiniteProducts
- μ_of_chosenFiniteProducts
-+-- chosenFiniteProducts
-- monoidalOfChosenFiniteProducts.

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

⚠️ warning: file Mathlib/CategoryTheory/ChosenFiniteProducts/Over.lean was renamed to Mathlib/CategoryTheory/Monoidal/Cartesian/Over.lean without a module deprecation

⚠️ warning: file Mathlib/CategoryTheory/ChosenFiniteProducts/FunctorCategory.lean was renamed to Mathlib/CategoryTheory/Monoidal/Cartesian/FunctorCategory.lean without a module deprecation

⚠️ warning: file Mathlib/CategoryTheory/ChosenFiniteProducts.lean was renamed to Mathlib/CategoryTheory/Monoidal/Cartesian/Basic.lean without a module deprecation

⚠️ warning: file Mathlib/Algebra/Category/Grp/ChosenFiniteProducts.lean was renamed to Mathlib/Algebra/Category/Grp/CartesianMonoidal.lean without a module deprecation

⚠️ warning: file Mathlib/CategoryTheory/ChosenFiniteProducts/InfSemilattice.lean was renamed to Mathlib/CategoryTheory/Monoidal/Cartesian/InfSemilattice.lean without a module deprecation

⚠️ warning: file Mathlib/CategoryTheory/ChosenFiniteProducts/Cat.lean was renamed to Mathlib/CategoryTheory/Monoidal/Cartesian/Cat.lean without a module deprecation

@YaelDillies YaelDillies changed the title feat: cartesian-monoidal categories chore: rename ChosenFiniteProducts to CartesianMonoidalCategory May 4, 2025
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 4, 2025
@leanprover-community-bot-assistant

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please merge master and resolve them.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 4, 2025
@YaelDillies
YaelDillies force-pushed the cartesian_monoidal_category branch from 7fdee04 to e16eddd Compare May 4, 2025 18:54
@github-actions github-actions Bot added large-import Automatically added label for PRs with a significant increase in transitive imports and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels May 4, 2025
@leanprover-community-bot-assistant

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please merge master and resolve them.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 4, 2025
@YaelDillies
YaelDillies force-pushed the cartesian_monoidal_category branch from e16eddd to ea9aa9d Compare May 4, 2025 22:08
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 4, 2025
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 7, 2025
@leanprover-community-bot-assistant

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please merge master and resolve them.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 7, 2025
@YaelDillies
YaelDillies force-pushed the cartesian_monoidal_category branch from ea9aa9d to cc05ebd Compare May 8, 2025 09:02
@github-actions github-actions Bot added file-removed A Lean module was (re)moved without a `deprecated_module` annotation and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) large-import Automatically added label for PRs with a significant increase in transitive imports labels May 8, 2025
@YaelDillies YaelDillies added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. and removed WIP Work in progress labels May 8, 2025
@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 8, 2025
@leanprover-community-bot-assistant

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please merge master and resolve them.

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 8, 2025
@YaelDillies
YaelDillies force-pushed the cartesian_monoidal_category branch from db8776a to 10b8a69 Compare May 9, 2025 07:02
@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 9, 2025
@YaelDillies
YaelDillies force-pushed the cartesian_monoidal_category branch from d836806 to 8784b0f Compare May 14, 2025 16:34
@joelriou

Copy link
Copy Markdown
Contributor

It looks to me, but could you add the deprecated_module stuff?

@joelriou joelriou added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label May 15, 2025
@YaelDillies
YaelDillies force-pushed the cartesian_monoidal_category branch from 6d89b0d to 80a7429 Compare May 15, 2025 10:36
@YaelDillies
YaelDillies force-pushed the cartesian_monoidal_category branch from 80a7429 to 6aa277d Compare May 15, 2025 10:40
@YaelDillies

YaelDillies commented May 15, 2025 •

Copy link
Copy Markdown
Contributor Author

The missing deprecated modules are precisely the ones that git recognises as having being renamed (ie all the files I've renamed except for CategoryTheory.Sites.ChosenFiniteProducts → CategoryTheory.Sites.CartesianMonoidal). Per https://leanprover.zulipchat.com/#narrow/channel/345428-mathlib-reviewers/topic/deprecated_module/near/517607787, I will deprecate those modules in a later PR.

However I do notice I had forgotten some deprecated aliases. I have added them now.

@YaelDillies YaelDillies removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label May 15, 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 May 15, 2025
mathlib-bors Bot pushed a commit that referenced this pull request May 15, 2025
…24390)

Now that `ChosenFiniteProducts` extends `MonoidalCategory`, the name `ChosenFiniteProducts` is less relevant. `CartesianMonoidalCategory` is a better name for this class.

From Toric
@mathlib-bors

mathlib-bors Bot commented May 15, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: rename ChosenFiniteProducts to CartesianMonoidalCategory [Merged by Bors] - chore: rename ChosenFiniteProducts to CartesianMonoidalCategory May 15, 2025
@mathlib-bors mathlib-bors Bot closed this May 15, 2025
@mathlib-bors
mathlib-bors Bot deleted the cartesian_monoidal_category branch May 15, 2025 18:55
YaelDillies added a commit that referenced this pull request May 15, 2025
jano-wol pushed a commit that referenced this pull request May 16, 2025
…24390)

Now that `ChosenFiniteProducts` extends `MonoidalCategory`, the name `ChosenFiniteProducts` is less relevant. `CartesianMonoidalCategory` is a better name for this class.

From Toric
mathlib-bors Bot pushed a commit that referenced this pull request May 17, 2025
bwehlin pushed a commit to bwehlin/mathlib4 that referenced this pull request May 31, 2025
…eanprover-community#24390)

Now that `ChosenFiniteProducts` extends `MonoidalCategory`, the name `ChosenFiniteProducts` is less relevant. `CartesianMonoidalCategory` is a better name for this class.

From Toric
bwehlin pushed a commit to bwehlin/mathlib4 that referenced this pull request May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

file-removed A Lean module was (re)moved without a `deprecated_module` annotation ready-to-merge This PR has been sent to bors. t-category-theory Category theory toric Part of the ongoing formalisation of toric varieties

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants