NLA-lib Explorer

NLAlib.Krylov.GolubKahan.Band.Certification.Good.storedProduct_eq_rsvd

Library · theorem

The stored factors of a good final memory are the randomized SVD approximation at the block Krylov matrix: if the memory satisfies the postcondition of a run for \mathbf{A} at the sizes (m, n, \mathbf{b}, q) on the tape τ, and \mathbf{\Omega} is the n \times \mathbf{b} block decoded from the window of the tape, then the stored product is \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.Certification.Good.storedProduct_eq_rsvd {stream : ℕ} {d : Fin 4 → ℕ}
  {A : Matrix (Fin (d 0)) (Fin (d 1)) ℝ} {τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ}
  (h : Krylov.GolubKahan.Band.Certification.Good stream d A τ μ) :
  Krylov.GolubKahan.Band.Certification.storedProduct (d 0) (d 1) (d 2) (d 3) μ =
    rsvd A
      (blockKrylovMatrix (Aᴴ * A) (Ops.decodeMatrix id (d 1) (d 2) (τ.window stream 0 (d 1 * d 2)))
        (d 3))

Full source on GitHub

Import NLAlib.Krylov.GolubKahan.Band.Certification.