NLA-lib Explorer

NLAlib.sub_sum_range_add_mul_sum_range_mul_conjTranspose

Library · theorem

The residual of the first N Stein terms is the next summand \mathbf{A}^N\mathbf{Q}(\mathbf{A}^{\mathsf{H}})^N.

NLAlib.sub_sum_range_add_mul_sum_range_mul_conjTranspose.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} [Fintype n] [DecidableEq n] (A Q : Matrix n n 𝕜) (N : ℕ) :
  Q - ∑ j ∈ Finset.range N, A ^ j * Q * Aᴴ ^ j +
      (A * ∑ j ∈ Finset.range N, A ^ j * Q * Aᴴ ^ j) * Aᴴ =
    A ^ N * Q * Aᴴ ^ N

Full source on GitHub

Import NLAlib.Matrix.Spectral.SteinEquation.