Divisibility in integral domains

Instance\(\Z\) is a Euclidean ring#

Mathlib states this as Int.euclideanDomain.

Int.euclideanDomain : EuclideanDomain ℤ
MathlibInt.euclideanDomain
Uses 2 · Used by 1

DefinitionPrime numbers#

An element p of a commutative monoid with zero (e.g., a ring) is called prime, if it's not zero, not a unit, and p ∣ a * b → p ∣ a ∨ p ∣ b for all a, b.

Prime.{u_1} {M : Type u_1} [CommMonoidWithZero M] (p : M) : Prop
MathlibPrime
Uses 1 · Used by 15

TheoremBézout's identity#

Bézout's lemma

exists_gcd_eq_mul_add_mul.{u} {R : Type u} [CommRing R] [IsBezout R] [IsDomain R] [GCDMonoid R]
  (a b : R) : ∃ x y, gcd a b = a * x + b * y
Mathlibexists_gcd_eq_mul_add_mul
Uses 5

Definition\(\Z/n\Z\) and its invertible elements#

unitOfCoprime makes an element of (ZMod n)ˣ given a natural number x and a proof that x is coprime to n

ZMod.unitOfCoprime {n : ℕ} (x : ℕ) (h : x.Coprime n) : (ZMod n)ˣ
MathlibZMod.unitOfCoprime
Uses 2 · Used by 1

The dependency explorer needs JavaScript and its graph data.

Download the complete graph data.