English
Define an R-algebra object from any type X with a ring and R-algebra structure; this is the formal embedding of X as an algebra over R.
Русский
Определим R-альгебраический объект из типа X с кольцовыми и R-алгебраическими структурами; это формальная вложенность X как алгебры над R.
LaTeX
$$$\text{of}\; R\; X: \mathrm{CommAlgCat}\; R$$$
Lean4
/-- The object in the category of R-algebras associated to a type equipped with the appropriate
typeclasses. This is the preferred way to construct a term of `CommAlgCat R`. -/
abbrev of (X : Type v) [CommRing X] [Algebra R X] : CommAlgCat.{v} R :=
⟨X⟩