NLA-lib Explorer

NLAlib.specNorm_sub_rotateTo_le

Library · theorem

The matrix part of NLAlib.exists_hasOrthonormalCols_rotateTo: rounded rotations of the rows and then the columns j, j + 1 by \mathbf{U}_j, each with relative error \eta per pair, keep \mathbf{A}_n within 8n\eta\|\mathbf{A}_0\|_2 of \mathbf{P}_n\mathbf{A}_0\mathbf{P}_n^{\mathsf{H}} for n\eta \le 1/8.

NLAlib.specNorm_sub_rotateTo_le {n : ℕ} {η : ℝ} (hη : 0 ≤ η) (hnη : ↑n * η ≤ 1 / 8) {cs : ℕ → ℂ × ℂ}
  {A U P : ℕ → Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} (hU : ∀ (j : ℕ), HasOrthonormalCols (U j))
  (hP0 : P 0 = 1) (hP : ∀ (j : ℕ), P (j + 1) = U j * P j)
  (hUj : ∀ (j : Fin n), U ↑j = givens j.castSucc j.succ (cs ↑j).1 (cs ↑j).2)
  (hA :
    ∀ (j : Fin n),
      ∃ A',
        IsRoundedRowRotation η j.castSucc j.succ (cs ↑j).1 (cs ↑j).2 (A ↑j) A' ∧
          IsRoundedColRotation η j.castSucc j.succ (cs ↑j).1 (cs ↑j).2 A' (A (↑j + 1))) :
  specNorm (A n - P n * A 0 * (P n)ᴴ) ≤ 8 * ↑n * η * specNorm (A 0)

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.GivensChain.