NLA-lib Explorer

NLAlib.Krylov.GolubKahan.Band.StoredOut.mul_conjTranspose_mul_conjTranspose_eq_rsvd

Library · theorem

The output words of the program under the exact contracts decode to the randomized SVD approximation at the block Krylov matrix. If the tape window ω and the words us, vs, gs, rs, ss of the five output blocks decode to an exact run for \mathbf{A}, with \mathbf{\Omega}, \mathbf{U}, \mathbf{V} the decoded ω, us, vs and \mathbf{S} assembled from the packed block columns decoded from ss, then \mathbf{U}\mathbf{S}^{\mathsf{H}}\mathbf{V}^{\mathsf{H}} = \mathsf{rsvd}(\mathbf{A}, [\mathbf{\Omega}, \mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{\Omega}, \dots, (\mathbf{A}^{\mathsf{H}}\mathbf{A})^{q-1}\mathbf{\Omega}]).

NLAlib.Krylov.GolubKahan.Band.StoredOut.mul_conjTranspose_mul_conjTranspose_eq_rsvd {m n b q : ℕ}
  {A : Matrix (Fin m) (Fin n) ℝ} {K : Type} [Inhabited K] {dec : K → ℝ} {ω us vs gs rs ss : List K}
  (h :
    Krylov.GolubKahan.Band.StoredOut dec m n b q (Krylov.GolubKahan.Band.IsExactStoredRun A b q) ω
      us vs gs rs ss) :
  Ops.decodeMatrix dec m (q * b) us *
        (Krylov.GolubKahan.Band.assembleRight b q fun j ↦
            Ops.decodeMatrix dec ((j + 1) * b + b) b
              (List.drop (Krylov.GolubKahan.Band.coefOffsetS b j) ss))ᴴ *
      (Ops.decodeMatrix dec n ((q + 1) * b) vs)ᴴ =
    rsvd A (blockKrylovMatrix (Aᴴ * A) (Ops.decodeMatrix dec n b ω) q)

Full source on GitHub

Import NLAlib.Krylov.GolubKahan.Band.Run.