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.LinearAlgebra.Finsupp.Defs

56 declarations. Mathlib docs · Source

Properties of the module α →₀ M

Given an R-module M, the R-module structure on α →₀ M is defined in Mathlib/Data/Finsupp/SMul.lean.

In this file we define LinearMap versions of various maps:

  • Finsupp.lsingle a : M →ₗ[R] ι →₀ M: Finsupp.single a as a linear map;
  • Finsupp.lapply a : (ι →₀ M) →ₗ[R] M: the map fun f ↦ f a as a linear map;
  • Finsupp.lsubtypeDomain (s : Set α) : (α →₀ M) →ₗ[R] (s →₀ M): restriction to a subtype as a linear map;
  • Finsupp.restrictDom: Finsupp.filter as a linear map to Finsupp.supported s;
  • Finsupp.lmapDomain: a linear map version of Finsupp.mapDomain;

Tags

function with finite support, module, linear algebra

def Finsupp.linearEquivFunOnFinite E1 #

(R : Type u_8) →
  (M : Type u_9) →
    (α : Type u_10) →
      [Finite α] → [inst : AddCommMonoid M] → [inst_1 : Semiring R] → [inst_2 : Module R M] → (α →₀ M) ≃ₗ[R] α → M

Given Finite α, linearEquivFunOnFinite R is the natural R-linear equivalence between α →₀ β and α → β.

theorem Finsupp.linearEquivFunOnFinite_apply E0 #

∀ (R : Type u_8) (M : Type u_9) (α : Type u_10) [inst : Finite α] [inst_1 : AddCommMonoid M] [inst_2 : Semiring R]
  [inst_3 : Module R M] (a : α →₀ M) (a_1 : α), (Finsupp.linearEquivFunOnFinite R M α) a a_1 = a a_1

theorem Finsupp.linearEquivFunOnFinite_single E0 #

∀ (R : Type u_8) (M : Type u_9) (α : Type u_10) [inst : Finite α] [inst_1 : AddCommMonoid M] [inst_2 : Semiring R]
  [inst_3 : Module R M] [inst_4 : DecidableEq α] (x : α) (m : M),
  ((Finsupp.linearEquivFunOnFinite R M α) fun₀ | x => m) = Pi.single x m

theorem Finsupp.linearEquivFunOnFinite_symm_single E0 #

∀ (R : Type u_8) (M : Type u_9) (α : Type u_10) [inst : Finite α] [inst_1 : AddCommMonoid M] [inst_2 : Semiring R]
  [inst_3 : Module R M] [inst_4 : DecidableEq α] (x : α) (m : M),
  (Finsupp.linearEquivFunOnFinite R M α).symm (Pi.single x m) = fun₀ | x => m

theorem Finsupp.linearEquivFunOnFinite_symm_coe E0 #

∀ (R : Type u_8) (M : Type u_9) (α : Type u_10) [inst : Finite α] [inst_1 : AddCommMonoid M] [inst_2 : Semiring R]
  [inst_3 : Module R M] (f : α →₀ M), (Finsupp.linearEquivFunOnFinite R M α).symm ⇑f = f

theorem Finsupp.linearEquivFunOnFinite_symm_apply E0 #

∀ (R : Type u_8) (M : Type u_9) (α : Type u_10) [inst : Finite α] [inst_1 : AddCommMonoid M] [inst_2 : Semiring R]
  [inst_3 : Module R M] (f : α → M), ⇑((Finsupp.linearEquivFunOnFinite R M α).symm f) = f

def Finsupp.lsingle E1 #

{α : Type u_1} →
  {M : Type u_2} →
    {R : Type u_5} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → α → M →ₗ[R] α →₀ M

Interpret Finsupp.single a as a linear map.

theorem Finsupp.lhom_ext E1 #

∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} {R : Type u_5} {R₂ : Type u_6} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M] [inst_3 : Module R M] [inst_4 : AddCommMonoid N] [inst_5 : Module R₂ N] {σ₁₂ : R →+* R₂}
  ⦃φ ψ : (α →₀ M) →ₛₗ[σ₁₂] N⦄, (∀ (a : α) (b : M), (φ fun₀ | a => b) = ψ fun₀ | a => b) → φ = ψ

