NLA-lib Explorer

NLAlib.ShiftedQR.abs_rpow_inv_natCast_sub_le

Library · theorem

A relative perturbation under a root: if (1 - y)\mathbf{P} \le \mathbf{x} \le (1 + y)\mathbf{P} with \mathbf{P} \ge 0, 0 \le y \le 1/2 and p \ge 1, then \lvert \mathbf{x}^{1/p} - \mathbf{P}^{1/p}\rvert \le (2y/p)\,\mathbf{P}^{1/p}.

NLAlib.ShiftedQR.abs_rpow_inv_natCast_sub_le {x P y : ℝ} {p : ℕ} (hp : 0 < p) (hP : 0 ≤ P)
  (hy : 0 ≤ y) (hy2 : y ≤ 1 / 2) (hlo : (1 - y) * P ≤ x) (hhi : x ≤ (1 + y) * P) :
  |x ^ (↑p)⁻¹ - P ^ (↑p)⁻¹| ≤ 2 * y / ↑p * P ^ (↑p)⁻¹

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedModuli.