Mathlib.Algebra.Regular.Basic
62 declarations. Mathlib docs · Source
theorem IsAddLeftRegular.right_of_addCommute E1 #
∀ {R : Type u_1} [inst : Add R] {a : R}, (∀ (b : R), AddCommute a b) → IsAddLeftRegular a → IsAddRightRegular a
theorem IsLeftRegular.right_of_commute E1 #
∀ {R : Type u_1} [inst : Mul R] {a : R}, (∀ (b : R), Commute a b) → IsLeftRegular a → IsRightRegular a
theorem IsRightRegular.left_of_commute E1 #
∀ {R : Type u_1} [inst : Mul R] {a : R}, (∀ (b : R), Commute a b) → IsRightRegular a → IsLeftRegular a
theorem IsAddRightRegular.left_of_addCommute E1 #
∀ {R : Type u_1} [inst : Add R] {a : R}, (∀ (b : R), AddCommute a b) → IsAddRightRegular a → IsAddLeftRegular a
theorem Commute.isRightRegular_iff E0 #
∀ {R : Type u_1} [inst : Mul R] {a : R}, (∀ (b : R), Commute a b) → (IsRightRegular a ↔ IsLeftRegular a)
theorem AddCommute.isAddRightRegular_iff E0 #
∀ {R : Type u_1} [inst : Add R] {a : R}, (∀ (b : R), AddCommute a b) → (IsAddRightRegular a ↔ IsAddLeftRegular a)
theorem AddCommute.isAddRegular_iff E0 #
∀ {R : Type u_1} [inst : Add R] {a : R}, (∀ (b : R), AddCommute a b) → (IsAddRegular a ↔ IsAddLeftRegular a)
theorem Commute.isRegular_iff E0 #
∀ {R : Type u_1} [inst : Mul R] {a : R}, (∀ (b : R), Commute a b) → (IsRegular a ↔ IsLeftRegular a)
theorem IsLeftRegular.mul E1 #
∀ {R : Type u_1} [inst : Semigroup R] {a b : R}, IsLeftRegular a → IsLeftRegular b → IsLeftRegular (a * b)
In a semigroup, the product of left-regular elements is left-regular.
theorem IsAddLeftRegular.add E1 #
∀ {R : Type u_1} [inst : AddSemigroup R] {a b : R}, IsAddLeftRegular a → IsAddLeftRegular b → IsAddLeftRegular (a + b)
In an additive semigroup, the sum of add-left-regular elements is add-left.regular.
theorem IsRightRegular.mul E1 #
∀ {R : Type u_1} [inst : Semigroup R] {a b : R}, IsRightRegular a → IsRightRegular b → IsRightRegular (a * b)
In a semigroup, the product of right-regular elements is right-regular.
theorem IsAddRightRegular.add E1 #
∀ {R : Type u_1} [inst : AddSemigroup R] {a b : R},
IsAddRightRegular a → IsAddRightRegular b → IsAddRightRegular (a + b)
In an additive semigroup, the sum of add-right-regular elements is add-right-regular.
theorem IsRegular.mul E1 #
∀ {R : Type u_1} [inst : Semigroup R] {a b : R}, IsRegular a → IsRegular b → IsRegular (a * b)
In a semigroup, the product of regular elements is regular.
theorem IsAddRegular.add E1 #
∀ {R : Type u_1} [inst : AddSemigroup R] {a b : R}, IsAddRegular a → IsAddRegular b → IsAddRegular (a + b)
In an additive semigroup, the sum of add-regular elements is add-regular.
theorem IsLeftRegular.of_mul E1 #
∀ {R : Type u_1} [inst : Semigroup R] {a b : R}, IsLeftRegular (a * b) → IsLeftRegular b
If an element b becomes left-regular after multiplying it on the left by a left-regular
element, then b is left-regular.
theorem IsAddLeftRegular.of_add E1 #
∀ {R : Type u_1} [inst : AddSemigroup R] {a b : R}, IsAddLeftRegular (a + b) → IsAddLeftRegular b
If an element b becomes add-left-regular after adding to it on the left
an add-left-regular element, then b is add-left-regular.
theorem mul_isLeftRegular_iff E0 #
∀ {R : Type u_1} [inst : Semigroup R] {a : R} (b : R), IsLeftRegular a → (IsLeftRegular (a * b) ↔ IsLeftRegular b)
An element is left-regular if and only if multiplying it on the left by a left-regular element is left-regular.
theorem add_isAddLeftRegular_iff E0 #
∀ {R : Type u_1} [inst : AddSemigroup R] {a : R} (b : R),
IsAddLeftRegular a → (IsAddLeftRegular (a + b) ↔ IsAddLeftRegular b)
An element is add-left-regular if and only if adding to it on the left an add-left-regular element is add-left-regular.
theorem IsRightRegular.of_mul E1 #
∀ {R : Type u_1} [inst : Semigroup R] {a b : R}, IsRightRegular (b * a) → IsRightRegular b
If an element b becomes right-regular after multiplying it on the right by a right-regular
element, then b is right-regular.
theorem IsAddRightRegular.of_add E1 #
∀ {R : Type u_1} [inst : AddSemigroup R] {a b : R}, IsAddRightRegular (b + a) → IsAddRightRegular b
If an element b becomes add-right-regular after adding to it on the right
an add-right-regular element, then b is add-right-regular.
theorem mul_isRightRegular_iff E0 #
∀ {R : Type u_1} [inst : Semigroup R] {a : R} (b : R), IsRightRegular a → (IsRightRegular (b * a) ↔ IsRightRegular b)
An element is right-regular if and only if multiplying it on the right with a right-regular element is right-regular.
theorem add_isAddRightRegular_iff E0 #
∀ {R : Type u_1} [inst : AddSemigroup R] {a : R} (b : R),
IsAddRightRegular a → (IsAddRightRegular (b + a) ↔ IsAddRightRegular b)
An element is add-right-regular if and only if adding it on the right to an add-right-regular element is add-right-regular.
theorem isRegular_mul_and_mul_iff E0 #
∀ {R : Type u_1} [inst : Semigroup R] {a b : R}, IsRegular (a * b) ∧ IsRegular (b * a) ↔ IsRegular a ∧ IsRegular b
Two elements a and b are regular if and only if both products a * b and b * a
are regular.
theorem isAddRegular_add_and_add_iff E0 #
∀ {R : Type u_1} [inst : AddSemigroup R] {a b : R},
IsAddRegular (a + b) ∧ IsAddRegular (b + a) ↔ IsAddRegular a ∧ IsAddRegular b
Two elements a and b are add-regular if and only if both sums a + b and
b + a are add-regular.
theorem IsRegular.and_of_mul_of_mul E1 #
∀ {R : Type u_1} [inst : Semigroup R] {a b : R}, IsRegular (a * b) → IsRegular (b * a) → IsRegular a ∧ IsRegular b
The "most used" implication of mul_and_mul_iff, with split hypotheses, instead of ∧.
theorem IsAddRegular.and_of_add_of_add E1 #
∀ {R : Type u_1} [inst : AddSemigroup R] {a b : R},
IsAddRegular (a + b) → IsAddRegular (b + a) → IsAddRegular a ∧ IsAddRegular b
The "most used" implication of add_and_add_iff, with split
hypotheses, instead of ∧.
theorem isRegular_one E1 #
∀ {R : Type u_1} [inst : MulOneClass R], IsRegular 1
If multiplying by 1 on either side is the identity, 1 is regular.
theorem isAddRegular_zero E1 #
∀ {R : Type u_1} [inst : AddZeroClass R], IsAddRegular 0
If adding 0 on either side is the identity, 0 is regular.
theorem isRegular_mul_iff E0 #
∀ {R : Type u_1} [inst : CommSemigroup R] {a b : R}, IsRegular (a * b) ↔ IsRegular a ∧ IsRegular b
A product is regular if and only if the factors are.
theorem isAddRegular_add_iff E0 #
∀ {R : Type u_1} [inst : AddCommSemigroup R] {a b : R}, IsAddRegular (a + b) ↔ IsAddRegular a ∧ IsAddRegular b
A sum is add-regular if and only if the summands are.
theorem IsRegular.of_mul_left E1 #
∀ {R : Type u_1} [inst : CommSemigroup R] {a b : R}, IsRegular (a * b) → IsRegular a
If a product is regular, so is its left factor.
theorem IsAddRegular.of_add_left E1 #
∀ {R : Type u_1} [inst : AddCommSemigroup R] {a b : R}, IsAddRegular (a + b) → IsAddRegular a
If a sum is add-regular, so is its left summand.
theorem IsRegular.of_mul_right E1 #
∀ {R : Type u_1} [inst : CommSemigroup R] {a b : R}, IsRegular (a * b) → IsRegular b
If a product is regular, so is its right factor.
theorem IsAddRegular.of_add_right E1 #
∀ {R : Type u_1} [inst : AddCommSemigroup R] {a b : R}, IsAddRegular (a + b) → IsAddRegular b
If a sum is add-regular, so is its right summand.
theorem isLeftRegular_of_mul_eq_one E1 #
∀ {R : Type u_1} [inst : Monoid R] {a b : R}, b * a = 1 → IsLeftRegular a
An element admitting a left inverse is left-regular.
theorem isAddLeftRegular_of_add_eq_zero E1 #
∀ {R : Type u_1} [inst : AddMonoid R] {a b : R}, b + a = 0 → IsAddLeftRegular a
An element admitting a left additive opposite is add-left-regular.
theorem isRightRegular_of_mul_eq_one E1 #
∀ {R : Type u_1} [inst : Monoid R] {a b : R}, a * b = 1 → IsRightRegular a
An element admitting a right inverse is right-regular.
theorem isAddRightRegular_of_add_eq_zero E1 #
∀ {R : Type u_1} [inst : AddMonoid R] {a b : R}, a + b = 0 → IsAddRightRegular a
An element admitting a right additive opposite is add-right-regular.
theorem Units.isRegular E1 #
∀ {R : Type u_1} [inst : Monoid R] (a : Rˣ), IsRegular ↑a
If R is a monoid, an element in Rˣ is regular.
theorem AddUnits.isAddRegular E1 #
∀ {R : Type u_1} [inst : AddMonoid R] (a : AddUnits R), IsAddRegular ↑a
If R is an additive monoid, an element in add_units R is add-regular.
theorem IsUnit.isRegular E1 #
∀ {R : Type u_1} [inst : Monoid R] {a : R}, IsUnit a → IsRegular a
A unit in a monoid is regular.
theorem IsAddUnit.isAddRegular E1 #
∀ {R : Type u_1} [inst : AddMonoid R] {a : R}, IsAddUnit a → IsAddRegular a
An additive unit in an additive monoid is add-regular.
theorem IsLeftRegular.pow E1 #
∀ {R : Type u_1} [inst : Monoid R] {a : R} (n : ℕ), IsLeftRegular a → IsLeftRegular (a ^ n)
Any power of a left-regular element is left-regular.
theorem IsAddLeftRegular.nsmul E1 #
∀ {R : Type u_1} [inst : AddMonoid R] {a : R} (n : ℕ), IsAddLeftRegular a → IsAddLeftRegular (n • a)
theorem IsRightRegular.pow E1 #
∀ {R : Type u_1} [inst : Monoid R] {a : R} (n : ℕ), IsRightRegular a → IsRightRegular (a ^ n)
Any power of a right-regular element is right-regular.
theorem IsAddRightRegular.nsmul E1 #
∀ {R : Type u_1} [inst : AddMonoid R] {a : R} (n : ℕ), IsAddRightRegular a → IsAddRightRegular (n • a)
theorem IsRegular.pow E1 #
∀ {R : Type u_1} [inst : Monoid R] {a : R} (n : ℕ), IsRegular a → IsRegular (a ^ n)
Any power of a regular element is regular.
theorem IsAddRegular.nsmul E1 #
∀ {R : Type u_1} [inst : AddMonoid R] {a : R} (n : ℕ), IsAddRegular a → IsAddRegular (n • a)
theorem IsLeftRegular.pow_iff E0 #
∀ {R : Type u_1} [inst : Monoid R] {a : R} {n : ℕ}, 0 < n → (IsLeftRegular (a ^ n) ↔ IsLeftRegular a)
An element a is left-regular if and only if a positive power of a is left-regular.
theorem IsAddLeftRegular.nsmul_iff E0 #
∀ {R : Type u_1} [inst : AddMonoid R] {a : R} {n : ℕ}, 0 < n → (IsAddLeftRegular (n • a) ↔ IsAddLeftRegular a)
theorem IsRightRegular.pow_iff E0 #
∀ {R : Type u_1} [inst : Monoid R] {a : R} {n : ℕ}, 0 < n → (IsRightRegular (a ^ n) ↔ IsRightRegular a)
An element a is right-regular if and only if a positive power of a is right-regular.
theorem IsAddRightRegular.nsmul_iff E0 #
∀ {R : Type u_1} [inst : AddMonoid R] {a : R} {n : ℕ}, 0 < n → (IsAddRightRegular (n • a) ↔ IsAddRightRegular a)
theorem IsRegular.pow_iff E0 #
∀ {R : Type u_1} [inst : Monoid R] {a : R} {n : ℕ}, 0 < n → (IsRegular (a ^ n) ↔ IsRegular a)
An element a is regular if and only if a positive power of a is regular.
theorem IsAddRegular.nsmul_iff E0 #
∀ {R : Type u_1} [inst : AddMonoid R] {a : R} {n : ℕ}, 0 < n → (IsAddRegular (n • a) ↔ IsAddRegular a)
theorem IsAddLeftRegular.add_left_eq_self_iff E0 #
∀ {R : Type u_1} [inst : AddMonoid R] {a b : R}, IsAddLeftRegular a → (a + b = a ↔ b = 0)
theorem IsLeftRegular.mul_left_eq_self_iff E0 #
∀ {R : Type u_1} [inst : Monoid R] {a b : R}, IsLeftRegular a → (a * b = a ↔ b = 1)
theorem IsRightRegular.mul_right_eq_self_iff E0 #
∀ {R : Type u_1} [inst : Monoid R] {a b : R}, IsRightRegular a → (b * a = a ↔ b = 1)
theorem IsAddRightRegular.add_right_eq_self_iff E0 #
∀ {R : Type u_1} [inst : AddMonoid R] {a b : R}, IsAddRightRegular a → (b + a = a ↔ b = 0)
theorem IsDedekindFiniteAddMonoid.iff_isAddLeftRegular_of_add_eq_zero E1 #
∀ {R : Type u_1} [inst : AddMonoid R], IsDedekindFiniteAddMonoid R ↔ ∀ (x y : R), x + y = 0 → IsAddLeftRegular x
theorem IsDedekindFiniteMonoid.iff_isLeftRegular_of_mul_eq_one E1 #
∀ {R : Type u_1} [inst : Monoid R], IsDedekindFiniteMonoid R ↔ ∀ (x y : R), x * y = 1 → IsLeftRegular x
theorem IsDedekindFiniteAddMonoid.iff_isAddRightRegular_of_add_eq_zero E1 #
∀ {R : Type u_1} [inst : AddMonoid R], IsDedekindFiniteAddMonoid R ↔ ∀ (x y : R), x + y = 0 → IsAddRightRegular y
theorem IsDedekindFiniteMonoid.iff_isRightRegular_of_mul_eq_one E1 #
∀ {R : Type u_1} [inst : Monoid R], IsDedekindFiniteMonoid R ↔ ∀ (x y : R), x * y = 1 → IsRightRegular y