NLA-lib Explorer

Real.roundNearest_one

Library · theorem

One is on the grid of t \ge 1 bits, so rounding fixes it. No printed source.

Real.roundNearest_one {t : ℕ} (ht : 0 < t) : Real.roundNearest t 1 = 1

Full source on GitHub

Import NLAlib.ForMathlib.Algebra.Order.Round.