Cast of integers into fields #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file concerns the canonical homomorphism ℤ → F, where F is a field.
Main results #
int.cast_div: ifndividesm, then↑(m / n) = ↑m / ↑n
@[norm_cast]
Auxiliary lemma for norm_cast to move the cast -↑n upwards to ↑-↑n.
(The restriction to division_ring is necessary, otherwise this would also apply in the case where
R = ℤ and cause nontermination.)