Skip to content

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

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

[Merged by Bors] - chore: do not depend on CategoryTheory in Module.Injective#17747
eric-wieser wants to merge 6 commits intomasterfrom
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
Copy link
Copy Markdown

github-actions bot commented Oct 14, 2024

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
Copy link
Copy Markdown
Member Author

@eric-wieser eric-wieser left a comment

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.

Copy link
Copy Markdown
Contributor

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Choose a reason for hiding this comment

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

Looks reasonable

@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
Copy link
Copy Markdown
Contributor

@alreadydone alreadydone left a comment

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 <junyanxu.math@gmail.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Oct 26, 2024

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