Centralizers of magmas and monoids #
Main definitions #
Submonoid.centralizer: the centralizer of a subset of a monoidAddSubmonoid.centralizer: the centralizer of a subset of an additive monoid
We provide Subgroup.centralizer, AddSubgroup.centralizer in other files.
The centralizer of a subset of an additive monoid.
Instances For
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
theorem Submonoid.isMulCommutative_closure (M : Type u_1) [Monoid M] {s : Set M} (hcomm : s.Pairwise Commute) :
IsMulCommutative ↥(closure s)
If all the elements of a set s commute, then closure s is a commutative monoid.
theorem AddSubmonoid.isAddCommutative_closure (M : Type u_1) [AddMonoid M] {s : Set M} (hcomm : s.Pairwise AddCommute) :
IsAddCommutative ↥(closure s)
If all the elements of a set s commute, then closure s forms an additive
commutative monoid.
instance Submonoid.instIsMulCommutative_closure (M : Type u_1) [Monoid M] {S : Type u_2} [SetLike S M] [MulMemClass S M] (s : S) [IsMulCommutative ↥s] :
IsMulCommutative ↥(closure ↑s)
instance AddSubmonoid.instIsAddCommutative_closure (M : Type u_1) [AddMonoid M] {S : Type u_2} [SetLike S M] [AddMemClass S M] (s : S) [IsAddCommutative ↥s] :
IsAddCommutative ↥(closure ↑s)