NLA-lib Explorer

NLAlib.ShiftedQR.isPerturbedUnitarySimilar_machineColRotation

Library · theorem

Standard rounding

One rounded round of the shifted QR sweep is a perturbed unitary similarity: on a machine with the standard model at 0 \le \boldsymbol{u} \le 1/576, rotating the rows i \ne j of \mathbf{Z} and then its columns by the coefficients computed from (p, q) gives \mathbf{G}(\mathbf{Z} + \mathbf{E})\mathbf{G}^{\mathsf{H}} for the exact Givens rotation \mathbf{G} of (p, q), with \|\mathbf{E}\|_2 \le 49\boldsymbol{u}\|\mathbf{Z}\|_2 (NLAlib.ShiftedQR.specNorm_machineColRotation_sub_le). [Higham2002, Lemma 19.8].

NLAlib.ShiftedQR.isPerturbedUnitarySimilar_machineColRotation {M : Ops.Machine ℝ} {u : ℝ} {n : ℕ}
  {i j : Fin n} (hM : Ops.StdModel u id M) (hu : 0 ≤ u) (hu' : u ≤ 1 / 576) (hij : i ≠ j) (p q : ℂ)
  (Z : Matrix (Fin n) (Fin n) ℂ) :
  IsPerturbedUnitarySimilar Z
    (machineColRotation M i j (roundedGivensCoeffs M p q).1 (roundedGivensCoeffs M p q).2
      (machineRowRotation M i j (roundedGivensCoeffs M p q).1 (roundedGivensCoeffs M p q).2 Z))
    (49 * u * specNorm Z)

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.Backward.