Skip to content

[Merged by Bors] - feat: Schur's lemma for monoid representations#33802

Closed
stepan2698-cpu wants to merge 29 commits intoleanprover-community:masterfrom
stepan2698-cpu:abelian-branch
Closed

[Merged by Bors] - feat: Schur's lemma for monoid representations#33802
stepan2698-cpu wants to merge 29 commits intoleanprover-community:masterfrom
stepan2698-cpu:abelian-branch

Conversation

@stepan2698-cpu
Copy link
Copy Markdown
Contributor

@stepan2698-cpu stepan2698-cpu commented Jan 9, 2026

Adds an algebra instance on the set of intertwining maps. Proves various versions of Schur's lemma for monoid representations and proves that a finite-dimensional irreducible representation of a commutative monoid is one-dimensional.


Open in Gitpod

@github-actions github-actions Bot added new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-algebra Algebra (groups, rings, fields, etc) labels Jan 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 9, 2026

PR summary c99f041082

Import changes exceeding 2%

% File
+21.64% Mathlib.RepresentationTheory.Irreducible

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.RepresentationTheory.Irreducible 1400 1703 +303 (+21.64%)
Import changes for all files
Files Import difference
Mathlib.RepresentationTheory.Irreducible 303

Declarations diff

+ algebraMap_apply
+ algebraMap_intertwiningMap_bijective_of_isAlgClosed
+ bijective_or_eq_zero
+ coe_mk
+ coe_mul
+ coe_one
+ comp
+ equivAlgEnd
+ finrank_eq_one_of_isMulCommutative
+ injective_or_eq_zero
+ instSemiring
+ instance (ρ : Representation k G V) [Module.Finite k V] : Module.Finite k ρ.asModule
+ instance : Algebra A (IntertwiningMap ρ ρ)
+ instance : IsSimpleModule k[G] ρ.asModule
+ instance : Monoid (IntertwiningMap ρ ρ)
+ instance : Mul (IntertwiningMap ρ ρ)
+ instance : NatCast (IntertwiningMap ρ ρ)
+ instance : One (IntertwiningMap ρ ρ) := ⟨id ρ⟩
+ instance : Pow (IntertwiningMap ρ ρ) ℕ := ⟨fun f n => npowRecAuto n f⟩
+ instance : Semigroup (IntertwiningMap ρ ρ)
+ llcomp
+ mul_apply
- id_apply

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

Comment thread Mathlib/RepresentationTheory/Intertwining.lean Outdated
@ocfnash ocfnash added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Jan 13, 2026
@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 Jan 23, 2026
@github-actions github-actions Bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Jan 27, 2026
@stepan2698-cpu
Copy link
Copy Markdown
Contributor Author

in addition to the inline comment below, it looks like the PR description also needs updating.

I'm not sure why the Schur's lemma disappeared from this PR, I've added it back.

@stepan2698-cpu
Copy link
Copy Markdown
Contributor Author

-awaiting-author

@github-actions github-actions Bot removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 27, 2026
Copy link
Copy Markdown
Contributor

@ocfnash ocfnash left a comment

Choose a reason for hiding this comment

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

Thanks, this is nearly ready.

I have some concerns that we now have multiple spellings of Schur's Lemma, including FDRep.simple_iff_end_is_rank_one. This is partly a legacy of an interesting but more-or-less abandoned early attempt to develop representation theory in the language of category theory.

I'd be interested in any thoughts you might have about tidying this up, and I'll do some thinking but in the meantime I've left a few minor comments.

Comment thread Mathlib/RepresentationTheory/Intertwining.lean Outdated
Comment thread Mathlib/RepresentationTheory/Intertwining.lean Outdated
Comment thread Mathlib/RepresentationTheory/Intertwining.lean Outdated
Comment thread Mathlib/RepresentationTheory/Intertwining.lean
Comment thread Mathlib/RepresentationTheory/Intertwining.lean Outdated
Comment thread Mathlib/RepresentationTheory/Intertwining.lean
Comment thread Mathlib/RepresentationTheory/Intertwining.lean Outdated
Comment thread Mathlib/RepresentationTheory/Irreducible.lean Outdated
Comment thread Mathlib/RepresentationTheory/Irreducible.lean Outdated
Comment thread Mathlib/RepresentationTheory/Irreducible.lean Outdated
@ocfnash ocfnash added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 28, 2026
@stepan2698-cpu
Copy link
Copy Markdown
Contributor Author

-awaiting-author

@github-actions github-actions Bot removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 28, 2026
@stepan2698-cpu
Copy link
Copy Markdown
Contributor Author

Thanks, this is nearly ready.

I have some concerns that we now have multiple spellings of Schur's Lemma, including FDRep.simple_iff_end_is_rank_one. This is partly a legacy of an interesting but more-or-less abandoned early attempt to develop representation theory in the language of category theory.

I'd be interested in any thoughts you might have about tidying this up, and I'll do some thinking but in the meantime I've left a few minor comments.

Ok I raised this question on Zulip: https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Developing.20irreducible.20representations.20for.20mathlib/with/568481781
I was somewhat aware that there is older API for simple objects in the category of representations, and one reason I needed this version of Schur's lemma is because I wanted to give a proof of equivalence of the two definitions, and one direction (If rho is irreducible, then any monomorphism to rho is an isomorphism) is basically Schur's lemma in disguise.

Copy link
Copy Markdown
Contributor

@ocfnash ocfnash left a comment

Choose a reason for hiding this comment

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

I think this will be ready after my final nitpicks as follows:

Comment thread Mathlib/RepresentationTheory/Intertwining.lean Outdated
Comment thread Mathlib/RepresentationTheory/Irreducible.lean Outdated
Comment thread Mathlib/RepresentationTheory/Irreducible.lean
Comment thread Mathlib/RepresentationTheory/Irreducible.lean Outdated
Comment thread Mathlib/RepresentationTheory/Irreducible.lean
Comment thread Mathlib/RepresentationTheory/Irreducible.lean Outdated
Comment thread Mathlib/RepresentationTheory/Irreducible.lean
@ocfnash ocfnash added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 29, 2026
@stepan2698-cpu
Copy link
Copy Markdown
Contributor Author

-awaiting-author

@github-actions github-actions Bot removed the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 29, 2026
Copy link
Copy Markdown
Contributor

@ocfnash ocfnash left a comment

Choose a reason for hiding this comment

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

Thanks, please apply my last two suggestions and then feel free to merge!

bors d+

Comment thread Mathlib/RepresentationTheory/Irreducible.lean Outdated
Comment thread Mathlib/RepresentationTheory/Irreducible.lean Outdated
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors Bot commented Jan 30, 2026

✌️ stepan2698-cpu can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@ghost ghost added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jan 30, 2026
stepan2698-cpu and others added 2 commits January 30, 2026 08:35
Co-authored-by: Oliver Nash <7734364+ocfnash@users.noreply.github.com>
Co-authored-by: Oliver Nash <7734364+ocfnash@users.noreply.github.com>
@stepan2698-cpu
Copy link
Copy Markdown
Contributor Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Jan 30, 2026
Adds an algebra instance on the set of intertwining maps. Proves various versions of Schur's lemma for monoid representations and proves that a finite-dimensional irreducible representation of a commutative monoid is one-dimensional.

Co-authored-by: Stepan <stepurik@stanford.edu>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors Bot commented Jan 30, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat: Schur's lemma for monoid representations [Merged by Bors] - feat: Schur's lemma for monoid representations Jan 30, 2026
@mathlib-bors mathlib-bors Bot closed this Jan 30, 2026
YellPika pushed a commit to YellPika/mathlib4 that referenced this pull request Feb 3, 2026
…33802)

Adds an algebra instance on the set of intertwining maps. Proves various versions of Schur's lemma for monoid representations and proves that a finite-dimensional irreducible representation of a commutative monoid is one-dimensional.

Co-authored-by: Stepan <stepurik@stanford.edu>
michaellee94 pushed a commit to michaellee94/mathlib4 that referenced this pull request Feb 15, 2026
…33802)

Adds an algebra instance on the set of intertwining maps. Proves various versions of Schur's lemma for monoid representations and proves that a finite-dimensional irreducible representation of a commutative monoid is one-dimensional.

Co-authored-by: Stepan <stepurik@stanford.edu>
Maldooor pushed a commit to Maldooor/mathlib4 that referenced this pull request Feb 25, 2026
…33802)

Adds an algebra instance on the set of intertwining maps. Proves various versions of Schur's lemma for monoid representations and proves that a finite-dimensional irreducible representation of a commutative monoid is one-dimensional.

Co-authored-by: Stepan <stepurik@stanford.edu>
pfaffelh pushed a commit to pfaffelh/mathlib4 that referenced this pull request Mar 2, 2026
…33802)

Adds an algebra instance on the set of intertwining maps. Proves various versions of Schur's lemma for monoid representations and proves that a finite-dimensional irreducible representation of a commutative monoid is one-dimensional.

Co-authored-by: Stepan <stepurik@stanford.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). large-import Automatically added label for PRs with a significant increase in transitive imports new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants