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] - chore(RingTheory): delete useless lemma #11827

Closed
wants to merge 2 commits into from

Conversation

frederic-marbach
Copy link
Collaborator

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.

@frederic-marbach frederic-marbach added awaiting-review The author would like community review of the PR easy < 20s of review time. See the lifecycle page for guidelines. t-algebra Algebra (groups, rings, fields etc) labels Apr 1, 2024
Copy link
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!

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
Copy link
Contributor

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]
Copy link
Contributor

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:

Suggested change
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]

@mathlib-bors
Copy link

mathlib-bors bot commented Apr 1, 2024

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

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added delegated and removed awaiting-review The author would like community review of the PR labels Apr 1, 2024
@frederic-marbach
Copy link
Collaborator Author

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Apr 2, 2024
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.
@mathlib-bors
Copy link

mathlib-bors bot commented Apr 2, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(RingTheory): delete useless lemma [Merged by Bors] - chore(RingTheory): delete useless lemma Apr 2, 2024
@mathlib-bors mathlib-bors bot closed this Apr 2, 2024
@mathlib-bors mathlib-bors bot deleted the fm_derivations_map_sum branch April 2, 2024 13:06
Louddy pushed a commit that referenced this pull request Apr 15, 2024
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.
atarnoam pushed a commit that referenced this pull request Apr 16, 2024
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.
uniwuni pushed a commit that referenced this pull request Apr 19, 2024
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.
callesonne pushed a commit that referenced this pull request Apr 22, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated easy < 20s of review time. See the lifecycle page for guidelines. t-algebra Algebra (groups, rings, fields etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants