NLA-lib Explorer

NLAlib.Computation.val_eq_of_fixedPointPack

Library · theorem

A successful checked integer store retains exactly the supplied integer.

NLAlib.Computation.val_eq_of_fixedPointPack {limit : ℕ} {m : ℤ} {w : Computation.FixedPoint limit}
  (h : Computation.fixedPointPack limit m = some w) : ↑w = m

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.FixedPoint.