English
The coerced copy mirrors the newly chosen function on inputs.
Русский
Сопряженная копия совпадает с новой функцией на входах.
LaTeX
$$$\\text{coe\_copy}(f,f',h): \\!\\!\\mapsto f'$$$
Lean4
/-- Copy of an `OrderMonoidHom` with a new `toFun` equal to the old one. Useful to fix
definitional equalities. -/
@[to_additive /-- Copy of an `OrderAddMonoidHom` with a new `toFun` equal to the old one. Useful to
fix definitional equalities. -/
]
protected def copy (f : α →*o β) (f' : α → β) (h : f' = f) : α →*o β :=
{ f.toMonoidHom.copy f' h with toFun := f', monotone' := h.symm.subst f.monotone' }