NLA-lib Explorer

NLAlib.FloatMachine.IsArithAccurate.specNorm_sub_decodeMatrix_hermShift_le

Library · theorem

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

Error of the stored shift: under NLAlib.FloatMachine.IsArithAccurate with u \ge 0, for a stored \mathbf{X} with Hermitian decoding \bar{\mathbf{X}} and a stored c with \|\bar{\mathbf{X}} - \bar c\mathbf{I}\|_2 \le \Omega, \|(\bar{\mathbf{X}} - \bar c\mathbf{I}) - \overline{\mathrm{hermShift}(\mathbf{X}, c)}\|_2 \le u\max(\|\bar{\mathbf{X}} - \bar c\mathbf{I}\|_2, \tau) \,. The error is diagonal, so its norm is its largest entry, as [Shah2024, proof of Lemma 2.1] notes; the mirrored entries are exact because \bar{\mathbf{X}} is Hermitian.

NLAlib.FloatMachine.IsArithAccurate.specNorm_sub_decodeMatrix_hermShift_le.{u_1} {F : Type u_1}
  {M : FloatMachine F ℝ ℂ} {dec : F → ℝ} {u τ Ω : ℝ} {μM : ℕ → ℝ}
  (hM : M.IsArithAccurate dec u τ Ω μM) (hu : 0 ≤ u) {k : ℕ} {X : Matrix (Fin k) (Fin k) (F × F)}
  (hX : (decodeMatrix dec X).IsHermitian) (c : F)
  (hΩ : specNorm (decodeMatrix dec X - dec c • 1) ≤ Ω) :
  specNorm (decodeMatrix dec X - dec c • 1 - decodeMatrix dec (M.hermShift X c)) ≤
    u * max (specNorm (decodeMatrix dec X - dec c • 1)) τ

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.EntrywiseRounding.