Mathlib.Algebra.Group.Commute.Units
60 declarations. Mathlib docs · Source
theorem Units.ofPowEqOne.congr_simp E1 #
∀ {M : Type u_1} [inst : Monoid M] (a a_1 : M) (e_a : a = a_1) (n n_1 : ℕ) (e_n : n = n_1) (ha : a ^ n = 1)
(hn : n ≠ 0), Units.ofPowEqOne a n ha hn = Units.ofPowEqOne a_1 n_1 ⋯ ⋯
theorem Commute.units_inv_right E1 #
∀ {M : Type u_1} [inst : Monoid M] {a : M} {u : Mˣ}, Commute a ↑u → Commute a ↑u⁻¹
theorem AddCommute.addUnits_neg_right E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {a : M} {u : AddUnits M}, AddCommute a ↑u → AddCommute a ↑(-u)
theorem Commute.units_inv_right_iff E0 #
∀ {M : Type u_1} [inst : Monoid M] {a : M} {u : Mˣ}, Commute a ↑u⁻¹ ↔ Commute a ↑u
theorem AddCommute.addUnits_neg_right_iff E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {a : M} {u : AddUnits M}, AddCommute a ↑(-u) ↔ AddCommute a ↑u
theorem Commute.units_inv_left E1 #
∀ {M : Type u_1} [inst : Monoid M] {a : M} {u : Mˣ}, Commute (↑u) a → Commute (↑u⁻¹) a
theorem AddCommute.addUnits_neg_left E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {a : M} {u : AddUnits M}, AddCommute (↑u) a → AddCommute (↑(-u)) a
theorem AddCommute.addUnits_neg_left_iff E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {a : M} {u : AddUnits M}, AddCommute (↑(-u)) a ↔ AddCommute (↑u) a
theorem Commute.units_inv_left_iff E0 #
∀ {M : Type u_1} [inst : Monoid M] {a : M} {u : Mˣ}, Commute (↑u⁻¹) a ↔ Commute (↑u) a
theorem Commute.units_val E0 #
∀ {M : Type u_1} [inst : Monoid M] {u₁ u₂ : Mˣ}, Commute u₁ u₂ → Commute ↑u₁ ↑u₂
theorem AddCommute.addUnits_val E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {u₁ u₂ : AddUnits M}, AddCommute u₁ u₂ → AddCommute ↑u₁ ↑u₂
theorem AddCommute.addUnits_of_val E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {u₁ u₂ : AddUnits M}, AddCommute ↑u₁ ↑u₂ → AddCommute u₁ u₂
theorem Commute.units_of_val E0 #
∀ {M : Type u_1} [inst : Monoid M] {u₁ u₂ : Mˣ}, Commute ↑u₁ ↑u₂ → Commute u₁ u₂
theorem AddCommute.addUnits_val_iff E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {u₁ u₂ : AddUnits M}, AddCommute ↑u₁ ↑u₂ ↔ AddCommute u₁ u₂
theorem Commute.units_val_iff E0 #
∀ {M : Type u_1} [inst : Monoid M] {u₁ u₂ : Mˣ}, Commute ↑u₁ ↑u₂ ↔ Commute u₁ u₂
def Units.leftOfMul E1 #
{M : Type u_1} → [inst : Monoid M] → (u : Mˣ) → (a b : M) → a * b = ↑u → Commute a b → Mˣ
If the product of two commuting elements is a unit, then the left multiplier is a unit.
def AddUnits.leftOfAdd E1 #
{M : Type u_1} → [inst : AddMonoid M] → (u : AddUnits M) → (a b : M) → a + b = ↑u → AddCommute a b → AddUnits M
If the sum of two commuting elements is an additive unit, then the left summand is an additive unit.
def Units.rightOfMul E1 #
{M : Type u_1} → [inst : Monoid M] → (u : Mˣ) → (a b : M) → a * b = ↑u → Commute a b → Mˣ
If the product of two commuting elements is a unit, then the right multiplier is a unit.
def AddUnits.rightOfAdd E1 #
{M : Type u_1} → [inst : AddMonoid M] → (u : AddUnits M) → (a b : M) → a + b = ↑u → AddCommute a b → AddUnits M
If the sum of two commuting elements is an additive unit, then the right summand is an additive unit.
theorem AddCommute.isAddUnit_add_iff E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {a b : M}, AddCommute a b → (IsAddUnit (a + b) ↔ IsAddUnit a ∧ IsAddUnit b)
theorem Commute.isUnit_mul_iff E0 #
∀ {M : Type u_1} [inst : Monoid M] {a b : M}, Commute a b → (IsUnit (a * b) ↔ IsUnit a ∧ IsUnit b)
theorem isAddUnit_add_self_iff E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {a : M}, IsAddUnit (a + a) ↔ IsAddUnit a
theorem isUnit_mul_self_iff E0 #
∀ {M : Type u_1} [inst : Monoid M] {a : M}, IsUnit (a * a) ↔ IsUnit a
theorem Commute.units_zpow_right E0 #
∀ {M : Type u_1} [inst : Monoid M] {a : M} {u : Mˣ}, Commute a ↑u → ∀ (m : ℤ), Commute a ↑(u ^ m)
theorem AddCommute.addUnits_zsmul_right E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {a : M} {u : AddUnits M}, AddCommute a ↑u → ∀ (m : ℤ), AddCommute a ↑(m • u)
theorem Commute.units_zpow_left E0 #
∀ {M : Type u_1} [inst : Monoid M] {a : M} {u : Mˣ}, Commute (↑u) a → ∀ (m : ℤ), Commute (↑(u ^ m)) a
theorem AddCommute.addUnits_zsmul_left E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {a : M} {u : AddUnits M}, AddCommute (↑u) a → ∀ (m : ℤ), AddCommute (↑(m • u)) a
def Units.ofPow E1 #
{M : Type u_1} → [inst : Monoid M] → (u : Mˣ) → (x : M) → {n : ℕ} → n ≠ 0 → x ^ n = ↑u → Mˣ
If a natural power of x is a unit, then x is a unit.
def AddUnits.ofNSMul E1 #
{M : Type u_1} → [inst : AddMonoid M] → (u : AddUnits M) → (x : M) → {n : ℕ} → n ≠ 0 → n • x = ↑u → AddUnits M
If a natural multiple of x is an additive unit, then x is an additive unit.
theorem isUnit_pow_iff E0 #
∀ {M : Type u_1} [inst : Monoid M] {n : ℕ} {a : M}, n ≠ 0 → (IsUnit (a ^ n) ↔ IsUnit a)
theorem isAddUnit_nsmul_iff E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {n : ℕ} {a : M}, n ≠ 0 → (IsAddUnit (n • a) ↔ IsAddUnit a)
theorem isAddUnit_nsmul_succ_iff E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {n : ℕ} {a : M}, IsAddUnit ((n + 1) • a) ↔ IsAddUnit a
theorem isUnit_pow_succ_iff E0 #
∀ {M : Type u_1} [inst : Monoid M] {n : ℕ} {a : M}, IsUnit (a ^ (n + 1)) ↔ IsUnit a
theorem exists_unit_eq_pow_iff E0 #
∀ {M : Type u_1} [inst : Monoid M] {n : ℕ} {a : Mˣ}, (∃ x, a = x ^ n) ↔ ∃ x, ↑a = x ^ n
The unit a is an n-th power in Mˣ if and only if a is an n-th power in M.
theorem exists_addUnit_eq_nsmul_iff E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {n : ℕ} {a : AddUnits M}, (∃ x, a = n • x) ↔ ∃ x, ↑a = n • x
The additive unit a is an n-th multiple in AddUnits M if and only
if a is an n-th multiple in M.
theorem isUnit_pow_iff_of_not_isUnit E1 #
∀ {M : Type u_1} [inst : Monoid M] {a : M}, ¬IsUnit a → ∀ {n : ℕ}, IsUnit (a ^ n) ↔ n = 0
def Units.ofPowEqOne E1 #
{M : Type u_1} → [inst : Monoid M] → (a : M) → (n : ℕ) → a ^ n = 1 → n ≠ 0 → Mˣ
If a ^ n = 1, n ≠ 0, then a is a unit.
theorem Units.val_inv_ofPowEqOne E0 #
∀ {M : Type u_1} [inst : Monoid M] (a : M) (n : ℕ) (ha : a ^ n = 1) (hn : n ≠ 0),
↑(Units.ofPowEqOne a n ha hn)⁻¹ = a ^ (n - 1)
def AddUnits.ofNSMulEqZero E1 #
{M : Type u_1} → [inst : AddMonoid M] → (a : M) → (n : ℕ) → n • a = 0 → n ≠ 0 → AddUnits M
If n • x = 0, n ≠ 0, then x is an additive unit.
theorem AddUnits.val_ofNSMulEqZero E0 #
∀ {M : Type u_1} [inst : AddMonoid M] (a : M) (n : ℕ) (ha : n • a = 0) (hn : n ≠ 0),
↑(AddUnits.ofNSMulEqZero a n ha hn) = a
theorem Units.val_ofPowEqOne E0 #
∀ {M : Type u_1} [inst : Monoid M] (a : M) (n : ℕ) (ha : a ^ n = 1) (hn : n ≠ 0), ↑(Units.ofPowEqOne a n ha hn) = a
theorem AddUnits.val_neg_ofNSMulEqZero E0 #
∀ {M : Type u_1} [inst : AddMonoid M] (a : M) (n : ℕ) (ha : n • a = 0) (hn : n ≠ 0),
↑(-AddUnits.ofNSMulEqZero a n ha hn) = (n - 1) • a
theorem Units.pow_ofPowEqOne E0 #
∀ {M : Type u_1} [inst : Monoid M] {n : ℕ} {a : M} (ha : a ^ n = 1) (hn : n ≠ 0), Units.ofPowEqOne a n ha hn ^ n = 1
theorem AddUnits.nsmul_ofNSMulEqZero E0 #
∀ {M : Type u_1} [inst : AddMonoid M] {n : ℕ} {a : M} (ha : n • a = 0) (hn : n ≠ 0),
n • AddUnits.ofNSMulEqZero a n ha hn = 0
theorem IsAddUnit.of_nsmul_eq_zero E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {n : ℕ} {a : M}, n • a = 0 → n ≠ 0 → IsAddUnit a
theorem IsUnit.of_pow_eq_one E1 #
∀ {M : Type u_1} [inst : Monoid M] {n : ℕ} {a : M}, a ^ n = 1 → n ≠ 0 → IsUnit a
theorem Units.commute_iff_inv_mul_cancel E1 #
∀ {M : Type u_1} [inst : Monoid M] {u : Mˣ} {a : M}, Commute (↑u) a ↔ ↑u⁻¹ * a * ↑u = a
theorem AddUnits.addCommute_iff_neg_add_cancel E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {u : AddUnits M} {a : M}, AddCommute (↑u) a ↔ ↑(-u) + a + ↑u = a
theorem AddUnits.addCommute_iff_neg_add_cancel_assoc E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {u : AddUnits M} {a : M}, AddCommute (↑u) a ↔ ↑(-u) + (a + ↑u) = a
theorem Units.commute_iff_inv_mul_cancel_assoc E1 #
∀ {M : Type u_1} [inst : Monoid M] {u : Mˣ} {a : M}, Commute (↑u) a ↔ ↑u⁻¹ * (a * ↑u) = a
theorem AddUnits.addCommute_iff_add_neg_cancel E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {u : AddUnits M} {a : M}, AddCommute (↑u) a ↔ ↑u + a + ↑(-u) = a
theorem Units.commute_iff_mul_inv_cancel E1 #
∀ {M : Type u_1} [inst : Monoid M] {u : Mˣ} {a : M}, Commute (↑u) a ↔ ↑u * a * ↑u⁻¹ = a
theorem AddUnits.addCommute_iff_add_neg_cancel_assoc E1 #
∀ {M : Type u_1} [inst : AddMonoid M] {u : AddUnits M} {a : M}, AddCommute (↑u) a ↔ ↑u + (a + ↑(-u)) = a
theorem Units.commute_iff_mul_inv_cancel_assoc E1 #
∀ {M : Type u_1} [inst : Monoid M] {u : Mˣ} {a : M}, Commute (↑u) a ↔ ↑u * (a * ↑u⁻¹) = a
theorem AddCommute.sub_eq_sub_iff_of_isAddUnit E1 #
∀ {M : Type u_1} [inst : SubtractionMonoid M] {a b c d : M},
AddCommute b d → IsAddUnit b → IsAddUnit d → (a - b = c - d ↔ a + d = c + b)
theorem Commute.div_eq_div_iff_of_isUnit E1 #
∀ {M : Type u_1} [inst : DivisionMonoid M] {a b c d : M},
Commute b d → IsUnit b → IsUnit d → (a / b = c / d ↔ a * d = c * b)
theorem Commute.mul_inv_eq_mul_inv_iff_of_isUnit E1 #
∀ {M : Type u_1} [inst : DivisionMonoid M] {a b c d : M},
Commute b d → IsUnit b → IsUnit d → (a * b⁻¹ = c * d⁻¹ ↔ a * d = c * b)
theorem AddCommute.add_neg_eq_add_neg_iff_of_isAddUnit E1 #
∀ {M : Type u_1} [inst : SubtractionMonoid M] {a b c d : M},
AddCommute b d → IsAddUnit b → IsAddUnit d → (a + -b = c + -d ↔ a + d = c + b)
theorem AddCommute.neg_add_eq_neg_add_iff_of_isAddUnit E1 #
∀ {M : Type u_1} [inst : SubtractionMonoid M] {a b c d : M},
AddCommute b d → IsAddUnit b → IsAddUnit d → (-b + a = -d + c ↔ d + a = b + c)
theorem Commute.inv_mul_eq_inv_mul_iff_of_isUnit E1 #
∀ {M : Type u_1} [inst : DivisionMonoid M] {a b c d : M},
Commute b d → IsUnit b → IsUnit d → (b⁻¹ * a = d⁻¹ * c ↔ d * a = b * c)