NLA-lib Explorer

NLAlib.Ops.BinaryQuantized.decode_lit_zero

Library · theorem

Every certified nearest tie policy rounds literal zero to exactly zero.

NLAlib.Ops.BinaryQuantized.decode_lit_zero (fmt : Float.Model.Format) {r : ℝ → ℤ}
  (hr : ∀ (x : ℝ), Computation.AbsRelErr 0 (1 / 2) x ↑(r x)) :
  (Ops.BinaryQuantized.machine fmt r).lit 0 = 0

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsBinaryFloat.