Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(CategoryTheory): reorganizing Over categories #21717

Closed
wants to merge 14 commits into from

Conversation

sinhp
Copy link
Collaborator

@sinhp sinhp commented Feb 11, 2025

This PR reorganizes related files to Over categories. In particular, it moves the files as follows:
CategoryTheory.Comma.Over -> Category.Comma.Over.Basic
Comma.OverClass -> Comma.Over.OverClass,
Adjunction.Over -> Comma.Over.Pullback.

This was motivated by the discussion in #21525.


Open in Gitpod

sinhp added 5 commits February 9, 2025 22:59
This PR reorganizes related files to Over categories. In particular, it moves the files as follows:
`CategoryTheory.Comma.Over` -> `Category.Comma.Over.Basic`
`Comma.OverClass` -> `Comma.Over.OverClass`,
`Adjunction.Over` -> Comma.Over.Pullback`.
@sinhp sinhp added the t-category-theory Category theory label Feb 11, 2025
@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Feb 11, 2025
Copy link

github-actions bot commented Feb 11, 2025

PR summary 0e1da33302

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.CategoryTheory.Adjunction.Over -428
Mathlib.CategoryTheory.Comma.OverClass -386
Mathlib.CategoryTheory.Comma.Over -385
Mathlib.CategoryTheory.Comma.Over.Basic 385
Mathlib.CategoryTheory.Comma.Over.OverClass 386
Mathlib.CategoryTheory.Comma.Over.Pullback 428

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 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).

@joelriou
Copy link
Collaborator

Could you remove the new API from this PR? (It should only move things.)

@joelriou joelriou added the awaiting-author A reviewer has asked the author a question or requested changes label Feb 11, 2025
@github-actions github-actions bot removed the large-import Automatically added label for PRs with a significant increase in transitive imports label Feb 11, 2025
@sinhp
Copy link
Collaborator Author

sinhp commented Feb 11, 2025

Could you remove the new API from this PR? (It should only move things.)

Alright, if I have not missed anything, it should now just be renaming, and no new API from #21525.

@sinhp sinhp removed the awaiting-author A reviewer has asked the author a question or requested changes label Feb 11, 2025
@joelriou joelriou changed the title feat(CategoryTheory): Reorganizing over categories feat(CategoryTheory): reorganizing Over categories Feb 11, 2025
@joelriou
Copy link
Collaborator

Thanks!

bors merge

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the ready-to-merge This PR has been sent to bors. label Feb 11, 2025
mathlib-bors bot pushed a commit that referenced this pull request Feb 11, 2025
This PR reorganizes related files to Over categories. In particular, it moves the files as follows:
`CategoryTheory.Comma.Over` -> `Category.Comma.Over.Basic`
`Comma.OverClass` -> `Comma.Over.OverClass`,
`Adjunction.Over` -> `Comma.Over.Pullback`.

This was motivated by the discussion in #21525.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Feb 11, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(CategoryTheory): reorganizing Over categories [Merged by Bors] - feat(CategoryTheory): reorganizing Over categories Feb 11, 2025
@mathlib-bors mathlib-bors bot closed this Feb 11, 2025
@mathlib-bors mathlib-bors bot deleted the sina-reorganizing-category-theory-over branch February 11, 2025 17:21
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.

3 participants