NLA-lib Explorer

NLAlib.exists_givens_mulVec_apply_eq_zero

Library Ā· theorem

Clearing an entry: for every vector \mathbf{x} and i \ne j there is a unitary Givens rotation (\lvert c \rvert^2 + \lvert s \rvert^2 = 1) that sends coordinate j to zero and coordinate i to \sqrt{\lvert \mathbf{x}_i \rvert^2 + \lvert \mathbf{x}_j \rvert^2}.

NLAlib.exists_givens_mulVec_apply_eq_zero.{u_1, u_3} {š•œ : Type u_1} [RCLike š•œ] {n : Type u_3}
  [Fintype n] [DecidableEq n] {i j : n} (hij : i ≠ j) (x : n → š•œ) :
  ∃ c s,
    ‖c‖ ^ 2 + ‖s‖ ^ 2 = 1 ∧
      (givens i j c s *ᵄ x) j = 0 ∧ (givens i j c s *ᵄ x) i = ā†‘āˆš(‖x i‖ ^ 2 + ‖x j‖ ^ 2)

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Givens.