NLA-lib Explorer

NLAlib.ShiftedQR.abs_pairVecNormWord_sub_le

Library · theorem

Standard rounding

The rounded Euclidean norm is accurate: under the standard model with 4(N + 2)\boldsymbol{u} \le 1, NLAlib.ShiftedQR.pairVecNormWord of \mathbf{r} \in \mathbb{C}^N is within (2N + 6)\boldsymbol{u}\|\mathbf{r}\| of \|\mathbf{r}\|.

NLAlib.ShiftedQR.abs_pairVecNormWord_sub_le {M : Ops.Machine ℝ} {u : ℝ} (hM : Ops.StdModel u id M)
  {N : ℕ} (hu : 4 * (↑N + 2) * u ≤ 1) (r : Fin N → ℂ) :
  |ShiftedQR.pairVecNormWord M r - ‖WithLp.toLp 2 r‖| ≤ (2 * ↑N + 6) * u * ‖WithLp.toLp 2 r‖

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedModuli.