NLA-lib Explorer

NLAlib.IsSVD.toLex_equivFun_svdU_svdV_le

Library ยท theorem

Construction lemma (consumed by NLAlib.measurable_svdU; not needed for using the SVD): (\mathsf{svdU}(\mathbf{A}), \mathsf{svdV}(\mathbf{A})) has the lexicographically least coordinates in the basis Module.finBasis โ„ _ among the thin SVDs of \mathbf{A} with \mathbf{\Sigma} = \operatorname{diag}(\sigma_i(\mathbf{A}))_{i<r}.

NLAlib.IsSVD.toLex_equivFun_svdU_svdV_le.{u_1, u_3, u_4} {๐•œ : Type u_1} [RCLike ๐•œ] {m : Type u_3}
  {n : Type u_4} [Fintype m] [Fintype n] {A : Matrix m n ๐•œ}
  {U : Matrix m (Fin (min (Fintype.card m) (Fintype.card n))) ๐•œ}
  {V : Matrix n (Fin (min (Fintype.card m) (Fintype.card n))) ๐•œ}
  (h : IsSVD A U (fun i โ†ฆ singularValues A โ†‘i) V) :
  toLex
      ((Module.finBasis โ„
            (Matrix m (Fin (min (Fintype.card m) (Fintype.card n))) ๐•œ ร—
              Matrix n (Fin (min (Fintype.card m) (Fintype.card n))) ๐•œ)).equivFun
        (svdU A, svdV A)) โ‰ค
    toLex
      ((Module.finBasis โ„
            (Matrix m (Fin (min (Fintype.card m) (Fintype.card n))) ๐•œ ร—
              Matrix n (Fin (min (Fintype.card m) (Fintype.card n))) ๐•œ)).equivFun
        (U, V))

Full source on GitHub

Import NLAlib.Matrix.Spectral.SVD.