Centers of semigroups, as subsemigroups. #
Main definitions #
Subsemigroup.center: the center of a semigroupAddSubsemigroup.center: the center of an additive semigroup
We provide Submonoid.center, AddSubmonoid.center, Subgroup.center, AddSubgroup.center,
Subsemiring.center, and Subring.center in other files.
References #
- [Cabrera GarcΓa and RodrΓguez Palacios, Non-associative normed algebras. Volume 1] [cabreragarciarodriguezpalacios2014]
Set.center as a Subsemigroup. #
The center of a semigroup M is the set of elements that commute with everything in M
Instances For
The center of an additive semigroup M is the set of elements that commute with
everything in M
Instances For
@[implicit_reducible]
The center of a magma is commutative and associative.
@[implicit_reducible]
instance
AddSubsemigroup.center.addCommSemigroup
{M : Type u_1}
[Add M]
:
AddCommSemigroup β₯(center M)
The center of an additive magma is commutative and associative.
theorem
Subsemigroup.mem_center_iff
{M : Type u_1}
[Semigroup M]
{z : M}
:
z β center M β β (g : M), g * z = z * g
theorem
AddSubsemigroup.mem_center_iff
{M : Type u_1}
[AddSemigroup M]
{z : M}
:
z β center M β β (g : M), g + z = z + g
@[implicit_reducible]
instance
Subsemigroup.decidableMemCenter
{M : Type u_1}
[Semigroup M]
(a : M)
[Decidable (β (b : M), b * a = a * b)]
:
Decidable (a β center M)
@[implicit_reducible]
instance
AddSubsemigroup.decidableMemCenter
{M : Type u_1}
[AddSemigroup M]
(a : M)
[Decidable (β (b : M), b + a = a + b)]
:
Decidable (a β center M)
@[simp]
@[simp]