The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V16. Normed spaces and functional analysis

Mathlib.Analysis.InnerProductSpace.Spectrum

39 declarations. Mathlib docs · Source

Spectral theory of self-adjoint operators

This file covers the spectral theory of self-adjoint operators on an inner product space.

The first part of the file covers general properties, true without any condition on boundedness or compactness of the operator or finite-dimensionality of the underlying space, notably:

  • LinearMap.IsSymmetric.conj_eigenvalue_eq_self: the eigenvalues are real
  • LinearMap.IsSymmetric.orthogonalFamily_eigenspaces: the eigenspaces are orthogonal
  • LinearMap.IsSymmetric.orthogonalComplement_iSup_eigenspaces: the restriction of the operator to the mutual orthogonal complement of the eigenspaces has, itself, no eigenvectors

The second part of the file covers properties of self-adjoint operators in finite dimension. Letting T be a self-adjoint operator on a finite-dimensional inner product space T,

  • The definition LinearMap.IsSymmetric.diagonalization provides a linear isometry equivalence E to the direct sum of the eigenspaces of T. The theorem LinearMap.IsSymmetric.diagonalization_apply_self_apply states that, when T is transferred via this equivalence to an operator on the direct sum, it acts diagonally.
  • The definition LinearMap.IsSymmetric.eigenvectorBasis provides an orthonormal basis for E consisting of eigenvectors of T, with LinearMap.IsSymmetric.eigenvalues giving the corresponding list of eigenvalues, as real numbers. The definition LinearMap.IsSymmetric.eigenvectorBasis gives the associated linear isometry equivalence from E to Euclidean space, and the theorem LinearMap.IsSymmetric.eigenvectorBasis_apply_self_apply states that, when T is transferred via this equivalence to an operator on Euclidean space, it acts diagonally.
  • LinearMap.IsSymmetric.eigenvalues gives the eigenvalues in decreasing order. This is done for several reasons: (i) This agrees with the standard convention of listing singular values in decreasing order, with the operator norm as the first singular value (ii) For positive compact operators on an infinite-dimensional space, one can list the nonzero eigenvalues in decreasing (but not increasing) order since they converge to zero. (iii) This simplifies several theorem statements. For example the Schur-Horn theorem states that the diagonal of the matrix representation of a selfadjoint linear map is majorized by the eigenvalue sequence listed in decreasing order.

These are forms of the diagonalization theorem for self-adjoint operators on finite-dimensional inner product spaces.

The third part of the file covers properties of compact self-adjoint operators:

  • orthogonalComplement_iSup_eigenspaces_eq_bot: the eigenspaces of a compact self-adjoint operator have trivial orthogonal complement.
  • finite_dimensional_eigenspace: the eigenspaces of a compact self-adjoint operator are finite-dimensional.

TODO

Spectral theory for bounded self-adjoint operators.

Tags

self-adjoint operator, spectral theorem, diagonalization theorem

Finite-dimensional theory

theorem DirectSum.IsInternal.subordinateOrthonormalBasis.congr_simp E1 #

∀ {ι : Type u_1} {𝕜 : Type u_3} [inst : RCLike 𝕜] {E : Type u_4} [inst_1 : NormedAddCommGroup E]
  [inst_2 : InnerProductSpace 𝕜 E] [inst_3 : Fintype ι] [inst_4 : FiniteDimensional 𝕜 E] {n : ℕ}
  (hn : Module.finrank 𝕜 E = n) {inst_5 : DecidableEq ι} [inst_6 : DecidableEq ι] {V V_1 : ι → Submodule 𝕜 E}
  (e_V : V = V_1) (hV : DirectSum.IsInternal V) (hV' : OrthogonalFamily 𝕜 (fun i ↦ ↥(V i)) fun i ↦ (V i).subtypeₗᵢ),
  DirectSum.IsInternal.subordinateOrthonormalBasis hn hV hV' = DirectSum.IsInternal.subordinateOrthonormalBasis hn ⋯ ⋯

theorem LinearMap.IsSymmetric.eigenvectorBasis.congr_simp E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T T_1 : E →ₗ[𝕜] E} (e_T : T = T_1) [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric)
  (hn : Module.finrank 𝕜 E = n), hT.eigenvectorBasis hn = ⋯.eigenvectorBasis hn

theorem LinearMap.IsSymmetric.eigenvalues.congr_simp E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T T_1 : E →ₗ[𝕜] E} (e_T : T = T_1) [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric)
  (hn : Module.finrank 𝕜 E = n) (a a_1 : Fin n), a = a_1 → hT.eigenvalues hn a = ⋯.eigenvalues hn a_1

theorem LinearMap.IsSymmetric.diagonalization.congr_simp E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] (hT : T.IsSymmetric), hT.diagonalization = hT.diagonalization

theorem LinearMap.IsSymmetric.invariant_orthogonalComplement_eigenspace E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → ∀ (μ : 𝕜), ∀ v ∈ (Module.End.eigenspace T μ)ᗮ, T v ∈ (Module.End.eigenspace T μ)ᗮ

A self-adjoint operator preserves orthogonal complements of its eigenspaces.

theorem LinearMap.IsSymmetric.conj_eigenvalue_eq_self E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → ∀ {μ : 𝕜}, Module.End.HasEigenvalue T μ → (starRingEnd 𝕜) μ = μ

The eigenvalues of a self-adjoint operator are real.

theorem LinearMap.IsSymmetric.orthogonalFamily_eigenspaces E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E},
  T.IsSymmetric →
    OrthogonalFamily 𝕜 (fun μ ↦ ↥(Module.End.eigenspace T μ)) fun μ ↦ (Module.End.eigenspace T μ).subtypeₗᵢ

The eigenspaces of a self-adjoint operator are mutually orthogonal.

theorem LinearMap.IsSymmetric.orthogonalFamily_eigenspaces' E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E},
  T.IsSymmetric →
    OrthogonalFamily 𝕜 (fun μ ↦ ↥(Module.End.eigenspace T (↑T 1 μ))) fun μ ↦
      (Module.End.eigenspace T (↑T 1 μ)).subtypeₗᵢ

theorem LinearMap.IsSymmetric.orthogonalComplement_iSup_eigenspaces_invariant E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E},
  T.IsSymmetric → ∀ ⦃v : E⦄, v ∈ (⨆ μ, Module.End.eigenspace T μ)ᗮ → T v ∈ (⨆ μ, Module.End.eigenspace T μ)ᗮ

The mutual orthogonal complement of the eigenspaces of a self-adjoint operator on an inner product space is an invariant subspace of the operator.

theorem LinearMap.IsSymmetric.orthogonalComplement_iSup_eigenspaces E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} (hT : T.IsSymmetric) (μ : 𝕜), Module.End.eigenspace (T.restrict ⋯) μ = ⊥

The mutual orthogonal complement of the eigenspaces of a self-adjoint operator on an inner product space has no eigenvalues.

theorem LinearMap.IsSymmetric.orthogonalComplement_iSup_eigenspaces_eq_bot E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [FiniteDimensional 𝕜 E], T.IsSymmetric → (⨆ μ, Module.End.eigenspace T μ)ᗮ = ⊥

The mutual orthogonal complement of the eigenspaces of a self-adjoint operator on a finite-dimensional inner product space is trivial.

theorem LinearMap.IsSymmetric.orthogonalComplement_iSup_eigenspaces_eq_bot' E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [FiniteDimensional 𝕜 E], T.IsSymmetric → (⨆ μ, Module.End.eigenspace T (↑T 1 μ))ᗮ = ⊥

instance LinearMap.IsSymmetric.directSumDecomposition E0 #

{𝕜 : Type u_1} →
  [inst : RCLike 𝕜] →
    {E : Type u_2} →
      [inst_1 : NormedAddCommGroup E] →
        [inst_2 : InnerProductSpace 𝕜 E] →
          {T : E →ₗ[𝕜] E} →
            [FiniteDimensional 𝕜 E] →
              [hT : Fact T.IsSymmetric] → DirectSum.Decomposition fun μ ↦ Module.End.eigenspace T (↑T 1 μ)

The eigenspaces of a self-adjoint operator on a finite-dimensional inner product space E gives an internal direct sum decomposition of E.

Note this takes hT as a Fact to allow it to be an instance.

theorem LinearMap.IsSymmetric.directSum_decompose_apply E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] [_hT : Fact T.IsSymmetric] (x : E) (μ : Module.End.Eigenvalues T),
  ((DirectSum.decompose fun μ ↦ Module.End.eigenspace T (↑T 1 μ)) x) μ =
    (Module.End.eigenspace T (↑T 1 μ)).orthogonalProjectionOnto x

theorem LinearMap.IsSymmetric.direct_sum_isInternal E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [FiniteDimensional 𝕜 E], T.IsSymmetric → DirectSum.IsInternal fun μ ↦ Module.End.eigenspace T (↑T 1 μ)

The eigenspaces of a self-adjoint operator on a finite-dimensional inner product space E gives an internal direct sum decomposition of E.

def LinearMap.IsSymmetric.diagonalization E1 #

{𝕜 : Type u_1} →
  [inst : RCLike 𝕜] →
    {E : Type u_2} →
      [inst_1 : NormedAddCommGroup E] →
        [inst_2 : InnerProductSpace 𝕜 E] →
          {T : E →ₗ[𝕜] E} →
            [inst_3 : FiniteDimensional 𝕜 E] →
              T.IsSymmetric → E ≃ₗᵢ[𝕜] PiLp 2 fun μ ↦ ↥(Module.End.eigenspace T (↑T 1 μ))

Isometry from an inner product space E to the direct sum of the eigenspaces of some self-adjoint operator T on E.

theorem LinearMap.IsSymmetric.diagonalization_symm_apply E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] (hT : T.IsSymmetric)
  (w : PiLp 2 fun μ ↦ ↥(Module.End.eigenspace T (↑T 1 μ))), hT.diagonalization.symm w = ∑ μ, ↑(w.ofLp μ)

theorem LinearMap.IsSymmetric.diagonalization_apply_self_apply E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] (hT : T.IsSymmetric) (v : E) (μ : Module.End.Eigenvalues T),
  (hT.diagonalization (T v)).ofLp μ = ↑T 1 μ • (hT.diagonalization v).ofLp μ

Diagonalization theorem, spectral theorem; version 1: A self-adjoint operator T on a finite-dimensional inner product space E acts diagonally on the decomposition of E into the direct sum of the eigenspaces of T.

def LinearMap.IsSymmetric.eigenvalues E1 #

{𝕜 : Type u_1} →
  [inst : RCLike 𝕜] →
    {E : Type u_2} →
      [inst_1 : NormedAddCommGroup E] →
        [inst_2 : InnerProductSpace 𝕜 E] →
          {T : E →ₗ[𝕜] E} → [FiniteDimensional 𝕜 E] → {n : ℕ} → T.IsSymmetric → Module.finrank 𝕜 E = n → Fin n → ℝ

The eigenvalues for a self-adjoint operator T on a finite-dimensional inner product space E, sorted in decreasing order

theorem LinearMap.IsSymmetric.exists_eigenvalues_eq E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n) {μ : 𝕜},
  Module.End.HasEigenvalue T μ → ∃ i, ↑(hT.eigenvalues hn i) = μ

theorem LinearMap.IsSymmetric.card_filter_eigenvalues_eq E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n) (μ : 𝕜),
  {i | ↑(hT.eigenvalues hn i) = μ}.card = Module.finrank 𝕜 ↥(Module.End.eigenspace T μ)

def LinearMap.IsSymmetric.eigenvectorBasis E1 #

{𝕜 : Type u_1} →
  [inst : RCLike 𝕜] →
    {E : Type u_2} →
      [inst_1 : NormedAddCommGroup E] →
        [inst_2 : InnerProductSpace 𝕜 E] →
          {T : E →ₗ[𝕜] E} →
            [FiniteDimensional 𝕜 E] → {n : ℕ} → T.IsSymmetric → Module.finrank 𝕜 E = n → OrthonormalBasis (Fin n) 𝕜 E

A choice of orthonormal basis of eigenvectors for self-adjoint operator T on a finite-dimensional inner product space E. Eigenvectors are sorted in decreasing order of their eigenvalues.

theorem LinearMap.IsSymmetric.hasEigenvector_eigenvectorBasis E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n)
  (i : Fin n), Module.End.HasEigenvector T (↑(hT.eigenvalues hn i)) ((hT.eigenvectorBasis hn) i)

theorem LinearMap.IsSymmetric.eigenvalues_antitone E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n),
  Antitone (hT.eigenvalues hn)

Eigenvalues are sorted in decreasing order.

theorem LinearMap.IsSymmetric.hasEigenvalue_eigenvalues E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n)
  (i : Fin n), Module.End.HasEigenvalue T ↑(hT.eigenvalues hn i)

theorem LinearMap.IsSymmetric.apply_eigenvectorBasis E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n)
  (i : Fin n), T ((hT.eigenvectorBasis hn) i) = ↑(hT.eigenvalues hn i) • (hT.eigenvectorBasis hn) i