Two R-linear maps from Finsupp X M which agree on each single x y agree everywhere.

theorem Finsupp.lhom_ext' E1 #

∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} {R : Type u_5} {R₂ : Type u_6} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M] [inst_3 : Module R M] [inst_4 : AddCommMonoid N] [inst_5 : Module R₂ N] {σ₁₂ : R →+* R₂}
  ⦃φ ψ : (α →₀ M) →ₛₗ[σ₁₂] N⦄, (∀ (a : α), φ ∘ₛₗ Finsupp.lsingle a = ψ ∘ₛₗ Finsupp.lsingle a) → φ = ψ

Two R-linear maps from Finsupp X M which agree on each single x y agree everywhere.

We formulate this fact using equality of linear maps φ.comp (lsingle a) and ψ.comp (lsingle a) so that the ext tactic can apply a type-specific extensionality lemma to prove equality of these maps. E.g., if M = R, then it suffices to verify φ (single a 1) = ψ (single a 1).

theorem Finsupp.lhom_ext'_iff E0 #

∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} {R : Type u_5} {R₂ : Type u_6} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M] [inst_3 : Module R M] [inst_4 : AddCommMonoid N] [inst_5 : Module R₂ N] {σ₁₂ : R →+* R₂}
  {φ ψ : (α →₀ M) →ₛₗ[σ₁₂] N}, φ = ψ ↔ ∀ (a : α), φ ∘ₛₗ Finsupp.lsingle a = ψ ∘ₛₗ Finsupp.lsingle a

def Finsupp.lapply E1 #

{α : Type u_1} →
  {M : Type u_2} →
    {R : Type u_5} → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → α → (α →₀ M) →ₗ[R] M

Interpret fun f : α →₀ M ↦ f a as a linear map.

instance Finsupp.instFaithfulSMulOfNonempty E0 #

∀ {α : Type u_1} {M : Type u_2} {R : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Nonempty α] [FaithfulSMul R M], FaithfulSMul R (α →₀ M)

def Finsupp.lsubtypeDomain E1 #

{α : Type u_1} →
  {M : Type u_2} →
    {R : Type u_5} →
      [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → (s : Set α) → (α →₀ M) →ₗ[R] ↑s →₀ M

Interpret Finsupp.subtypeDomain s as a linear map.

theorem Finsupp.lsubtypeDomain_apply E0 #

∀ {α : Type u_1} {M : Type u_2} {R : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s : Set α) (f : α →₀ M), (Finsupp.lsubtypeDomain s) f = Finsupp.subtypeDomain (fun x ↦ x ∈ s) f

theorem Finsupp.lsingle_apply E0 #

∀ {α : Type u_1} {M : Type u_2} {R : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (a : α) (b : M), (Finsupp.lsingle a) b = fun₀ | a => b

theorem Finsupp.lapply_apply E0 #

∀ {α : Type u_1} {M : Type u_2} {R : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (a : α) (f : α →₀ M), (Finsupp.lapply a) f = f a

theorem Finsupp.lapply_comp_lsingle_same E0 #

∀ {α : Type u_1} {M : Type u_2} {R : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (a : α), Finsupp.lapply a ∘ₗ Finsupp.lsingle a = LinearMap.id

theorem Finsupp.lapply_comp_lsingle_of_ne E0 #

∀ {α : Type u_1} {M : Type u_2} {R : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (a a' : α), a ≠ a' → Finsupp.lapply a ∘ₗ Finsupp.lsingle a' = 0

def Finsupp.lmapDomain E1 #

{α : Type u_1} →
  (M : Type u_2) →
    (R : Type u_5) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → {α' : Type u_8} → (α → α') → (α →₀ M) →ₗ[R] α' →₀ M

Interpret Finsupp.mapDomain as a linear map.

theorem Finsupp.lmapDomain_apply E0 #

∀ {α : Type u_1} (M : Type u_2) (R : Type u_5) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {α' : Type u_8} (f : α → α') (l : α →₀ M), (Finsupp.lmapDomain M R f) l = Finsupp.mapDomain f l

theorem Finsupp.coe_lmapDomain E0 #

∀ {α : Type u_1} (M : Type u_2) (R : Type u_5) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {α' : Type u_8} (f : α → α'), ⇑(Finsupp.lmapDomain M R f) = Finsupp.mapDomain f

theorem Finsupp.lmapDomain_id E0 #

∀ {α : Type u_1} (M : Type u_2) (R : Type u_5) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Finsupp.lmapDomain M R id = LinearMap.id

theorem Finsupp.lmapDomain_comp E1 #

∀ {α : Type u_1} (M : Type u_2) (R : Type u_5) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {α' : Type u_8} {α'' : Type u_9} (f : α → α') (g : α' → α''),
  Finsupp.lmapDomain M R (g ∘ f) = Finsupp.lmapDomain M R g ∘ₗ Finsupp.lmapDomain M R f

def Finsupp.mapDomain.linearEquiv E1 #

{α : Type u_1} →
  (M : Type u_2) →
    (R : Type u_5) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → {α' : Type u_8} → α ≃ α' → (α →₀ M) ≃ₗ[R] α' →₀ M

Finsupp.mapDomain as a LinearEquiv.

theorem Finsupp.mapDomain.coe_linearEquiv E0 #

∀ {α : Type u_1} (M : Type u_2) (R : Type u_5) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {α' : Type u_8} (f : α ≃ α'), ⇑(Finsupp.mapDomain.linearEquiv M R f) = Finsupp.mapDomain ⇑f

theorem Finsupp.mapDomain.toLinearMap_linearEquiv E0 #

∀ {α : Type u_1} (M : Type u_2) (R : Type u_5) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {α' : Type u_8} (f : α ≃ α'), ↑(Finsupp.mapDomain.linearEquiv M R f) = Finsupp.lmapDomain M R ⇑f

theorem Finsupp.mapDomain.linearEquiv_symm E0 #

∀ {α : Type u_1} (M : Type u_2) (R : Type u_5) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {α' : Type u_8} (f : α ≃ α'), (Finsupp.mapDomain.linearEquiv M R f).symm = Finsupp.mapDomain.linearEquiv M R f.symm

def Finsupp.lcomapDomain E1 #

{α : Type u_1} →
  {M : Type u_2} →
    {R : Type u_5} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] → {β : Type u_8} → (f : α → β) → Function.Injective f → (β →₀ M) →ₗ[R] α →₀ M

Given f : α → β and a proof hf that f is injective, lcomapDomain f hf is the linear map sending l : β →₀ M to the finitely supported function from α to M given by composing l with f.

This is the linear version of Finsupp.comapDomain.

theorem Finsupp.lcomapDomain_apply E0 #

∀ {α : Type u_1} {M : Type u_2} {R : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {β : Type u_8} (f : α → β) (hf : Function.Injective f) (l : β →₀ M),
  (Finsupp.lcomapDomain f hf) l = Finsupp.comapDomain f l ⋯

theorem Finsupp.leftInverse_lcomapDomain_mapDomain E1 #

∀ {α : Type u_1} {M : Type u_2} {R : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {β : Type u_8} (f : α → β) (hf : Function.Injective f),
  Function.LeftInverse (⇑(Finsupp.lcomapDomain f hf)) (Finsupp.mapDomain f)

def Finsupp.mapRange.linearMap E1 #

{α : Type u_1} →
  {M : Type u_2} →
    {N : Type u_3} →
      {R : Type u_5} →
        {R₂ : Type u_6} →
          [inst : Semiring R] →
            [inst_1 : Semiring R₂] →
              [inst_2 : AddCommMonoid M] →
                [inst_3 : Module R M] →
                  [inst_4 : AddCommMonoid N] →
                    [inst_5 : Module R₂ N] → {σ₁₂ : R →+* R₂} → (M →ₛₗ[σ₁₂] N) → (α →₀ M) →ₛₗ[σ₁₂] α →₀ N

Finsupp.mapRange as a LinearMap.

theorem Finsupp.mapRange.linearMap_apply E0 #

∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} {R : Type u_5} {R₂ : Type u_6} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M] [inst_3 : Module R M] [inst_4 : AddCommMonoid N] [inst_5 : Module R₂ N] {σ₁₂ : R →+* R₂}
  (f : M →ₛₗ[σ₁₂] N) (g : α →₀ M), (Finsupp.mapRange.linearMap f) g = Finsupp.mapRange ⇑f ⋯ g

theorem Finsupp.mapRange.linearMap_id E0 #

∀ {α : Type u_1} {M : Type u_2} {R : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Finsupp.mapRange.linearMap LinearMap.id = LinearMap.id

theorem Finsupp.mapRange.linearMap_comp E1 #

∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} {P : Type u_4} {R : Type u_5} {R₂ : Type u_6} {R₃ : Type u_7}
  [inst : Semiring R] [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M] [inst_4 : Module R M]
  [inst_5 : AddCommMonoid N] [inst_6 : Module R₂ N] [inst_7 : AddCommMonoid P] [inst_8 : Module R₃ P] {σ₁₂ : R →+* R₂}
  {σ₂₃ : R₂ →+* R₃} {σ₁₃ : R →+* R₃} [inst_9 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] (f : N →ₛₗ[σ₂₃] P) (f₂ : M →ₛₗ[σ₁₂] N),
  Finsupp.mapRange.linearMap (f ∘ₛₗ f₂) = Finsupp.mapRange.linearMap f ∘ₛₗ Finsupp.mapRange.linearMap f₂

theorem Finsupp.mapRange.linearMap_toAddMonoidHom E0 #

∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} {R : Type u_5} {R₂ : Type u_6} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M] [inst_3 : Module R M] [inst_4 : AddCommMonoid N] [inst_5 : Module R₂ N] {σ₁₂ : R →+* R₂}
  (f : M →ₛₗ[σ₁₂] N), (Finsupp.mapRange.linearMap f).toAddMonoidHom = Finsupp.mapRange.addMonoidHom f.toAddMonoidHom

def Finsupp.mapRange.linearEquiv E1 #

{α : Type u_1} →
  {M : Type u_2} →
    {N : Type u_3} →
      {R : Type u_5} →
        {R₂ : Type u_6} →
          [inst : Semiring R] →
            [inst_1 : Semiring R₂] →
              [inst_2 : AddCommMonoid M] →
                [inst_3 : Module R M] →
                  [inst_4 : AddCommMonoid N] →
                    [inst_5 : Module R₂ N] →
                      {σ₁₂ : R →+* R₂} →
                        {σ₂₁ : R₂ →+* R} →
                          [inst_6 : RingHomInvPair σ₁₂ σ₂₁] →
                            [inst_7 : RingHomInvPair σ₂₁ σ₁₂] → (M ≃ₛₗ[σ₁₂] N) → (α →₀ M) ≃ₛₗ[σ₁₂] α →₀ N

Finsupp.mapRange as a LinearEquiv.

theorem Finsupp.mapRange.linearEquiv_apply E0 #

∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} {R : Type u_5} {R₂ : Type u_6} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M] [inst_3 : Module R M] [inst_4 : AddCommMonoid N] [inst_5 : Module R₂ N] {σ₁₂ : R →+* R₂}
  {σ₂₁ : R₂ →+* R} [inst_6 : RingHomInvPair σ₁₂ σ₂₁] [inst_7 : RingHomInvPair σ₂₁ σ₁₂] (e : M ≃ₛₗ[σ₁₂] N) (g : α →₀ M),
  (Finsupp.mapRange.linearEquiv e) g = Finsupp.mapRange ⇑e ⋯ g

theorem Finsupp.mapRange.linearEquiv_refl E0 #

∀ {α : Type u_1} {M : Type u_2} {R : Type u_5} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Finsupp.mapRange.linearEquiv (LinearEquiv.refl R M) = LinearEquiv.refl R (α →₀ M)

theorem Finsupp.mapRange.linearEquiv_trans E1 #

∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} {P : Type u_4} {R : Type u_5} {R₂ : Type u_6} {R₃ : Type u_7}
  [inst : Semiring R] [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M] [inst_4 : Module R M]
  [inst_5 : AddCommMonoid N] [inst_6 : Module R₂ N] [inst_7 : AddCommMonoid P] [inst_8 : Module R₃ P] {σ₁₂ : R →+* R₂}
  {σ₂₁ : R₂ →+* R} {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂} {σ₁₃ : R →+* R₃} {σ₃₁ : R₃ →+* R}
  [inst_9 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_10 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] [inst_11 : RingHomInvPair σ₁₂ σ₂₁]
  [inst_12 : RingHomInvPair σ₂₁ σ₁₂] [inst_13 : RingHomInvPair σ₂₃ σ₃₂] [inst_14 : RingHomInvPair σ₃₂ σ₂₃]
  [inst_15 : RingHomInvPair σ₁₃ σ₃₁] [inst_16 : RingHomInvPair σ₃₁ σ₁₃] (f : M ≃ₛₗ[σ₁₂] N) (f₂ : N ≃ₛₗ[σ₂₃] P),
  Finsupp.mapRange.linearEquiv (f.trans f₂) = (Finsupp.mapRange.linearEquiv f).trans (Finsupp.mapRange.linearEquiv f₂)

theorem Finsupp.mapRange.linearEquiv_symm E0 #

∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} {R : Type u_5} {R₂ : Type u_6} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M] [inst_3 : Module R M] [inst_4 : AddCommMonoid N] [inst_5 : Module R₂ N] {σ₁₂ : R →+* R₂}
  {σ₂₁ : R₂ →+* R} [inst_6 : RingHomInvPair σ₁₂ σ₂₁] [inst_7 : RingHomInvPair σ₂₁ σ₁₂] (f : M ≃ₛₗ[σ₁₂] N),
  (Finsupp.mapRange.linearEquiv f).symm = Finsupp.mapRange.linearEquiv f.symm

theorem Finsupp.mapRange.linearEquiv_toAddEquiv E0 #

∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} {R : Type u_5} {R₂ : Type u_6} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M] [inst_3 : Module R M] [inst_4 : AddCommMonoid N] [inst_5 : Module R₂ N] {σ₁₂ : R →+* R₂}
  {σ₂₁ : R₂ →+* R} [inst_6 : RingHomInvPair σ₁₂ σ₂₁] [inst_7 : RingHomInvPair σ₂₁ σ₁₂] (f : M ≃ₛₗ[σ₁₂] N),
  (Finsupp.mapRange.linearEquiv f).toAddEquiv = Finsupp.mapRange.addEquiv f.toAddEquiv

theorem Finsupp.mapRange.linearEquiv_toLinearMap E0 #

∀ {α : Type u_1} {M : Type u_2} {N : Type u_3} {R : Type u_5} {R₂ : Type u_6} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M] [inst_3 : Module R M] [inst_4 : AddCommMonoid N] [inst_5 : Module R₂ N] {σ₁₂ : R →+* R₂}
  {σ₂₁ : R₂ →+* R} [inst_6 : RingHomInvPair σ₁₂ σ₂₁] [inst_7 : RingHomInvPair σ₂₁ σ₁₂] (f : M ≃ₛₗ[σ₁₂] N),
  ↑(Finsupp.mapRange.linearEquiv f) = Finsupp.mapRange.linearMap ↑f

