English
Let A and B be ⋆-algebras over a commutative semiring R. The collection of star-algebra homomorphisms from A to B forms a star-homomorphism class, i.e., a coherent structure capturing maps that preserve both the algebra operations and the star operation.
Русский
Пусть A и B — ⋆-алгебры над коммутативным полускольником R. Совокупность звездно-алгебра-гомоморфизмов из A в B образует класс StarHom, описывающий такие отображения, сохраняющие операции умножения, сложения и оператор звезды.
LaTeX
$$$\operatorname{StarHomClass}(\mathrm{StarAlgHom}(R,A,B))$$$
Lean4
instance : StarHomClass (A →⋆ₐ[R] B) A B where map_star f := f.map_star'