Real.roundNearest_roundNearest
Library · theorem
Rounding is idempotent for t \ge 1: \mathrm{fl}(\mathrm{fl}(\mathbf{x})) = \mathrm{fl}(\mathbf{x}), as \mathrm{fl}(\mathbf{x}) is on the grid. No printed source.
Real.roundNearest_roundNearest {t : ℕ} (ht : 0 < t) (x : ℝ) :
Real.roundNearest t (Real.roundNearest t x) = Real.roundNearest t xImport NLAlib.ForMathlib.Algebra.Order.Round.