NLA-lib Explorer

NLAlib.exists_unitary_multiShiftedQRStep

Library · theorem

The multi-shift QR step is a unitary similarity: \mathsf{multiShiftedQRStep}(\mathbf{H}, \mathrm{ss}) = \mathbf{U}^{\mathsf{H}}\mathbf{H}\mathbf{U} for a unitary \mathbf{U} (the product of the unitary factors of the single steps).

NLAlib.exists_unitary_multiShiftedQRStep {n : ℕ} (H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ)
  (ss : List ℂ) : ∃ U, HasOrthonormalCols U ∧ multiShiftedQRStep H ss = Uᴴ * H * U

Full source on GitHub

Import NLAlib.Matrix.QRIteration.ShiftSearch.