Some exiled lemmas about casting #
These lemmas have been removed from Mathlib.Data.Rat.Cast.Defs
to avoiding needing to import Mathlib.Algebra.Field.Basic
there.
In fact, these lemmas don't appear to be used anywhere in Mathlib, so perhaps this file can simply be deleted.
@[simp]
theorem
Rat.cast_ofScientific
{K : Type u_2}
[DivisionRing K]
(m : ℕ)
(s : Bool)
(e : ℕ)
:
↑(OfScientific.ofScientific m s e) = OfScientific.ofScientific m s e
Casting a scientific literal via ℚ
is the same as casting directly.
theorem
Nonneg.coe_ofScientific
{K : Type u_1}
[LinearOrderedField K]
(m : ℕ)
(s : Bool)
(e : ℕ)
:
↑(OfScientific.ofScientific m s e) = OfScientific.ofScientific m s e