def Finsupp.curryLinearEquiv E1 #

{α : Type u_8} →
  {β : Type u_9} →
    (R : Type u_10) →
      {M : Type u_11} →
        [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → (α × β →₀ M) ≃ₗ[R] α →₀ β →₀ M

The linear equivalence between α × β →₀ M and α →₀ β →₀ M.

This is the LinearEquiv version of Finsupp.curryEquiv.

theorem Finsupp.curryLinearEquiv_apply E0 #

∀ {α : Type u_8} {β : Type u_9} (R : Type u_10) {M : Type u_11} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] (a : α × β →₀ M), (Finsupp.curryLinearEquiv R) a = a.curry

theorem Finsupp.curryLinearEquiv_symm_apply E0 #

∀ {α : Type u_8} {β : Type u_9} (R : Type u_10) {M : Type u_11} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] (a : α →₀ β →₀ M), (Finsupp.curryLinearEquiv R).symm a = a.uncurry

theorem Finsupp.curryLinearEquiv_symm_apply_apply E0 #

∀ {α : Type u_8} {β : Type u_9} {R : Type u_10} {M : Type u_11} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] (f : α →₀ β →₀ M) (xy : α × β), ((Finsupp.curryLinearEquiv R).symm f) xy = (f xy.1) xy.2

