-
Notifications
You must be signed in to change notification settings - Fork 314
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
Conversation
eric-wieser
commented
Oct 22, 2023
…ement in the center
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] |
There was a problem hiding this comment.
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?
There was a problem hiding this 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+
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. If you want to switch to GitHub's built-in merge queue, visit their help page. |