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.Hom

14 declarations. Mathlib docs · Source

Bundled Hom instances for module and multiplicative actions

This file defines instances for Module on bundled Hom types.

These are analogous to the instances in Algebra.Module.Pi, but for bundled instead of unbundled functions.

We also define a bundled versions of (· • ·) as AddMonoidHom.smul.

Instances for AddMonoidHom

Instances for AddMonoid.End

These are direct copies of the instances above.

Miscellaneous morphisms

instance ZeroHom.instModule E0 #

{R : Type u_1} →
  {A : Type u_4} →
    {B : Type u_5} →
      [inst : Semiring R] → [inst_1 : AddMonoid A] → [inst_2 : AddCommMonoid B] → [Module R B] → Module R (ZeroHom A B)

instance AddMonoidHom.instModule E0 #

{R : Type u_1} →
  {A : Type u_4} →
    {B : Type u_5} →
      [inst : Semiring R] → [inst_1 : AddMonoid A] → [inst_2 : AddCommMonoid B] → [Module R B] → Module R (A →+ B)

instance AddMonoidHom.instDomMulActModule E0 #

{S : Type u_6} →
  {M : Type u_7} →
    {M₂ : Type u_8} →
      [inst : Semiring S] →
        [inst_1 : AddCommMonoid M] → [inst_2 : AddCommMonoid M₂] → [Module S M] → Module Sᵈᵐᵃ (M →+ M₂)

instance AddMonoid.End.instDistribSMul E0 #

{M : Type u_3} → {A : Type u_4} → [inst : AddCommMonoid A] → [DistribSMul M A] → DistribSMul M (AddMonoid.End A)

instance AddMonoid.End.instDistribMulAction E0 #

{R : Type u_1} →
  {A : Type u_4} →
    [inst : Monoid R] → [inst_1 : AddCommMonoid A] → [DistribMulAction R A] → DistribMulAction R (AddMonoid.End A)

theorem AddMonoid.End.coe_smul E0 #

∀ {R : Type u_1} {A : Type u_4} [inst : Monoid R] [inst_1 : AddCommMonoid A] [inst_2 : DistribMulAction R A] (r : R)
  (f : AddMonoid.End A), ⇑(r • f) = r • ⇑f

theorem AddMonoid.End.smul_apply E0 #

∀ {R : Type u_1} {A : Type u_4} [inst : Monoid R] [inst_1 : AddCommMonoid A] [inst_2 : DistribMulAction R A] (r : R)
  (f : AddMonoid.End A) (x : A), (r • f) x = r • f x

instance AddMonoid.End.smulCommClass E0 #

∀ {R : Type u_1} {S : Type u_2} {A : Type u_4} [inst : Monoid R] [inst_1 : Monoid S] [inst_2 : AddCommMonoid A]
  [inst_3 : DistribMulAction R A] [inst_4 : DistribMulAction S A] [SMulCommClass R S A],
  SMulCommClass R S (AddMonoid.End A)

instance AddMonoid.End.isScalarTower E0 #

∀ {R : Type u_1} {S : Type u_2} {A : Type u_4} [inst : Monoid R] [inst_1 : Monoid S] [inst_2 : AddCommMonoid A]
  [inst_3 : DistribMulAction R A] [inst_4 : DistribMulAction S A] [inst_5 : SMul R S] [IsScalarTower R S A],
  IsScalarTower R S (AddMonoid.End A)

instance AddMonoid.End.isCentralScalar E0 #

∀ {R : Type u_1} {A : Type u_4} [inst : Monoid R] [inst_1 : AddCommMonoid A] [inst_2 : DistribMulAction R A]
  [inst_3 : DistribMulAction Rᵐᵒᵖ A] [IsCentralScalar R A], IsCentralScalar R (AddMonoid.End A)

instance AddMonoid.End.instModule E0 #

{R : Type u_1} →
  {A : Type u_4} → [inst : Semiring R] → [inst_1 : AddCommMonoid A] → [Module R A] → Module R (AddMonoid.End A)

instance AddMonoid.End.applyModule E0 #

{A : Type u_4} → [inst : AddCommMonoid A] → Module (AddMonoid.End A) A

The tautological action by AddMonoid.End α on α.

This generalizes AddMonoid.End.applyDistribMulAction.

def AddMonoidHom.smul E1 #

{R : Type u_1} → {M : Type u_3} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → R →+ M →+ M

Scalar multiplication as a biadditive monoid homomorphism. We need M to be commutative to have addition on M →+ M.

theorem AddMonoidHom.coe_smul' E0 #

∀ {R : Type u_1} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  ⇑AddMonoidHom.smul = DistribSMul.toAddMonoidHom M