NLA-lib Explorer

Matrix.IsHermitian.cfc_eq_aeval_of_forall_eval_eq

Library ยท theorem

A function of a Hermitian matrix is the polynomial that agrees with it on the eigenvalues: if p(\mathbf{x}) = f(\mathbf{x}) for every \mathbf{x} in the spectrum of \mathbf{A}, then f(\mathbf{A}) = p(\mathbf{A}).

Matrix.IsHermitian.cfc_eq_aeval_of_forall_eval_eq.{u_1, u_3} {๐•œ : Type u_1} [RCLike ๐•œ]
  {n : Type u_3} [Fintype n] [DecidableEq n] {A : Matrix n n ๐•œ} (hA : A.IsHermitian) {f : โ„ โ†’ โ„}
  {p : Polynomial โ„} (h : โˆ€ x โˆˆ spectrum โ„ A, Polynomial.eval x p = f x) :
  cfc f A = (Polynomial.aeval A) p

Full source on GitHub

Import NLAlib.Matrix.Functions.Polynomial.