NLAlib.ShiftedQR.abs_sqrt_sumNormSq_sub_le
Library · theorem
Standard rounding
The rounded Euclidean norm of k complex numbers: under the standard model with 4(k + 2)\boldsymbol{u} \le 1, the machine square root of the rounded sum of the exact literal 0 and the machine squared moduli of z_0, \dots, z_{k-1} is within (2k + 6)\boldsymbol{u}, relatively, of \bigl(\sum_{j<k}\lvert z_j\rvert^2\bigr)^{1/2}.
NLAlib.ShiftedQR.abs_sqrt_sumNormSq_sub_le {M : Ops.Machine ℝ} {u : ℝ} (hM : Ops.StdModel u id M)
(z : ℕ → ℂ) {k : ℕ} (hu : 4 * (↑k + 2) * u ≤ 1) :
|M.sqrt (ShiftedQR.foldWords M.add (ShiftedQR.normSqFactors M (M.lit 0) z) k) -
√(∑ j ∈ Finset.range k, ‖z j‖ ^ 2)| ≤
(2 * ↑k + 6) * u * √(∑ j ∈ Finset.range k, ‖z j‖ ^ 2)Import NLAlib.Eigensolvers.ShiftedQR.RoundedModuli.