NLAlib.exists_norm_single_sub_smul_le
Library · theorem
The scalar step of NLAlib.exists_hasOrthonormalCols_rotateTo: a vector \mathbf{v} of norm \gamma > 0 whose first n coordinates have norm t is, after a phase, within \sqrt2\,t/\gamma of \gamma\mathbf{e}_{n+1}, relatively.
NLAlib.exists_norm_single_sub_smul_le {n : ℕ} (v : Fin (n + 1) → ℂ) (hv : v ≠ 0) :
∃ c,
‖c‖ = 1 ∧
‖WithLp.toLp 2 (Pi.single (Fin.last n) 1 - (c * ↑‖WithLp.toLp 2 v‖⁻¹) • v)‖ ≤
√2 * (‖WithLp.toLp 2 fun i ↦ if ↑i < n then v i else 0‖ / ‖WithLp.toLp 2 v‖)Import NLAlib.Matrix.FinitePrecision.GivensChain.