The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V07. Linear algebra

Mathlib.Algebra.Module.RingHom

7 declarations. Mathlib docs · Source

Composing modules with a ring hom

Main definitions

  • Module.compHom: compose a Module with a RingHom, with action f s • m.
  • RingHom.toModule: a RingHom defines a module structure by r • x = f r * x.

Tags

semimodule, module, vector space

abbrev Function.Surjective.moduleLeft E1 #

{R : Type u_4} →
  {S : Type u_5} →
    {M : Type u_6} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : Semiring S] →
              [inst_4 : SMul S M] →
                (f : R →+* S) → Function.Surjective ⇑f → (∀ (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.

abbrev Module.compHom E3 #

{R : Type u_1} →
  {S : Type u_2} →
    (M : Type u_3) →
      [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → [inst_3 : Semiring S] → (S →+* R) → Module S M

Compose a Module with a RingHom, with action f s • m.

See note [reducible non-instances].

abbrev RingHom.toModule E3 #

{R : Type u_1} → {S : Type u_2} → [inst : Semiring R] → [inst_1 : Semiring S] → (R →+* S) → Module R S

A ring homomorphism f : R →+* M defines a module structure by r • x = f r * x. See note [reducible non-instances].

theorem RingHom.toModule_smul E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+* S) (x : R) (y : S), x • y = f x * y

def RingHom.smulOneHom E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : Semiring R] → [inst_1 : NonAssocSemiring S] → [inst_2 : Module R S] → [IsScalarTower R S S] → R →+* 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.

theorem RingHom.smulOneHom_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : NonAssocSemiring S] [inst_2 : Module R S]
  [inst_3 : IsScalarTower R S S] (x : R), RingHom.smulOneHom x = x • 1

def ringHomEquivModuleIsScalarTower E3 #

{R : Type u_1} →
  {S : Type u_2} → [inst : Semiring R] → [inst_1 : Semiring S] → (R →+* S) ≃ { _inst // IsScalarTower R S S }

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.