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.
theorem
AddSubmonoid.centralizer.proof_1
{M : Type u_1}
(S : Set M)
[AddMonoid M]
:
∀ {a b : M}, a ∈ Set.addCentralizer S → b ∈ Set.addCentralizer S → a + b ∈ Set.addCentralizer S
The centralizer of a subset of an additive monoid.
Equations
- AddSubmonoid.centralizer S = { toAddSubsemigroup := { carrier := Set.addCentralizer S, add_mem' := ⋯ }, zero_mem' := ⋯ }
Instances For
theorem
AddSubmonoid.centralizer.proof_2
{M : Type u_1}
(S : Set M)
[AddMonoid M]
:
0 ∈ Set.addCentralizer S
The centralizer of a subset of a monoid M
.
Equations
- Submonoid.centralizer S = { toSubsemigroup := { carrier := Set.centralizer S, mul_mem' := ⋯ }, one_mem' := ⋯ }
Instances For
@[simp]
@[simp]
theorem
Submonoid.centralizer_toSubsemigroup
{M : Type u_1}
(S : Set M)
[Monoid M]
:
(Submonoid.centralizer S).toSubsemigroup = Subsemigroup.centralizer S
theorem
AddSubmonoid.centralizer_toAddSubsemigroup
{M : Type u_2}
[AddMonoid M]
(S : Set M)
:
(AddSubmonoid.centralizer S).toAddSubsemigroup = AddSubsemigroup.centralizer S
instance
AddSubmonoid.decidableMemCentralizer
{M : Type u_1}
{S : Set M}
[AddMonoid M]
(a : M)
[Decidable (∀ b ∈ S, b + a = a + b)]
:
Equations
- AddSubmonoid.decidableMemCentralizer a = decidable_of_iff' (∀ g ∈ S, g + a = a + g) ⋯
instance
Submonoid.decidableMemCentralizer
{M : Type u_1}
{S : Set M}
[Monoid M]
(a : M)
[Decidable (∀ b ∈ S, b * a = a * b)]
:
Decidable (a ∈ Submonoid.centralizer S)
Equations
- Submonoid.decidableMemCentralizer a = decidable_of_iff' (∀ g ∈ S, g * a = a * g) ⋯
@[simp]
theorem
AddSubmonoid.centralizer_eq_top_iff_subset
{M : Type u_1}
[AddMonoid M]
{s : Set M}
:
AddSubmonoid.centralizer s = ⊤ ↔ s ⊆ ↑(AddSubmonoid.center M)
@[simp]
theorem
Submonoid.centralizer_eq_top_iff_subset
{M : Type u_1}
[Monoid M]
{s : Set M}
:
Submonoid.centralizer s = ⊤ ↔ s ⊆ ↑(Submonoid.center M)
@[simp]
theorem
AddSubmonoid.centralizer_univ
(M : Type u_1)
[AddMonoid M]
:
AddSubmonoid.centralizer Set.univ = AddSubmonoid.center M
@[simp]
theorem
Submonoid.centralizer_univ
(M : Type u_1)
[Monoid M]
:
Submonoid.centralizer Set.univ = Submonoid.center M