def Module.subsingletonEquiv E1 #

(R : Type u_4) →
  (M : Type u_5) →
    (ι : Type u_6) →
      [inst : Semiring R] → [Subsingleton R] → [inst_2 : AddCommMonoid M] → [inst_3 : Module R M] → M ≃ₗ[R] ι →₀ R

If Subsingleton R, then M ≃ₗ[R] ι →₀ R for any type ι.

theorem Module.subsingletonEquiv_symm_apply E0 #

∀ (R : Type u_4) (M : Type u_5) (ι : Type u_6) [inst : Semiring R] [inst_1 : Subsingleton R] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] (x : ι →₀ R), (Module.subsingletonEquiv R M ι).symm x = 0

theorem Module.subsingletonEquiv_apply E0 #

∀ (R : Type u_4) (M : Type u_5) (ι : Type u_6) [inst : Semiring R] [inst_1 : Subsingleton R] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] (x : M), (Module.subsingletonEquiv R M ι) x = 0

def Module.End.ringHomEndFinsupp E1 #

(ι : Type u_4) →
  {R : Type u_5} →
    {M : Type u_6} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] → Module.End (Module.End R M) M →+* Module.End (Module.End R (ι →₀ M)) (ι →₀ M)

If M is an R-module and ι is a type, then an additive endomorphism of M that commutes with all R-endomorphisms of M gives rise to an additive endomorphism of ι →₀ M that commutes with all R-endomorphisms of ι →₀ M.

theorem Module.End.ringHomEndFinsupp_apply_apply E0 #

∀ (ι : Type u_4) {R : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (f : Module.End (Module.End R M) M) (a : ι →₀ M),
  ((Module.End.ringHomEndFinsupp ι) f) a = (Finsupp.mapRange.addMonoidHom ↑f) a

def Module.End.ringEquivEndFinsupp E1 #

{ι : Type u_4} →
  {R : Type u_5} →
    {M : Type u_6} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] → ι → Module.End (Module.End R M) M ≃+* Module.End (Module.End R (ι →₀ M)) (ι →₀ M)

If M is an R-module and ι is a nonempty type, then every additive endomorphism of ι →₀ M that commutes with all R-endomorphisms of ι →₀ M comes from an additive endomorphism of M that commutes with all R-endomorphisms of M. See (15) in F4 of §28 on p.131 of [Lorenz2008].

theorem Module.End.ringEquivEndFinsupp_apply_apply_apply E0 #

∀ {ι : Type u_4} {R : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (i : ι) (a : Module.End (Module.End R M) M) (a_1 : ι →₀ M) (a_2 : ι),
  (((Module.End.ringEquivEndFinsupp i) a) a_1) a_2 = a (a_1 a_2)

theorem Module.End.ringEquivEndFinsupp_apply_apply_support E0 #

∀ {ι : Type u_4} {R : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (i : ι) (a : Module.End (Module.End R M) M) (a_1 : ι →₀ M),
  (((Module.End.ringEquivEndFinsupp i) a) a_1).support = Finsupp.onFinsetSupport a_1.support (⇑a ∘ ⇑a_1)

theorem Module.End.ringEquivEndFinsupp_symm_apply_apply E0 #

∀ {ι : Type u_4} {R : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (i : ι) (f : Module.End (Module.End R (ι →₀ M)) (ι →₀ M)) (m : M),
  ((Module.End.ringEquivEndFinsupp i).symm f) m = (f fun₀ | i => m) i

theorem Module.End.ringHomEndFinsupp_surjective E1 #

∀ (ι : Type u_4) (R : Type u_5) (M : Type u_6) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Function.Surjective ⇑(Module.End.ringHomEndFinsupp ι)