NLA-lib Explorer

NLAlib.ShiftedQR.shqrSchurError_le

Library · theorem

The error budget of the Schur-mode run: for B \ge 1, \Gamma > 0, 0 < \delta \le \Sigma, k the degree of (eqn:setk) at 4B, 0 \le \boldsymbol{u} \le \boldsymbol{u}_{\mathrm{ShQR}}, \boldsymbol{u} at most the replay term NLAlib.ShiftedQR.uShQRSchurReplay at n_p words and R_L leaf rotations, a leaf accumulator error \varepsilon_L \le (1 + 24\boldsymbol{u})^{R_L} - 1, a leaf backward error 0 \le \beta_L \le \delta_\mathbf{b} (NLAlib.SmallEig.forwardBackwardError k 4\Sigma at NLAlib.ShiftedQR.shqrSmallEigAccuracy), an order n' + 1 \le n + 1 and a log of n_s w \le NLAlib.ShiftedQR.shqrSchurLogSize entries, the per-round error of the worklist at N_0 = 2\Sigma, over 2(n' + 1) rounds, is at most the budget \min(\delta, \Gamma/(16(n + 1)B)) (NLAlib.ShiftedQR.shqrBudget): the cut level and the decoupler a third each, the replays, the leaf products and the leaf accumulators a quarter.

NLAlib.ShiftedQR.shqrSchurError_le {n n' k np RL : ℕ} {B Γ S δ φ u εL βL : ℝ} (hB : 1 ≤ B)
  (hΓ : 0 < Γ) (hδ : 0 < δ) (hδS : δ ≤ S) (hk : k = ShiftedQR.shqrDegree (4 * B)) (hu0 : 0 ≤ u)
  (hu : u ≤ ShiftedQR.uShQR n k B Γ S δ φ)
  (hur : u ≤ ShiftedQR.uShQRSchurReplay n k np (ShiftedQR.shqrCap n B Γ S δ) RL B Γ S δ)
  (hεLR : εL ≤ (1 + 24 * u) ^ RL - 1) (hβL0 : 0 ≤ βL)
  (hβL : βL ≤ SmallEig.forwardBackwardError k (4 * S) (ShiftedQR.shqrSmallEigAccuracy n B Γ S δ))
  (hn' : n' ≤ n) {ns w : ℕ}
  (hnsw : ns * w ≤ ShiftedQR.shqrSchurLogSize n k np (ShiftedQR.shqrCap n B Γ S δ)) :
  2 * (↑n' + 1) *
      (ShiftedQR.shqrCut n k B Γ S δ φ +
                ↑(ShiftedQR.shqrCap n B Γ S δ) *
                  ((1 + ShiftedQR.shqrC k (4 * B)) * (4 * S) *
                    ((1 + 300 * (↑n + 1) ^ 2 * u) ^ k - 1)) +
              βL +
            2 * εL * (2 * S) +
          78 * u * (↑ns * ↑w) * (2 * S) +
        8 * (↑n' + 1) * (↑k + 2) * u * (2 * S)) ≤
    ShiftedQR.shqrBudget n B Γ δ

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedTheorems.