NLA-lib Explorer

NLAlib.ShiftedQR.AccumNear.step

Library · theorem

A near-unitary update of the stored accumulator: if it was within factor c with the matrix \mathbf{U}_1 and is now \mathbf{U}_2 within (\mathbf{b} - 1)\|\mathbf{U}_1\|_2 of \mathbf{U}_1\mathbf{W}, \mathbf{W} unitary, \mathbf{b} \ge 1 and c\mathbf{b} \le c', then it is within factor c'.

NLAlib.ShiftedQR.AccumNear.step {N : ℕ} {U U₁ U₂ W : Matrix (Fin N) (Fin N) ℂ} {c b c' : ℝ}
  {uo : ℕ × ℕ} {μ μ' : Ops.Mem ℝ} (h : ShiftedQR.AccumNear U c uo μ)
  (hU₁ : HoldsMatrix uo U₁ μ.store) (hU₂ : HoldsMatrix uo U₂ μ'.store) (hW : HasOrthonormalCols W)
  (hb : 1 ≤ b) (h₂ : specNorm (U₂ - U₁ * W) ≤ (b - 1) * specNorm U₁) (hc : c * b ≤ c') :
  ShiftedQR.AccumNear U c' uo μ'

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedWorklistTermination.