Characteristic of semirings
@[class]
The generator of the kernel of the unique homomorphism ℕ → α for a semiring α
@[simp]
theorem
frobenius_inj
(α : Type u)
[integral_domain α]
(p : ℕ)
[fact (nat.prime p)]
[char_p α p] :
function.injective ⇑(frobenius α p)
theorem
char_p.char_is_prime_of_two_le
(α : Type u)
[integral_domain α]
(p : ℕ)
[hc : char_p α p]
(hp : 2 ≤ p) :
theorem
char_p.char_is_prime_of_pos
(α : Type u)
[integral_domain α]
(p : ℕ)
[h : fact (0 < p)]
[char_p α p] :
@[instance]
theorem
char_p.false_of_nontrivial_of_char_one
{R : Type u_1}
[semiring R]
[nontrivial R]
[char_p R 1] :
theorem
char_p.nontrivial_of_char_ne_one
{v : ℕ}
(hv : v ≠ 1)
{R : Type u_1}
[semiring R]
[hr : char_p R v] :