NLA-lib Explorer

NLAlib.DeflationInv.conj

Library · theorem

A unitary similarity of an active block keeps the invariant: replacing the active block \mathbf{A}_r of the range r by \mathbf{U}_r^{\mathsf{H}}\mathbf{A}_r\mathbf{U}_r, with \mathbf{U}_r unitary and the result upper Hessenberg (a shifted QR step of the block).

NLAlib.DeflationInv.conj {n : ℕ} {H A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {ε : ℝ}
  {active done : List (ℕ × ℕ)} {out : Fin (n + 1) → ℂ} (h : DeflationInv H ε active done A out)
  {r : ℕ × ℕ} (hr : r ∈ active) {Ub : Matrix (Fin r.2) (Fin r.2) ℂ} (hU : HasOrthonormalCols Ub)
  (hHess : IsUpperHessenberg (Ubᴴ * subBlock A r * Ub)) :
  DeflationInv H ε active done (setSubBlock A r (Ubᴴ * subBlock A r * Ub)) out

Full source on GitHub

Import NLAlib.Matrix.QRIteration.HessenbergDeflation.