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.Hermitian

6 declarations. Mathlib docs ยท Source

theorem Matrix.IsHermitian.coe_re_apply_self E0 #

โˆ€ {๐•œ : Type u_1} {n : Type u_3} {A : Matrix n n ๐•œ} [inst : RCLike ๐•œ],
  A.IsHermitian โ†’ โˆ€ (i : n), โ†‘(RCLike.re (A i i)) = A i i

The diagonal elements of a complex Hermitian matrix are real.

theorem Matrix.IsHermitian.coe_re_diag E0 #

โˆ€ {๐•œ : Type u_1} {n : Type u_3} {A : Matrix n n ๐•œ} [inst : RCLike ๐•œ],
  A.IsHermitian โ†’ (fun i โ†ฆ โ†‘(RCLike.re (A.diag i))) = A.diag

The diagonal elements of a complex Hermitian matrix are real.

theorem Matrix.isSymmetric_toLin_iff E0 #

โˆ€ {๐•œ : Type u_1} {n : Type u_3} {A : Matrix n n ๐•œ} [inst : RCLike ๐•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
  {E : Type u_4} [inst_3 : NormedAddCommGroup E] [inst_4 : InnerProductSpace ๐•œ E] (b : OrthonormalBasis n ๐•œ E),
  ((Matrix.toLin b.toBasis b.toBasis) A).IsSymmetric โ†” A.IsHermitian

A matrix is Hermitian iff the corresponding linear map with an orthonormal basis is symmetric.

theorem Matrix.isSymmetric_toEuclideanLin_iff E0 #

โˆ€ {๐•œ : Type u_1} {n : Type u_3} {A : Matrix n n ๐•œ} [inst : RCLike ๐•œ] [inst_1 : Fintype n] [inst_2 : DecidableEq n],
  (Matrix.toEuclideanLin A).IsSymmetric โ†” A.IsHermitian

A matrix is Hermitian iff the corresponding linear map on the Euclidean space is symmetric.

theorem Matrix.IsHermitian.im_star_dotProduct_mulVec_self E1 #

โˆ€ {๐•œ : Type u_1} {n : Type u_3} {A : Matrix n n ๐•œ} [inst : RCLike ๐•œ] [inst_1 : Fintype n],
  A.IsHermitian โ†’ โˆ€ (x : n โ†’ ๐•œ), RCLike.im (star x โฌแตฅ A.mulVec x) = 0

theorem LinearMap.isHermitian_toMatrix_iff E0 #

โˆ€ {n : Type u_1} {๐•œ : Type u_2} {E : Type u_3} [inst : Fintype n] [inst_1 : DecidableEq n] [inst_2 : RCLike ๐•œ]
  [inst_3 : NormedAddCommGroup E] [inst_4 : InnerProductSpace ๐•œ E] {f : E โ†’โ‚—[๐•œ] E} (b : OrthonormalBasis n ๐•œ E),
  ((LinearMap.toMatrix b.toBasis b.toBasis) f).IsHermitian โ†” f.IsSymmetric

A linear map is symmetric iff the corresponding matrix with an orthonormal basis is Hermitian.