Repository navigation
[Merged by Bors] - chore: deprecated modules for #24390 - #24942
YaelDillies wants to merge 1 commit into
Conversation
YaelDillies
commented
May 15, 2025
PR summary 417dfebbb2
|
| Files | Import difference |
|---|---|
Mathlib.CategoryTheory.ChosenFiniteProducts (new file) |
620 |
Mathlib.CategoryTheory.ChosenFiniteProducts.Cat (new file) |
621 |
Mathlib.CategoryTheory.ChosenFiniteProducts.InfSemilattice (new file) |
622 |
Mathlib.CategoryTheory.ChosenFiniteProducts.Over (new file) |
646 |
Mathlib.Algebra.Category.Grp.ChosenFiniteProducts (new file) |
884 |
Declarations diff
No declarations were harmed in the making of this PR! 🐙
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
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
grunweg
left a comment
There was a problem hiding this comment.
Thanks!
maintainer merge
|
🚀 Pull request has been placed on the maintainer queue by grunweg. |
|
The automated tool #24917 suggests a missing deprecated module: /-
Copyright (c) 2019 Kim Morrison, Adam Topaz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kim Morrison, Simon Hudon, Adam Topaz, Robin Carlier
-/
import Mathlib.CategoryTheory.Limits.Constructions.FiniteProductsOfBinaryProducts
import Mathlib.CategoryTheory.Limits.FullSubcategory
import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Terminal
import Mathlib.CategoryTheory.Monoidal.Braided.Basic
deprecated_module (since := "2025-05-15")Here is also the context that the command gives: The file Mathlib/CategoryTheory/ChosenFiniteProducts.lean was
last modified in
[_7c75d4c] refactor: move the construction of `ChosenFiniteProducts` from finite products with `ChosenFiniteProducts` (#24679) ▼
[«7c75d4cfce1cf03634b89b10d2d0525897700764»] git diff 7c75d4cfce1cf03634b89b10d2d0525897700764^...7c75d4cfce1cf03634b89b10d2d0525897700764 -- Mathlib/CategoryTheory/ChosenFiniteProducts.lean ▶
deleted in
[_ae681ea] chore: rename `ChosenFiniteProducts` to `CartesianMonoidalCategory` (#24390) ▼
[ae681ea322406e291843c3a77927dde5b6a5f593] git diff ae681ea322406e291843c3a77927dde5b6a5f593^...ae681ea322406e291843c3a77927dde5b6a5f593 -- Mathlib/CategoryTheory/ChosenFiniteProducts.lean ▶ |
|
@adomani, are you sure? I am already adding |
|
Yaël, you are right: that was the output when I was using a command that later I realized was not what I intended! The command still reports a missing deprecation, though a different one.
/-
Copyright (c) 2024 Joël Riou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joël Riou
-/
import Mathlib.CategoryTheory.ChosenFiniteProducts
import Mathlib.CategoryTheory.Limits.FunctorCategory.Basic
deprecated_module (since := "2025-05-15")and nothing else for this PR. Here is the context that the command also gives: The file Mathlib/CategoryTheory/ChosenFiniteProducts/FunctorCategory.lean was
last modified in
[_1def1b4] refactor(CategoryTheory): Make `ChosenFiniteProducts` extend `MonoidalCategory` (#24399) ▼
[«1def1b4f8b192da4e848ea4bc1e493f0827150c8»] git diff 1def1b4f8b192da4e848ea4bc1e493f0827150c8^...1def1b4f8b192da4e848ea4bc1e493f0827150c8 -- Mathlib/CategoryTheory/ChosenFiniteProducts/FunctorCategory.lean ▶
deleted in
[_ae681ea] chore: rename `ChosenFiniteProducts` to `CartesianMonoidalCategory` (#24390) ▼
[ae681ea322406e291843c3a77927dde5b6a5f593] git diff ae681ea322406e291843c3a77927dde5b6a5f593^...ae681ea322406e291843c3a77927dde5b6a5f593 -- Mathlib/CategoryTheory/ChosenFiniteProducts/FunctorCategory.lean ▶ |
|
By the way, my comments are not intended as "These changes must be performed.", but rather as "Let me test the new deprecation tool and see whether it would produce the correct output!". So, if there are procedural errors or any other kind of bug, feel free to let me know! 😄 |
|
Pull request successfully merged into master. Build succeeded: |
No actually this is correct, I had forgotten that file! |
Twice recently there have been files with an "intended" `.lean` extension in `Mathlib/`: * #24942, ending in `;lean`; * #25457, ending in `.Lean`. `mk_all` does not add these files to `Mathlib.lean`, since they do not end in `.lean` and this later causes problems. This CI step checks that all files in `Mathlib/` end with `.lean` or `.md`. See #25474 for a test where the new step [correctly fails](https://github.com/leanprover-community/mathlib4/actions/runs/15464097783/job/43532018379?pr=25474).
…ver-community#25473) Twice recently there have been files with an "intended" `.lean` extension in `Mathlib/`: * leanprover-community#24942, ending in `;lean`; * leanprover-community#25457, ending in `.Lean`. `mk_all` does not add these files to `Mathlib.lean`, since they do not end in `.lean` and this later causes problems. This CI step checks that all files in `Mathlib/` end with `.lean` or `.md`. See leanprover-community#25474 for a test where the new step [correctly fails](https://github.com/leanprover-community/mathlib4/actions/runs/15464097783/job/43532018379?pr=25474).
…ver-community#25473) Twice recently there have been files with an "intended" `.lean` extension in `Mathlib/`: * leanprover-community#24942, ending in `;lean`; * leanprover-community#25457, ending in `.Lean`. `mk_all` does not add these files to `Mathlib.lean`, since they do not end in `.lean` and this later causes problems. This CI step checks that all files in `Mathlib/` end with `.lean` or `.md`. See leanprover-community#25474 for a test where the new step [correctly fails](https://github.com/leanprover-community/mathlib4/actions/runs/15464097783/job/43532018379?pr=25474).