NLA-lib Explorer

NLAlib.isLeast_frobNorm_sub_mul_mul_sq

Library · theorem

The two-sided Procrustes problem. The least value of \|\mathbf{A} - \mathbf{U}\mathbf{B}\mathbf{W}\|_{\mathsf{F}}^2 over unitary \mathbf{U}, \mathbf{W} is \sum_{i < \min(\lvert m \rvert, \lvert n \rvert)} \bigl(\sigma_i(\mathbf{A}) - \sigma_i(\mathbf{B})\bigr)^2\,, singular values non-increasing and indexed from 0. [HornJohnson2013, §7.4.1 context].

NLAlib.isLeast_frobNorm_sub_mul_mul_sq.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2}
  {n : Type u_3} [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n] (A B : Matrix m n 𝕜) :
  IsLeast
    ((fun P ↦ frobNorm (A - P.1 * B * P.2) ^ 2) ''
      {P | HasOrthonormalCols P.1 ∧ HasOrthonormalCols P.2})
    (∑ i ∈ Finset.range (min (Fintype.card m) (Fintype.card n)),
      (singularValues A i - singularValues B i) ^ 2)

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Procrustes.