Skip to content

[Merged by Bors] - feat(RingTheory): isotypic API and simple Wedderburn–Artin existence#23963

Closed
alreadydone wants to merge 27 commits intomasterfrom
jyxu/WedderburnArtin_simple
Closed

[Merged by Bors] - feat(RingTheory): isotypic API and simple Wedderburn–Artin existence#23963
alreadydone wants to merge 27 commits intomasterfrom
jyxu/WedderburnArtin_simple

Conversation

@alreadydone
Copy link
Copy Markdown
Contributor

@alreadydone alreadydone commented Apr 11, 2025

A replacement of #23583 with more meaningful intermediate results.

Co-authored-by: Edison Xie @Whysoserioushah
Co-authored-by: Jujian Zhang jujian.zhang19@imperial.ac.uk


Module docstrings are added in #24192, specifically f5b94a2

Open in Gitpod

@alreadydone alreadydone added the t-algebra Algebra (groups, rings, fields, etc) label Apr 11, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 11, 2025

PR summary a27e36f668

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.RingTheory.SimpleModule.Basic 1156 1163 +7 (+0.61%)
Import changes for all files
Files Import difference
24 files Mathlib.Algebra.Jordan.Basic Mathlib.Algebra.Lie.Abelian Mathlib.Algebra.Lie.BaseChange Mathlib.Algebra.Lie.CartanMatrix Mathlib.Algebra.Lie.Derivation.AdjointAction Mathlib.Algebra.Lie.Derivation.Basic Mathlib.Algebra.Lie.Extension Mathlib.Algebra.Lie.Free Mathlib.Algebra.Lie.IdealOperations Mathlib.Algebra.Lie.Ideal Mathlib.Algebra.Lie.Normalizer Mathlib.Algebra.Lie.OfAssociative Mathlib.Algebra.Lie.Quotient Mathlib.Algebra.Lie.Subalgebra Mathlib.Algebra.Lie.Submodule Mathlib.Algebra.Lie.TensorProduct Mathlib.Algebra.Lie.UniversalEnveloping Mathlib.Algebra.Symmetrized Mathlib.RingTheory.Artinian.Algebra Mathlib.RingTheory.Artinian.Instances Mathlib.RingTheory.Artinian.Module Mathlib.RingTheory.Artinian.Ring Mathlib.RingTheory.Derivation.Lie Mathlib.RingTheory.FiniteLength
5
Mathlib.RepresentationTheory.Maschke 6
3 files Mathlib.RingTheory.Jacobson.Semiprimary Mathlib.RingTheory.SimpleModule.Basic Mathlib.Topology.Algebra.Module.Simple
7
Mathlib.RingTheory.SimpleModule.Isotypic (new file) 1164
Mathlib.RingTheory.SimpleModule.WedderburnArtin (new file) 1264
Mathlib.RingTheory.SimpleModule.IsAlgClosed (new file) 1588

Declarations diff

+ IsIsotypic
+ IsIsotypic.isotypicComponent
+ IsIsotypic.linearEquiv_finsupp
+ IsIsotypic.linearEquiv_fun
+ IsIsotypic.of_injective
+ IsIsotypic.of_subsingleton
+ IsIsotypicOfType
+ IsIsotypicOfType.isIsotypic
+ IsIsotypicOfType.isotypicComponent
+ IsIsotypicOfType.linearEquiv_finsupp
+ IsIsotypicOfType.linearEquiv_fun
+ IsIsotypicOfType.of_injective
+ IsIsotypicOfType.of_isSimpleModule
+ IsIsotypicOfType.of_isotypicComponent_eq_top
+ IsIsotypicOfType.of_linearEquiv_type
+ IsIsotypicOfType.of_subsingleton
+ IsSemisimpleModule.exists_linearEquiv_dfinsupp
+ IsSemisimpleModule.exists_linearEquiv_fin_dfinsupp
+ IsSimpleRing.exists_algEquiv_matrix_of_isAlgClosed
+ IsSimpleRing.isSemisimpleRing_iff_isArtinianRing
+ IsSimpleRing.tfae
+ LinearEquiv.isIsotypicOfType_iff
+ LinearEquiv.isIsotypicOfType_iff_type
+ LinearEquiv.isIsotypic_iff
+ LinearEquiv.isSemisimpleModule_iff
+ LinearEquiv.isSimpleModule_iff
+ Submodule.IsFullyInvariant
+ Submodule.le_isotypicComponent
+ Submodule.le_linearEquiv_of_le_sSup
+ Submodule.le_linearEquiv_of_sSup_eq_top
+ Submodule.linearEquiv_of_le_sSup
+ Submodule.linearEquiv_of_sSup_eq_top
+ bot_lt_isotypicComponent
+ exists_algEquiv_matrix_divisionRing
+ exists_algEquiv_matrix_divisionRing_finite
+ exists_algEquiv_matrix_end_mulOpposite
+ exists_ringEquiv_matrix_divisionRing
+ exists_ringEquiv_matrix_end_mulOpposite
+ extension_property
+ instance (priority := low) : IsSemisimpleRing R
+ instance [IsSemisimpleModule R S] : IsSemisimpleModule R (isotypicComponent R M S) := by
+ isFullyInvariant_iff_isTwoSided
+ isFullyInvariant_isotypicComponent
+ isIsotypic
+ isIsotypicOfType_submodule_iff
+ isIsotypic_iff_isFullyInvariant_imp_bot_or_top
+ isIsotypic_submodule_iff
+ isSimpleRing_isArtinianRing_iff
+ isotypicComponent
+ isotypicComponent_eq_top_iff
+ linearEquiv_of_ne_zero

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

