Zulip Chat Archive
Stream: general
Topic: module and lattices and etc
Kenny Lau (Nov 06 2018 at 11:39):
def module_of_module_of_ring_hom {R : Type u} [ring R] {S : Type v} [ring S] (f : R → S) [is_ring_hom f] {M : Type w} [add_comm_group M] [module S M] : module R M := module.of_core { smul := λ r m, f r • m, smul_add := λ r, smul_add _, add_smul := λ r s x, show f (r + s) • x = _, by rw [is_ring_hom.map_add f, add_smul], mul_smul := λ r s x, show f (r * s) • x = _, by rw [is_ring_hom.map_mul f, mul_smul], one_smul := λ x, show f 1 • x = _, by rw [is_ring_hom.map_one f, one_smul], }
@Mario Carneiro how should we call this?
Kenny Lau (Nov 06 2018 at 20:43):
@Mario Carneiro
Mario Carneiro (Nov 06 2018 at 21:08):
module.of_ring_hom maybe?
Last updated: Dec 20 2023 at 11:08 UTC