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] - chore(Algebra/Algebra): split Subalgebra.Basic #12267

Closed
wants to merge 5 commits into from

Conversation

Vierkantor
Copy link
Contributor

This PR was supposed to be simultaneous with #12090 but I got ill last week.

This is based on seeing the import Algebra.Algebra.Subalgebra.Basic → RingTheory.Ideal.Operations on the longest pole. It feels like Ideal.Operations should not be needed to define the notion of subalgebra, only to construct some interesting examples. So I removed the import and split off anything that wouldn't fit.

The following results and their corollaries were split off:

  • Subalgebra.prod
  • Subalgebra.iSupLift
  • AlgHom.ker_rangeRestrict
  • Subalgebra.mem_of_finset_sum_eq_one_of_pow_smul_mem

Open in Gitpod

@Vierkantor Vierkantor added awaiting-review The author would like community review of the PR awaiting-CI t-algebra Algebra (groups, rings, fields etc) labels Apr 19, 2024
Copy link
Collaborator

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

We would benefit from having a clearer idea of the scope of Subalgebra.Basic and Ideal.Operations, but this seems like an improvement already.

Mathlib/Algebra/Algebra/Subalgebra/Operations.lean Outdated Show resolved Hide resolved
@Vierkantor
Copy link
Contributor Author

We would benefit from having a clearer idea of the scope of Subalgebra.Basic and Ideal.Operations

Indeed! The motivation is slightly different, though: this PR is more about cleaning up the import graph, between files, and that change would be more about cleaning up the declaration list within the file.

The main purpose of this refactor is to remove the dependency of `Algebra.Subalgebra.Basic` (which is imported in quite a few places) on the heavy import `RingTheory.Ideal.Operations`.
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Apr 19, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Apr 19, 2024
Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
@Ruben-VandeVelde
Copy link
Collaborator

maintainer merge

Copy link

🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde.

@jcommelin
Copy link
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Apr 19, 2024
mathlib-bors bot pushed a commit that referenced this pull request Apr 19, 2024
This PR was supposed to be simultaneous with #12090 but I got ill last week.

This is based on seeing the import `Algebra.Algebra.Subalgebra.Basic → RingTheory.Ideal.Operations` on the [longest pole](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/The.20long.20pole.20in.20mathlib/near/432898637). It feels like `Ideal.Operations` should not be needed to define the notion of subalgebra, only to construct some interesting examples. So I removed the import and split off anything that wouldn't fit.

The following results and their corollaries were split off:
 * `Subalgebra.prod`
 * `Subalgebra.iSupLift`
 * `AlgHom.ker_rangeRestrict`
 * `Subalgebra.mem_of_finset_sum_eq_one_of_pow_smul_mem`



Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Apr 19, 2024

Build failed:

@bryangingechen
Copy link
Contributor

bors r+

mathlib-bors bot pushed a commit that referenced this pull request Apr 20, 2024
This PR was supposed to be simultaneous with #12090 but I got ill last week.

This is based on seeing the import `Algebra.Algebra.Subalgebra.Basic → RingTheory.Ideal.Operations` on the [longest pole](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/The.20long.20pole.20in.20mathlib/near/432898637). It feels like `Ideal.Operations` should not be needed to define the notion of subalgebra, only to construct some interesting examples. So I removed the import and split off anything that wouldn't fit.

The following results and their corollaries were split off:
 * `Subalgebra.prod`
 * `Subalgebra.iSupLift`
 * `AlgHom.ker_rangeRestrict`
 * `Subalgebra.mem_of_finset_sum_eq_one_of_pow_smul_mem`



Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Apr 20, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Algebra/Algebra): split Subalgebra.Basic [Merged by Bors] - chore(Algebra/Algebra): split Subalgebra.Basic Apr 20, 2024
@mathlib-bors mathlib-bors bot closed this Apr 20, 2024
@mathlib-bors mathlib-bors bot deleted the split-SubalgebraBasic branch April 20, 2024 14:44
callesonne pushed a commit that referenced this pull request Apr 22, 2024
This PR was supposed to be simultaneous with #12090 but I got ill last week.

This is based on seeing the import `Algebra.Algebra.Subalgebra.Basic → RingTheory.Ideal.Operations` on the [longest pole](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/The.20long.20pole.20in.20mathlib/near/432898637). It feels like `Ideal.Operations` should not be needed to define the notion of subalgebra, only to construct some interesting examples. So I removed the import and split off anything that wouldn't fit.

The following results and their corollaries were split off:
 * `Subalgebra.prod`
 * `Subalgebra.iSupLift`
 * `AlgHom.ker_rangeRestrict`
 * `Subalgebra.mem_of_finset_sum_eq_one_of_pow_smul_mem`



Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Jun2M pushed a commit that referenced this pull request Apr 24, 2024
This PR was supposed to be simultaneous with #12090 but I got ill last week.

This is based on seeing the import `Algebra.Algebra.Subalgebra.Basic → RingTheory.Ideal.Operations` on the [longest pole](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/The.20long.20pole.20in.20mathlib/near/432898637). It feels like `Ideal.Operations` should not be needed to define the notion of subalgebra, only to construct some interesting examples. So I removed the import and split off anything that wouldn't fit.

The following results and their corollaries were split off:
 * `Subalgebra.prod`
 * `Subalgebra.iSupLift`
 * `AlgHom.ker_rangeRestrict`
 * `Subalgebra.mem_of_finset_sum_eq_one_of_pow_smul_mem`



Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer-merge 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.

None yet

5 participants