mathlib documentation

data.int.char_zero

Injectivity of int.cast into characteristic zero rings.

@[simp]
theorem int.cast_eq_zero {α : Type u_1} [add_group α] [has_one α] [char_zero α] {n : } :
n = 0 n = 0

@[simp]
theorem int.cast_inj {α : Type u_1} [add_group α] [has_one α] [char_zero α] {m n : } :
m = n m = n

theorem int.cast_injective {α : Type u_1} [add_group α] [has_one α] [char_zero α] :

theorem int.cast_ne_zero {α : Type u_1} [add_group α] [has_one α] [char_zero α] {n : } :
n 0 n 0