NLA-lib Explorer

NLAlib.FloatMachine.IsArithAccurate.specNorm_sub_decodeMatrix_hermScale_le

Library · theorem

This statement changed in the recorded rename: 2026-11-eigh-followups.

Error of the stored division by a scalar: under NLAlib.FloatMachine.IsArithAccurate with u, \tau \ge 0, for a stored \mathbf{X} with Hermitian decoding and a stored c with \bar c \ne 0 and \|\bar{\mathbf{X}}\|_2/\lvert\bar c\rvert \le \Omega, with \mathbf{Z} = \bar{\mathbf{X}}/\bar c, \|\mathbf{Z} - \overline{\mathrm{hermScale}(\mathbf{X}, c)}\|_2 \le u\bigl(\sqrt k\,\|\mathbf{Z}\|_2 + 2k\tau\bigr) \,.

NLAlib.FloatMachine.IsArithAccurate.specNorm_sub_decodeMatrix_hermScale_le.{u_1} {F : Type u_1}
  {M : FloatMachine F ℝ ℂ} {dec : F → ℝ} {u τ Ω : ℝ} {μM : ℕ → ℝ}
  (hM : M.IsArithAccurate dec u τ Ω μM) (hu : 0 ≤ u) (hτ : 0 ≤ τ) {k : ℕ}
  {X : Matrix (Fin k) (Fin k) (F × F)} (hX : (decodeMatrix dec X).IsHermitian) {c : F}
  (hc : dec c ≠ 0) (hΩ : specNorm (decodeMatrix dec X) / |dec c| ≤ Ω) :
  specNorm ((dec c)⁻¹ • decodeMatrix dec X - decodeMatrix dec (M.hermScale X c)) ≤
    u * (√↑k * specNorm ((dec c)⁻¹ • decodeMatrix dec X) + 2 * ↑k * τ)

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.EntrywiseRounding.