mathlib documentation

data.int.char_zero

Injectivity of int.cast into characteristic zero rings and fields. #

@[simp]
theorem int.cast_eq_zero {α : Type u_1} [add_group_with_one α] [char_zero α] {n : } :
n = 0 n = 0
@[simp, norm_cast]
theorem int.cast_inj {α : Type u_1} [add_group_with_one α] [char_zero α] {m n : } :
m = n m = n
theorem int.cast_ne_zero {α : Type u_1} [add_group_with_one α] [char_zero α] {n : } :
n 0 n 0
@[simp, norm_cast]
theorem int.cast_div_char_zero {k : Type u_1} [field k] [char_zero k] {m n : } (n_dvd : n m) :
(m / n) = m / n
theorem ring_hom.injective_int {α : Type u_1} [non_assoc_ring α] (f : →+* α) [char_zero α] :