NLA-lib Explorer

The CS decomposition

Library Β· Result group

Theorem (HasOrthonormalCols.exists_cs_decomposition). The CS decomposition. A unitary matrix \mathbf{U} partitioned into blocks over p βŠ• q, given an injection e : p \to q (so p is no larger than q), factors as \mathbf{U} = \begin{\mathbf{b}matri\mathbf{x}} \mathbf{V}_1 & \mathbf{0} \\ \mathbf{0} & \mathbf{V}_2 \end{\mathbf{b}matri\mathbf{x}} \mathbf{K} \begin{\mathbf{b}matri\mathbf{x}} \mathbf{W}_1 & \mathbf{0} \\ \mathbf{0} & \mathbf{W}_2 \end{\mathbf{b}matri\mathbf{x}}^{\mathsf{H}} with \mathbf{K} the canonical matrix NLAlib.csMatrix of \mathbf{c}, \mathbf{s}, e, unitary \mathbf{V}_1, \mathbf{W}_1, \mathbf{V}_2, \mathbf{W}_2, and \mathbf{c}_i, \mathbf{s}_i \ge 0, \mathbf{c}_i^2 + \mathbf{s}_i^2 = 1; the cosines \mathbf{c} are the singular values of the leading block, in some order. [HornJohnson2013, Theorem 2.7.1]; [GolubVanLoan2013, Theorem 2.5.3]; [PaigeWei1994, Theorem 8.1]; Paige and Wei allow any 2 \times 2 partitioning, here the diagonal blocks are square.

Headline

Lean statement and details
NLAlib.HasOrthonormalCols.exists_cs_decomposition.{u_1, u_2, u_3} {π•œ : Type u_1} [RCLike π•œ]
  {p : Type u_2} {q : Type u_3} [Fintype p] [Fintype q] [DecidableEq p] [DecidableEq q]
  {U : Matrix (p βŠ• q) (p βŠ• q) π•œ} (hU : HasOrthonormalCols U) (e : p β†ͺ q) :
  βˆƒ V₁ W₁ Vβ‚‚ Wβ‚‚ c s,
    HasOrthonormalCols V₁ ∧
      HasOrthonormalCols W₁ ∧
        HasOrthonormalCols Vβ‚‚ ∧
          HasOrthonormalCols Wβ‚‚ ∧
            (βˆ€ (i : p), 0 ≀ c i) ∧
              (βˆ€ (i : p), 0 ≀ s i) ∧
                (βˆ€ (i : p), c i ^ 2 + s i ^ 2 = 1) ∧
                  (βˆƒ f, βˆ€ (i : p), c i = singularValues U.toBlocks₁₁ ↑(f i)) ∧
                    U = fromBlocks V₁ 0 0 Vβ‚‚ * csMatrix π•œ c s e * (fromBlocks W₁ 0 0 Wβ‚‚)α΄΄

Full source on GitHub

Copy link