NLA-lib Explorer

NLAlib.ShiftedQR.excRadius_window

Library · theorem

Standard rounding

The rounded exceptional radius is in the window of Exc ([BanksGarzaVargasSrivastava2022, line 1 of Exc]; the window keeps the factor 2^{1/k} of that line, which the paper's bound \tilde R \le 1.001\,\theta\alpha B^{1/k}\psi omits): on a machine with the standard model at 10^5k\boldsymbol{u} \le 1, k \ge 1, for p within 20\boldsymbol{u}, relatively, of \psi \ge 0 and X \ge 0, the rounded product \tilde R = \mathrm{fl}(2^{1/k}X \cdot p) satisfies 1.998^{1/k}X\psi \le \tilde R \le 2.002^{1/k}X\psi.

NLAlib.ShiftedQR.excRadius_window {M : Ops.Machine ℝ} {u : ℝ} (hM : Ops.StdModel u id M) {k : ℕ}
  (hk : 0 < k) (hku : 100000 * ↑k * u ≤ 1) {X ψ p : ℝ} (hX : 0 ≤ X) (hψ : 0 ≤ ψ)
  (hp : |p - ψ| ≤ 20 * u * ψ) :
  1.998 ^ (↑k)⁻¹ * X * ψ ≤ M.mul (2 ^ (↑k)⁻¹ * X) p ∧
    M.mul (2 ^ (↑k)⁻¹ * X) p ≤ 2.002 ^ (↑k)⁻¹ * X * ψ

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedShExc.