NLA-lib Explorer

Matrix.IsHermitian.re_quadForm_add

Library · theorem

The real polar expansion for a Hermitian matrix: \operatorname{Re}\bigl((\mathbf{x} + \mathbf{y})^{\mathsf{H}}\mathbf{A}(\mathbf{x} + \mathbf{y})\bigr) = \operatorname{Re}(\mathbf{x}^{\mathsf{H}}\mathbf{A}\mathbf{x}) + 2\operatorname{Re}(\mathbf{x}^{\mathsf{H}}\mathbf{A}\mathbf{y}) + \operatorname{Re}(\mathbf{y}^{\mathsf{H}}\mathbf{A}\mathbf{y})\,.

Matrix.IsHermitian.re_quadForm_add.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3} [Fintype n]
  {A : Matrix n n 𝕜} (hA : A.IsHermitian) (x y : n → 𝕜) :
  RCLike.re (quadForm A (x + y)) =
    RCLike.re (quadForm A x) + 2 * RCLike.re (star x ⬝ᵥ A *ᵥ y) + RCLike.re (quadForm A y)

Full source on GitHub

Import NLAlib.Matrix.Basic.QuadForm.