bookshelf/Common/Real/Int.lean

15 lines
244 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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