NLA-lib Explorer

NLAlib.Ops.StdModel.norm_roundedGivensCoeffs_sub_le

Library · theorem

Standard rounding

Rounded Givens coefficients: under the standard model with 0 \le \boldsymbol{u} \le 1/100, each computed coefficient is within 4\boldsymbol{u} of the exact one, relatively: \lvert\tilde c - c\rvert \le 4\boldsymbol{u}\lvert c\rvert and \lvert\tilde s - s\rvert \le 4\boldsymbol{u}\lvert s\rvert. [Higham2002, Lemma 19.7].

NLAlib.Ops.StdModel.norm_roundedGivensCoeffs_sub_le {M : Ops.Machine ℝ} {u : ℝ}
  (hM : Ops.StdModel u id M) (hu : 0 ≤ u) (hu' : u ≤ 1 / 100) (x y : ℂ) :
  ‖(roundedGivensCoeffs M x y).1 - (givensCoeffs x y).1‖ ≤ 4 * u * ‖(givensCoeffs x y).1‖ ∧
    ‖(roundedGivensCoeffs M x y).2 - (givensCoeffs x y).2‖ ≤ 4 * u * ‖(givensCoeffs x y).2‖

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.GivensRounded.