theorem LinearMap.IsSymmetric.eigenvectorBasis_apply_self_apply E3 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n) (v : E)
  (i : Fin n),
  ((hT.eigenvectorBasis hn).repr (T v)).ofLp i = ↑(hT.eigenvalues hn i) * ((hT.eigenvectorBasis hn).repr v).ofLp i

Diagonalization theorem, spectral theorem; version 2: A self-adjoint operator T on a finite-dimensional inner product space E acts diagonally on the identification of E with Euclidean space induced by an orthonormal basis of eigenvectors of T.

theorem LinearMap.IsSymmetric.toMatrix_eigenvectorBasis E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n),
  (LinearMap.toMatrix (hT.eigenvectorBasis hn).toBasis (hT.eigenvectorBasis hn).toBasis) T =
    Matrix.diagonal (RCLike.ofReal ∘ hT.eigenvalues hn)

theorem LinearMap.IsSymmetric.charpoly_eq E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n),
  T.charpoly = ∏ i, (Polynomial.X - Polynomial.C ↑(hT.eigenvalues hn i))

theorem LinearMap.IsSymmetric.roots_charpoly_eq_eigenvalues E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n),
  T.charpoly.roots = Multiset.map (RCLike.ofReal ∘ hT.eigenvalues hn) Finset.univ.val

theorem LinearMap.IsSymmetric.sort_roots_charpoly_eq_eigenvalues E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n),
  ((Multiset.map (⇑RCLike.re) T.charpoly.roots).sort fun x1 x2 ↦ x1 ≥ x2) = List.ofFn (hT.eigenvalues hn)

theorem LinearMap.IsSymmetric.eigenvalues_eq_eigenvalues_iff E0 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} {E' : Type u_3} [inst_4 : NormedAddCommGroup E']
  [inst_5 : InnerProductSpace 𝕜 E'] [inst_6 : FiniteDimensional 𝕜 E'] {T' : E' →ₗ[𝕜] E'} (hT : T.IsSymmetric)
  (hn : Module.finrank 𝕜 E = n) (hT' : T'.IsSymmetric) (hn' : Module.finrank 𝕜 E' = n),
  hT.eigenvalues hn = hT'.eigenvalues hn' ↔ T.charpoly = T'.charpoly

theorem LinearMap.IsSymmetric.splits_charpoly E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E], T.IsSymmetric → T.charpoly.Splits

theorem LinearMap.IsSymmetric.det_eq_prod_eigenvalues E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E} [inst_3 : FiniteDimensional 𝕜 E] {n : ℕ} (hT : T.IsSymmetric) (hn : Module.finrank 𝕜 E = n),
  LinearMap.det T = ∏ i, ↑(hT.eigenvalues hn i)

theorem inner_product_apply_eigenvector E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {μ : 𝕜} {v : E} {T : E →ₗ[𝕜] E}, T v = μ • v → inner 𝕜 v (T v) = μ * ↑‖v‖ ^ 2

theorem eigenvalue_nonneg_of_nonneg E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {μ : ℝ} {T : E →ₗ[𝕜] E}, Module.End.HasEigenvalue T ↑μ → (∀ (x : E), 0 ≤ RCLike.re (inner 𝕜 x (T x))) → 0 ≤ μ

theorem eigenvalue_pos_of_pos E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {μ : ℝ} {T : E →ₗ[𝕜] E}, Module.End.HasEigenvalue T ↑μ → (∀ (x : E), x ≠ 0 → 0 < RCLike.re (inner 𝕜 x (T x))) → 0 < μ

theorem ContinuousLinearMap.orthogonalComplement_iSup_eigenspaces_eq_bot E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [CompleteSpace E] {T : E →L[𝕜] E}, IsCompactOperator ⇑T → (↑T).IsSymmetric → (⨆ μ, Module.End.eigenspace (↑T) μ)ᗮ = ⊥

The Spectral Theorem for compact self-adjoint operators: the eigenspaces of a compact self-adjoint operator have trivial orthogonal complement.

theorem ContinuousLinearMap.finite_dimensional_eigenspace E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [CompleteSpace E] {T : E →L[𝕜] E},
  IsCompactOperator ⇑T → ∀ (μ : 𝕜), μ ≠ 0 → FiniteDimensional 𝕜 ↥(Module.End.eigenspace (↑T) μ)

The Spectral Theorem for compact self-adjoint operators: the eigenspaces of a compact self-adjoint operator are finite-dimensional.