English
The centralizer of a subset S of a magma consists of all elements that commute with every element of S.
Русский
Централизатор подмножества S в магме состоит из всех элементов, которые commute с каждым элементом S.
LaTeX
$$$\\mathrm{centralizer}(S) = \\{ c \\in M \\mid \\forall m \\in S,\\; m c = c m \\}$$$
Lean4
/-- The centralizer of a subset of a magma. -/
@[to_additive addCentralizer /-- The centralizer of a subset of an additive magma. -/
]
def centralizer : Set M :=
{c | ∀ m ∈ S, m * c = c * m}