Copy link
Copy Markdown
Collaborator

@Whysoserioushah Whysoserioushah left a comment

Choose a reason for hiding this comment

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

looks good LGTM

@leanprover-community-bot-assistant
Copy link
Copy Markdown
Collaborator

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Apr 28, 2025
@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Apr 28, 2025
@leanprover-community-bot-assistant
Copy link
Copy Markdown
Collaborator

This pull request has conflicts, please merge master and resolve them.

@mathlib4-dependent-issues-bot mathlib4-dependent-issues-bot removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label May 1, 2025
@mathlib4-dependent-issues-bot
Copy link
Copy Markdown
Collaborator

This PR/issue depends on:

@alreadydone alreadydone removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 1, 2025
import Mathlib.RingTheory.SimpleModule.Basic

/-!
# Isotypic modules and isotypic components
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you please write a few sentences, e.g. explaining what an isotypic module is? And maybe pointers to the main result(s)?

Copy link
Copy Markdown
Contributor Author

@alreadydone alreadydone May 11, 2025

Choose a reason for hiding this comment

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

Sorry, missed the review. Module docstrings are added in the subsequent PR (specifically d870b8b), since both PRs touch these two files.

Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Modulo a bit of docs on isotypic modules, this looks good to me.

@alreadydone alreadydone requested a review from jcommelin May 15, 2025 09:13
Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks! 🎉

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label May 15, 2025
mathlib-bors bot pushed a commit that referenced this pull request May 15, 2025
…23963)

A replacement of #23583 with more meaningful intermediate results.

Co-authored-by: Edison Xie @Whysoserioushah 
Co-authored-by: Jujian Zhang [jujian.zhang19@imperial.ac.uk](mailto:jujian.zhang19@imperial.ac.uk)
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented May 15, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(RingTheory): isotypic API and simple Wedderburn–Artin existence [Merged by Bors] - feat(RingTheory): isotypic API and simple Wedderburn–Artin existence May 15, 2025
@mathlib-bors mathlib-bors bot closed this May 15, 2025
@mathlib-bors mathlib-bors bot deleted the jyxu/WedderburnArtin_simple branch May 15, 2025 15:18
@alreadydone alreadydone restored the jyxu/WedderburnArtin_simple branch May 15, 2025 15:32
@alreadydone alreadydone deleted the jyxu/WedderburnArtin_simple branch May 15, 2025 15:32
jano-wol pushed a commit that referenced this pull request May 16, 2025
…23963)

A replacement of #23583 with more meaningful intermediate results.

Co-authored-by: Edison Xie @Whysoserioushah 
Co-authored-by: Jujian Zhang [jujian.zhang19@imperial.ac.uk](mailto:jujian.zhang19@imperial.ac.uk)
bwehlin pushed a commit to bwehlin/mathlib4 that referenced this pull request May 31, 2025
…eanprover-community#23963)

A replacement of leanprover-community#23583 with more meaningful intermediate results.

Co-authored-by: Edison Xie @Whysoserioushah 
Co-authored-by: Jujian Zhang [jujian.zhang19@imperial.ac.uk](mailto:jujian.zhang19@imperial.ac.uk)
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-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants