NLA-lib Explorer

NLAlib.exists_orthogonal_mulVec_eq_specNorm_sub_one_le

Library · theorem

A rotation taking one unit vector to another: for unit vectors \mathbf{x}, \mathbf{y} the orthogonal \mathbf{Z} = \mathbf{H}_{\mathbf{x}+\mathbf{y}}\mathbf{H}_{\mathbf{x}} (two reflectors, NLAlib.householder; the identity on \{\mathbf{x}, \mathbf{y}\}^\perp) satisfies \mathbf{Z}\mathbf{x} = \mathbf{y}, \|\mathbf{Z} - \mathbf{I}\|_2 \le \|\mathbf{x} - \mathbf{y}\| and \|\mathbf{Z} - \mathbf{I}\|_{\mathsf F} \le \sqrt2\|\mathbf{x} - \mathbf{y}\| (a single reflector has \|\mathbf{H} - \mathbf{I}\|_2 = 2).

NLAlib.exists_orthogonal_mulVec_eq_specNorm_sub_one_le {n : ℕ} {x y : Fin n → ℝ}
  (hx : ‖WithLp.toLp 2 x‖ = 1) (hy : ‖WithLp.toLp 2 y‖ = 1) :
  ∃ Z,
    Zᵀ * Z = 1 ∧
      Z *ᵥ x = y ∧
        specNorm (Z - 1) ≤ ‖WithLp.toLp 2 (x - y)‖ ∧ frobNorm (Z - 1) ≤ √2 * ‖WithLp.toLp 2 (x - y)‖

Full source on GitHub

Import NLAlib.Matrix.Perturbation.SymmetricBackward.