English
There is a ring hom from Y to LocallyConstant X Y sending y to the constant function on X with value y.
Русский
Существует кольм-гомоморфизм из Y в LocallyConstant X Y, отправляющий y в константную по X функцию с значением y.
LaTeX
$$$\text{constRingHom}: Y \to^{+\to}\mathrm{LocallyConstant}(X,Y)\text{ is a ring hom; } y \mapsto \text{const}_X(y).$$$
Lean4
/-- The constant-function embedding, as a ring hom. -/
@[simps]
def constRingHom [NonAssocSemiring Y] : Y →+* LocallyConstant X Y :=
{ constMonoidHom, constAddMonoidHom with toFun := const X }