This repository was archived by the owner on Jul 24, 2024. It is now read-only.
feat(ring_theory/mv_polynomial/symmetric): sum of symmetric polynomials is symmetric#18640
Open
Xialu3421 wants to merge 2 commits into
Open
feat(ring_theory/mv_polynomial/symmetric): sum of symmetric polynomials is symmetric#18640Xialu3421 wants to merge 2 commits into
Xialu3421 wants to merge 2 commits into
Conversation
eric-wieser
reviewed
Mar 23, 2023
|
|
||
| lemma sum {α : Type*} [decidable_eq α] {s : finset α} {f : α → mv_polynomial σ R} : | ||
| (∀ a ∈ s, (f a).is_symmetric) → (∑ a in s, f a).is_symmetric := | ||
| begin |
Member
There was a problem hiding this comment.
I think you can prove this in one line with something like
(symmetric_subalgebra σ R).sum_mem _
Collaborator
Author
|
Thank you!
I will edit it.
________________________________
From: Eric Wieser ***@***.***>
Sent: 24 March 2023 05:07
To: leanprover-community/mathlib ***@***.***>
Cc: Zheng, Xialu ***@***.***>; Author ***@***.***>
Subject: Re: [leanprover-community/mathlib] feat(ring_theory/mv_polynomial/symmetric): sum of symmetric polynomials is symmetric (PR #18640)
This email from ***@***.*** originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list<https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address.
@eric-wieser commented on this pull request.
________________________________
In src/ring_theory/mv_polynomial/symmetric.lean<#18640 (comment)>:
@@ -109,6 +109,18 @@ lemma mul (hφ : is_symmetric φ) (hψ : is_symmetric ψ) : is_symmetric (φ *
lemma smul (r : R) (hφ : is_symmetric φ) : is_symmetric (r • φ) :=
(symmetric_subalgebra σ R).smul_mem hφ r
+lemma sum {α : Type*} [decidable_eq α] {s : finset α} {f : α → mv_polynomial σ R} :
+ (∀ a ∈ s, (f a).is_symmetric) → (∑ a in s, f a).is_symmetric :=
+begin
I think you can prove this in one line with something like
(symmetric_subalgebra σ R).sum_mem _
—
Reply to this email directly, view it on GitHub<#18640 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AZ5BQX6NDGOPACKCWFSMTWLW5S3Q5ANCNFSM6AAAAAAWFVQKEQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, this is my first PR. Thanks!