NLA-lib Explorer

NLAlib.HasOrthonormalCols.hasOrthonormalCols_mul_diagonal

Library ยท theorem

A unitary times a diagonal of signs is unitary: if \mathbf{F}^{\mathsf{H}}\mathbf{F} = \mathbf{I} and y_i^2 = 1 for every i, then \mathbf{D} = \operatorname{diag}(\mathbf{y}) has \mathbf{D}^{\mathsf{H}}\mathbf{D} = \mathbf{I} and (\mathbf{F}\mathbf{D})^{\mathsf{H}}\mathbf{F}\mathbf{D} = \mathbf{D}^{\mathsf{H}}\mathbf{D} = \mathbf{I}.

NLAlib.HasOrthonormalCols.hasOrthonormalCols_mul_diagonal.{u_1, u_4} {๐•œ : Type u_1} [RCLike ๐•œ]
  {n : Type u_4} [DecidableEq n] [Fintype n] {F : Matrix n n ๐•œ} (hF : HasOrthonormalCols F)
  {y : n โ†’ โ„} (hy : โˆ€ (i : n), y i ^ 2 = 1) : HasOrthonormalCols (F * diagonal fun i โ†ฆ โ†‘(y i))

Full source on GitHub

Import NLAlib.Matrix.Basic.Orthonormal.