English
The embedding of X into FreeNonUnitalNonAssocAlgebra R X is given by composing FreeMagma.of with MonoidAlgebra.ofMagma.
Русский
Встроение X в FreeNonUnitalNonAssocAlgebra R X задаётся композицией MonoidAlgebra.ofMagma и FreeMagma.of.
LaTeX
$$$\\text{of} : X \\to FreeNonUnitalNonAssocAlgebra\\ R\\ X \\quad\\text{is defined by}\\quad \\text{of} = \\mathrm{MonoidAlgebra.ofMagma}\\ R\\ _ \\circ \\mathrm{FreeMagma.of}$$$
Lean4
/-- The embedding of `X` into the free algebra with coefficients in `R`. -/
def of : X → FreeNonUnitalNonAssocAlgebra R X :=
MonoidAlgebra.ofMagma R _ ∘ FreeMagma.of