Skip to content

[Merged by Bors] - chore: do not depend on CategoryTheory in Module.Injective - #17747

Closed
eric-wieser wants to merge 6 commits into
masterfrom
eric-wieser/move-injective
Closed

eric-wieser wants to merge 6 commits into
masterfrom
eric-wieser/move-injective

Conversation

@eric-wieser

Copy link
Copy Markdown
Member

The category-theoretic results can be split between Mathlib/Algebra/Category/Grp/Injective.lean and Mathlib/Algebra/Category/ModuleCat/Injective.lean instead, with no changes to downstream proofs.


Open in Gitpod

@github-actions

github-actions Bot commented Oct 14, 2024 •

Copy link
Copy Markdown

PR summary 32ccd8f6cd

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Algebra.Category.ModuleCat.Injective 1509 1065 -444 (-29.42%)
Mathlib.Algebra.Module.Injective 1064 891 -173 (-16.26%)
Import changes for all files
Files Import difference
Mathlib.Algebra.Category.ModuleCat.Injective -444
Mathlib.Algebra.Module.Injective -173
17 files Mathlib.RingTheory.Flat.Basic Mathlib.RingTheory.Regular.RegularSequence Mathlib.RingTheory.Unramified.Field Mathlib.RingTheory.Regular.IsSMulRegular Mathlib.Algebra.Category.Grp.EnoughInjectives Mathlib.RingTheory.Etale.Field Mathlib.RingTheory.Flat.Algebra Mathlib.RingTheory.Flat.CategoryTheory Mathlib.LinearAlgebra.LinearDisjoint Mathlib.RingTheory.Flat.FaithfullyFlat Mathlib.RingTheory.AdicCompletion.AsTensorProduct Mathlib.Algebra.Module.CharacterModule Mathlib.RingTheory.Flat.EquationalCriterion Mathlib.RingTheory.LocalRing.Module Mathlib.RingTheory.Flat.Stability Mathlib.Algebra.Category.Grp.Injective Mathlib.RingTheory.Unramified.Finite
1
Mathlib.Algebra.Category.ModuleCat.EnoughInjectives 1510

Declarations diff

+ ModuleCat.ulift_injective_of_injective.{v'}
+ injective_iff_injective_object
+ injective_module_of_injective_object
+ injective_object_of_injective_module
- Module.injective_iff_injective_object
- Module.injective_module_of_injective_object
- Module.injective_object_of_injective_module
- ModuleCat.ulift_injective_of_injective

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.

@github-actions github-actions Bot added the t-algebra Algebra (groups, rings, fields, etc) label Oct 14, 2024

@eric-wieser eric-wieser left a comment •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, updated with more splits.

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable

Comment thread Mathlib/Algebra/Module/Injective.lean Resolved
@alreadydone alreadydone added the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Oct 26, 2024
@github-actions github-actions Bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Oct 26, 2024

@alreadydone alreadydone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by alreadydone.

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Oct 26, 2024
@joelriou

Copy link
Copy Markdown
Contributor

Thanks!

bors merge

@github-actions github-actions Bot added the ready-to-merge This PR has been sent to bors. label Oct 26, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Oct 26, 2024
The category-theoretic results can be split between `Mathlib/Algebra/Category/Grp/Injective.lean` and `Mathlib/Algebra/Category/ModuleCat/Injective.lean` instead, with no changes to downstream proofs.



Co-authored-by: Junyan Xu <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Oct 26, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: do not depend on CategoryTheory in Module.Injective [Merged by Bors] - chore: do not depend on CategoryTheory in Module.Injective Oct 26, 2024
@mathlib-bors mathlib-bors Bot closed this Oct 26, 2024
@mathlib-bors
mathlib-bors Bot deleted the eric-wieser/move-injective branch October 26, 2024 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants