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.LinearMap.End

70 declarations and 8 deprecated aliases. Mathlib docs · Source

Endomorphisms of a module

In this file we define the type of linear endomorphisms of a module over a ring (Module.End). We set up the basic theory, including the action of Module.End on the module we are considering endomorphisms of.

Main results

  • Module.End.instSemiring and Module.End.instRing: the (semi)ring of endomorphisms formed by taking the additive structure above with composition as multiplication.

Monoid structure of endomorphisms

Action by a module endomorphism.

Actions as module endomorphisms

theorem LinearMap.smulRight.congr_simp E1 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} {M₁ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₁] [inst_3 : Module R M] [inst_4 : Module R M₁] [inst_5 : Semiring S] [inst_6 : Module R S]
  [inst_7 : Module S M] [inst_8 : IsScalarTower R S M] (f f_1 : M₁ →ₗ[R] S),
  f = f_1 → ∀ (x x_1 : M), x = x_1 → f.smulRight x = f_1.smulRight x_1

abbrev Module.End E1 #

(R : Type u) → (M : Type v) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [Module R M] → Type v

Linear endomorphisms of a module, with associated ring structure Module.End.semiring and algebra structure Module.End.algebra.

instance Module.End.instOne E0 #

{R : Type u_1} →
  {M : Type u_4} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → One (Module.End R M)

instance Module.End.instIsOneApplyEqSelf E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  IsOneApplyEqSelf (Module.End R M)

instance Module.End.instMul E0 #

{R : Type u_1} →
  {M : Type u_4} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → Mul (Module.End R M)

instance Module.End.instIsMulApplyEqComp E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  IsMulApplyEqComp (Module.End R M)

theorem Module.End.one_eq_id E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M], 1 = LinearMap.id

theorem Module.End.mul_eq_comp E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (f g : Module.End R M), f * g = f ∘ₗ g

instance Module.End.instNontrivial E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [Nontrivial M],
  Nontrivial (Module.End R M)

instance Module.End.instMonoid E0 #

{R : Type u_1} →
  {M : Type u_4} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → Monoid (Module.End R M)

instance Module.End.instSemiring E3 #

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

instance Module.End.instIsNatCastApplyEqSMul E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  IsNatCastApplyEqSMul (Module.End R M)

theorem Module.End.ofNat_apply E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (n : ℕ)
  [inst_3 : n.AtLeastTwo] (m : M), (OfNat.ofNat n) m = OfNat.ofNat n • m

instance Module.End.instRing E3 #

{R : Type u_1} →
  {N₁ : Type u_8} → [inst : Semiring R] → [inst_1 : AddCommGroup N₁] → [inst_2 : Module R N₁] → Ring (Module.End R N₁)

instance Module.End.instIsIntCastApplyEqSMul E0 #

∀ {R : Type u_1} {N₁ : Type u_8} [inst : Semiring R] [inst_1 : AddCommGroup N₁] [inst_2 : Module R N₁],
  IsIntCastApplyEqSMul (Module.End R N₁)

instance Module.End.instIsScalarTower E0 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Monoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass R S M],
  IsScalarTower S (Module.End R M) (Module.End R M)

instance Module.End.instSMulCommClass E0 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Monoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass R S M] [inst_6 : SMul S R]
  [IsScalarTower S R M], SMulCommClass S (Module.End R M) (Module.End R M)

instance Module.End.instSMulCommClass' E0 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Monoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass R S M] [inst_6 : SMul S R]
  [IsScalarTower S R M], SMulCommClass (Module.End R M) S (Module.End R M)

theorem Module.End.isUnit_apply_inv_apply_of_isUnit E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {f : Module.End R M} (h : IsUnit f) (x : M), f (h.unit.inv x) = x

theorem Module.End.isUnit_inv_apply_apply_of_isUnit E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {f : Module.End R M} (h : IsUnit f) (x : M), h.unit.inv (f x) = x

theorem Module.End.pow_map_zero_of_le E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {f : Module.End R M} {m : M} {k l : ℕ}, k ≤ l → (f ^ k) m = 0 → (f ^ l) m = 0

theorem Module.End.commute_pow_left_of_commute E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {M : Type u_4} {M₂ : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : Semiring R₂] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R₂ M₂] {σ₁₂ : R →+* R₂}
  {f : M →ₛₗ[σ₁₂] M₂} {g : Module.End R M} {g₂ : Module.End R₂ M₂},
  g₂ ∘ₛₗ f = f ∘ₛₗ g → ∀ (k : ℕ), (g₂ ^ k) ∘ₛₗ f = f ∘ₛₗ (g ^ k)

theorem Module.End.id_pow E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (n : ℕ),
  LinearMap.id ^ n = LinearMap.id

theorem Module.End.iterate_succ E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {f' : Module.End R M} (n : ℕ), f' ^ (n + 1) = (f' ^ n) ∘ₗ f'

theorem Module.End.iterate_succ' E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {f' : Module.End R M} (n : ℕ), f' ^ (n + 1) = f' ∘ₗ f' ^ n

theorem Module.End.iterate_surjective E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {f' : Module.End R M}, Function.Surjective ⇑f' → ∀ (n : ℕ), Function.Surjective ⇑(f' ^ n)

theorem Module.End.iterate_injective E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {f' : Module.End R M}, Function.Injective ⇑f' → ∀ (n : ℕ), Function.Injective ⇑(f' ^ n)

theorem Module.End.iterate_bijective E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {f' : Module.End R M}, Function.Bijective ⇑f' → ∀ (n : ℕ), Function.Bijective ⇑(f' ^ n)

theorem Module.End.injective_of_iterate_injective E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {f' : Module.End R M} {n : ℕ}, n ≠ 0 → Function.Injective ⇑(f' ^ n) → Function.Injective ⇑f'

theorem Module.End.surjective_of_iterate_surjective E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {f' : Module.End R M} {n : ℕ}, n ≠ 0 → Function.Surjective ⇑(f' ^ n) → Function.Surjective ⇑f'

def Module.End.smulLeft E1 #

{R : Type u_1} →
  {M : Type u_4} →
    [inst : Semiring R] →
      [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → (α : R) → α ∈ Set.center R → Module.End R M

Scalar multiplication on the left, as a linear map.

theorem Module.End.smulLeft_apply E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (α : R)
  (hα : α ∈ Set.center R) (x : M), (Module.End.smulLeft α hα) x = α • x

theorem Module.End.smulLeft_eq E0 #

∀ {M : Type u_4} [inst : AddCommMonoid M] {R : Type u_9} [inst_1 : CommSemiring R] [inst_2 : Module R M] (α : R)
  (hα : autoParam (α ∈ Set.center R) Module.End.smulLeft_eq._auto_1), Module.End.smulLeft α hα = α • LinearMap.id

instance Module.End.applyModule E0 #

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

The tautological action by Module.End R M (aka M →ₗ[R] M) on M.

This generalizes Function.End.applyMulAction.

theorem Module.End.smul_def E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (f : Module.End R M) (a : M), f • a = f a

instance Module.End.apply_faithfulSMul E0 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  FaithfulSMul (Module.End R M) M

LinearMap.applyModule is faithful.

instance Module.End.apply_smulCommClass E0 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : SMul S R] [inst_4 : SMul S M] [IsScalarTower S R M], SMulCommClass S (Module.End R M) M

instance Module.End.apply_smulCommClass' E0 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : SMul S R] [inst_4 : SMul S M] [IsScalarTower S R M], SMulCommClass (Module.End R M) S M

instance Module.End.apply_isScalarTower E0 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Monoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass R S M], IsScalarTower S (Module.End R M) M

def DistribSMul.toLinearMap E1 #

(R : Type u_1) →
  {S : Type u_3} →
    (M : Type u_4) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] → [inst_3 : DistribSMul S M] → [SMulCommClass S R M] → S → M →ₗ[R] M

Each element of the monoid defines a linear map.

This is a stronger version of DistribSMul.toAddMonoidHom.

theorem DistribSMul.toLinearMap_apply E0 #

∀ (R : Type u_1) {S : Type u_3} (M : Type u_4) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : DistribSMul S M] [inst_4 : SMulCommClass S R M] (s : S) (a : M), (DistribSMul.toLinearMap R M s) a = s • a

def DistribMulAction.toModuleEnd E1 #

(R : Type u_1) →
  {S : Type u_3} →
    (M : Type u_4) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : Monoid S] → [inst_4 : DistribMulAction S M] → [SMulCommClass S R M] → S →* Module.End R M

Each element of the monoid defines a module endomorphism.

This is a stronger version of DistribMulAction.toAddMonoidEnd.

theorem DistribMulAction.toModuleEnd_apply E0 #

∀ (R : Type u_1) {S : Type u_3} (M : Type u_4) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Monoid S] [inst_4 : DistribMulAction S M] [inst_5 : SMulCommClass S R M] (s : S),
  (DistribMulAction.toModuleEnd R M) s = DistribSMul.toLinearMap R M s

def Module.toModuleEnd E1 #

(R : Type u_1) →
  {S : Type u_3} →
    (M : Type u_4) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : Semiring S] → [inst_4 : Module S M] → [SMulCommClass S R M] → S →+* Module.End R M

Each element of the semiring defines a module endomorphism.

This is a stronger version of DistribMulAction.toModuleEnd.

theorem Module.toModuleEnd_apply E0 #

∀ (R : Type u_1) {S : Type u_3} (M : Type u_4) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Semiring S] [inst_4 : Module S M] [inst_5 : SMulCommClass S R M] (s : S),
  (Module.toModuleEnd R M) s = DistribSMul.toLinearMap R M s

def RingEquiv.moduleEndSelf E1 #

(R : Type u_1) → [inst : Semiring R] → Rᵐᵒᵖ ≃+* Module.End R R

The canonical (semi)ring isomorphism from Rᵐᵒᵖ to Module.End R R induced by the right multiplication.

theorem RingEquiv.moduleEndSelf_symm_apply E0 #

∀ (R : Type u_1) [inst : Semiring R] (f : Module.End R R), (RingEquiv.moduleEndSelf R).symm f = MulOpposite.op (f 1)

theorem RingEquiv.moduleEndSelf_apply E0 #

∀ (R : Type u_1) [inst : Semiring R] (s : Rᵐᵒᵖ), (RingEquiv.moduleEndSelf R) s = DistribSMul.toLinearMap R R s

def RingEquiv.moduleEndSelfOp E1 #

(R : Type u_1) → [inst : Semiring R] → R ≃+* Module.End Rᵐᵒᵖ R

The canonical (semi)ring isomorphism from R to Module.End Rᵐᵒᵖ R induced by the left multiplication.

theorem RingEquiv.moduleEndSelfOp_apply E0 #

∀ (R : Type u_1) [inst : Semiring R] (s : R), (RingEquiv.moduleEndSelfOp R) s = DistribSMul.toLinearMap Rᵐᵒᵖ R s

theorem RingEquiv.moduleEndSelfOp_symm_apply E0 #

∀ (R : Type u_1) [inst : Semiring R] (f : Module.End Rᵐᵒᵖ R), (RingEquiv.moduleEndSelfOp R).symm f = f 1

theorem Module.End.natCast_def E0 #

∀ (R : Type u_1) {N₁ : Type u_8} [inst : Semiring R] (n : ℕ) [inst_1 : AddCommMonoid N₁] [inst_2 : Module R N₁],
  ↑n = (Module.toModuleEnd R N₁) n

theorem Module.End.intCast_def E0 #

∀ (R : Type u_1) {N₁ : Type u_8} [inst : Semiring R] (z : ℤ) [inst_1 : AddCommGroup N₁] [inst_2 : Module R N₁],
  ↑z = (Module.toModuleEnd R N₁) z

def LinearMap.smulRight E1 #

{R : Type u_1} →
  {S : Type u_3} →
    {M : Type u_4} →
      {M₁ : Type u_5} →
        [inst : Semiring R] →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : AddCommMonoid M₁] →
              [inst_3 : Module R M] →
                [inst_4 : Module R M₁] →
                  [inst_5 : Semiring S] →
                    [inst_6 : Module R S] →
                      [inst_7 : Module S M] → [IsScalarTower R S M] → (M₁ →ₗ[R] S) → M → M₁ →ₗ[R] M

When f is an R-linear map taking values in S, then fun b ↦ f b • x is an R-linear map.

theorem LinearMap.coe_smulRight E0 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} {M₁ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₁] [inst_3 : Module R M] [inst_4 : Module R M₁] [inst_5 : Semiring S] [inst_6 : Module R S]
  [inst_7 : Module S M] [inst_8 : IsScalarTower R S M] (f : M₁ →ₗ[R] S) (x : M), ⇑(f.smulRight x) = fun c ↦ f c • x

theorem LinearMap.smulRight_apply E0 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} {M₁ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₁] [inst_3 : Module R M] [inst_4 : Module R M₁] [inst_5 : Semiring S] [inst_6 : Module R S]
  [inst_7 : Module S M] [inst_8 : IsScalarTower R S M] (f : M₁ →ₗ[R] S) (x : M) (c : M₁), (f.smulRight x) c = f c • x

theorem LinearMap.smulRight_zero E0 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} {M₁ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₁] [inst_3 : Module R M] [inst_4 : Module R M₁] [inst_5 : Semiring S] [inst_6 : Module R S]
  [inst_7 : Module S M] [inst_8 : IsScalarTower R S M] (f : M₁ →ₗ[R] S), f.smulRight 0 = 0

theorem LinearMap.zero_smulRight E0 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} {M₁ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₁] [inst_3 : Module R M] [inst_4 : Module R M₁] [inst_5 : Semiring S] [inst_6 : Module R S]
  [inst_7 : Module S M] [inst_8 : IsScalarTower R S M] (x : M), LinearMap.smulRight 0 x = 0

theorem LinearMap.smulRight_apply_eq_zero_iff E0 #

∀ {R : Type u_1} {S : Type u_3} {M : Type u_4} {M₁ : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₁] [inst_3 : Module R M] [inst_4 : Module R M₁] [inst_5 : Semiring S] [inst_6 : Module R S]
  [inst_7 : Module S M] [inst_8 : IsScalarTower R S M] [IsDomain S] {f : M₁ →ₗ[R] S} {x : M} [Module.IsTorsionFree S M],
  f.smulRight x = 0 ↔ f = 0 ∨ x = 0

def LinearMap.applyₗ' E1 #

{R : Type u_1} →
  (S : Type u_3) →
    {M : Type u_4} →
      {M₂ : Type u_6} →
        [inst : Semiring R] →
          [inst_1 : Semiring S] →
            [inst_2 : AddCommMonoid M] →
              [inst_3 : AddCommMonoid M₂] →
                [inst_4 : Module R M] →
                  [inst_5 : Module R M₂] →
                    [inst_6 : Module S M₂] → [inst_7 : SMulCommClass R S M₂] → M →+ (M →ₗ[R] M₂) →ₗ[S] M₂

Applying a linear map at v : M, seen as S-linear map from M →ₗ[R] M₂ to M₂.

See LinearMap.applyₗ for a version where S = R.

theorem LinearMap.applyₗ'_apply_apply E0 #

