NLA-lib Explorer

Float.Model.UnpackedFloat.ExtendedMantissa.Approximates.shiftRightOne

Library · theorem

Shifting an extended mantissa right once preserves its description after division by two.

Float.Model.UnpackedFloat.ExtendedMantissa.Approximates.shiftRightOne
  {em : Float.Model.UnpackedFloat.ExtendedMantissa} {w : ℝ} (h : em.Approximates w) :
  em.shiftRightOne.Approximates (w / 2)

Full source on GitHub

Import NLAlib.ForMathlib.Data.Float.Mantissa.