NLA-lib Explorer

NLAlib.BlockKrylov.storedProduct_eq_rbki

Library · theorem

The stored factors of a certified run are randomized block Krylov iteration: if a final 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{rbki}(\mathbf{A}, \mathbf{\Omega}, q)\,, for every matrix, every tape and every exact orthogonalization scheme.

NLAlib.BlockKrylov.storedProduct_eq_rbki {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) μ =
    rbki A (Ops.decodeMatrix id (d 1) (d 2) (τ.window stream 0 (d 1 * d 2))) (d 3)

Full source on GitHub

Import NLAlib.LowRank.BlockKrylov.Samples.