The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.Prime
4 declarations. Mathlib docs · Source
theorem mul_eq_mul_prime_prod E1 #
∀ {R : Type u_1} [inst : CommMonoidWithZero R] [IsCancelMulZero R] {α : Type u_2} [inst_2 : DecidableEq α] {x y a : R}
{s : Finset α} {p : α → R},
(∀ i ∈ s, Prime (p i)) →
x * y = a * ∏ i ∈ s, p i →
∃ t u b c, t ∪ u = s ∧ Disjoint t u ∧ a = b * c ∧ x = b * ∏ i ∈ t, p i ∧ y = c * ∏ i ∈ u, p i
If x * y = a * ∏ i ∈ s, p i where p i is always prime, then
x and y can both be written as a divisor of a multiplied by
a product over a subset of s
theorem mul_eq_mul_prime_pow E1 #
∀ {R : Type u_1} [inst : CommMonoidWithZero R] [IsCancelMulZero R] {x y a p : R} {n : ℕ},
Prime p → x * y = a * p ^ n → ∃ i j b c, i + j = n ∧ a = b * c ∧ x = b * p ^ i ∧ y = c * p ^ j
If x * y = a * p ^ n where p is prime, then x and y can both be written
as the product of a power of p and a divisor of a.
theorem Prime.neg E1 #
∀ {α : Type u_1} [inst : CommRing α] {p : α}, Prime p → Prime (-p)
theorem Prime.abs E1 #
∀ {α : Type u_1} [inst : CommRing α] [inst_1 : LinearOrder α] {p : α}, Prime p → Prime |p|