Composing modules with a ring hom #
Main definitions #
Module.compHom: compose aModulewith aRingHom, with actionf s • m.RingHom.toModule: aRingHomdefines a module structure byr • x = f r * x.
Tags #
semimodule, module, vector space
@[reducible, inline]
abbrev Function.Surjective.moduleLeft {R : Type u_4} {S : Type u_5} {M : Type u_6} [Semiring R] [AddCommMonoid M] [Module R M] [Semiring S] [SMul S M] (f : R →+* S) (hf : Surjective ⇑f) (hsmul : ∀ (c : R) (x : M), f c • x = c • x) :
Module S M
Push forward the action of R on M along a compatible surjective map f : R →+* S.
See also Function.Surjective.mulActionLeft and Function.Surjective.distribMulActionLeft.
Equations
- Function.Surjective.moduleLeft f hf hsmul = { toDistribMulAction := Function.Surjective.distribMulActionLeft (↑f) hf hsmul, add_smul := ⋯, zero_smul := ⋯ }
Instances For
@[reducible, inline]
abbrev Module.compHom {R : Type u_1} {S : Type u_2} (M : Type u_3) [Semiring R] [AddCommMonoid M] [Module R M] [Semiring S] (f : S →+* R) :
Module S M
Compose a Module with a RingHom, with action f s • m.
See note [reducible non-instances].
Equations
- Module.compHom M f = { toMulAction := (MulActionWithZero.compHom M ↑f).toMulAction, smul_zero := ⋯, smul_add := ⋯, add_smul := ⋯, zero_smul := ⋯ }
Instances For
def RingHom.smulOneHom {R : Type u_1} {S : Type u_2} [Semiring R] [NonAssocSemiring S] [Module R S] [IsScalarTower R S S] :
If the module action of R on S is compatible with multiplication on S, then
fun x ↦ x • 1 is a ring homomorphism from R to S.
This is the RingHom version of MonoidHom.smulOneHom.
When R is commutative, usually algebraMap should be preferred.
Equations
- RingHom.smulOneHom = { toMonoidHom := MonoidHom.smulOneHom, map_zero' := ⋯, map_add' := ⋯ }
Instances For
@[simp]
theorem RingHom.smulOneHom_apply {R : Type u_1} {S : Type u_2} [Semiring R] [NonAssocSemiring S] [Module R S] [IsScalarTower R S S] (x : R) :
A homomorphism between semirings R and S can be equivalently specified by an R-module structure on S such that S/S/R is a scalar tower.
Equations
- One or more equations did not get rendered due to their size.