Centralizers of magmas and monoids #
Main definitions #
submonoid.centralizer
: the centralizer of a subset of a monoidadd_submonoid.centralizer
: the centralizer of a subset of an additive monoid
We provide subgroup.centralizer
, add_subgroup.centralizer
in other files.
The centralizer of a subset of a monoid M
.
Equations
- submonoid.centralizer S = {carrier := S.centralizer (mul_one_class.to_has_mul M), mul_mem' := _, one_mem' := _}
The centralizer of a subset of an additive monoid.
Equations
- add_submonoid.centralizer S = {carrier := S.add_centralizer (add_zero_class.to_has_add M), add_mem' := _, zero_mem' := _}
@[simp, norm_cast]
@[simp, norm_cast]
@[protected, instance]
def
submonoid.decidable_mem_centralizer
{M : Type u_1}
{S : set M}
[monoid M]
[decidable_eq M]
[fintype M]
[decidable_pred (λ (_x : M), _x ∈ S)] :
decidable_pred (λ (_x : M), _x ∈ submonoid.centralizer S)
Equations
- submonoid.decidable_mem_centralizer = λ (_x : M), decidable_of_iff' (∀ (g : M), g ∈ S → g * _x = _x * g) submonoid.mem_centralizer_iff
@[protected, instance]
def
add_submonoid.decidable_mem_centralizer
{M : Type u_1}
{S : set M}
[add_monoid M]
[decidable_eq M]
[fintype M]
[decidable_pred (λ (_x : M), _x ∈ S)] :
decidable_pred (λ (_x : M), _x ∈ add_submonoid.centralizer S)
Equations
- add_submonoid.decidable_mem_centralizer = λ (_x : M), decidable_of_iff' (∀ (g : M), g ∈ S → g + _x = _x + g) add_submonoid.mem_centralizer_iff
@[simp]
@[simp]