NLA-lib Explorer

NLAlib.ShiftedQR.decoupleUpdateMatrix_isPerturbedUnitarySimilarBy

Library · theorem

Standard rounding

The decoupling update as a witnessed step: on a machine with the standard model at 0 \le \boldsymbol{u} \le 1/100 and the exact literal 0, let \mathbf{A} of order n + 1 be block upper triangular for the three ranges around [lo, lo + d + 1) and let the new block \mathbf{H}' be a perturbed unitary similarity of the block of \mathbf{A} with error \varepsilon by the unitary \mathbf{V} of a log es of rotations inside the block. The decoupling update with the cut after the block row i < d with |h'_{i+1,i}| \le c is a perturbed unitary similarity of \mathbf{A} by \operatorname{diag}(\mathbf{I}, \mathbf{V}, \mathbf{I}) with error \varepsilon + ((1 + 24\boldsymbol{u})^{R} - 1)\|\mathbf{A}\|_2 + c, R the number of entries.

NLAlib.ShiftedQR.decoupleUpdateMatrix_isPerturbedUnitarySimilarBy {n : ℕ} {Mch : Ops.Machine ℝ}
  {u : ℝ} (hM : Ops.StdModel u id Mch) (hu0 : 0 ≤ u) (hu : u ≤ 1 / 100) (hz : Mch.lit 0 = 0)
  {lo d : ℕ} (hN : lo + (d + 1) ≤ n + 1) {A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ}
  (hA : IsRangeBlockTriangular lo (d + 1) A) {H' : Matrix (Fin (d + 1)) (Fin (d + 1)) ℂ}
  {es : List GivensEntry} (hes : ∀ e ∈ es, e.1 + 1 < d + 1) {ε c : ℝ}
  (hblk : IsPerturbedUnitarySimilarBy (givensLog (d + 1) es) (subBlock A (lo, d + 1)) H' ε)
  (i : Fin d) (hc : ‖H' i.succ i.castSucc‖ ≤ c) :
  IsPerturbedUnitarySimilarBy (embedBlock lo (givensLog (d + 1) es)) A
    (ShiftedQR.decoupleUpdateMatrix Mch lo (d + 1) (↑i) es (setSubBlock A (lo, d + 1) H'))
    (ε + ((1 + 24 * u) ^ es.length - 1) * specNorm A + c)

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSolveSteps.