The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.CharP.CharAndCard
6 declarations. Mathlib docs · Source
theorem isUnit_iff_not_dvd_char_of_ringChar_ne_zero E1 #
∀ (R : Type u_1) [inst : CommRing R] (p : ℕ) [Fact (Nat.Prime p)], ringChar R ≠ 0 → (IsUnit ↑p ↔ ¬p ∣ ringChar R)
A prime p is a unit in a commutative ring R of nonzero characteristic iff it does not divide
the characteristic.
theorem isUnit_iff_not_dvd_char E1 #
∀ (R : Type u_1) [inst : CommRing R] (p : ℕ) [Fact (Nat.Prime p)] [Finite R], IsUnit ↑p ↔ ¬p ∣ ringChar R
A prime p is a unit in a finite commutative ring R
iff it does not divide the characteristic.
theorem prime_dvd_char_iff_dvd_card E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Fintype R] (p : ℕ) [Fact (Nat.Prime p)],
p ∣ ringChar R ↔ p ∣ Fintype.card R
The prime divisors of the characteristic of a finite commutative ring are exactly the prime divisors of its cardinality.
theorem not_isUnit_prime_of_dvd_card E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : Fintype R] {p : ℕ} [Fact (Nat.Prime p)], p ∣ Fintype.card R → ¬IsUnit ↑p
A prime that divides the cardinality of a finite commutative ring R
isn't a unit in R.
theorem charP_of_card_eq_prime E1 #
∀ {R : Type u_1} [inst : NonAssocRing R] [inst_1 : Fintype R] {p : ℕ} [hp : Fact (Nat.Prime p)],
Fintype.card R = p → CharP R p
theorem charP_of_card_eq_prime_pow E1 #
∀ {R : Type u_1} [inst : CommRing R] [IsDomain R] [inst_2 : Fintype R] {p f : ℕ} [hp : Fact (Nat.Prime p)],
Fintype.card R = p ^ f → CharP R p