The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.Coprime.Basic
142 declarations. Mathlib docs · Source
def IsCoprime E3 #
{R : Type u} → [CommSemiring R] → R → R → Prop
The proposition that x and y are coprime, defined to be the existence of a and b such
that a * x + b * y = 1. Note that elements with no common divisors are not necessarily coprime,
e.g., the multivariate polynomials x₁ and x₂ are not coprime.
theorem IsCoprime.symm E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y : R}, IsCoprime x y → IsCoprime y x
theorem isCoprime_comm E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y : R}, IsCoprime x y ↔ IsCoprime y x
instance instSymmIsCoprime E0 #
∀ {R : Type u} [inst : CommSemiring R], Std.Symm IsCoprime
theorem isCoprime_self E1 #
∀ {R : Type u} [inst : CommSemiring R] {x : R}, IsCoprime x x ↔ IsUnit x
theorem isCoprime_zero_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x : R}, IsCoprime 0 x ↔ IsUnit x
theorem isCoprime_zero_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x : R}, IsCoprime x 0 ↔ IsUnit x
theorem not_isCoprime_zero_zero E1 #
∀ {R : Type u} [inst : CommSemiring R] [Nontrivial R], ¬IsCoprime 0 0
theorem IsCoprime.intCast E1 #
∀ {R : Type u_1} [inst : CommRing R] {a b : ℤ}, IsCoprime a b → IsCoprime ↑a ↑b
theorem IsCoprime.ne_zero E1 #
∀ {R : Type u} [inst : CommSemiring R] [Nontrivial R] {p : Fin 2 → R}, IsCoprime (p 0) (p 1) → p ≠ 0
If a 2-vector p satisfies IsCoprime (p 0) (p 1), then p ≠ 0.
theorem IsCoprime.ne_zero_or_ne_zero E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y : R} [Nontrivial R], IsCoprime x y → x ≠ 0 ∨ y ≠ 0
theorem isCoprime_one_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x : R}, IsCoprime 1 x
theorem isCoprime_one_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x : R}, IsCoprime x 1
theorem IsCoprime.dvd_of_dvd_mul_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x z → x ∣ y * z → x ∣ y
theorem IsCoprime.dvd_of_dvd_mul_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x y → x ∣ y * z → x ∣ z
theorem IsCoprime.dvd_mul_right_iff E0 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x z → (x ∣ y * z ↔ x ∣ y)
theorem IsCoprime.dvd_mul_left_iff E0 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x y → (x ∣ y * z ↔ x ∣ z)
theorem IsCoprime.mul_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x z → IsCoprime y z → IsCoprime (x * y) z
theorem IsCoprime.mul_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x y → IsCoprime x z → IsCoprime x (y * z)
theorem IsCoprime.mul_dvd E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x y → x ∣ z → y ∣ z → x * y ∣ z
theorem IsCoprime.of_mul_left_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime (x * y) z → IsCoprime x z
theorem IsCoprime.of_mul_left_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime (x * y) z → IsCoprime y z
theorem IsCoprime.of_mul_right_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x (y * z) → IsCoprime x y
theorem IsCoprime.of_mul_right_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x (y * z) → IsCoprime x z
theorem IsCoprime.mul_left_iff E0 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime (x * y) z ↔ IsCoprime x z ∧ IsCoprime y z
theorem IsCoprime.mul_right_iff E0 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x (y * z) ↔ IsCoprime x y ∧ IsCoprime x z
theorem IsCoprime.of_isCoprime_of_dvd_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime y z → x ∣ y → IsCoprime x z
theorem IsCoprime.of_isCoprime_of_dvd_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime z y → x ∣ y → IsCoprime z x
theorem IsCoprime.mono E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z w : R}, x ∣ y → z ∣ w → IsCoprime y w → IsCoprime x z
theorem IsCoprime.isUnit_of_dvd E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y : R}, IsCoprime x y → x ∣ y → IsUnit x
theorem IsCoprime.isUnit_of_associated E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y : R}, IsCoprime x y → Associated x y → IsUnit x ∧ IsUnit y
theorem IsCoprime.isUnit_of_dvd' E1 #
∀ {R : Type u} [inst : CommSemiring R] {a b x : R}, IsCoprime a b → x ∣ a → x ∣ b → IsUnit x
theorem IsCoprime.isRelPrime E1 #
∀ {R : Type u} [inst : CommSemiring R] {a b : R}, IsCoprime a b → IsRelPrime a b
theorem IsCoprime.map E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y : R},
IsCoprime x y → ∀ {S : Type v} [inst_1 : CommSemiring S] (f : R →+* S), IsCoprime (f x) (f y)
theorem IsCoprime.of_add_mul_left_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime (x + y * z) y → IsCoprime x y
theorem IsCoprime.of_add_mul_right_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime (x + z * y) y → IsCoprime x y
theorem IsCoprime.of_add_mul_left_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x (y + x * z) → IsCoprime x y
theorem IsCoprime.of_add_mul_right_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x (y + z * x) → IsCoprime x y
theorem IsCoprime.of_mul_add_left_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime (y * z + x) y → IsCoprime x y
theorem IsCoprime.of_mul_add_right_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime (z * y + x) y → IsCoprime x y
theorem IsCoprime.of_mul_add_left_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x (x * z + y) → IsCoprime x y
theorem IsCoprime.of_mul_add_right_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsCoprime x (z * x + y) → IsCoprime x y
theorem IsRelPrime.of_add_mul_left_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsRelPrime (x + y * z) y → IsRelPrime x y
theorem IsRelPrime.of_add_mul_right_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsRelPrime (x + z * y) y → IsRelPrime x y
theorem IsRelPrime.of_add_mul_left_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsRelPrime x (y + x * z) → IsRelPrime x y
theorem IsRelPrime.of_add_mul_right_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsRelPrime x (y + z * x) → IsRelPrime x y
theorem IsRelPrime.of_mul_add_left_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsRelPrime (y * z + x) y → IsRelPrime x y
theorem IsRelPrime.of_mul_add_right_left E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsRelPrime (z * y + x) y → IsRelPrime x y
theorem IsRelPrime.of_mul_add_left_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsRelPrime x (x * z + y) → IsRelPrime x y
theorem IsRelPrime.of_mul_add_right_right E1 #
∀ {R : Type u} [inst : CommSemiring R] {x y z : R}, IsRelPrime x (z * x + y) → IsRelPrime x y
theorem isCoprime_group_smul_left E1 #
∀ {R : Type u_1} {G : Type u_2} [inst : CommSemiring R] [inst_1 : Group G] [inst_2 : MulAction G R]
[IsScalarTower G R R] (x : G) (y z : R), IsCoprime (x • y) z ↔ IsCoprime y z
theorem isCoprime_group_smul_right E1 #
∀ {R : Type u_1} {G : Type u_2} [inst : CommSemiring R] [inst_1 : Group G] [inst_2 : MulAction G R]
[IsScalarTower G R R] (x : G) (y z : R), IsCoprime y (x • z) ↔ IsCoprime y z
theorem isCoprime_group_smul E1 #
∀ {R : Type u_1} {G : Type u_2} [inst : CommSemiring R] [inst_1 : Group G] [inst_2 : MulAction G R]
[IsScalarTower G R R] (x : G) (y z : R), IsCoprime (x • y) (x • z) ↔ IsCoprime y z
theorem isCoprime_mul_unit_left_left E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {x : R}, IsUnit x → ∀ (y z : R), IsCoprime (x * y) z ↔ IsCoprime y z
theorem isCoprime_mul_unit_left_right E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {x : R}, IsUnit x → ∀ (y z : R), IsCoprime y (x * z) ↔ IsCoprime y z
theorem isCoprime_mul_unit_right_left E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {x : R}, IsUnit x → ∀ (y z : R), IsCoprime (y * x) z ↔ IsCoprime y z
theorem isCoprime_mul_unit_right_right E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {x : R}, IsUnit x → ∀ (y z : R), IsCoprime y (z * x) ↔ IsCoprime y z
theorem isCoprime_mul_units_left E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {u v : R},
IsUnit u → IsUnit v → ∀ (y z : R), IsCoprime (u * y) (v * z) ↔ IsCoprime y z
theorem isCoprime_mul_units_right E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {u v : R},
IsUnit u → IsUnit v → ∀ (y z : R), IsCoprime (y * u) (z * v) ↔ IsCoprime y z
theorem isCoprime_mul_unit_left E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {x : R}, IsUnit x → ∀ (y z : R), IsCoprime (x * y) (x * z) ↔ IsCoprime y z
theorem isCoprime_mul_unit_right E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {x : R}, IsUnit x → ∀ (y z : R), IsCoprime (y * x) (z * x) ↔ IsCoprime y z
theorem IsCoprime.add_mul_left_left E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, IsCoprime x y → ∀ (z : R), IsCoprime (x + y * z) y
theorem IsCoprime.add_mul_right_left E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, IsCoprime x y → ∀ (z : R), IsCoprime (x + z * y) y
theorem IsCoprime.add_mul_left_right E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, IsCoprime x y → ∀ (z : R), IsCoprime x (y + x * z)
theorem IsCoprime.add_mul_right_right E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, IsCoprime x y → ∀ (z : R), IsCoprime x (y + z * x)
theorem IsCoprime.mul_add_left_left E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, IsCoprime x y → ∀ (z : R), IsCoprime (y * z + x) y
theorem IsCoprime.mul_add_right_left E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, IsCoprime x y → ∀ (z : R), IsCoprime (z * y + x) y
theorem IsCoprime.mul_add_left_right E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, IsCoprime x y → ∀ (z : R), IsCoprime x (x * z + y)
theorem IsCoprime.mul_add_right_right E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, IsCoprime x y → ∀ (z : R), IsCoprime x (z * x + y)
theorem IsCoprime.add_mul_left_left_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime (x + y * z) y ↔ IsCoprime x y
theorem IsCoprime.add_mul_right_left_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime (x + z * y) y ↔ IsCoprime x y
theorem IsCoprime.add_mul_left_right_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime x (y + x * z) ↔ IsCoprime x y
theorem IsCoprime.add_mul_right_right_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime x (y + z * x) ↔ IsCoprime x y
theorem IsCoprime.mul_add_left_left_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime (y * z + x) y ↔ IsCoprime x y
theorem IsCoprime.mul_add_right_left_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime (z * y + x) y ↔ IsCoprime x y
theorem IsCoprime.mul_add_left_right_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime x (x * z + y) ↔ IsCoprime x y
theorem IsCoprime.mul_add_right_right_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime x (z * x + y) ↔ IsCoprime x y
theorem IsCoprime.neg_left E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, IsCoprime x y → IsCoprime (-x) y
theorem IsCoprime.neg_left_iff E0 #
∀ {R : Type u} [inst : CommRing R] (x y : R), IsCoprime (-x) y ↔ IsCoprime x y
theorem IsCoprime.neg_right E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, IsCoprime x y → IsCoprime x (-y)
theorem IsCoprime.neg_right_iff E0 #
∀ {R : Type u} [inst : CommRing R] (x y : R), IsCoprime x (-y) ↔ IsCoprime x y
theorem IsCoprime.neg_neg E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, IsCoprime x y → IsCoprime (-x) (-y)
theorem IsCoprime.neg_neg_iff E0 #
∀ {R : Type u} [inst : CommRing R] (x y : R), IsCoprime (-x) (-y) ↔ IsCoprime x y
theorem IsCoprime.sub_mul_left_left_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime (x - y * z) y ↔ IsCoprime x y
theorem IsCoprime.sub_mul_right_left_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime (x - z * y) y ↔ IsCoprime x y
theorem IsCoprime.sub_mul_left_right_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime x (y - x * z) ↔ IsCoprime x y
theorem IsCoprime.sub_mul_right_right_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime x (y - z * x) ↔ IsCoprime x y
theorem IsCoprime.mul_sub_left_left_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime (y * z - x) y ↔ IsCoprime x y
theorem IsCoprime.mul_sub_right_left_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime (z * y - x) y ↔ IsCoprime x y
theorem IsCoprime.mul_sub_left_right_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime x (x * z - y) ↔ IsCoprime x y
theorem IsCoprime.mul_sub_right_right_iff E0 #
∀ {R : Type u} [inst : CommRing R] {x y z : R}, IsCoprime x (z * x - y) ↔ IsCoprime x y
theorem IsCoprime.add_one_left_of_dvd E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, y ∣ x → IsCoprime (x + 1) y
theorem IsCoprime.add_one_right_of_dvd E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, x ∣ y → IsCoprime x (y + 1)
theorem IsCoprime.sub_one_left_of_dvd E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, y ∣ x → IsCoprime (x - 1) y
theorem IsCoprime.sub_one_right_of_dvd E1 #
∀ {R : Type u} [inst : CommRing R] {x y : R}, x ∣ y → IsCoprime x (y - 1)
theorem IsCoprime.add_one_sub_one_of_two_dvd E1 #
∀ {R : Type u} [inst : CommRing R] {x : R}, 2 ∣ x → IsCoprime (x + 1) (x - 1)
theorem Odd.isCoprime_two E1 #
∀ {R : Type u} [inst : CommRing R] {x : R}, Odd x → IsCoprime x 2
theorem IsCoprime.abs_left_iff E0 #
∀ {R : Type u} [inst : CommRing R] [inst_1 : LinearOrder R] [AddLeftMono R] (x y : R), IsCoprime |x| y ↔ IsCoprime x y
theorem IsCoprime.abs_left E1 #
∀ {R : Type u} [inst : CommRing R] [inst_1 : LinearOrder R] [AddLeftMono R] {x y : R}, IsCoprime x y → IsCoprime |x| y
theorem IsCoprime.abs_right_iff E0 #
∀ {R : Type u} [inst : CommRing R] [inst_1 : LinearOrder R] [AddLeftMono R] (x y : R), IsCoprime x |y| ↔ IsCoprime x y
theorem IsCoprime.abs_right E1 #
∀ {R : Type u} [inst : CommRing R] [inst_1 : LinearOrder R] [AddLeftMono R] {x y : R}, IsCoprime x y → IsCoprime x |y|
theorem IsCoprime.abs_abs_iff E0 #
∀ {R : Type u} [inst : CommRing R] [inst_1 : LinearOrder R] [AddLeftMono R] (x y : R), IsCoprime |x| |y| ↔ IsCoprime x y
theorem IsCoprime.abs_abs E1 #
∀ {R : Type u} [inst : CommRing R] [inst_1 : LinearOrder R] [AddLeftMono R] {x y : R}, IsCoprime x y → IsCoprime |x| |y|
theorem IsCoprime.sq_add_sq_ne_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] {a b : R},
IsCoprime a b → a ^ 2 + b ^ 2 ≠ 0
theorem Nat.isCoprime_iff E0 #
∀ {m n : ℕ}, IsCoprime m n ↔ m = 1 ∨ n = 1
IsCoprime is not a useful definition for Nat; consider using Nat.Coprime instead.
theorem PNat.isCoprime_iff E0 #
∀ {m n : ℕ+}, IsCoprime ↑m ↑n ↔ m = 1 ∨ n = 1
IsCoprime is not a useful definition for PNat; consider using Nat.Coprime instead.
theorem Semifield.isCoprime_iff E0 #
∀ {R : Type u_1} [inst : Semifield R] {m n : R}, IsCoprime m n ↔ m ≠ 0 ∨ n ≠ 0
IsCoprime is not a useful definition if an inverse is available.
theorem IsRelPrime.add_mul_left_left E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, IsRelPrime x y → ∀ (z : R), IsRelPrime (x + y * z) y
theorem IsRelPrime.add_mul_right_left E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, IsRelPrime x y → ∀ (z : R), IsRelPrime (x + z * y) y
theorem IsRelPrime.add_mul_left_right E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, IsRelPrime x y → ∀ (z : R), IsRelPrime x (y + x * z)
theorem IsRelPrime.add_mul_right_right E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, IsRelPrime x y → ∀ (z : R), IsRelPrime x (y + z * x)
theorem IsRelPrime.mul_add_left_left E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, IsRelPrime x y → ∀ (z : R), IsRelPrime (y * z + x) y
theorem IsRelPrime.mul_add_right_left E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, IsRelPrime x y → ∀ (z : R), IsRelPrime (z * y + x) y
theorem IsRelPrime.mul_add_left_right E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, IsRelPrime x y → ∀ (z : R), IsRelPrime x (x * z + y)
theorem IsRelPrime.mul_add_right_right E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, IsRelPrime x y → ∀ (z : R), IsRelPrime x (z * x + y)
theorem IsRelPrime.add_mul_left_left_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime (x + y * z) y ↔ IsRelPrime x y
theorem IsRelPrime.add_mul_right_left_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime (x + z * y) y ↔ IsRelPrime x y
theorem IsRelPrime.add_mul_left_right_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime x (y + x * z) ↔ IsRelPrime x y
theorem IsRelPrime.add_mul_right_right_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime x (y + z * x) ↔ IsRelPrime x y
theorem IsRelPrime.mul_add_left_left_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime (y * z + x) y ↔ IsRelPrime x y
theorem IsRelPrime.mul_add_right_left_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime (z * y + x) y ↔ IsRelPrime x y
theorem IsRelPrime.mul_add_left_right_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime x (x * z + y) ↔ IsRelPrime x y
theorem IsRelPrime.mul_add_right_right_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime x (z * x + y) ↔ IsRelPrime x y
theorem IsRelPrime.neg_left E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, IsRelPrime x y → IsRelPrime (-x) y
theorem IsRelPrime.neg_right E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, IsRelPrime x y → IsRelPrime x (-y)
theorem IsRelPrime.neg_neg E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, IsRelPrime x y → IsRelPrime (-x) (-y)
theorem IsRelPrime.neg_left_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] (x y : R), IsRelPrime (-x) y ↔ IsRelPrime x y
theorem IsRelPrime.neg_right_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] (x y : R), IsRelPrime x (-y) ↔ IsRelPrime x y
theorem IsRelPrime.neg_neg_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] (x y : R), IsRelPrime (-x) (-y) ↔ IsRelPrime x y
theorem IsRelPrime.sub_mul_left_left_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime (x - y * z) y ↔ IsRelPrime x y
theorem IsRelPrime.sub_mul_right_left_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime (x - z * y) y ↔ IsRelPrime x y
theorem IsRelPrime.sub_mul_left_right_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime x (y - x * z) ↔ IsRelPrime x y
theorem IsRelPrime.sub_mul_right_right_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime x (y - z * x) ↔ IsRelPrime x y
theorem IsRelPrime.mul_sub_left_left_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime (y * z - x) y ↔ IsRelPrime x y
theorem IsRelPrime.mul_sub_right_left_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime (z * y - x) y ↔ IsRelPrime x y
theorem IsRelPrime.mul_sub_left_right_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime x (x * z - y) ↔ IsRelPrime x y
theorem IsRelPrime.mul_sub_right_right_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {x y z : R}, IsRelPrime x (z * x - y) ↔ IsRelPrime x y
theorem IsRelPrime.add_one_left_of_dvd E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, y ∣ x → IsRelPrime (x + 1) y
theorem IsRelPrime.add_one_right_of_dvd E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, x ∣ y → IsRelPrime x (y + 1)
theorem IsRelPrime.sub_one_left_of_dvd E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, y ∣ x → IsRelPrime (x - 1) y
theorem IsRelPrime.sub_one_right_of_dvd E1 #
∀ {R : Type u_1} [inst : CommRing R] {x y : R}, x ∣ y → IsRelPrime x (y - 1)
theorem IsRelPrime.add_one_sub_one_of_two_dvd E1 #
∀ {R : Type u_1} [inst : CommRing R] {x : R}, 2 ∣ x → IsRelPrime (x + 1) (x - 1)