NLA-lib Explorer

NLAlib.ShiftedQR.SchurShape.split

Library · theorem

A cut splits its range: writing an upper Hessenberg block on the popped range (lo, d + 1), replaying its log on the couplings and cutting the entry (lo + i + 1, lo + i) to the exact zero replaces the range by its two children, the right one pushed first.

NLAlib.ShiftedQR.SchurShape.split {n : ℕ} {rs done : List (ℕ × ℕ)} {lo d : ℕ}
  {A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ}
  (h : ShiftedQR.SchurShape n (rs ++ [(lo, d + 1)]) done A) {M : Ops.Machine ℝ} (hz : M.lit 0 = 0)
  {H' : Matrix (Fin (d + 1)) (Fin (d + 1)) ℂ} (hH' : IsUpperHessenberg H') {es : List GivensEntry}
  (hes : ∀ e ∈ es, e.1 + 1 < d + 1) (i : Fin d) :
  ShiftedQR.SchurShape n (rs ++ [(lo + ↑i + 1, d + 1 - ↑i - 1), (lo, ↑i + 1)]) done
    (ShiftedQR.decoupleUpdateMatrix M lo (d + 1) (↑i) es (setSubBlock A (lo, d + 1) H'))

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSolveSteps.