NLA-lib Explorer

NLAlib.Ops.Float64.decode_add_of_decode_zero

Library · theorem

An accumulation starting from decoded zero preserves the other decoded word exactly. This includes the subnormal range and makes no equality claim about signed-zero bit patterns.

NLAlib.Ops.Float64.decode_add_of_decode_zero (a b : Computation.FiniteFloat)
  (h : Ops.Float64.decode a = 0) :
  Ops.Float64.decode (Ops.Float64.machine.add a b) = Ops.Float64.decode b

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsFloat.