Commit 2022-04-12 03:21 bf1b813e
View on Github →chore(algebra/module/basic): generalize to add_monoid_hom_class (#13346)
I need some of these lemmas for ring_hom
.
Additionally, this:
- removes
map_nat_module_smul
(duplicate ofmap_nsmul
) andmap_int_module_smul
(duplicate ofmap_zsmul
) - renames
map_rat_module_smul
tomap_rat_smul
for brevity. - adds the lemmas
inv_nat_cast_smul_comm
andinv_int_cast_smul_comm
. - Swaps the order of the arguments to
map_zsmul
andmap_nsmul
to align with the usual rules (to_additive
emitted them in the wrong order)