NLA-lib Explorer

NLAlib.Schur.ResidualCheckOutcome.flag_eq_zero

Library · theorem

Standard rounding

An accurate Schur form passes the check: with the norm factors (15/16, 17/16), under the standard model at \boldsymbol{u} with 64(N + 1)^3\boldsymbol{u} \le 1, 0 \le \kappa \le 64(N + 1)^2\boldsymbol{u}, \theta \le 1 and 4096(N + 1)^3\boldsymbol{u} \le \theta, if \|\mathbf{U}^{\mathsf H}\mathbf{U} - \mathbf{I}\|_2 \le 1/2 and \|\mathbf{A}_0 - \mathbf{U}\mathbf{T}'\mathbf{U}^{\mathsf H}\|_{\mathsf F} \le (\theta/8)\|\mathbf{A}_0\|_{\mathsf F} for the upper part \mathbf{T}', the flag is 0.

NLAlib.Schur.ResidualCheckOutcome.flag_eq_zero {M : Ops.Machine ℝ} {u θ κ : ℝ} {N : ℕ}
  {A₀ U T : Matrix (Fin N) (Fin N) ℂ} {t f : ℕ × ℕ} {μ' : Ops.Mem ℝ} (hM : Ops.StdModel u id M)
  (h : Schur.ResidualCheckOutcome M (15 / 16) (17 / 16) θ κ A₀ U T t f μ')
  (hu : 64 * (↑N + 1) ^ 3 * u ≤ 1) (hκ0 : 0 ≤ κ) (hκ : κ ≤ 64 * (↑N + 1) ^ 2 * u) (hθ1 : θ ≤ 1)
  (huθ : 4096 * (↑N + 1) ^ 3 * u ≤ θ) (hUU : specNorm (Uᴴ * U - 1) ≤ 1 / 2)
  (hR : frobNorm (A₀ - U * Schur.upperPart T * Uᴴ) ≤ θ / 8 * frobNorm A₀) :
  μ'.store.get f.1 f.2 = some 0

Full source on GitHub

Import NLAlib.Eigensolvers.Schur.ResidualCheck.