The areas / V07. Linear algebra
Mathlib.LinearAlgebra.DFinsupp
79 declarations. Mathlib docs · Source
Properties of the module Π₀ i, M i
Given an indexed collection of R-modules M i, the R-module structure on Π₀ i, M i
is defined in Mathlib/Data/DFinsupp/Module.lean.
In this file we define LinearMap versions of various maps:
-
DFinsupp.lsingle a : M →ₗ[R] Π₀ i, M i:DFinsupp.single aas a linear map; -
DFinsupp.lmk s : (Π i : (↑s : Set ι), M i) →ₗ[R] Π₀ i, M i:DFinsupp.mkas a linear map; -
DFinsupp.lapply i : (Π₀ i, M i) →ₗ[R] M: the mapfun f ↦ f ias a linear map; -
DFinsupp.lsum:DFinsupp.sumorDFinsupp.liftAddHomas aLinearMap.
Implementation notes
This file should try to mirror LinearAlgebra.Finsupp where possible. The API of Finsupp is
much more developed, but many lemmas in that file should be eligible to copy over.
Tags
function with finite support, module, linear algebra
Bundled versions of DFinsupp.mapRange
The names should match the equivalent bundled Finsupp.mapRange definitions.
theorem AddMonoidHom.mker.congr_simp E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] {F : Type u_4}
[inst_2 : FunLike F M N] [mc : AddMonoidHomClass F M N] (f f_1 : F),
f = f_1 → AddMonoidHom.mker f = AddMonoidHom.mker f_1
theorem DFinsupp.filterLinearMap.congr_simp E1 #
∀ {ι : Type u} (γ : Type w) (β : ι → Type v) [inst : Semiring γ] [inst_1 : (i : ι) → AddCommMonoid (β i)]
[inst_2 : (i : ι) → Module γ (β i)] (p p_1 : ι → Prop),
p = p_1 →
∀ {inst_3 : DecidablePred p} [inst_4 : DecidablePred p_1],
DFinsupp.filterLinearMap γ β p = DFinsupp.filterLinearMap γ β p_1
theorem AddSubmonoid.comap.congr_simp E1 #
∀ {M : Type u_1} {N : Type u_2} [inst : AddZeroClass M] [inst_1 : AddZeroClass N] {F : Type u_4}
[inst_2 : FunLike F M N] [mc : AddMonoidHomClass F M N] (f f_1 : F),
f = f_1 → ∀ (S S_1 : AddSubmonoid N), S = S_1 → AddSubmonoid.comap f S = AddSubmonoid.comap f_1 S_1
def DFinsupp.lmk E1 #
{ι : Type u_1} →
{R : Type u_3} →
{M : ι → Type u_5} →
[inst : Semiring R] →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] →
[DecidableEq ι] → (s : Finset ι) → ((i : ↑↑s) → M ↑i) →ₗ[R] Π₀ (i : ι), M i
DFinsupp.mk as a LinearMap.
def DFinsupp.lsingle E1 #
{ι : Type u_1} →
{R : Type u_3} →
{M : ι → Type u_5} →
[inst : Semiring R] →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] → [DecidableEq ι] → (i : ι) → M i →ₗ[R] Π₀ (i : ι), M i
DFinsupp.single as a LinearMap
theorem DFinsupp.lhom_ext E1 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} {N : Type u_6} [inst : Semiring R]
[inst_1 : (i : ι) → AddCommMonoid (M i)] [inst_2 : (i : ι) → Module R (M i)] [inst_3 : AddCommMonoid N]
[inst_4 : Module R N] [inst_5 : DecidableEq ι] ⦃φ ψ : (Π₀ (i : ι), M i) →ₗ[R] N⦄,
(∀ (i : ι) (x : M i), (φ fun₀ | i => x) = ψ fun₀ | i => x) → φ = ψ
Two R-linear maps from Π₀ i, M i which agree on each single i x agree everywhere.
theorem DFinsupp.lhom_ext' E1 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} {N : Type u_6} [inst : Semiring R]
[inst_1 : (i : ι) → AddCommMonoid (M i)] [inst_2 : (i : ι) → Module R (M i)] [inst_3 : AddCommMonoid N]
[inst_4 : Module R N] [inst_5 : DecidableEq ι] ⦃φ ψ : (Π₀ (i : ι), M i) →ₗ[R] N⦄,
(∀ (i : ι), φ ∘ₗ DFinsupp.lsingle i = ψ ∘ₗ DFinsupp.lsingle i) → φ = ψ
Two R-linear maps from Π₀ i, M i which agree on each single i x agree everywhere.
See note [partially-applied ext lemmas].
After applying this lemma, if M = R then it suffices to verify
φ (single a 1) = ψ (single a 1).
theorem DFinsupp.lhom_ext'_iff E0 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} {N : Type u_6} [inst : Semiring R]
[inst_1 : (i : ι) → AddCommMonoid (M i)] [inst_2 : (i : ι) → Module R (M i)] [inst_3 : AddCommMonoid N]
[inst_4 : Module R N] [inst_5 : DecidableEq ι] {φ ψ : (Π₀ (i : ι), M i) →ₗ[R] N},
φ = ψ ↔ ∀ (i : ι), φ ∘ₗ DFinsupp.lsingle i = ψ ∘ₗ DFinsupp.lsingle i
theorem DFinsupp.lmk_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (s : Finset ι) (x : (i : ↑↑s) → M ↑i),
(DFinsupp.lmk s) x = DFinsupp.mk s x
theorem DFinsupp.lsingle_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (i : ι) (x : M i), (DFinsupp.lsingle i) x = fun₀ | i => x
def DFinsupp.lapply E1 #
{ι : Type u_1} →
{R : Type u_3} →
{M : ι → Type u_5} →
[inst : Semiring R] →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] → (i : ι) → (Π₀ (i : ι), M i) →ₗ[R] M i
Interpret fun (f : Π₀ i, M i) ↦ f i as a linear map.
theorem DFinsupp.lapply_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] (i : ι) (f : Π₀ (i : ι), M i), (DFinsupp.lapply i) f = f i
theorem DFinsupp.injective_pi_lapply E1 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)], Function.Injective ⇑(LinearMap.pi DFinsupp.lapply)
theorem DFinsupp.lapply_comp_lsingle_same E0 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (i : ι),
DFinsupp.lapply i ∘ₗ DFinsupp.lsingle i = LinearMap.id
theorem DFinsupp.lapply_comp_lsingle_of_ne E0 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (i i' : ι),
i ≠ i' → DFinsupp.lapply i ∘ₗ DFinsupp.lsingle i' = 0
instance DFinsupp.instEquivLikeLinearEquiv E0 #
{R : Type u_7} →
{S : Type u_8} →
[inst : Semiring R] →
[inst_1 : Semiring S] →
(σ : R →+* S) →
{σ' : S →+* R} →
[inst_2 : RingHomInvPair σ σ'] →
[inst_3 : RingHomInvPair σ' σ] →
(M : Type u_9) →
(M₂ : Type u_10) →
[inst_4 : AddCommMonoid M] →
[inst_5 : AddCommMonoid M₂] →
[inst_6 : Module R M] → [inst_7 : Module S M₂] → EquivLike (M ≃ₛₗ[σ] M₂) M M₂
def DFinsupp.domLCongr E1 #
{ι : Type u_1} →
{ι' : Type u_2} →
{R : Type u_3} →
{M : ι → Type u_5} →
[inst : Semiring R] →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] → (e : ι ≃ ι') → (Π₀ (i : ι), M i) ≃ₗ[R] Π₀ (i : ι'), M (e.symm i)
DFinsupp.equivCongrLeft as a linear equivalence.
This is the DFinsupp version of Finsupp.domLCongr.
theorem DFinsupp.domLCongr_apply E0 #
∀ {ι : Type u_1} {ι' : Type u_2} {R : Type u_3} {M : ι → Type u_5} [inst : Semiring R]
[inst_1 : (i : ι) → AddCommMonoid (M i)] [inst_2 : (i : ι) → Module R (M i)] (e : ι ≃ ι') (a : Π₀ (i : ι), M i),
(DFinsupp.domLCongr e) a = DFinsupp.comapDomain' ⇑e.symm ⋯ a
def DFinsupp.sigmaCurryLEquiv E1 #
{ι : Type u_1} →
{R : Type u_3} →
[inst : Semiring R] →
[DecidableEq ι] →
{α : ι → Type u_7} →
{M : (i : ι) → α i → Type u_8} →
[inst_2 : (i : ι) → (j : α i) → AddCommMonoid (M i j)] →
[inst_3 : (i : ι) → (j : α i) → Module R (M i j)] →
(Π₀ (i : (x : ι) × α x), M i.fst i.snd) ≃ₗ[R] Π₀ (i : ι) (j : α i), M i j
DFinsupp.sigmaCurryEquiv as a linear equivalence.
This is the DFinsupp version of Finsupp.curryLinearEquiv.
theorem DFinsupp.sigmaCurryLEquiv_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] [inst_1 : DecidableEq ι] {α : ι → Type u_7}
{M : (i : ι) → α i → Type u_8} [inst_2 : (i : ι) → (j : α i) → AddCommMonoid (M i j)]
[inst_3 : (i : ι) → (j : α i) → Module R (M i j)] (a : Π₀ (i : (x : ι) × α x), M i.fst i.snd),
DFinsupp.sigmaCurryLEquiv a = DFinsupp.sigmaCurryEquiv a
theorem DFinsupp.sigmaCurryLEquiv_symm_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] [inst_1 : DecidableEq ι] {α : ι → Type u_7}
{M : (i : ι) → α i → Type u_8} [inst_2 : (i : ι) → (j : α i) → AddCommMonoid (M i j)]
[inst_3 : (i : ι) → (j : α i) → Module R (M i j)] (a : Π₀ (i : ι) (j : α i), M i j),
DFinsupp.sigmaCurryLEquiv.symm a = DFinsupp.sigmaCurryEquiv.symm a
def DFinsupp.linearEquivFunOnFintype E1 #
{ι : Type u_1} →
{R : Type u_3} →
{M : ι → Type u_5} →
[inst : Semiring R] →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] → [Fintype ι] → (Π₀ (i : ι), M i) ≃ₗ[R] (i : ι) → M i
DFinsupp.equivFunOnFintype as a linear equivalence.
This is the DFinsupp version of Finsupp.linearEquivFunOnFintype.
theorem DFinsupp.linearEquivFunOnFintype_symm_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : Fintype ι] (a : (i : ι) → M i),
DFinsupp.linearEquivFunOnFintype.symm a = DFinsupp.equivFunOnFintype.symm a
theorem DFinsupp.linearEquivFunOnFintype_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : Fintype ι] (a : Π₀ (i : ι), M i) (i : ι),
DFinsupp.linearEquivFunOnFintype a i = a i
def DFinsupp.lsum E1 #
{ι : Type u_1} →
{R : Type u_3} →
(S : Type u_4) →
{M : ι → Type u_5} →
{N : Type u_6} →
[inst : Semiring R] →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
[DecidableEq ι] →
[inst_6 : Semiring S] →
[inst_7 : Module S N] →
[inst_8 : SMulCommClass R S N] → ((i : ι) → M i →ₗ[R] N) ≃ₗ[S] (Π₀ (i : ι), M i) →ₗ[R] N
The DFinsupp version of Finsupp.lsum.
See note [bundled maps over different rings] for why separate R and S semirings are used.
theorem DFinsupp.lsum_symm_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} (S : Type u_4) {M : ι → Type u_5} {N : Type u_6} [inst : Semiring R]
[inst_1 : (i : ι) → AddCommMonoid (M i)] [inst_2 : (i : ι) → Module R (M i)] [inst_3 : AddCommMonoid N]
[inst_4 : Module R N] [inst_5 : DecidableEq ι] [inst_6 : Semiring S] [inst_7 : Module S N]
[inst_8 : SMulCommClass R S N] (F : (Π₀ (i : ι), M i) →ₗ[R] N) (i : ι),
(DFinsupp.lsum S).symm F i = F ∘ₗ DFinsupp.lsingle i
theorem DFinsupp.lsum_apply_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} (S : Type u_4) {M : ι → Type u_5} {N : Type u_6} [inst : Semiring R]
[inst_1 : (i : ι) → AddCommMonoid (M i)] [inst_2 : (i : ι) → Module R (M i)] [inst_3 : AddCommMonoid N]
[inst_4 : Module R N] [inst_5 : DecidableEq ι] [inst_6 : Semiring S] [inst_7 : Module S N]
[inst_8 : SMulCommClass R S N] (F : (i : ι) → M i →ₗ[R] N) (a : Π₀ (i : ι), M i),
((DFinsupp.lsum S) F) a = (DFinsupp.sumAddHom fun i ↦ (F i).toAddMonoidHom) a
theorem DFinsupp.lsum_single E1 #
∀ {ι : Type u_1} {R : Type u_3} (S : Type u_4) {M : ι → Type u_5} {N : Type u_6} [inst : Semiring R]
[inst_1 : (i : ι) → AddCommMonoid (M i)] [inst_2 : (i : ι) → Module R (M i)] [inst_3 : AddCommMonoid N]
[inst_4 : Module R N] [inst_5 : DecidableEq ι] [inst_6 : Semiring S] [inst_7 : Module S N]
[inst_8 : SMulCommClass R S N] (F : (i : ι) → M i →ₗ[R] N) (i : ι) (x : M i),
(((DFinsupp.lsum S) F) fun₀ | i => x) = (F i) x
While simp can prove this, it is often convenient to avoid unfolding lsum into sumAddHom
with DFinsupp.lsum_apply_apply.
theorem DFinsupp.lsum_lsingle E1 #
∀ {ι : Type u_1} {R : Type u_3} (S : Type u_4) {M : ι → Type u_5} [inst : Semiring R]
[inst_1 : (i : ι) → AddCommMonoid (M i)] [inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι]
[inst_4 : Semiring S] [inst_5 : (i : ι) → Module S (M i)] [inst_6 : ∀ (i : ι), SMulCommClass R S (M i)],
(DFinsupp.lsum S) DFinsupp.lsingle = LinearMap.id
theorem DFinsupp.iSup_range_lsingle E1 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι], ⨆ i, (DFinsupp.lsingle i).range = ⊤
theorem DFinsupp.mker_mapRangeAddMonoidHom E1 #
∀ {ι : Type u_1} {β₁ : ι → Type u_8} {β₂ : ι → Type u_9} [inst : (i : ι) → AddCommMonoid (β₁ i)]
[inst_1 : (i : ι) → AddCommMonoid (β₂ i)] (f : (i : ι) → β₁ i →+ β₂ i),
AddMonoidHom.mker (DFinsupp.mapRange.addMonoidHom f) =
AddSubmonoid.comap DFinsupp.coeFnAddMonoidHom (AddSubmonoid.pi Set.univ fun i ↦ AddMonoidHom.mker (f i))
theorem DFinsupp.mrange_mapRangeAddMonoidHom E1 #
∀ {ι : Type u_1} {β₁ : ι → Type u_8} {β₂ : ι → Type u_9} [inst : (i : ι) → AddCommMonoid (β₁ i)]
[inst_1 : (i : ι) → AddCommMonoid (β₂ i)] (f : (i : ι) → β₁ i →+ β₂ i),
AddMonoidHom.mrange (DFinsupp.mapRange.addMonoidHom f) =
AddSubmonoid.comap DFinsupp.coeFnAddMonoidHom (AddSubmonoid.pi Set.univ fun i ↦ AddMonoidHom.mrange (f i))
theorem DFinsupp.mapRange_smul E1 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] {β₁ : ι → Type u_8} {β₂ : ι → Type u_9}
[inst_1 : (i : ι) → AddCommMonoid (β₁ i)] [inst_2 : (i : ι) → AddCommMonoid (β₂ i)]
[inst_3 : (i : ι) → Module R (β₁ i)] [inst_4 : (i : ι) → Module R (β₂ i)] (f : (i : ι) → β₁ i → β₂ i)
(hf : ∀ (i : ι), f i 0 = 0) (r : R),
(∀ (i : ι) (x : β₁ i), f i (r • x) = r • f i x) →
∀ (g : Π₀ (i : ι), β₁ i), DFinsupp.mapRange f hf (r • g) = r • DFinsupp.mapRange f hf g
def DFinsupp.mapRange.linearMap E1 #
{ι : Type u_1} →
{R : Type u_3} →
[inst : Semiring R] →
{β₁ : ι → Type u_8} →
{β₂ : ι → Type u_9} →
[inst_1 : (i : ι) → AddCommMonoid (β₁ i)] →
[inst_2 : (i : ι) → AddCommMonoid (β₂ i)] →
[inst_3 : (i : ι) → Module R (β₁ i)] →
[inst_4 : (i : ι) → Module R (β₂ i)] →
((i : ι) → β₁ i →ₗ[R] β₂ i) → (Π₀ (i : ι), β₁ i) →ₗ[R] Π₀ (i : ι), β₂ i
DFinsupp.mapRange as a LinearMap.
theorem DFinsupp.mapRange.linearMap_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] {β₁ : ι → Type u_8} {β₂ : ι → Type u_9}
[inst_1 : (i : ι) → AddCommMonoid (β₁ i)] [inst_2 : (i : ι) → AddCommMonoid (β₂ i)]
[inst_3 : (i : ι) → Module R (β₁ i)] [inst_4 : (i : ι) → Module R (β₂ i)] (f : (i : ι) → β₁ i →ₗ[R] β₂ i)
(x : Π₀ (i : ι), β₁ i), (DFinsupp.mapRange.linearMap f) x = DFinsupp.mapRange (fun i x ↦ (f i) x) ⋯ x
theorem DFinsupp.mapRange.linearMap_id E0 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] {β₂ : ι → Type u_9} [inst_1 : (i : ι) → AddCommMonoid (β₂ i)]
[inst_2 : (i : ι) → Module R (β₂ i)], (DFinsupp.mapRange.linearMap fun i ↦ LinearMap.id) = LinearMap.id
theorem DFinsupp.mapRange.linearMap_comp E1 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] {β : ι → Type u_7} {β₁ : ι → Type u_8} {β₂ : ι → Type u_9}
[inst_1 : (i : ι) → AddCommMonoid (β i)] [inst_2 : (i : ι) → AddCommMonoid (β₁ i)]
[inst_3 : (i : ι) → AddCommMonoid (β₂ i)] [inst_4 : (i : ι) → Module R (β i)] [inst_5 : (i : ι) → Module R (β₁ i)]
[inst_6 : (i : ι) → Module R (β₂ i)] (f : (i : ι) → β₁ i →ₗ[R] β₂ i) (f₂ : (i : ι) → β i →ₗ[R] β₁ i),
(DFinsupp.mapRange.linearMap fun i ↦ f i ∘ₗ f₂ i) = DFinsupp.mapRange.linearMap f ∘ₗ DFinsupp.mapRange.linearMap f₂
theorem DFinsupp.sum_mapRange_index.linearMap E1 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid N] [inst_2 : Module R N]
{β₁ : ι → Type u_8} {β₂ : ι → Type u_9} [inst_3 : (i : ι) → AddCommMonoid (β₁ i)]
[inst_4 : (i : ι) → AddCommMonoid (β₂ i)] [inst_5 : (i : ι) → Module R (β₁ i)] [inst_6 : (i : ι) → Module R (β₂ i)]
[inst_7 : DecidableEq ι] {f : (i : ι) → β₁ i →ₗ[R] β₂ i} {h : (i : ι) → β₂ i →ₗ[R] N} {l : Π₀ (i : ι), β₁ i},
((DFinsupp.lsum ℕ) h) ((DFinsupp.mapRange.linearMap f) l) = ((DFinsupp.lsum ℕ) fun i ↦ h i ∘ₗ f i) l
theorem DFinsupp.ker_mapRangeLinearMap E1 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] {β₁ : ι → Type u_8} {β₂ : ι → Type u_9}
[inst_1 : (i : ι) → AddCommMonoid (β₁ i)] [inst_2 : (i : ι) → AddCommMonoid (β₂ i)]
[inst_3 : (i : ι) → Module R (β₁ i)] [inst_4 : (i : ι) → Module R (β₂ i)] (f : (i : ι) → β₁ i →ₗ[R] β₂ i),
(DFinsupp.mapRange.linearMap f).ker =
Submodule.comap (DFinsupp.coeFnLinearMap R) (Submodule.pi Set.univ fun i ↦ (f i).ker)
theorem DFinsupp.range_mapRangeLinearMap E1 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] {β₁ : ι → Type u_8} {β₂ : ι → Type u_9}
[inst_1 : (i : ι) → AddCommMonoid (β₁ i)] [inst_2 : (i : ι) → AddCommMonoid (β₂ i)]
[inst_3 : (i : ι) → Module R (β₁ i)] [inst_4 : (i : ι) → Module R (β₂ i)] (f : (i : ι) → β₁ i →ₗ[R] β₂ i),
(DFinsupp.mapRange.linearMap f).range =
Submodule.comap (DFinsupp.coeFnLinearMap R) (Submodule.pi Set.univ fun x ↦ (f x).range)
def DFinsupp.mapRange.linearEquiv E1 #
{ι : Type u_1} →
{R : Type u_3} →
[inst : Semiring R] →
{β₁ : ι → Type u_8} →
{β₂ : ι → Type u_9} →
[inst_1 : (i : ι) → AddCommMonoid (β₁ i)] →
[inst_2 : (i : ι) → AddCommMonoid (β₂ i)] →
[inst_3 : (i : ι) → Module R (β₁ i)] →
[inst_4 : (i : ι) → Module R (β₂ i)] →
((i : ι) → β₁ i ≃ₗ[R] β₂ i) → (Π₀ (i : ι), β₁ i) ≃ₗ[R] Π₀ (i : ι), β₂ i
DFinsupp.mapRange.linearMap as a LinearEquiv.
theorem DFinsupp.mapRange.linearEquiv_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] {β₁ : ι → Type u_8} {β₂ : ι → Type u_9}
[inst_1 : (i : ι) → AddCommMonoid (β₁ i)] [inst_2 : (i : ι) → AddCommMonoid (β₂ i)]
[inst_3 : (i : ι) → Module R (β₁ i)] [inst_4 : (i : ι) → Module R (β₂ i)] (e : (i : ι) → β₁ i ≃ₗ[R] β₂ i)
(x : Π₀ (i : ι), β₁ i), (DFinsupp.mapRange.linearEquiv e) x = DFinsupp.mapRange (fun i x ↦ (e i) x) ⋯ x
theorem DFinsupp.mapRange.linearEquiv_refl E0 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] {β₁ : ι → Type u_8} [inst_1 : (i : ι) → AddCommMonoid (β₁ i)]
[inst_2 : (i : ι) → Module R (β₁ i)],
(DFinsupp.mapRange.linearEquiv fun i ↦ LinearEquiv.refl R (β₁ i)) = LinearEquiv.refl R (Π₀ (i : ι), β₁ i)
theorem DFinsupp.mapRange.linearEquiv_trans E1 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] {β : ι → Type u_7} {β₁ : ι → Type u_8} {β₂ : ι → Type u_9}
[inst_1 : (i : ι) → AddCommMonoid (β i)] [inst_2 : (i : ι) → AddCommMonoid (β₁ i)]
[inst_3 : (i : ι) → AddCommMonoid (β₂ i)] [inst_4 : (i : ι) → Module R (β i)] [inst_5 : (i : ι) → Module R (β₁ i)]
[inst_6 : (i : ι) → Module R (β₂ i)] (f : (i : ι) → β i ≃ₗ[R] β₁ i) (f₂ : (i : ι) → β₁ i ≃ₗ[R] β₂ i),
(DFinsupp.mapRange.linearEquiv fun i ↦ f i ≪≫ₗ f₂ i) =
DFinsupp.mapRange.linearEquiv f ≪≫ₗ DFinsupp.mapRange.linearEquiv f₂
theorem DFinsupp.mapRange.linearEquiv_symm E0 #
∀ {ι : Type u_1} {R : Type u_3} [inst : Semiring R] {β₁ : ι → Type u_8} {β₂ : ι → Type u_9}
[inst_1 : (i : ι) → AddCommMonoid (β₁ i)] [inst_2 : (i : ι) → AddCommMonoid (β₂ i)]
[inst_3 : (i : ι) → Module R (β₁ i)] [inst_4 : (i : ι) → Module R (β₂ i)] (e : (i : ι) → β₁ i ≃ₗ[R] β₂ i),
(DFinsupp.mapRange.linearEquiv e).symm = DFinsupp.mapRange.linearEquiv fun i ↦ (e i).symm
theorem DFinsupp.ker_mapRangeAddMonoidHom E1 #
∀ {ι : Type u_1} {β₁ : ι → Type u_8} {β₂ : ι → Type u_9} [inst : (i : ι) → AddCommGroup (β₁ i)]
[inst_1 : (i : ι) → AddCommMonoid (β₂ i)] (f : (i : ι) → β₁ i →+ β₂ i),
(DFinsupp.mapRange.addMonoidHom f).ker =
AddSubgroup.comap DFinsupp.coeFnAddMonoidHom (AddSubgroup.pi Set.univ fun x ↦ (f x).ker)
theorem DFinsupp.range_mapRangeAddMonoidHom E1 #
∀ {ι : Type u_1} {β₁ : ι → Type u_8} {β₂ : ι → Type u_9} [inst : (i : ι) → AddCommGroup (β₁ i)]
[inst_1 : (i : ι) → AddCommGroup (β₂ i)] (f : (i : ι) → β₂ i →+ β₁ i),
(DFinsupp.mapRange.addMonoidHom f).range =
AddSubgroup.comap DFinsupp.coeFnAddMonoidHom (AddSubgroup.pi Set.univ fun x ↦ (f x).range)
def DFinsupp.coprodMap E1 #
{ι : Type u_1} →
{R : Type u_3} →
{M : ι → Type u_5} →
{N : Type u_6} →
[inst : Semiring R] →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] → [DecidableEq ι] → ((i : ι) → M i →ₗ[R] N) → (Π₀ (i : ι), M i) →ₗ[R] N
Given a family of linear maps f i : M i →ₗ[R] N, we can form a linear map
(Π₀ i, M i) →ₗ[R] N which sends x : Π₀ i, M i to the sum over i of f i applied to x i.
This is the map coming from the universal property of Π₀ i, M i as the coproduct of the M i.
See also LinearMap.coprod for the binary product version.
theorem DFinsupp.coprodMap_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} {N : Type u_6} [inst : Semiring R]
[inst_1 : (i : ι) → AddCommMonoid (M i)] [inst_2 : (i : ι) → Module R (M i)] [inst_3 : AddCommMonoid N]
[inst_4 : Module R N] [inst_5 : DecidableEq ι] [inst_6 : (x : N) → Decidable (x ≠ 0)] (f : (i : ι) → M i →ₗ[R] N)
(x : Π₀ (i : ι), M i), (DFinsupp.coprodMap f) x = (DFinsupp.mapRange (fun i ↦ ⇑(f i)) ⋯ x).sum fun x ↦ id
theorem DFinsupp.coprodMap_apply_single E1 #
∀ {ι : Type u_1} {R : Type u_3} {M : ι → Type u_5} {N : Type u_6} [inst : Semiring R]
[inst_1 : (i : ι) → AddCommMonoid (M i)] [inst_2 : (i : ι) → Module R (M i)] [inst_3 : AddCommMonoid N]
[inst_4 : Module R N] [inst_5 : DecidableEq ι] (f : (i : ι) → M i →ₗ[R] N) (i : ι) (x : M i),
((DFinsupp.coprodMap f) fun₀ | i => x) = (f i) x
theorem Submodule.dfinsuppSum_mem E1 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid N] [inst_2 : Module R N]
[inst_3 : DecidableEq ι] {β : ι → Type u_7} [inst_4 : (i : ι) → Zero (β i)]
[inst_5 : (i : ι) → (x : β i) → Decidable (x ≠ 0)] (S : Submodule R N) (f : Π₀ (i : ι), β i) (g : (i : ι) → β i → N),
(∀ (c : ι), f c ≠ 0 → g c (f c) ∈ S) → f.sum g ∈ S
theorem Submodule.dfinsuppSumAddHom_mem E1 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid N] [inst_2 : Module R N]
[inst_3 : DecidableEq ι] {β : ι → Type u_7} [inst_4 : (i : ι) → AddZeroClass (β i)] (S : Submodule R N)
(f : Π₀ (i : ι), β i) (g : (i : ι) → β i →+ N), (∀ (c : ι), f c ≠ 0 → (g c) (f c) ∈ S) → (DFinsupp.sumAddHom g) f ∈ S
theorem Submodule.iSup_eq_range_dfinsupp_lsum E1 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid N] [inst_2 : Module R N]
[inst_3 : DecidableEq ι] (p : ι → Submodule R N), iSup p = ((DFinsupp.lsum ℕ) fun i ↦ (p i).subtype).range
The supremum of a family of submodules is equal to the range of DFinsupp.lsum; that is
every element in the iSup can be produced from taking a finite number of non-zero elements
of p i, coercing them to N, and summing them.
theorem Submodule.biSup_eq_range_dfinsupp_lsum E1 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid N] [inst_2 : Module R N]
[inst_3 : DecidableEq ι] (p : ι → Prop) [inst_4 : DecidablePred p] (S : ι → Submodule R N),
⨆ i, ⨆ (_ : p i), S i =
(((DFinsupp.lsum ℕ) fun i ↦ (S i).subtype) ∘ₗ DFinsupp.filterLinearMap R (fun i ↦ ↥(S i)) p).range
The bounded supremum of a family of commutative additive submonoids is equal to the range of
DFinsupp.sumAddHom composed with DFinsupp.filter_add_monoid_hom; that is, every element in the
bounded iSup can be produced from taking a finite number of non-zero elements from the S i that
satisfy p i, coercing them to γ, and summing them.
theorem Submodule.mem_iSup_iff_exists_dfinsupp E0 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid N] [inst_2 : Module R N]
[inst_3 : DecidableEq ι] (p : ι → Submodule R N) (x : N),
x ∈ iSup p ↔ ∃ f, ((DFinsupp.lsum ℕ) fun i ↦ (p i).subtype) f = x
A characterisation of the span of a family of submodules.
See also Submodule.mem_iSup_iff_exists_finsupp.
theorem Submodule.mem_iSup_iff_exists_dfinsupp' E0 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid N] [inst_2 : Module R N]
[inst_3 : DecidableEq ι] (p : ι → Submodule R N) [inst_4 : (i : ι) → (x : ↥(p i)) → Decidable (x ≠ 0)] (x : N),
x ∈ iSup p ↔ ∃ f, (f.sum fun x xi ↦ ↑xi) = x
A variant of Submodule.mem_iSup_iff_exists_dfinsupp with the RHS fully unfolded.
See also Submodule.mem_iSup_iff_exists_finsupp.
theorem Submodule.mem_biSup_iff_exists_dfinsupp E0 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid N] [inst_2 : Module R N]
[inst_3 : DecidableEq ι] (p : ι → Prop) [inst_4 : DecidablePred p] (S : ι → Submodule R N) (x : N),
x ∈ ⨆ i, ⨆ (_ : p i), S i ↔ ∃ f, ((DFinsupp.lsum ℕ) fun i ↦ (S i).subtype) (DFinsupp.filter p f) = x
theorem Submodule.mem_iSup_iff_exists_finsupp E0 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid N] [inst_2 : Module R N]
(p : ι → Submodule R N) (x : N), x ∈ iSup p ↔ ∃ f, (∀ (i : ι), f i ∈ p i) ∧ (f.sum fun _i xi ↦ xi) = x
theorem Submodule.mem_iSup_finset_iff_exists_sum E0 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Semiring R] [inst_1 : AddCommMonoid N] [inst_2 : Module R N]
{s : Finset ι} (p : ι → Submodule R N) (a : N), a ∈ ⨆ i ∈ s, p i ↔ ∃ μ, ∑ i ∈ s, ↑(μ i) = a
theorem iSupIndep_iff_forall_dfinsupp E1 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : DecidableEq ι] [inst_1 : Semiring R] [inst_2 : AddCommMonoid N]
[inst_3 : Module R N] (p : ι → Submodule R N),
iSupIndep p ↔
∀ (i : ι) (x : ↥(p i)) (v : Π₀ (i : ι), ↥(p i)),
((DFinsupp.lsum ℕ) fun i ↦ (p i).subtype) (DFinsupp.erase i v) = ↑x → x = 0
Independence of a family of submodules can be expressed as a quantifier over DFinsupps.
This is an intermediate result used to prove
iSupIndep_of_dfinsupp_lsum_injective and
iSupIndep.dfinsupp_lsum_injective.
theorem iSupIndep_of_dfinsupp_lsum_injective E1 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : DecidableEq ι] [inst_1 : Semiring R] [inst_2 : AddCommMonoid N]
[inst_3 : Module R N] (p : ι → Submodule R N),
Function.Injective ⇑((DFinsupp.lsum ℕ) fun i ↦ (p i).subtype) → iSupIndep p
If DFinsupp.lsum applied with Submodule.subtype is injective then the submodules are
iSupIndep.
theorem iSupIndep_of_dfinsuppSumAddHom_injective E1 #
∀ {ι : Type u_1} {N : Type u_6} [inst : DecidableEq ι] [inst_1 : AddCommMonoid N] (p : ι → AddSubmonoid N),
Function.Injective ⇑(DFinsupp.sumAddHom fun i ↦ (p i).subtype) → iSupIndep p
If DFinsupp.sumAddHom applied with AddSubmonoid.subtype is injective then the additive
submonoids are independent.
theorem lsum_comp_mapRange_toSpanSingleton E1 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : DecidableEq ι] [inst_1 : Semiring R] [inst_2 : AddCommMonoid N]
[inst_3 : Module R N] [inst_4 : (m : R) → Decidable (m ≠ 0)] (p : ι → Submodule R N) {v : ι → N}
(hv : ∀ (i : ι), v i ∈ p i),
((DFinsupp.lsum ℕ) fun i ↦ (p i).subtype) ∘ₗ
(DFinsupp.mapRange.linearMap fun i ↦ LinearMap.toSpanSingleton R ↥(p i) ⟨v i, ⋯⟩) ∘ₗ ↑(finsuppLequivDFinsupp R) =
Finsupp.linearCombination R v
Combining DFinsupp.lsum with LinearMap.toSpanSingleton is the same as
Finsupp.linearCombination
theorem iSupIndep_of_dfinsuppSumAddHom_injective' E1 #
∀ {ι : Type u_1} {N : Type u_6} [inst : DecidableEq ι] [inst_1 : AddCommGroup N] (p : ι → AddSubgroup N),
Function.Injective ⇑(DFinsupp.sumAddHom fun i ↦ (p i).subtype) → iSupIndep p
If DFinsupp.sumAddHom applied with AddSubmonoid.subtype is injective then the additive
subgroups are independent.
theorem iSupIndep.dfinsupp_lsum_injective E1 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : DecidableEq ι] [inst_1 : Ring R] [inst_2 : AddCommGroup N]
[inst_3 : Module R N] {p : ι → Submodule R N},
iSupIndep p → Function.Injective ⇑((DFinsupp.lsum ℕ) fun i ↦ (p i).subtype)
The canonical map out of a direct sum of a family of submodules is injective when the submodules
are iSupIndep.
Note that this is not generally true for [Semiring R], for instance when A is the
ℕ-submodules of the positive and negative integers.
See Counterexamples/DirectSumIsInternal.lean for a proof of this fact.
theorem iSupIndep.dfinsuppSumAddHom_injective E1 #
∀ {ι : Type u_1} {N : Type u_6} [inst : DecidableEq ι] [inst_1 : AddCommGroup N] {p : ι → AddSubgroup N},
iSupIndep p → Function.Injective ⇑(DFinsupp.sumAddHom fun i ↦ (p i).subtype)
The canonical map out of a direct sum of a family of additive subgroups is injective when the
additive subgroups are iSupIndep.
theorem iSupIndep_iff_dfinsupp_lsum_injective E1 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : DecidableEq ι] [inst_1 : Ring R] [inst_2 : AddCommGroup N]
[inst_3 : Module R N] (p : ι → Submodule R N),
iSupIndep p ↔ Function.Injective ⇑((DFinsupp.lsum ℕ) fun i ↦ (p i).subtype)
A family of submodules over an additive group are independent if and only iff DFinsupp.lsum
applied with Submodule.subtype is injective.
Note that this is not generally true for [Semiring R]; see
iSupIndep.dfinsupp_lsum_injective for details.
theorem iSupIndep_iff_finsetSum_eq_zero_imp_eq_zero E1 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup N] [inst_2 : Module R N]
(p : ι → Submodule R N),
iSupIndep p ↔ ∀ (s : Finset ι) (v : ι → N), (∀ i ∈ s, v i ∈ p i) → ∑ i ∈ s, v i = 0 → ∀ i ∈ s, v i = 0
theorem iSupIndep_iff_finsetSum_eq_imp_eq E0 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup N] [inst_2 : Module R N]
(p : ι → Submodule R N),
iSupIndep p ↔
∀ (s : Finset ι) (v w : ι → N), (∀ i ∈ s, v i ∈ p i ∧ w i ∈ p i) → ∑ i ∈ s, v i = ∑ i ∈ s, w i → ∀ i ∈ s, v i = w i
theorem iSupIndep_iff_dfinsuppSumAddHom_injective E1 #
∀ {ι : Type u_1} {N : Type u_6} [inst : DecidableEq ι] [inst_1 : AddCommGroup N] (p : ι → AddSubgroup N),
iSupIndep p ↔ Function.Injective ⇑(DFinsupp.sumAddHom fun i ↦ (p i).subtype)
A family of additive subgroups over an additive group are independent if and only if
DFinsupp.sumAddHom applied with AddSubgroup.subtype is injective.
def iSupIndep.linearEquiv E1 #
{ι : Type u_1} →
{R : Type u_3} →
{N : Type u_6} →
[DecidableEq ι] →
[inst : Ring R] →
[inst_1 : AddCommGroup N] →
[inst_2 : Module R N] → {p : ι → Submodule R N} → iSupIndep p → ⨆ i, p i = ⊤ → (Π₀ (i : ι), ↥(p i)) ≃ₗ[R] N
If (pᵢ)ᵢ is a family of independent submodules that generates the whole module N, then
N is isomorphic to the direct sum of the submodules.
theorem iSupIndep.linearEquiv_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : DecidableEq ι] [inst_1 : Ring R] [inst_2 : AddCommGroup N]
[inst_3 : Module R N] {p : ι → Submodule R N} (ind : iSupIndep p) (iSup_top : ⨆ i, p i = ⊤) (x : Π₀ (i : ι), ↥(p i)),
(ind.linearEquiv iSup_top) x = (DFinsupp.sumAddHom fun i ↦ (p i).subtype.toAddMonoidHom) x
theorem iSupIndep.linearEquiv_symm_apply E0 #
∀ {ι : Type u_1} {R : Type u_3} {N : Type u_6} [inst : DecidableEq ι] [inst_1 : Ring R] [inst_2 : AddCommGroup N]
[inst_3 : Module R N] {p : ι → Submodule R N} (ind : iSupIndep p) (iSup_top : ⨆ i, p i = ⊤) {i : ι} {x : N}
(h : x ∈ p i), (ind.linearEquiv iSup_top).symm x = fun₀ | i => ⟨x, h⟩
theorem iSupIndep.linearIndependent E1 #
∀ {R : Type u_3} {N : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup N] [inst_2 : Module R N] [IsDomain R]
[Module.IsTorsionFree R N] {ι : Type u_7} (p : ι → Submodule R N),
iSupIndep p → ∀ {v : ι → N}, (∀ (i : ι), v i ∈ p i) → (∀ (i : ι), v i ≠ 0) → LinearIndependent R v
If a family of submodules is independent, then a choice of nonzero vector from each submodule forms a linearly independent family.
See also iSupIndep.linearIndependent'.
theorem iSupIndep_iff_linearIndependent_of_ne_zero E1 #
∀ {R : Type u_3} {N : Type u_6} [inst : Ring R] [inst_1 : AddCommGroup N] [inst_2 : Module R N] [IsDomain R]
[Module.IsTorsionFree R N] {ι : Type u_7} {v : ι → N},
(∀ (i : ι), v i ≠ 0) → ((iSupIndep fun x ↦ R ∙ v x) ↔ LinearIndependent R v)
theorem LinearMap.coe_dfinsuppSum E0 #
∀ {R : Type u_7} {R₂ : Type u_8} {M : Type u_9} {M₂ : Type u_10} {ι : Type u_11} [inst : Semiring R]
[inst_1 : Semiring R₂] [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {σ₁₂ : R →+* R₂} [inst_4 : Module R M]
[inst_5 : Module R₂ M₂] {γ : ι → Type u_12} [inst_6 : DecidableEq ι] [inst_7 : (i : ι) → Zero (γ i)]
[inst_8 : (i : ι) → (x : γ i) → Decidable (x ≠ 0)] (t : Π₀ (i : ι), γ i) (g : (i : ι) → γ i → M →ₛₗ[σ₁₂] M₂),
⇑(t.sum g) = ⇑(t.sum fun i d ↦ g i d)
theorem LinearMap.dfinsuppSum_apply E0 #
∀ {R : Type u_7} {R₂ : Type u_8} {M : Type u_9} {M₂ : Type u_10} {ι : Type u_11} [inst : Semiring R]
[inst_1 : Semiring R₂] [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {σ₁₂ : R →+* R₂} [inst_4 : Module R M]
[inst_5 : Module R₂ M₂] {γ : ι → Type u_12} [inst_6 : DecidableEq ι] [inst_7 : (i : ι) → Zero (γ i)]
[inst_8 : (i : ι) → (x : γ i) → Decidable (x ≠ 0)] (t : Π₀ (i : ι), γ i) (g : (i : ι) → γ i → M →ₛₗ[σ₁₂] M₂) (b : M),
(t.sum g) b = t.sum fun i d ↦ (g i d) b
theorem LinearMap.map_dfinsuppSumAddHom E0 #
∀ {R : Type u_7} {R₂ : Type u_8} {M : Type u_9} {M₂ : Type u_10} {ι : Type u_11} [inst : Semiring R]
[inst_1 : Semiring R₂] [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {σ₁₂ : R →+* R₂} [inst_4 : Module R M]
[inst_5 : Module R₂ M₂] {γ : ι → Type u_12} [inst_6 : DecidableEq ι] [inst_7 : (i : ι) → AddZeroClass (γ i)]
(f : M →ₛₗ[σ₁₂] M₂) {t : Π₀ (i : ι), γ i} {g : (i : ι) → γ i →+ M},
f ((DFinsupp.sumAddHom g) t) = (DFinsupp.sumAddHom fun i ↦ f.toAddMonoidHom.comp (g i)) t
theorem LinearEquiv.map_dfinsuppSumAddHom E0 #
∀ {R : Type u_7} {R₂ : Type u_8} {M : Type u_9} {M₂ : Type u_10} {ι : Type u_11} [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₂} {τ₂₁ : R₂ →+* R} [inst_6 : RingHomInvPair τ₁₂ τ₂₁]
[inst_7 : RingHomInvPair τ₂₁ τ₁₂] {γ : ι → Type u_12} [inst_8 : DecidableEq ι] [inst_9 : (i : ι) → AddZeroClass (γ i)]
(f : M ≃ₛₗ[τ₁₂] M₂) (t : Π₀ (i : ι), γ i) (g : (i : ι) → γ i →+ M),
f ((DFinsupp.sumAddHom g) t) = (DFinsupp.sumAddHom fun i ↦ f.toAddEquiv.toAddMonoidHom.comp (g i)) t