NLA-lib Explorer

NLAlib.ShiftedQR.logb_inv_uShQR_le

Library · theorem

The bits of precision ([BanksGarzaVargasSrivastava2022, Theorem 1.4], corrected: the printed argument nB/(\delta\Gamma\varphi) is not invariant under scaling of \mathbf{H}, and Optimal's rounding constant, [BanksGarzaVargasSrivastava2022, Lemma 4.5], is kn^{3/2} in place of 2n^2): there are absolute constants c_1, c_2 such that for every order n + 1, B \ge 1, \Gamma > 0, 0 < \delta \le \Sigma, 0 < \varphi \le 1 and k the degree of (eqn:setk) at 4B, \log_2(1/\boldsymbol{u}_{\mathrm{ShQR}}) \le c_1 k \log_2\frac{4(n + 1)B\Sigma^2}{\delta\min(\Gamma, \Sigma)\varphi} + c_2. The argument is scale-invariant (\delta is an absolute error, so \Sigma^2/(\delta\Gamma), not \Sigma/(\delta\Gamma)) and at least 4; \min(\Gamma, \Sigma) covers n = 0, where the gap is vacuous and \Gamma unbounded (for n \ge 1, \Gamma \le 2\Sigma). The constants c_1 = 63 and c_2 = 0 suffice: \boldsymbol{u}_{\mathrm{ShQR}} is at least the argument to the power -(53k + 40) (NLAlib.ShiftedQR.one_le_uShQR_mul).

NLAlib.ShiftedQR.logb_inv_uShQR_le :
  ∃ c₁ c₂,
    ∀ {n k : ℕ} {B Γ S δ φ : ℝ},
      1 ≤ B →
        0 < Γ →
          0 < δ →
            δ ≤ S →
              0 < φ →
                φ ≤ 1 →
                  k = ShiftedQR.shqrDegree (4 * B) →
                    Real.logb 2 (ShiftedQR.uShQR n k B Γ S δ φ)⁻¹ ≤
                      c₁ * ↑k * Real.logb 2 (4 * (↑n + 1) * B * S ^ 2 / (δ * min Γ S * φ)) + c₂

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedTheorems.