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] - feat(LinearAlgebra/Basis): commuting with basis elements places an element in the center #7833

Closed
wants to merge 2 commits into from

Conversation

eric-wieser
Copy link
Member


Open in Gitpod

Comment on lines +1406 to +1407
rw [← b.total_repr y, Finsupp.total_apply, Finsupp.sum, Finset.sum_mul, Finset.mul_sum]
simp_rw [mul_smul_comm, smul_mul_assoc, (h _).eq]
Copy link
Contributor

Choose a reason for hiding this comment

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

Way out of scope for this PR but: we should really have a nicer way to say that each element can be written as a sum of scaled basis vectors. Maybe a theorem along the lines of Basis.induction saying that P is always true on A whenever it is true on each b i and when it's closed under addition and scalar multiplication?

Copy link
Contributor

@Vierkantor Vierkantor left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

bors r+

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Nov 1, 2023
bors bot pushed a commit that referenced this pull request Nov 1, 2023
Copy link

bors bot commented Nov 1, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title feat(LinearAlgebra/Basis): commuting with basis elements places an element in the center [Merged by Bors] - feat(LinearAlgebra/Basis): commuting with basis elements places an element in the center Nov 1, 2023
@bors bors bot closed this Nov 1, 2023
@bors bors bot deleted the eric-wieser/Basis.mem_center_iff branch November 1, 2023 11:37
fgdorais pushed a commit that referenced this pull request Nov 1, 2023
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.

3 participants