NLA-lib Explorer

NLAlib.FloatMachine.IsArithAccurate.decodeMatrix_negMat

Library · theorem

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

Entrywise negation is exact: the decoding of NLAlib.FloatMachine.negMat \mathbf{X} is -\bar{\mathbf{X}}.

NLAlib.FloatMachine.IsArithAccurate.decodeMatrix_negMat.{u_1, u_2, u_3} {F : Type u_1}
  {M : FloatMachine F ℝ ℂ} {dec : F → ℝ} {u τ Ω : ℝ} {μM : ℕ → ℝ}
  (hM : M.IsArithAccurate dec u τ Ω μM) {m : Type u_2} {n : Type u_3} (X : Matrix m n (F × F)) :
  decodeMatrix dec (M.negMat X) = -decodeMatrix dec X

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.EntrywiseRounding.