NLA-lib Explorer

NLAlib.exists_isUnit_mul_eq_mul_diagonal_multiShiftedQRStep

Library · theorem

The multi-shift QR step carries the eigenvector matrix: if \mathbf{H}\mathbf{V} = \mathbf{V}\operatorname{diag}(\mathbf{d}) with \mathbf{V} invertible, then \widehat{\mathbf{H}} = \mathsf{multiShiftedQRStep}(\mathbf{H}, \mathrm{ss}) has \widehat{\mathbf{H}}\mathbf{V}' = \mathbf{V}'\operatorname{diag}(\mathbf{d}) for an invertible \mathbf{V}' with the same condition number, \|\mathbf{V}'\|_2\|\mathbf{V}'^{-1}\|_2 = \|\mathbf{V}\|_2\|\mathbf{V}^{-1}\|_2; so \kappa_V is invariant along the iteration. [BanksGarzaVargasSrivastava2021, §4].

NLAlib.exists_isUnit_mul_eq_mul_diagonal_multiShiftedQRStep {n : ℕ}
  {H V : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {d : Fin (n + 1) → ℂ} (hV : IsUnit V)
  (hHV : H * V = V * diagonal d) (ss : List ℂ) :
  ∃ V',
    IsUnit V' ∧
      multiShiftedQRStep H ss * V' = V' * diagonal d ∧
        pseudoConditionNumber V' = pseudoConditionNumber V

Full source on GitHub

Import NLAlib.Matrix.QRIteration.ShiftedQR.