bookshelf/Common/Real/Int.lean

15 lines
244 B
Plaintext
Raw Normal View History

2023-05-08 19:18:12 +00:00
import Mathlib.Data.Real.Basic
2023-05-08 19:37:02 +00:00
/-! # Common.Real.Int
Additional theorems and definitions useful in the context of integers.
-/
2023-05-08 19:18:12 +00:00
namespace Real
/--
Check whether a real number is an integer.
-/
def isInt (x : ) := x = Int.floor x
end Real