-
Notifications
You must be signed in to change notification settings - Fork 234
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(RingTheory): delete useless lemma #11827
Conversation
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.
Thanks!
bors d+
@@ -3,6 +3,7 @@ Copyright (c) 2020 Scott Morrison. All rights reserved. | |||
Released under Apache 2.0 license as described in the file LICENSE. | |||
Authors: Scott Morrison | |||
-/ | |||
import Mathlib.Algebra.BigOperators.Basic |
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.
I note that you are not adding an import, merely making it explicit that we depend on this file.
@@ -324,7 +325,7 @@ theorem sum_smul (n : ℕ) : | |||
simp only [← nat_cast_mul, Nat.succ_eq_add_one, Nat.add_succ_sub_one, add_zero, pow_succ] | |||
push_cast | |||
ring | |||
rw [add_pow, (pderiv true).map_sum, (MvPolynomial.aeval e).map_sum, Finset.sum_mul] | |||
rw [add_pow, map_sum (pderiv true), (MvPolynomial.aeval e).map_sum, Finset.sum_mul] |
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.
Why not use the generic lemma here too:
rw [add_pow, map_sum (pderiv true), (MvPolynomial.aeval e).map_sum, Finset.sum_mul] | |
rw [add_pow, map_sum (pderiv true), map_sum (MvPolynomial.aeval e), Finset.sum_mul] |
✌️ frederic-marbach can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
As discussed in #11790 for the case of Lie derivations, it seems that this `map_sum` lemma is not useful since we can use the generic version.
Pull request successfully merged into master. Build succeeded: |
As discussed in #11790 for the case of Lie derivations, it seems that this `map_sum` lemma is not useful since we can use the generic version.
As discussed in #11790 for the case of Lie derivations, it seems that this `map_sum` lemma is not useful since we can use the generic version.
As discussed in #11790 for the case of Lie derivations, it seems that this `map_sum` lemma is not useful since we can use the generic version.
As discussed in #11790 for the case of Lie derivations, it seems that this `map_sum` lemma is not useful since we can use the generic version.
As discussed in #11790 for the case of Lie derivations, it seems that this
map_sum
lemma is not useful since we can use the generic version.