The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.CharP.Lemmas
53 declarations. Mathlib docs · Source
theorem Commute.add_pow_prime_pow_eq' E1 #
∀ {R : Type u_1} [inst : Semiring R] {p : ℕ},
Nat.Prime p →
∀ {x y : R},
Commute x y →
∀ (n : ℕ),
(x + y) ^ p ^ n =
x ^ p ^ n + y ^ p ^ n + ↑p * ∑ k ∈ Finset.Ioo 0 (p ^ n), x ^ k * y ^ (p ^ n - k) * ↑((p ^ n).choose k / p)
theorem Commute.add_pow_prime_pow_eq E0 #
∀ {R : Type u_1} [inst : Semiring R] {p : ℕ},
Nat.Prime p →
∀ {x y : R},
Commute x y →
∀ (n : ℕ),
(x + y) ^ p ^ n =
x ^ p ^ n + y ^ p ^ n +
↑p * x * y * ∑ k ∈ Finset.Ioo 0 (p ^ n), x ^ (k - 1) * y ^ (p ^ n - k - 1) * ↑((p ^ n).choose k / p)
theorem Commute.add_pow_prime_eq' E1 #
∀ {R : Type u_1} [inst : Semiring R] {p : ℕ},
Nat.Prime p →
∀ {x y : R},
Commute x y → (x + y) ^ p = x ^ p + y ^ p + ↑p * ∑ k ∈ Finset.Ioo 0 p, x ^ k * y ^ (p - k) * ↑(p.choose k / p)
theorem Commute.add_pow_prime_eq E0 #
∀ {R : Type u_1} [inst : Semiring R] {p : ℕ},
Nat.Prime p →
∀ {x y : R},
Commute x y →
(x + y) ^ p =
x ^ p + y ^ p + ↑p * x * y * ∑ k ∈ Finset.Ioo 0 p, x ^ (k - 1) * y ^ (p - k - 1) * ↑(p.choose k / p)
theorem Commute.exists_add_pow_prime_pow_eq E0 #
∀ {R : Type u_1} [inst : Semiring R] {p : ℕ},
Nat.Prime p → ∀ {x y : R}, Commute x y → ∀ (n : ℕ), ∃ r, (x + y) ^ p ^ n = x ^ p ^ n + y ^ p ^ n + ↑p * x * y * r
theorem Commute.exists_add_pow_prime_eq E0 #
∀ {R : Type u_1} [inst : Semiring R] {p : ℕ},
Nat.Prime p → ∀ {x y : R}, Commute x y → ∃ r, (x + y) ^ p = x ^ p + y ^ p + ↑p * x * y * r
theorem add_pow_prime_pow_eq' E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {p : ℕ},
Nat.Prime p →
∀ (x y : R) (n : ℕ),
(x + y) ^ p ^ n =
x ^ p ^ n + y ^ p ^ n + ↑p * ∑ k ∈ Finset.Ioo 0 (p ^ n), x ^ k * y ^ (p ^ n - k) * ↑((p ^ n).choose k / p)
theorem add_pow_prime_pow_eq E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {p : ℕ},
Nat.Prime p →
∀ (x y : R) (n : ℕ),
(x + y) ^ p ^ n =
x ^ p ^ n + y ^ p ^ n +
↑p * x * y * ∑ k ∈ Finset.Ioo 0 (p ^ n), x ^ (k - 1) * y ^ (p ^ n - k - 1) * ↑((p ^ n).choose k / p)
theorem add_pow_prime_eq' E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {p : ℕ},
Nat.Prime p →
∀ (x y : R), (x + y) ^ p = x ^ p + y ^ p + ↑p * ∑ k ∈ Finset.Ioo 0 p, x ^ k * y ^ (p - k) * ↑(p.choose k / p)
theorem add_pow_prime_eq E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {p : ℕ},
Nat.Prime p →
∀ (x y : R),
(x + y) ^ p = x ^ p + y ^ p + ↑p * x * y * ∑ k ∈ Finset.Ioo 0 p, x ^ (k - 1) * y ^ (p - k - 1) * ↑(p.choose k / p)
theorem exists_add_pow_prime_pow_eq E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {p : ℕ},
Nat.Prime p → ∀ (x y : R) (n : ℕ), ∃ r, (x + y) ^ p ^ n = x ^ p ^ n + y ^ p ^ n + ↑p * x * y * r
theorem exists_add_pow_prime_eq E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {p : ℕ},
Nat.Prime p → ∀ (x y : R), ∃ r, (x + y) ^ p = x ^ p + y ^ p + ↑p * x * y * r
theorem add_pow_expChar_of_commute E1 #
∀ {R : Type u_1} [inst : Semiring R] {x y : R} (p : ℕ) [hR : ExpChar R p], Commute x y → (x + y) ^ p = x ^ p + y ^ p
theorem add_pow_expChar_pow_of_commute E1 #
∀ {R : Type u_1} [inst : Semiring R] {x y : R} (p n : ℕ) [hR : ExpChar R p],
Commute x y → (x + y) ^ p ^ n = x ^ p ^ n + y ^ p ^ n
theorem add_pow_eq_mul_pow_add_pow_div_expChar_of_commute E1 #
∀ {R : Type u_1} [inst : Semiring R] {x y : R} (p n : ℕ) [hR : ExpChar R p],
Commute x y → (x + y) ^ n = (x + y) ^ (n % p) * (x ^ p + y ^ p) ^ (n / p)
theorem add_pow_char_of_commute E1 #
∀ {R : Type u_1} [inst : Semiring R] {x y : R} (p : ℕ) [hp : Fact (Nat.Prime p)] [CharP R p],
Commute x y → (x + y) ^ p = x ^ p + y ^ p
theorem add_pow_char_pow_of_commute E1 #
∀ {R : Type u_1} [inst : Semiring R] {x y : R} (p n : ℕ) [hp : Fact (Nat.Prime p)] [CharP R p],
Commute x y → (x + y) ^ p ^ n = x ^ p ^ n + y ^ p ^ n
theorem add_pow_eq_mul_pow_add_pow_div_char_of_commute E1 #
∀ {R : Type u_1} [inst : Semiring R] {x y : R} (p n : ℕ) [hp : Fact (Nat.Prime p)] [CharP R p],
Commute x y → (x + y) ^ n = (x + y) ^ (n % p) * (x ^ p + y ^ p) ^ (n / p)
theorem add_pow_expChar E1 #
∀ {R : Type u_1} [inst : CommSemiring R] (x y : R) (p : ℕ) [hR : ExpChar R p], (x + y) ^ p = x ^ p + y ^ p
theorem add_pow_expChar_pow E1 #
∀ {R : Type u_1} [inst : CommSemiring R] (x y : R) (p n : ℕ) [hR : ExpChar R p], (x + y) ^ p ^ n = x ^ p ^ n + y ^ p ^ n
theorem add_pow_eq_mul_pow_add_pow_div_expChar E1 #
∀ {R : Type u_1} [inst : CommSemiring R] (x y : R) (p n : ℕ) [hR : ExpChar R p],
(x + y) ^ n = (x + y) ^ (n % p) * (x ^ p + y ^ p) ^ (n / p)
theorem add_pow_char E1 #
∀ {R : Type u_1} [inst : CommSemiring R] (x y : R) (p : ℕ) [hp : Fact (Nat.Prime p)] [CharP R p],
(x + y) ^ p = x ^ p + y ^ p
theorem add_pow_char_pow E1 #
∀ {R : Type u_1} [inst : CommSemiring R] (x y : R) (p n : ℕ) [hp : Fact (Nat.Prime p)] [CharP R p],
(x + y) ^ p ^ n = x ^ p ^ n + y ^ p ^ n
theorem add_pow_eq_mul_pow_add_pow_div_char E1 #
∀ {R : Type u_1} [inst : CommSemiring R] (x y : R) (p n : ℕ) [hp : Fact (Nat.Prime p)] [CharP R p],
(x + y) ^ n = (x + y) ^ (n % p) * (x ^ p + y ^ p) ^ (n / p)
theorem sub_pow_expChar_of_commute E1 #
∀ {R : Type u_1} [inst : Ring R] {x y : R} (p : ℕ) [hR : ExpChar R p], Commute x y → (x - y) ^ p = x ^ p - y ^ p
theorem sub_pow_expChar_pow_of_commute E1 #
∀ {R : Type u_1} [inst : Ring R] {x y : R} (p n : ℕ) [hR : ExpChar R p],
Commute x y → (x - y) ^ p ^ n = x ^ p ^ n - y ^ p ^ n
theorem sub_pow_eq_mul_pow_sub_pow_div_expChar_of_commute E1 #
∀ {R : Type u_1} [inst : Ring R] {x y : R} (p n : ℕ) [hR : ExpChar R p],
Commute x y → (x - y) ^ n = (x - y) ^ (n % p) * (x ^ p - y ^ p) ^ (n / p)
theorem neg_one_pow_expChar E1 #
∀ (R : Type u_1) [inst : Ring R] (p : ℕ) [hR : ExpChar R p], (-1) ^ p = -1
theorem neg_one_pow_expChar_pow E1 #
∀ (R : Type u_1) [inst : Ring R] (p n : ℕ) [hR : ExpChar R p], (-1) ^ p ^ n = -1
theorem sub_pow_char_of_commute E1 #
∀ {R : Type u_1} [inst : Ring R] {x y : R} (p : ℕ) [hp : Fact (Nat.Prime p)] [CharP R p],
Commute x y → (x - y) ^ p = x ^ p - y ^ p
theorem sub_pow_char_pow_of_commute E1 #
∀ {R : Type u_1} [inst : Ring R] {x y : R} (p n : ℕ) [hp : Fact (Nat.Prime p)] [CharP R p],
Commute x y → (x - y) ^ p ^ n = x ^ p ^ n - y ^ p ^ n
theorem neg_one_pow_char E1 #
∀ (R : Type u_1) [inst : Ring R] (p : ℕ) [hp : Fact (Nat.Prime p)] [CharP R p], (-1) ^ p = -1
theorem neg_one_pow_char_pow E1 #
∀ (R : Type u_1) [inst : Ring R] (p n : ℕ) [hp : Fact (Nat.Prime p)] [CharP R p], (-1) ^ p ^ n = -1
theorem sub_pow_eq_mul_pow_sub_pow_div_char_of_commute E1 #
∀ (R : Type u_1) [inst : Ring R] {x y : R} (p n : ℕ) [hp : Fact (Nat.Prime p)] [CharP R p],
Commute x y → (x - y) ^ n = (x - y) ^ (n % p) * (x ^ p - y ^ p) ^ (n / p)
theorem sub_pow_expChar E1 #
∀ {R : Type u_1} [inst : CommRing R] (x y : R) {p : ℕ} [hR : ExpChar R p], (x - y) ^ p = x ^ p - y ^ p
theorem sub_pow_expChar_pow E1 #
∀ {R : Type u_1} [inst : CommRing R] (x y : R) (n : ℕ) {p : ℕ} [hR : ExpChar R p],
(x - y) ^ p ^ n = x ^ p ^ n - y ^ p ^ n
theorem sub_pow_eq_mul_pow_sub_pow_div_expChar E1 #
∀ {R : Type u_1} [inst : CommRing R] (x y : R) (n : ℕ) {p : ℕ} [hR : ExpChar R p],
(x - y) ^ n = (x - y) ^ (n % p) * (x ^ p - y ^ p) ^ (n / p)
theorem sub_pow_char E1 #
∀ {R : Type u_1} [inst : CommRing R] (x y : R) {p : ℕ} [hp : Fact (Nat.Prime p)] [CharP R p],
(x - y) ^ p = x ^ p - y ^ p
theorem sub_pow_char_pow E1 #
∀ {R : Type u_1} [inst : CommRing R] (x y : R) (n : ℕ) {p : ℕ} [hp : Fact (Nat.Prime p)] [CharP R p],
(x - y) ^ p ^ n = x ^ p ^ n - y ^ p ^ n
theorem sub_pow_eq_mul_pow_sub_pow_div_char E1 #
∀ {R : Type u_1} [inst : CommRing R] (x y : R) (n : ℕ) {p : ℕ} [hp : Fact (Nat.Prime p)] [CharP R p],
(x - y) ^ n = (x - y) ^ (n % p) * (x ^ p - y ^ p) ^ (n / p)
theorem Nat.Prime.dvd_add_pow_sub_pow_of_dvd E1 #
∀ {R : Type u_1} [inst : CommRing R] (x y : R) {p : ℕ},
Nat.Prime p → ∀ {r : R}, r ∣ x ^ p → r ∣ ↑p * x → r ∣ (x + y) ^ p - y ^ p
theorem CharP.char_ne_zero_of_finite E1 #
∀ (R : Type u_1) [inst : NonAssocRing R] (p : ℕ) [CharP R p] [Finite R], p ≠ 0
The characteristic of a finite ring cannot be zero.
theorem CharP.ringChar_ne_zero_of_finite E1 #
∀ (R : Type u_1) [inst : NonAssocRing R] [Finite R], ringChar R ≠ 0
theorem CharP.char_is_prime E1 #
∀ (R : Type u_1) [inst : Ring R] [NoZeroDivisors R] [Nontrivial R] [Finite R] (p : ℕ) [CharP R p], Nat.Prime p
theorem CharP.prime_ringChar E1 #
∀ (R : Type u_1) [inst : Ring R] [NoZeroDivisors R] [Nontrivial R] [Finite R], Nat.Prime (ringChar R)
def frobenius E3 #
(R : Type u_2) → [inst : CommSemiring R] → (p : ℕ) → [ExpChar R p] → R →+* R
The Frobenius map x ↦ x ^ p.
def iterateFrobenius E3 #
(R : Type u_2) → [inst : CommSemiring R] → (p : ℕ) → ℕ → [ExpChar R p] → R →+* R
The iterated Frobenius map x ↦ x ^ p ^ n.
theorem list_sum_pow_char E1 #
∀ {R : Type u_2} [inst : CommSemiring R] (p : ℕ) [ExpChar R p] (l : List R),
l.sum ^ p = (List.map (fun x ↦ x ^ p) l).sum
theorem multiset_sum_pow_char E1 #
∀ {R : Type u_2} [inst : CommSemiring R] (p : ℕ) [ExpChar R p] (s : Multiset R),
s.sum ^ p = (Multiset.map (fun x ↦ x ^ p) s).sum
theorem sum_pow_char E1 #
∀ {R : Type u_2} [inst : CommSemiring R] (p : ℕ) [ExpChar R p] {ι : Type u_3} (s : Finset ι) (f : ι → R),
(∑ i ∈ s, f i) ^ p = ∑ i ∈ s, f i ^ p
theorem list_sum_pow_char_pow E1 #
∀ {R : Type u_2} [inst : CommSemiring R] (p n : ℕ) [ExpChar R p] (l : List R),
l.sum ^ p ^ n = (List.map (fun x ↦ x ^ p ^ n) l).sum
theorem multiset_sum_pow_char_pow E1 #
∀ {R : Type u_2} [inst : CommSemiring R] (p n : ℕ) [ExpChar R p] (s : Multiset R),
s.sum ^ p ^ n = (Multiset.map (fun x ↦ x ^ p ^ n) s).sum
theorem sum_pow_char_pow E1 #
∀ {R : Type u_2} [inst : CommSemiring R] (p n : ℕ) [ExpChar R p] {ι : Type u_3} (s : Finset ι) (f : ι → R),
(∑ i ∈ s, f i) ^ p ^ n = ∑ i ∈ s, f i ^ p ^ n