Cast of integers into fields #
This file concerns the canonical homomorphism ℤ → F, where F is a field.
Main results #
Int.cast_div: ifndividesm, then↑(m / n) = ↑m / ↑n
Auxiliary lemma for norm_cast to move the cast -↑n upwards to ↑-↑n.
(The restriction to DivisionRing is necessary, otherwise this would also apply in the case where
R = ℤ and cause nontermination.)
@[simp]
theorem
Int.cast_div
{α : Type u_1}
[DivisionRing α]
{m n : ℤ}
(n_dvd : n ∣ m)
(hn : ↑n ≠ 0)
:
↑(m / n) = ↑m / ↑n