NLA-lib Explorer

NLAlib.exists_norm_conjTranspose_col_sub_le

Library · theorem

The vector part of NLAlib.exists_hasOrthonormalCols_rotateTo: along the rotations \mathbf{U}_j that zero the computed vectors one coordinate at a time, the last column of \mathbf{P}_n^{\mathsf{H}}, \mathbf{P}_n = \mathbf{U}_{n-1}\cdots\mathbf{U}_0, is within 5n\eta of the direction of \mathbf{g}^{(0)}, up to a phase.

NLAlib.exists_norm_conjTranspose_col_sub_le {n : ℕ} {η : ℝ} (hη : 0 ≤ η) (hnη : ↑n * η ≤ 1 / 8)
  {cs : ℕ → ℂ × ℂ} {g : ℕ → Fin (n + 1) → ℂ} {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)
  (hcs : ∀ (j : Fin n), cs ↑j = givensCoeffs (star (g (↑j) j.succ)) (-star (g (↑j) j.castSucc)))
  (hg : ∀ (j : Fin n), ‖WithLp.toLp 2 (g (↑j + 1) - U ↑j *ᵥ g ↑j)‖ ≤ η * ‖WithLp.toLp 2 (g ↑j)‖)
  (hg0 : g 0 ≠ 0) :
  ∃ c,
    ‖c‖ = 1 ∧
      ‖WithLp.toLp 2 ((fun k ↦ (P n)ᴴ k (Fin.last n)) - (c * ↑‖WithLp.toLp 2 (g 0)‖⁻¹) • g 0)‖ ≤
        5 * ↑n * η

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.GivensChain.