Documentation

Mathlib.Algebra.Group.Center

Centers of magmas and semigroups #

Main definitions #

See also #

See Mathlib.GroupTheory.Subsemigroup.Center for the definition of the center as a subsemigroup:

We provide Submonoid.center, AddSubmonoid.center, Subgroup.center, AddSubgroup.center, Subsemiring.center, and Subring.center in other files.

See Mathlib.GroupTheory.Subsemigroup.Centralizer for the definition of the centralizer as a subsemigroup:

We provide Monoid.centralizer, AddMonoid.centralizer, Subgroup.centralizer, and AddSubgroup.centralizer in other files.

structure IsAddCentral {M : Type u_1} [Add M] (z : M) :

Conditions for an element to be additively central

  • comm (a : M) : z + a = a + z

    addition commutes

  • left_assoc (b c : M) : z + (b + c) = z + b + c

    associative property for left addition

  • mid_assoc (a c : M) : a + z + c = a + (z + c)

    middle associative addition property

  • right_assoc (a b : M) : a + b + z = a + (b + z)

    associative property for right addition

structure IsMulCentral {M : Type u_1} [Mul M] (z : M) :

Conditions for an element to be multiplicatively central

  • comm (a : M) : z * a = a * z

    multiplication commutes

  • left_assoc (b c : M) : z * (b * c) = z * b * c

    associative property for left multiplication

  • mid_assoc (a c : M) : a * z * c = a * (z * c)

    middle associative multiplication property

  • right_assoc (a b : M) : a * b * z = a * (b * z)

    associative property for right multiplication

theorem isAddCentral_iff {M : Type u_1} [Add M] (z : M) :
IsAddCentral z (∀ (a : M), z + a = a + z) (∀ (b c : M), z + (b + c) = z + b + c) (∀ (a c : M), a + z + c = a + (z + c)) ∀ (a b : M), a + b + z = a + (b + z)
theorem isMulCentral_iff {M : Type u_1} [Mul M] (z : M) :
IsMulCentral z (∀ (a : M), z * a = a * z) (∀ (b c : M), z * (b * c) = z * b * c) (∀ (a c : M), a * z * c = a * (z * c)) ∀ (a b : M), a * b * z = a * (b * z)
theorem IsMulCentral.left_comm {M : Type u_1} {a : M} [Mul M] (h : IsMulCentral a) (b c : M) :
a * (b * c) = b * (a * c)
theorem IsAddCentral.left_comm {M : Type u_1} {a : M} [Add M] (h : IsAddCentral a) (b c : M) :
a + (b + c) = b + (a + c)
theorem IsMulCentral.right_comm {M : Type u_1} {c : M} [Mul M] (h : IsMulCentral c) (a b : M) :
a * b * c = a * c * b
theorem IsAddCentral.right_comm {M : Type u_1} {c : M} [Add M] (h : IsAddCentral c) (a b : M) :
a + b + c = a + c + b

Center #

def Set.center (M : Type u_1) [Mul M] :
Set M

The center of a magma.

Equations
def Set.addCenter (M : Type u_1) [Add M] :
Set M

The center of an additive magma.

Equations
def Set.centralizer {M : Type u_1} (S : Set M) [Mul M] :
Set M

The centralizer of a subset of a magma.

Equations
def Set.addCentralizer {M : Type u_1} (S : Set M) [Add M] :
Set M

The centralizer of a subset of an additive magma.

