-
Notifications
You must be signed in to change notification settings - Fork 318
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: the spectrum of a diagonal matrix is the range of the diagonal #13837
Conversation
PR summary 0561c3b868Import changesNo significant changes to the import graph
|
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
…dule docstring, still.
… occurrences of`Matrix._` from within body of file.
… the one suggested by Jireh.
….basisFun` versions of `hasEigenvalue_toLin_diagonal_iff`
Ah, cool. To clarify, we want the standard basis version here, right?
Should I provide versions for toEuclideanLin as well?
…On Sun, Jun 23, 2024, 10:51 AM Jireh Loreaux ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In Mathlib/LinearAlgebra/Eigenspace/Matrix.lean
<#13837 (comment)>
:
> +lemma hasEigenvector_toLin_basis_diagonal (d : n → R) (i : n) (b : Basis n R M) :
+ Module.End.HasEigenvector (toLin b b (diagonal d)) (d i) (b i) := by
+ constructor
+ · refine mem_eigenspace_iff.mpr ?left.a
+ simp only [diagonal, Pi.basisFun_apply, toLin'_apply, mulVec_stdBasis_apply, transpose_apply,
+ of_apply, Pi.smul_apply, LinearMap.stdBasis_apply', smul_eq_mul, mul_ite, mul_one, mul_zero]
+ all_goals simp_all
+ · exact Basis.ne_zero b i
+
+/-- Standard basis vectors are eigenvectors of any associated diagonal linear operator. -/
+lemma hasEigenvector_toLin'_diagonal (d : n → R) (i : n) :
+ Module.End.HasEigenvector (toLin' (diagonal d)) (d i) (Pi.basisFun R n i) :=
+ hasEigenvector_toLin_basis_diagonal (d : n → R) (i : n) (b := Pi.basisFun R n)
+
+/-- Eigenvalues of a diagonal linear operator are the diagonal entries. -/
+lemma hasEigenvalue_toLin'_diagonal_iff (d : n → R) {μ : R} :
Actually, toLin' is just the standard basis version, but with the max
norm. toEuclideanLin is the PiLp 2 version.
—
Reply to this email directly, view it on GitHub
<#13837 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOJJJTRBKP74GILZ5JC4TVTZI3OHDAVCNFSM6AAAAABJKQ6XSSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCMZUGI4TOMJYG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This file collects results about eigenvectors, eigenvalues and spectrum specific to matrices | ||
over a field. |
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 think only the last result needs R
to be a field. The rest hold under weaker assumptions. Please try to minimize the assumptions you need on R
by changing them per theorem as needed.
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.
Cool. Will do this first thing tomorrow. Thanks!
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.
Can you also adjust the docstring accordingly?
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.
Certainly! I'll do this now...
Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
…ted the hypotheses in the theorems they went with, as Jireh suggested.
maintainer merge |
🚀 Pull request has been placed on the maintainer queue by j-loreaux. |
SpectrumDiagonal
section
Thanks! bors r+ |
…13837) We add various theorems that assert the spectrum of a diagonal matrix is the range of the diagonal viewed as a function. Co-Authored by @j-loreaux Co-authored-by: JonBannon <59937998+JonBannon@users.noreply.github.com> Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
Pull request successfully merged into master. Build succeeded: |
…13837) We add various theorems that assert the spectrum of a diagonal matrix is the range of the diagonal viewed as a function. Co-Authored by @j-loreaux Co-authored-by: JonBannon <59937998+JonBannon@users.noreply.github.com> Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
…atrices over an RCLike Field (#13697) This file contains the requisite lemmas needed to define a `ContinuousFunctionalCalculus` for Hermitian Matrices over an RCLike Field. - [x] depends on: #13729 - [x] depends on: #13765 - [x] depends on : #13837 - [x] depends on : #13838 Co-Authored by @j-loreaux Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
…atrices over an RCLike Field (#13697) This file contains the requisite lemmas needed to define a `ContinuousFunctionalCalculus` for Hermitian Matrices over an RCLike Field. - [x] depends on: #13729 - [x] depends on: #13765 - [x] depends on : #13837 - [x] depends on : #13838 Co-Authored by @j-loreaux Co-authored-by: JonBannon <59937998+JonBannon@users.noreply.github.com> Co-authored-by: Jireh Loreaux <loreaujy@gmail.com>
We add various theorems that assert the spectrum of a diagonal matrix is the range of the diagonal viewed as a function.
Co-Authored by @j-loreaux