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.Matrix.HermitianFunctionalCalculus

11 declarations. Mathlib docs ยท Source

Continuous Functional Calculus for Hermitian Matrices

This file defines an instance of the continuous functional calculus for Hermitian matrices over an RCLike field ๐•œ.

Main Results

  • Matrix.IsHermitian.cfc : Realization of the functional calculus for a Hermitian matrix as the triple product U * diagonal (RCLike.ofReal โˆ˜ f โˆ˜ hA.eigenvalues) * star U with U = eigenvectorUnitary hA.

  • cfc_eq : Proof that the above agrees with the continuous functional calculus.

  • Matrix.IsHermitian.instContinuousFunctionalCalculus : Instance of the continuous functional calculus for a Hermitian matrix A over ๐•œ.

Tags

spectral theorem, diagonalization theorem, continuous functional calculus

theorem Matrix.IsHermitian.cfcAux.congr_simp E1 #

โˆ€ {n : Type u_1} {๐•œ : Type u_2} [inst : RCLike ๐•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {A : Matrix n n ๐•œ}
  (hA : A.IsHermitian), hA.cfcAux = hA.cfcAux

def Matrix.IsHermitian.cfcAux E0 #

{n : Type u_1} โ†’
  {๐•œ : Type u_2} โ†’
    [inst : RCLike ๐•œ] โ†’
      [inst_1 : Fintype n] โ†’
        [inst_2 : DecidableEq n] โ†’ {A : Matrix n n ๐•œ} โ†’ A.IsHermitian โ†’ C(โ†‘(spectrum โ„ A), โ„) โ†’โ‹†โ‚[โ„] Matrix n n ๐•œ

The star algebra homomorphism underlying the instance of the continuous functional calculus of a Hermitian matrix. This is an auxiliary definition and is not intended for use outside of this file.

theorem Matrix.IsHermitian.cfcAux_apply E0 #

โˆ€ {n : Type u_1} {๐•œ : Type u_2} [inst : RCLike ๐•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {A : Matrix n n ๐•œ}
  (hA : A.IsHermitian) (g : C(โ†‘(spectrum โ„ A), โ„)),
  hA.cfcAux g =
    ((Unitary.conjStarAlgAut ๐•œ (Matrix n n ๐•œ)) hA.eigenvectorUnitary)
      (Matrix.diagonal (RCLike.ofReal โˆ˜ โ‡‘g โˆ˜ fun i โ†ฆ โŸจhA.eigenvalues i, โ‹ฏโŸฉ))

theorem Matrix.IsHermitian.isClosedEmbedding_cfcAux E0 #

โˆ€ {n : Type u_1} {๐•œ : Type u_2} [inst : RCLike ๐•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {A : Matrix n n ๐•œ}
  (hA : A.IsHermitian), Topology.IsClosedEmbedding โ‡‘hA.cfcAux

theorem Matrix.IsHermitian.cfcAux_id E1 #

โˆ€ {n : Type u_1} {๐•œ : Type u_2} [inst : RCLike ๐•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {A : Matrix n n ๐•œ}
  (hA : A.IsHermitian), hA.cfcAux (ContinuousMap.restrict (spectrum โ„ A) (ContinuousMap.id โ„)) = A

instance Matrix.IsHermitian.instContinuousFunctionalCalculus E3 #

โˆ€ {n : Type u_1} {๐•œ : Type u_2} [inst : RCLike ๐•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n],
  ContinuousFunctionalCalculus โ„ (Matrix n n ๐•œ) IsSelfAdjoint

Instance of the continuous functional calculus for a Hermitian matrix over ๐•œ with RCLike ๐•œ.

def Matrix.IsHermitian.cfc E3 #

{n : Type u_1} โ†’
  {๐•œ : Type u_2} โ†’
    [inst : RCLike ๐•œ] โ†’ [Fintype n] โ†’ [DecidableEq n] โ†’ {A : Matrix n n ๐•œ} โ†’ A.IsHermitian โ†’ (โ„ โ†’ โ„) โ†’ Matrix n n ๐•œ

The continuous functional calculus of a Hermitian matrix as a triple product using the spectral theorem. Note that this actually operates on bare functions since every function is continuous on the spectrum of a matrix, since the spectrum is finite. This is shown to be equal to the generic continuous functional calculus API in Matrix.IsHermitian.cfc_eq. In general, users should prefer the generic API, especially because it will make rewriting easier.

theorem Matrix.IsHermitian.cfcHom_eq_cfcAux E0 #

โˆ€ {n : Type u_1} {๐•œ : Type u_2} [inst : RCLike ๐•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {A : Matrix n n ๐•œ}
  (hA : A.IsHermitian), cfcHom โ‹ฏ = hA.cfcAux

instance Matrix.IsHermitian.instContinuousFunctionalCalculusIsClosedEmbedding E0 #

โˆ€ {n : Type u_1} {๐•œ : Type u_2} [inst : RCLike ๐•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n],
  ClosedEmbeddingContinuousFunctionalCalculus โ„ (Matrix n n ๐•œ) IsSelfAdjoint

theorem Matrix.IsHermitian.cfc_eq E3 #

โˆ€ {n : Type u_1} {๐•œ : Type u_2} [inst : RCLike ๐•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {A : Matrix n n ๐•œ}
  (hA : A.IsHermitian) (f : โ„ โ†’ โ„), cfc f A = hA.cfc f

theorem Matrix.IsHermitian.charpoly_cfc_eq E0 #

โˆ€ {n : Type u_1} {๐•œ : Type u_2} [inst : RCLike ๐•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n] {A : Matrix n n ๐•œ}
  (hA : A.IsHermitian) (f : โ„ โ†’ โ„), (cfc f A).charpoly = โˆ i, (Polynomial.X - Polynomial.C โ†‘(f (hA.eigenvalues i)))