Equations
theorem Set.mem_center_iff {M : Type u_1} [Mul M] {z : M} :
theorem Set.mem_addCenter_iff {M : Type u_1} [Add M] {z : M} :
theorem Set.mem_centralizer_iff {M : Type u_1} {S : Set M} [Mul M] {c : M} :
c S.centralizer mS, m * c = c * m
theorem Set.mem_addCentralizer {M : Type u_1} {S : Set M} [Add M] {c : M} :
c S.addCentralizer mS, m + c = c + m
@[simp]
theorem Set.mul_mem_center {M : Type u_1} [Mul M] {z₁ z₂ : M} (hz₁ : z₁ center M) (hz₂ : z₂ center M) :
z₁ * z₂ center M
@[simp]
theorem Set.add_mem_addCenter {M : Type u_1} [Add M] {z₁ z₂ : M} (hz₁ : z₁ addCenter M) (hz₂ : z₂ addCenter M) :
z₁ + z₂ addCenter M
theorem Set.centralizer_union {M : Type u_1} {S T : Set M} [Mul M] :
theorem Set.centralizer_subset {M : Type u_1} {S T : Set M} [Mul M] (h : S T) :
theorem Set.addCentralizer_subset {M : Type u_1} {S T : Set M} [Add M] (h : S T) :
instance Set.decidableMemCentralizer {M : Type u_1} {S : Set M} [Mul M] [(a : M) → Decidable (∀ bS, b * a = a * b)] :
DecidablePred fun (x : M) => x S.centralizer
Equations
instance Set.decidableMemAddCentralizer {M : Type u_1} {S : Set M} [Add M] [(a : M) → Decidable (∀ bS, b + a = a + b)] :
DecidablePred fun (x : M) => x S.addCentralizer
Equations
theorem Set.centralizer_centralizer_comm_of_comm {M : Type u_1} {S : Set M} [Mul M] (h_comm : xS, yS, x * y = y * x) (x : M) :
x S.centralizer.centralizeryS.centralizer.centralizer, x * y = y * x
theorem Set.addCentralizer_addCentralizer_comm_of_comm {M : Type u_1} {S : Set M} [Add M] (h_comm : xS, yS, x + y = y + x) (x : M) :
theorem Semigroup.mem_center_iff {M : Type u_1} [Semigroup M] {z : M} :
z Set.center M ∀ (g : M), g * z = z * g
theorem AddSemigroup.mem_center_iff {M : Type u_1} [AddSemigroup M] {z : M} :
z Set.addCenter M ∀ (g : M), g + z = z + g
@[simp]
theorem Set.mul_mem_centralizer {M : Type u_1} {S : Set M} [Semigroup M] {a b : M} (ha : a S.centralizer) (hb : b S.centralizer) :
@[simp]
theorem Set.add_mem_addCentralizer {M : Type u_1} {S : Set M} [AddSemigroup M] {a b : M} (ha : a S.addCentralizer) (hb : b S.addCentralizer) :
instance Set.decidableMemCenter {M : Type u_1} [Semigroup M] [(a : M) → Decidable (∀ (b : M), b * a = a * b)] :
DecidablePred fun (x : M) => x center M
Equations
instance Set.decidableMemAddCenter {M : Type u_1} [AddSemigroup M] [(a : M) → Decidable (∀ (b : M), b + a = a + b)] :
DecidablePred fun (x : M) => x addCenter M
Equations
@[simp]
@[simp]
@[simp]
theorem Set.one_mem_center {M : Type u_1} [MulOneClass M] :
@[simp]
@[simp]
theorem Set.one_mem_centralizer {M : Type u_1} {S : Set M} [MulOneClass M] :
@[simp]
@[simp]
theorem Set.units_inv_mem_center {M : Type u_1} [Monoid M] {a : Mˣ} (ha : a center M) :
@[simp]
theorem Set.addUnits_neg_mem_center {M : Type u_1} [AddMonoid M] {a : AddUnits M} (ha : a addCenter M) :
↑(-a) addCenter M
@[simp]
theorem Set.invOf_mem_center {M : Type u_1} [Monoid M] {a : M} [Invertible a] (ha : a center M) :
@[simp]
theorem Set.inv_mem_center {M : Type u_1} [DivisionMonoid M] {a : M} (ha : a center M) :
@[simp]
theorem Set.neg_mem_addCenter {M : Type u_1} [SubtractionMonoid M] {a : M} (ha : a addCenter M) :
@[simp]
theorem Set.div_mem_center {M : Type u_1} [DivisionMonoid M] {a b : M} (ha : a center M) (hb : b center M) :
a / b center M
@[simp]
theorem Set.sub_mem_addCenter {M : Type u_1} [SubtractionMonoid M] {a b : M} (ha : a addCenter M) (hb : b addCenter M) :
@[simp]
theorem Set.inv_mem_centralizer {M : Type u_1} {S : Set M} [Group M] {a : M} (ha : a S.centralizer) :
@[simp]
theorem Set.neg_mem_addCentralizer {M : Type u_1} {S : Set M} [AddGroup M] {a : M} (ha : a S.addCentralizer) :
@[simp]
theorem Set.div_mem_centralizer {M : Type u_1} {S : Set M} [Group M] {a b : M} (ha : a S.centralizer) (hb : b S.centralizer) :
@[simp]
theorem Set.sub_mem_addCentralizer {M : Type u_1} {S : Set M} [AddGroup M] {a b : M} (ha : a S.addCentralizer) (hb : b S.addCentralizer) :