Additional lemmas about the Rational Numbers #
@[simp]
ofScientific
#
@[simp]
Rat.ofScientific
applied to numeric literals is the same as a scientific literal.
intCast
#
The following lemmas are later subsumed by e.g. Int.cast_add
and Int.cast_mul
in Mathlib
but it is convenient to have these earlier, for users who only need Int
and Rat
.