NLA-lib Explorer

NLAlib.SmallEig.rhess_class

Library · theorem

The class and the weights after RHess: let \mathbf{A}\mathbf{V} = \mathbf{V}\operatorname{diag}(\mathbf{d}) with \|\mathbf{V}\|_2\|\mathbf{V}^{-1}\|_2 \le B, eigenvalues separated by g > 0 and \|\mathbf{A}\|_2 \le \Sigma; let \mathbf{Q} be unitary with last column \mathbf{q} satisfying \lvert\mathbf{q}^{\mathsf{H}}\mathbf{v}_i\rvert \ge (s/(2R))\|\mathbf{v}_i\| for e\mathbf{v}ery column \mathbf{v}_i of \mathbf{V}, and \|\widehat{\mathbf{H}} - \mathbf{Q}^{\mathsf{H}}\mathbf{A}\mathbf{Q}\|_2 \le \varepsilon \le \min(g/(32(n + 1)B), sg/(1024(n + 1)B^2R)). Then \widehat{\mathbf{H}} has a diagonalization with condition at most 2B, separation g/2 and last-row weights at least s^2/(64R^2B^2): the eigenvectors \mathbf{Q}^{\mathsf{H}}\mathbf{V}(\mathbf{I} + \mathbf{Z}) with \|\mathbf{Z}\|_2 \le 2\sqrt{n + 1}\,B\varepsilon/g (NLAlib.exists_add_mul_mul_one_add_eq_mul_diagonal), and the weights transferred by NLAlib.sqrt_lastRowWeights_le_mul_one_add.

NLAlib.SmallEig.rhess_class {n : ℕ} {A V H Q : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ}
  {d : Fin (n + 1) → ℂ} {B g s R ε : ℝ} (hV : IsUnit V) (hAV : A * V = V * diagonal d)
  (hκ : pseudoConditionNumber V ≤ B) (hg : 0 < g)
  (hgap : ∀ (i j : Fin (n + 1)), i ≠ j → g ≤ ‖d i - d j‖) (hs : 0 < s) (hR : 0 < R)
  (hQ : HasOrthonormalCols Q)
  (hqv :
    ∀ (i : Fin (n + 1)),
      s / (2 * R) * ‖WithLp.toLp 2 fun k ↦ V k i‖ ≤
        ‖(star fun k ↦ Q k (Fin.last n)) ⬝ᵥ fun k ↦ V k i‖)
  (hH : specNorm (H - Qᴴ * A * Q) ≤ ε)
  (hε : ε ≤ min (g / (32 * (↑n + 1) * B)) (s * g / (1024 * (↑n + 1) * B ^ 2 * R))) :
  ∃ V' d',
    IsUnit V' ∧
      H * V' = V' * diagonal d' ∧
        pseudoConditionNumber V' ≤ 2 * B ∧
          (∀ (i j : Fin (n + 1)), i ≠ j → g / 2 ≤ ‖d' i - d' j‖) ∧
            ∀ (i : Fin (n + 1)), s ^ 2 / (64 * R ^ 2 * B ^ 2) ≤ lastRowWeights V' i

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.RandomHessenbergWeights.