Proposition. Composition and field multiplication [fdip-0011]
Proposition. Composition and field multiplication [fdip-0011]
Let \(R\) be a commutative unital ring. For \(R\)-modules \(M,N,P\), use \(\operatorname {Hom}_R(M,N)\) for additive, scalar-preserving maps. Thus linearity fixes \(\sigma =\operatorname {id}_R\). Given \(A\in \operatorname {Hom}_R(M,N)\) and \(B\in \operatorname {Hom}_R(N,P)\), write \[BA=B\circ A:M\to P.\] Composition is associative and \(R\)-bilinear where the types match. In particular, the endomorphisms \(\operatorname {End}_R(M)=\operatorname {Hom}_R(M,M)\) form an associative unital \(R\)-algebra, with unit \(I_M\) and central scalar map \(r\mapsto rI_M\).
On the vertex-field module, pointwise products are the multiplication operators. The map \(f\mapsto M_f\) is an injective \(R\)-algebra homomorphism into \(\operatorname {End}_R(\mathcal F_R(V))\). The proof evaluates those algebra laws. Example [fdip-00AP] exhibits endomorphisms that do not commute.
The Hom-module and algebra conventions are
[stacks2017stacks, Section 10.10; Section 22.2], Tags 0581 and 09JF;
the field multiplication assertions are the direct calculation above.
Mathlib's Module.End.mul_eq_comp and
Module.End.mul_apply give this right-factor-first product.
These declarations do not assert that arbitrary maps with different
endpoints form one algebra, or that a formal generator presentation is
faithful.