remark. [ca-0018]
remark. [ca-0018]
The definition above (adopted in \(\textsf {Mathlib}\)) is more general than the definition in literature (e.g. [jadczyk2019notes, 1.6]):
Let \(R\) be a commutative ring. An algebra \(A\) over \(R\) is a pair \((M, *)\), satisfying:
- \(A\) is a module \(M\) over \(R\) under \(+\) and \(\bullet \).
- \(A\) is a ring under \(*\).
- For \(x, y \in A, a \in R\), we have \[ a \bullet (x * y) = (a \bullet x) * y = x * (a \bullet y) \]
See Implementation notes in Algebra for details.