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

24 declarations. Mathlib docs · Source

theorem LinearMap.mulLeft.congr_simp E1 #

∀ (R : Type u_14) {A : Type u_15} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] (a a_1 : A), a = a_1 → LinearMap.mulLeft R a = LinearMap.mulLeft R a_1

theorem LinearMap.mulRight.congr_simp E1 #

∀ (R : Type u_14) {A : Type u_15} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : IsScalarTower R A A] (b b_1 : A), b = b_1 → LinearMap.mulRight R b = LinearMap.mulRight R b_1

def LinearMap.ltoFun E1 #

(R : Type u_6) →
  (M : Type u_7) →
    (N : Type u_8) →
      (A : Type u_9) →
        [inst : Semiring R] →
          [inst_1 : Semiring A] →
            [inst_2 : AddCommMonoid M] →
              [inst_3 : Module R M] →
                [inst_4 : AddCommMonoid N] →
                  [inst_5 : Module R N] →
                    [inst_6 : Module A N] → [inst_7 : SMulCommClass R A N] → (M →ₗ[R] N) →ₗ[A] M → N

A-linearly coerce an R-linear map from M to N to a function, when N has commuting R-module and A-module structures.

theorem LinearMap.ltoFun_apply E0 #

∀ {R : Type u_6} {M : Type u_7} {N : Type u_8} {A : Type u_9} [inst : Semiring R] [inst_1 : Semiring A]
  [inst_2 : AddCommMonoid M] [inst_3 : Module R M] [inst_4 : AddCommMonoid N] [inst_5 : Module R N]
  [inst_6 : Module A N] [inst_7 : SMulCommClass R A N] {f : M →ₗ[R] N}, (LinearMap.ltoFun R M N A) f = ⇑f

instance LinearMap.instSMulDomMulAct E0 #

{R : Type u_1} →
  {R' : Type u_2} →
    {M : Type u_4} →
      {M' : Type u_5} →
        [inst : Semiring R] →
          [inst_1 : Semiring R'] →
            [inst_2 : AddCommMonoid M] →
              [inst_3 : AddCommMonoid M'] →
                [inst_4 : Module R M] →
                  [inst_5 : Module R' M'] →
                    {σ₁₂ : R →+* R'} →
                      {S' : Type u_6} →
                        [inst_6 : Monoid S'] →
                          [inst_7 : DistribMulAction S' M] → [SMulCommClass R S' M] → SMul S'ᵈᵐᵃ (M →ₛₗ[σ₁₂] M')

theorem DomMulAct.smul_linearMap_apply E0 #

∀ {R : Type u_1} {R' : Type u_2} {M : Type u_4} {M' : Type u_5} [inst : Semiring R] [inst_1 : Semiring R']
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M] [inst_5 : Module R' M'] {σ₁₂ : R →+* R'}
  {S' : Type u_6} [inst_6 : Monoid S'] [inst_7 : DistribMulAction S' M] [inst_8 : SMulCommClass R S' M] (a : S'ᵈᵐᵃ)
  (f : M →ₛₗ[σ₁₂] M') (x : M), (a • f) x = f (DomMulAct.mk.symm a • x)

theorem DomMulAct.mk_smul_linearMap_apply E0 #

∀ {R : Type u_1} {R' : Type u_2} {M : Type u_4} {M' : Type u_5} [inst : Semiring R] [inst_1 : Semiring R']
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M] [inst_5 : Module R' M'] {σ₁₂ : R →+* R'}
  {S' : Type u_6} [inst_6 : Monoid S'] [inst_7 : DistribMulAction S' M] [inst_8 : SMulCommClass R S' M] (a : S')
  (f : M →ₛₗ[σ₁₂] M') (x : M), (DomMulAct.mk a • f) x = f (a • x)

theorem DomMulAct.coe_smul_linearMap E0 #

∀ {R : Type u_1} {R' : Type u_2} {M : Type u_4} {M' : Type u_5} [inst : Semiring R] [inst_1 : Semiring R']
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M] [inst_5 : Module R' M'] {σ₁₂ : R →+* R'}
  {S' : Type u_6} [inst_6 : Monoid S'] [inst_7 : DistribMulAction S' M] [inst_8 : SMulCommClass R S' M] (a : S'ᵈᵐᵃ)
  (f : M →ₛₗ[σ₁₂] M'), ⇑(a • f) = a • ⇑f

instance LinearMap.instSMulCommClassDomMulAct E0 #

∀ {R : Type u_1} {R' : Type u_2} {M : Type u_4} {M' : Type u_5} [inst : Semiring R] [inst_1 : Semiring R']
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M] [inst_5 : Module R' M'] {σ₁₂ : R →+* R'}
  {S' : Type u_6} {T' : Type u_7} [inst_6 : Monoid S'] [inst_7 : DistribMulAction S' M] [inst_8 : SMulCommClass R S' M]
  [inst_9 : Monoid T'] [inst_10 : DistribMulAction T' M] [inst_11 : SMulCommClass R T' M] [SMulCommClass S' T' M],
  SMulCommClass S'ᵈᵐᵃ T'ᵈᵐᵃ (M →ₛₗ[σ₁₂] M')

instance LinearMap.instDistribMulActionDomMulActOfSMulCommClass E0 #

{R : Type u_1} →
  {R' : Type u_2} →
    {M : Type u_4} →
      {M' : Type u_5} →
        [inst : Semiring R] →
          [inst_1 : Semiring R'] →
            [inst_2 : AddCommMonoid M] →
              [inst_3 : AddCommMonoid M'] →
                [inst_4 : Module R M] →
                  [inst_5 : Module R' M'] →
                    {σ₁₂ : R →+* R'} →
                      {S' : Type u_6} →
                        [inst_6 : Monoid S'] →
                          [inst_7 : DistribMulAction S' M] →
                            [SMulCommClass R S' M] → DistribMulAction S'ᵈᵐᵃ (M →ₛₗ[σ₁₂] M')

instance LinearMap.instIsTorsionFree E0 #

∀ {R : Type u_1} {R' : Type u_2} {S : Type u_3} {M : Type u_4} {M' : Type u_5} [inst : Semiring R]
  [inst_1 : Semiring R'] [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M'] [inst_4 : Module R M]
  [inst_5 : Module R' M'] {σ₁₂ : R →+* R'} [inst_6 : Semiring S] [inst_7 : Module S M'] [inst_8 : SMulCommClass R' S M']
  [Module.IsTorsionFree S M'], Module.IsTorsionFree S (M →ₛₗ[σ₁₂] M')

instance LinearMap.instModuleDomMulActOfSMulCommClass E0 #

{R : Type u_1} →
  {R' : Type u_2} →
    {S : Type u_3} →
      {M : Type u_4} →
        {M' : Type u_5} →
          [inst : Semiring R] →
            [inst_1 : Semiring R'] →
              [inst_2 : AddCommMonoid M] →
                [inst_3 : AddCommMonoid M'] →
                  [inst_4 : Module R M] →
                    [inst_5 : Module R' M'] →
                      {σ₁₂ : R →+* R'} →
                        [inst_6 : Semiring S] →
                          [inst_7 : Module S M] → [SMulCommClass R S M] → Module Sᵈᵐᵃ (M →ₛₗ[σ₁₂] M')

theorem LinearMap.mulLeft_mul E0 #

∀ (R : Type u_6) (A : Type u_7) [inst : Semiring R] [inst_1 : NonUnitalSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] (a b : A), LinearMap.mulLeft R (a * b) = LinearMap.mulLeft R a ∘ₗ LinearMap.mulLeft R b

theorem LinearMap.mulRight_mul E0 #

∀ (R : Type u_6) (A : Type u_7) [inst : Semiring R] [inst_1 : NonUnitalSemiring A] [inst_2 : Module R A]
  [inst_3 : IsScalarTower R A A] (a b : A),
  LinearMap.mulRight R (a * b) = LinearMap.mulRight R b ∘ₗ LinearMap.mulRight R a

theorem LinearMap.mulLeft_inj E0 #

∀ {R : Type u_6} {A : Type u_7} [inst : Semiring R] [inst_1 : NonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] {a b : A}, LinearMap.mulLeft R a = LinearMap.mulLeft R b ↔ a = b

theorem LinearMap.mulRight_inj E0 #

∀ {R : Type u_6} {A : Type u_7} [inst : Semiring R] [inst_1 : NonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : IsScalarTower R A A] {a b : A}, LinearMap.mulRight R a = LinearMap.mulRight R b ↔ a = b

theorem LinearMap.mulLeft_one E0 #

∀ (R : Type u_6) (A : Type u_7) [inst : Semiring R] [inst_1 : NonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A], LinearMap.mulLeft R 1 = LinearMap.id

theorem LinearMap.mulLeft_eq_zero_iff E0 #

∀ (R : Type u_6) (A : Type u_7) [inst : Semiring R] [inst_1 : NonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] (a : A), LinearMap.mulLeft R a = 0 ↔ a = 0

theorem LinearMap.mulRight_one E0 #

∀ (R : Type u_6) (A : Type u_7) [inst : Semiring R] [inst_1 : NonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : IsScalarTower R A A], LinearMap.mulRight R 1 = LinearMap.id

theorem LinearMap.mulRight_eq_zero_iff E0 #

∀ (R : Type u_6) (A : Type u_7) [inst : Semiring R] [inst_1 : NonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : IsScalarTower R A A] (a : A), LinearMap.mulRight R a = 0 ↔ a = 0

def Sum.elimZeroLeft E1 #

{ι : Type u_6} → {κ : Type u_7} → {R : Type u_8} → [inst : Semiring R] → (ι → R) →ₗ[R] κ ⊕ ι → R

The map Sum.elim specialised with zero in the first argument, as a linear map.

theorem Sum.elimZeroLeft_apply E0 #

∀ {ι : Type u_6} {κ : Type u_7} {R : Type u_8} [inst : Semiring R] (g : ι → R) (a : κ ⊕ ι),
  Sum.elimZeroLeft g a = Sum.elim 0 g a

def Sum.elimZeroRight E1 #

{ι : Type u_6} → {κ : Type u_7} → {R : Type u_8} → [inst : Semiring R] → (ι → R) →ₗ[R] ι ⊕ κ → R

The map Sum.elim specialised with zero in the second argument, as a linear map.

theorem Sum.elimZeroRight_apply E0 #

∀ {ι : Type u_6} {κ : Type u_7} {R : Type u_8} [inst : Semiring R] (f : ι → R) (a : ι ⊕ κ),
  Sum.elimZeroRight f a = Sum.elim f 0 a