English
The construction MonoidAlgebra R M forms a nonunital, nonassociative ring structure (i.e., a ring without a multiplicative identity, and not necessarily associative) when M is a semigroup and R is a ring.
Русский
Конструкция MonoidAlgebra R M образует неприводимое без единицы кольцо без ассоциативности, если M - полугруппа, а R - кольцо.
LaTeX
$$$\\mathrm{NonUnitalNonAssocRing}(\\mathrm{MonoidAlgebra}(R,M)).$$$
Lean4
@[to_additive (dont_translate := R)]
instance nonUnitalNonAssocRing [Mul M] : NonUnitalNonAssocRing (MonoidAlgebra R M) where