NLA-lib Explorer

NLAlib.not_isOptimalRitzValues_of_le

Library · theorem

The optimality test with a computed norm, negative branch (Optimal, [BanksGarzaVargasSrivastava2022, Lemma 4.5]): if t \ge 0.999(\theta\psi_k)^k with the same accuracy, positive \theta and potential, and at least one shift, the shifts are not 0.998^{1/k}\theta-optimal.

NLAlib.not_isOptimalRitzValues_of_le {n : ℕ} {θ t : ℝ} {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ}
  {ss : List ℂ} (hθ : 0 < θ) (hψ : 0 < hessenbergPotential ss.length H) (hss : ss ≠ [])
  (ht :
    |t - ‖WithLp.toLp 2 ((Polynomial.aeval H) (shiftPoly ss) (Fin.last n))‖| ≤
      9e-4 * (θ * hessenbergPotential ss.length H) ^ ss.length)
  (hle : 0.999 * (θ * hessenbergPotential ss.length H) ^ ss.length ≤ t) :
  ¬IsOptimalRitzValues (0.998 ^ (↑ss.length)⁻¹ * θ) H ss

Full source on GitHub

Import NLAlib.Matrix.QRIteration.RoundedStrategy.