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_smultomap_rat_smulfor brevity. - adds the lemmas
inv_nat_cast_smul_commandinv_int_cast_smul_comm. - Swaps the order of the arguments to
map_zsmulandmap_nsmulto align with the usual rules (to_additiveemitted them in the wrong order)