Commit 2026-11-26 17:24 82fba18f
View on Github →chore(Algebra/Algebra): deduplicate AlgHom.coe_mks and AlgHom.mk_coe (#46249)
This PR removes the duplication between two AlgHom lemmas that are nearly the same: the only difference is mk_coe started out with an AlgHom and coe_mks started out with a plain function. But since we can generalize the condition for free in mk_coe, we can easily merge the two lemmas. Idem for BialgHom, CoalgHom and GradedAlgHom.
I decided to keep mk_coe since its name makes more sense according to the naming conventions.
Noticed while reviewing #45954.