NLA-lib Explorer

NLAlib.ShiftedQR.norm_toLp_rowMulVec_sub_le

Library · theorem

Standard rounding

One rounded step of the row recurrence, as a relative error: under the standard model with 0 \le \boldsymbol{u} \le 1/100 and 5N\boldsymbol{u} \le 1 (N = n + 1), for a shift \lvert s\rvert \le C\|\mathbf{H}\|_2 the vector rowShiftStep stores, \widehat{\mathbf{r}}' = rowMulVec M (1, 0) r (machineShiftedPrefix M H s N), satisfies \|\widehat{\mathbf{r}}' - \mathbf{r}^{\mathsf{T}}(\mathbf{H} - s)\| \le 12N^{3/2}\boldsymbol{u}\,(1 + C)\|\mathbf{H}\|_2\,\|\mathbf{r}\|. [BanksGarzaVargasSrivastava2022, Lemma 4.5], with the shift rounded.

NLAlib.ShiftedQR.norm_toLp_rowMulVec_sub_le {M : Ops.Machine ℝ} {u C : ℝ} (hM : Ops.StdModel u id M)
  (hu : 0 ≤ u) (hu' : u ≤ 1 / 100) {n : ℕ} (hNu : 5 * ↑(n + 1) * u ≤ 1)
  {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {s : ℂ} (hs : ‖s‖ ≤ C * specNorm H)
  (r : Fin (n + 1) → ℂ) :
  ‖WithLp.toLp 2
        (ShiftedQR.rowMulVec M (1, 0) r (ShiftedQR.machineShiftedPrefix M H s (n + 1)) -
          r ᵥ* (H - s • 1))‖ ≤
    12 * (↑(n + 1) * √↑(n + 1) * u) * ((1 + C) * specNorm H) * ‖WithLp.toLp 2 r‖

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedRowPoly.