The areas / V06. Rings, fields and ordered algebra
Mathlib.Algebra.Ring.Divisibility.Basic
26 declarations. Mathlib docs · Source
theorem MulEquiv.decompositionMonoid E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : Semigroup α] [inst_1 : Semigroup β] {F : Type u_3} [inst_2 : EquivLike F α β]
[MulEquivClass F α β] (f : F) [DecompositionMonoid β], DecompositionMonoid α
def Equiv.dvd E1 #
{G : Type u_4} → [inst : LeftCancelSemigroup G] → (g : G) → G ≃ { a // g ∣ a }
If G is a LeftCancelSemiGroup, left multiplication by g yields an equivalence between G
and the set of elements of G divisible by g.
theorem Equiv.dvd_apply E0 #
∀ {G : Type u_4} [inst : LeftCancelSemigroup G] (g a : G), ↑((Equiv.dvd g) a) = g * a
theorem dvd_add E1 #
∀ {α : Type u_1} [inst : Add α] [inst_1 : Semigroup α] [LeftDistribClass α] {a b c : α}, a ∣ b → a ∣ c → a ∣ b + c
theorem Dvd.dvd.add E1 #
∀ {α : Type u_1} [inst : Add α] [inst_1 : Semigroup α] [LeftDistribClass α] {a b c : α}, a ∣ b → a ∣ c → a ∣ b + c
Alias of dvd_add.
theorem min_pow_dvd_add E1 #
∀ {α : Type u_1} [inst : Semiring α] {a b c : α} {m n : ℕ}, c ^ m ∣ a → c ^ n ∣ b → c ^ min m n ∣ a + b
theorem Dvd.dvd.linear_comb E1 #
∀ {α : Type u_1} [inst : NonUnitalCommSemiring α] {d x y : α}, d ∣ x → d ∣ y → ∀ (a b : α), d ∣ a * x + b * y
theorem dvd_neg E0 #
∀ {α : Type u_1} [inst : Semigroup α] [inst_1 : HasDistribNeg α] {a b : α}, a ∣ -b ↔ a ∣ b
An element a of a semigroup with a distributive negation divides the negation of an element
b iff a divides b.
theorem neg_dvd E0 #
∀ {α : Type u_1} [inst : Semigroup α] [inst_1 : HasDistribNeg α] {a b : α}, -a ∣ b ↔ a ∣ b
The negation of an element a of a semigroup with a distributive negation divides another
element b iff a divides b.
theorem Dvd.dvd.of_neg_left E1 #
∀ {α : Type u_1} [inst : Semigroup α] [inst_1 : HasDistribNeg α] {a b : α}, -a ∣ b → a ∣ b
Alias of the forward direction of neg_dvd.
The negation of an element a of a semigroup with a distributive negation divides another
element b iff a divides b.
theorem Dvd.dvd.neg_left E1 #
∀ {α : Type u_1} [inst : Semigroup α] [inst_1 : HasDistribNeg α] {a b : α}, a ∣ b → -a ∣ b
Alias of the reverse direction of neg_dvd.
The negation of an element a of a semigroup with a distributive negation divides another
element b iff a divides b.
theorem Dvd.dvd.neg_right E1 #
∀ {α : Type u_1} [inst : Semigroup α] [inst_1 : HasDistribNeg α] {a b : α}, a ∣ b → a ∣ -b
Alias of the reverse direction of dvd_neg.
An element a of a semigroup with a distributive negation divides the negation of an element
b iff a divides b.
theorem Dvd.dvd.of_neg_right E1 #
∀ {α : Type u_1} [inst : Semigroup α] [inst_1 : HasDistribNeg α] {a b : α}, a ∣ -b → a ∣ b
Alias of the forward direction of dvd_neg.
An element a of a semigroup with a distributive negation divides the negation of an element
b iff a divides b.
theorem dvd_sub E1 #
∀ {α : Type u_1} [inst : NonUnitalRing α] {a b c : α}, a ∣ b → a ∣ c → a ∣ b - c
theorem Dvd.dvd.sub E1 #
∀ {α : Type u_1} [inst : NonUnitalRing α] {a b c : α}, a ∣ b → a ∣ c → a ∣ b - c
Alias of dvd_sub.
theorem dvd_add_left E1 #
∀ {α : Type u_1} [inst : NonUnitalRing α] {a b c : α}, a ∣ c → (a ∣ b + c ↔ a ∣ b)
If an element a divides another element c in a ring, a divides the sum of another element
b with c iff a divides b.
theorem dvd_add_right E1 #
∀ {α : Type u_1} [inst : NonUnitalRing α] {a b c : α}, a ∣ b → (a ∣ b + c ↔ a ∣ c)
If an element a divides another element b in a ring, a divides the sum of b and another
element c iff a divides c.
theorem dvd_sub_left E1 #
∀ {α : Type u_1} [inst : NonUnitalRing α] {a b c : α}, a ∣ c → (a ∣ b - c ↔ a ∣ b)
If an element a divides another element c in a ring, a divides the difference of another
element b with c iff a divides b.
theorem dvd_sub_right E1 #
∀ {α : Type u_1} [inst : NonUnitalRing α] {a b c : α}, a ∣ b → (a ∣ b - c ↔ a ∣ c)
If an element a divides another element b in a ring, a divides the difference of b and
another element c iff a divides c.
theorem dvd_iff_dvd_of_dvd_sub E1 #
∀ {α : Type u_1} [inst : NonUnitalRing α] {a b c : α}, a ∣ b - c → (a ∣ b ↔ a ∣ c)
theorem dvd_sub_comm E1 #
∀ {α : Type u_1} [inst : NonUnitalRing α] {a b c : α}, a ∣ b - c ↔ a ∣ c - b
theorem dvd_add_self_left E0 #
∀ {α : Type u_1} [inst : Ring α] {a b : α}, a ∣ a + b ↔ a ∣ b
An element a divides the sum a + b if and only if a divides b.
theorem dvd_add_self_right E0 #
∀ {α : Type u_1} [inst : Ring α] {a b : α}, a ∣ b + a ↔ a ∣ b
An element a divides the sum b + a if and only if a divides b.
theorem dvd_sub_self_left E0 #
∀ {α : Type u_1} [inst : Ring α] {a b : α}, a ∣ a - b ↔ a ∣ b
An element a divides the difference a - b if and only if a divides b.
theorem dvd_sub_self_right E0 #
∀ {α : Type u_1} [inst : Ring α] {a b : α}, a ∣ b - a ↔ a ∣ b
An element a divides the difference b - a if and only if a divides b.
theorem dvd_mul_sub_mul E1 #
∀ {α : Type u_1} [inst : NonUnitalCommRing α] {k a b x y : α}, k ∣ a - b → k ∣ x - y → k ∣ a * x - b * y