∀ {R : Type u_1} (S : Type u_3) {M : Type u_4} {M₂ : Type u_6} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module S M₂] [inst_7 : SMulCommClass R S M₂] (v : M) (f : M →ₗ[R] M₂), ((LinearMap.applyₗ' S) v) f = f v

def LinearMap.compRight E1 #

{R : Type u_1} →
  (S : Type u_3) →
    {M : Type u_4} →
      {M₁ : Type u_5} →
        {M₂ : Type u_6} →
          [inst : Semiring R] →
            [inst_1 : Semiring S] →
              [inst_2 : AddCommMonoid M] →
                [inst_3 : AddCommMonoid M₁] →
                  [inst_4 : AddCommMonoid M₂] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module R M₁] →
                        [inst_7 : Module R M₂] →
                          [inst_8 : Module S M₁] →
                            [inst_9 : Module S M₂] →
                              [inst_10 : SMulCommClass R S M₁] →
                                [inst_11 : SMulCommClass R S M₂] →
                                  [LinearMap.CompatibleSMul M₁ M₂ S R] → (M₁ →ₗ[R] M₂) → (M →ₗ[R] M₁) →ₗ[S] M →ₗ[R] M₂

Composition by f : M₂ → M₃ is a linear map from the space of linear maps M → M₂ to the space of linear maps M → M₃.

theorem LinearMap.compRight_apply E0 #

∀ {R : Type u_1} (S : Type u_3) {M : Type u_4} {M₁ : Type u_5} {M₂ : Type u_6} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R M]
  [inst_6 : Module R M₁] [inst_7 : Module R M₂] [inst_8 : Module S M₁] [inst_9 : Module S M₂]
  [inst_10 : SMulCommClass R S M₁] [inst_11 : SMulCommClass R S M₂] [inst_12 : LinearMap.CompatibleSMul M₁ M₂ S R]
  (f : M₁ →ₗ[R] M₂) (g : M →ₗ[R] M₁), (LinearMap.compRight S f) g = f ∘ₗ g

def LinearMap.applyₗ E1 #

{R : Type u_1} →
  {M : Type u_4} →
    {M₂ : Type u_6} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] → [inst_3 : Module R M] → [inst_4 : Module R M₂] → M →ₗ[R] (M →ₗ[R] M₂) →ₗ[R] M₂

Applying a linear map at v : M, seen as a linear map from M →ₗ[R] M₂ to M₂. See also LinearMap.applyₗ' for a version that works with two different semirings.

This is the LinearMap version of toAddMonoidHom.eval.

theorem LinearMap.applyₗ_apply_apply E0 #

∀ {R : Type u_1} {M : Type u_4} {M₂ : Type u_6} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : Module R M] [inst_4 : Module R M₂] (v : M) (f : M →ₗ[R] M₂),
  (LinearMap.applyₗ v) f = f v

def LinearMap.smulRightₗ E1 #

{R : Type u_1} →
  {M : Type u_4} →
    {M₂ : Type u_6} →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] →
            [inst_3 : Module R M] → [inst_4 : Module R M₂] → (M₂ →ₗ[R] R) →ₗ[R] M →ₗ[R] M₂ →ₗ[R] M

The family of linear maps M₂ → M parameterised by f ∈ M₂ → R, x ∈ M, is linear in f, x.

This is also known as a rank-one operator. See ContinuousLinearMap.smulRightL for the continuous version of this, and see InnerProductSpace.rankOne for the rank-one operator on Hilbert spaces.

theorem LinearMap.smulRightₗ_apply E0 #

∀ {R : Type u_1} {M : Type u_4} {M₂ : Type u_6} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : Module R M] [inst_4 : Module R M₂] (f : M₂ →ₗ[R] R) (x : M),
  (LinearMap.smulRightₗ f) x = f.smulRight x

theorem LinearMap.smulRightₗ_apply_apply E0 #

∀ {R : Type u_1} {M : Type u_4} {M₂ : Type u_6} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : Module R M] [inst_4 : Module R M₂] (f : M₂ →ₗ[R] R) (x : M) (y : M₂),
  ((LinearMap.smulRightₗ f) x) y = f y • x

theorem Module.End.commute_id_left E1 #

∀ {R : Type u_9} {M : Type u_10} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (f : Module.End R M),
  Commute LinearMap.id f

theorem Module.End.commute_id_right E1 #

∀ {R : Type u_9} {M : Type u_10} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (f : Module.End R M),
  Commute f LinearMap.id

Deprecated aliases

NameNew nameSince
Module.End.coe_mulFunLike.coe_mul_eq_comp2026-10-26
Module.End.coe_oneFunLike.coe_one_eq_id2026-10-26
Module.End.coe_powFunLike.coe_pow_eq_iterate2026-10-26
Module.End.intCast_applyintCast_apply_eq_smul2026-10-26
Module.End.mul_applymul_apply_eq_comp2026-10-26
Module.End.natCast_applynatCast_apply_eq_smul2026-10-26
Module.End.one_applyone_apply_eq_self2026-10-26
Module.End.pow_applypow_apply_eq_iterate2026-10-26