Casts of rational numbers into characteristic zero fields (or division rings). #
Stacks Tag 09FR (Characteristic zero case.)
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
Coercion ℚ → α
as a RingHom
.
Equations
- Rat.castHom α = { toFun := Rat.cast, map_one' := ⋯, map_mul' := ⋯, map_zero' := ⋯, map_add' := ⋯ }
Instances For
@[simp]
@[deprecated Rat.coe_castHom (since := "2024-07-22")]
Alias of Rat.coe_castHom
.
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
Coercion ℚ≥0 → α
as a RingHom
.
Equations
- NNRat.castHom α = { toFun := NNRat.cast, map_one' := ⋯, map_mul' := ⋯, map_zero' := ⋯, map_add' := ⋯ }
Instances For
@[simp]
theorem
NNRat.coe_castHom
{α : Type u_3}
[DivisionSemiring α]
[CharZero α]
:
⇑(castHom α) = NNRat.cast
@[simp]
@[simp]
@[simp]
@[simp]