The areas / V08. Multilinear algebra and forms
Mathlib.Algebra.DirectSum.Module
100 declarations. Mathlib docs · Source
Direct sum of modules
The first part of the file provides constructors for direct sums of modules. It provides a
construction of the direct sum using the universal property and proves its uniqueness
(DirectSum.toModule.unique).
The second part of the file covers the special case of direct sums of submodules of a fixed module
M. There is a canonical linear map from this direct sum to M (DirectSum.coeLinearMap), and
the construction is of particular importance when this linear map is an equivalence; that is, when
the submodules provide an internal decomposition of M. The property is defined more generally
elsewhere as DirectSum.IsInternal, but its basic consequences on Submodules are established
in this file.
Now copy the lemmas for subgroup and submonoids.
theorem DirectSum.IsInternal.collectedBasis.congr_simp E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M} (h : DirectSum.IsInternal A) {α : ι → Type u_2}
(v v_1 : (i : ι) → Module.Basis (α i) R ↥(A i)), v = v_1 → h.collectedBasis v = h.collectedBasis v_1
theorem AddHomClass.toAddHom.congr_simp E1 #
∀ {M : Type u_4} {N : Type u_5} {F : Type u_9} [inst : Add M] [inst_1 : Add N] [inst_2 : FunLike F M N]
[inst_3 : AddHomClass F M N] (f f_1 : F), f = f_1 → ↑f = ↑f_1
theorem DirectSum.IsInternal.congr_simp E1 #
∀ {ι : Type v} {M : Type u_1} {S : Type u_2} {inst : DecidableEq ι} [inst_1 : DecidableEq ι] [inst_2 : AddCommMonoid M]
[inst_3 : SetLike S M] [inst_4 : AddSubmonoidClass S M] (A A_1 : ι → S),
A = A_1 → DirectSum.IsInternal A = DirectSum.IsInternal A_1
instance DirectSum.instModule E0 #
{R : Type u} →
[inst : Semiring R] →
{ι : Type v} →
{M : ι → Type w} →
[inst_1 : (i : ι) → AddCommMonoid (M i)] → [(i : ι) → Module R (M i)] → Module R (DirectSum ι fun i ↦ M i)
instance DirectSum.instSMulCommClass E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {S : Type u_1} [inst_3 : Semiring S] [inst_4 : (i : ι) → Module S (M i)]
[∀ (i : ι), SMulCommClass R S (M i)], SMulCommClass R S (DirectSum ι fun i ↦ M i)
instance DirectSum.instIsScalarTower E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {S : Type u_1} [inst_3 : Semiring S] [inst_4 : SMul R S]
[inst_5 : (i : ι) → Module S (M i)] [∀ (i : ι), IsScalarTower R S (M i)], IsScalarTower R S (DirectSum ι fun i ↦ M i)
instance DirectSum.instIsCentralScalar E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : (i : ι) → Module Rᵐᵒᵖ (M i)] [∀ (i : ι), IsCentralScalar R (M i)],
IsCentralScalar R (DirectSum ι fun i ↦ M i)
theorem DirectSum.smul_apply E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] (b : R) (v : DirectSum ι fun i ↦ M i) (i : ι), (b • v) i = b • v i
def DirectSum.coeFnLinearMap E1 #
(R : Type u) →
[inst : Semiring R] →
{ι : Type v} →
{M : ι → Type w} →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] → (DirectSum ι fun i ↦ M i) →ₗ[R] (i : ι) → M i
Coercion from a DirectSum to a pi type is a LinearMap.
theorem DirectSum.coeFnLinearMap_apply E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] (v : DirectSum ι fun i ↦ M i), (DirectSum.coeFnLinearMap R) v = ⇑v
def DirectSum.lmk E1 #
(R : Type u) →
[inst : Semiring R] →
(ι : Type v) →
(M : ι → Type w) →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] →
[DecidableEq ι] → (s : Finset ι) → ((i : ↑↑s) → M ↑i) →ₗ[R] DirectSum ι fun i ↦ M i
Create the direct sum given a family M of R modules indexed over ι.
def DirectSum.lof E1 #
(R : Type u) →
[inst : Semiring R] →
(ι : Type v) →
(M : ι → Type w) →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] → [DecidableEq ι] → (i : ι) → M i →ₗ[R] DirectSum ι fun i ↦ M i
Inclusion of each component into the direct sum.
theorem DirectSum.lof_eq_of E1 #
∀ (R : Type u) [inst : Semiring R] (ι : Type v) (M : ι → Type w) [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (i : ι) (b : M i),
(DirectSum.lof R ι M i) b = (DirectSum.of M i) b
theorem DirectSum.single_eq_lof E1 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (i : ι) (b : M i),
(fun₀ | i => b) = (DirectSum.lof R ι M i) b
theorem DirectSum.mk_smul E1 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (s : Finset ι) (c : R) (x : (i : ↑↑s) → M ↑i),
(DirectSum.mk M s) (c • x) = c • (DirectSum.mk M s) x
Scalar multiplication commutes with direct sums.
theorem DirectSum.of_smul E1 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (i : ι) (c : R) (x : M i),
(DirectSum.of M i) (c • x) = c • (DirectSum.of M i) x
Scalar multiplication commutes with the inclusion of each component into the direct sum.
theorem DirectSum.support_smul E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] [inst_4 : (i : ι) → (x : M i) → Decidable (x ≠ 0)]
(c : R) (v : DirectSum ι fun i ↦ M i), DFinsupp.support (c • v) ⊆ DFinsupp.support v
def DirectSum.toModule E1 #
(R : Type u) →
[inst : Semiring R] →
(ι : Type v) →
{M : ι → Type w} →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] →
[DecidableEq ι] →
(N : Type u₁) →
[inst_4 : AddCommMonoid N] →
[inst_5 : Module R N] → ((i : ι) → M i →ₗ[R] N) → (DirectSum ι fun i ↦ M i) →ₗ[R] N
The linear map constructed using the universal property of the coproduct.
theorem DirectSum.coe_toModule_eq_coe_toAddMonoid E0 #
∀ (R : Type u) [inst : Semiring R] (ι : Type v) {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (N : Type u₁) [inst_4 : AddCommMonoid N]
[inst_5 : Module R N] (φ : (i : ι) → M i →ₗ[R] N),
⇑(DirectSum.toModule R ι N φ) = ⇑(DirectSum.toAddMonoid fun i ↦ (φ i).toAddMonoidHom)
Coproducts in the categories of modules and additive monoids commute with the forgetful functor from modules to additive monoids.
theorem DirectSum.toModule_lof E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] {N : Type u₁} [inst_4 : AddCommMonoid N]
[inst_5 : Module R N] {φ : (i : ι) → M i →ₗ[R] N} (i : ι) (x : M i),
(DirectSum.toModule R ι N φ) ((DirectSum.lof R ι M i) x) = (φ i) x
The map constructed using the universal property gives back the original maps when restricted to each component.
theorem DirectSum.toModule.unique E1 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] {N : Type u₁} [inst_4 : AddCommMonoid N]
[inst_5 : Module R N] (ψ : (DirectSum ι fun i ↦ M i) →ₗ[R] N) (f : DirectSum ι fun i ↦ M i),
ψ f = (DirectSum.toModule R ι N fun i ↦ ψ ∘ₗ DirectSum.lof R ι M i) f
Every linear map from a direct sum agrees with the one obtained by applying the universal property to each of its components.
theorem DirectSum.linearMap_ext E1 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] {N : Type u₁} [inst_4 : AddCommMonoid N]
[inst_5 : Module R N] ⦃ψ ψ' : (DirectSum ι fun i ↦ M i) →ₗ[R] N⦄,
(∀ (i : ι), ψ ∘ₗ DirectSum.lof R ι M i = ψ' ∘ₗ DirectSum.lof R ι M i) → ψ = ψ'
Two LinearMaps out of a direct sum are equal if they agree on the generators.
See note [partially-applied ext lemmas].
theorem DirectSum.linearMap_ext_iff E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] {N : Type u₁} [inst_4 : AddCommMonoid N]
[inst_5 : Module R N] {ψ ψ' : (DirectSum ι fun i ↦ M i) →ₗ[R] N},
ψ = ψ' ↔ ∀ (i : ι), ψ ∘ₗ DirectSum.lof R ι M i = ψ' ∘ₗ DirectSum.lof R ι M i
def DirectSum.lsetToSet E1 #
(R : Type u) →
[inst : Semiring R] →
{ι : Type v} →
{M : ι → Type w} →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] →
[DecidableEq ι] → (S T : Set ι) → S ⊆ T → (DirectSum ↑S fun i ↦ M ↑i) →ₗ[R] DirectSum ↑T fun i ↦ M ↑i
The inclusion of a subset of the direct summands into a larger subset of the direct summands, as a linear map.
def DirectSum.linearEquivFunOnFintype E1 #
(R : Type u) →
[inst : Semiring R] →
(ι : Type v) →
(M : ι → Type w) →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] → [Fintype ι] → (DirectSum ι fun i ↦ M i) ≃ₗ[R] (i : ι) → M i
Given Fintype α, linearEquivFunOnFintype R is the natural R-linear equivalence
between ⨁ i, M i and ∀ i, M i.
theorem DirectSum.linearEquivFunOnFintype_apply E0 #
∀ (R : Type u) [inst : Semiring R] (ι : Type v) (M : ι → Type w) [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : Fintype ι] (a : Π₀ (i : ι), (fun i ↦ M i) i) (i : ι),
(DirectSum.linearEquivFunOnFintype R ι M) a i = a i
theorem DirectSum.linearEquivFunOnFintype_lof E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] [inst_4 : Fintype ι] (i : ι) (m : M i),
(DirectSum.linearEquivFunOnFintype R ι M) ((DirectSum.lof R ι M i) m) = Pi.single i m
theorem DirectSum.linearEquivFunOnFintype_symm_single E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] [inst_4 : Fintype ι] (i : ι) (m : M i),
(DirectSum.linearEquivFunOnFintype R ι M).symm (Pi.single i m) = (DirectSum.lof R ι M i) m
theorem DirectSum.linearEquivFunOnFintype_symm_coe E0 #
∀ (R : Type u) [inst : Semiring R] (ι : Type v) (M : ι → Type w) [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : Fintype ι] (f : DirectSum ι fun i ↦ M i),
(DirectSum.linearEquivFunOnFintype R ι M).symm ⇑f = f
def DirectSum.lid E1 #
(R : Type u) →
[inst : Semiring R] →
(M : Type v) →
(ι : optParam (Type u_1) PUnit.{u_1 + 1}) →
[inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → [Unique ι] → (DirectSum ι fun x ↦ M) ≃ₗ[R] M
The natural linear equivalence between ⨁ _ : ι, M and M when Unique ι.
theorem DirectSum.lid_apply E0 #
∀ (R : Type u) [inst : Semiring R] {M : Type v} {ι : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Unique ι] (x : DirectSum ι fun x ↦ M), (DirectSum.lid R M ι) x = x default
theorem DirectSum.lid_symm_apply E0 #
∀ (R : Type u) [inst : Semiring R] {M : Type v} {ι : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Unique ι] (x : M), (DirectSum.lid R M ι).symm x = (DirectSum.lof R ι (fun i ↦ M) default) x
def DirectSum.component E1 #
(R : Type u) →
[inst : Semiring R] →
(ι : Type v) →
(M : ι → Type w) →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] → (i : ι) → (DirectSum ι fun i ↦ M i) →ₗ[R] M i
The projection map onto one component, as a linear map.
theorem DirectSum.apply_eq_component E1 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] (f : DirectSum ι fun i ↦ M i) (i : ι), f i = (DirectSum.component R ι M i) f
theorem DirectSum.ext_component E1 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {f g : DirectSum ι fun i ↦ M i},
(∀ (i : ι), (DirectSum.component R ι M i) f = (DirectSum.component R ι M i) g) → f = g
theorem DirectSum.ext_component_iff E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {f g : DirectSum ι fun i ↦ M i},
f = g ↔ ∀ (i : ι), (DirectSum.component R ι M i) f = (DirectSum.component R ι M i) g
theorem DirectSum.lof_apply E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (i : ι) (b : M i), ((DirectSum.lof R ι M i) b) i = b
theorem DirectSum.component.lof_self E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (i : ι) (b : M i),
(DirectSum.component R ι M i) ((DirectSum.lof R ι M i) b) = b
theorem DirectSum.component.of E1 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (i j : ι) (b : M j),
(DirectSum.component R ι M i) ((DirectSum.lof R ι M j) b) = if h : j = i then Eq.recOn h b else 0
theorem DirectSum.component_comp_lof E1 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (i j : ι),
DirectSum.component R ι M i ∘ₗ DirectSum.lof R ι M j = if h : j = i then h ▸ LinearMap.id else 0
theorem DirectSum.component_comp_lof_same E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] [inst_3 : DecidableEq ι] (i : ι),
DirectSum.component R ι M i ∘ₗ DirectSum.lof R ι M i = LinearMap.id
theorem DirectSum.mker_map E1 #
∀ {ι : Type v} {M : ι → Type w} [inst : (i : ι) → AddCommMonoid (M i)] {N : ι → Type u_1}
[inst_1 : (i : ι) → AddCommMonoid (N i)] (f : (i : ι) → M i →+ N i),
AddMonoidHom.mker (DirectSum.map f) =
AddSubmonoid.comap (DirectSum.coeFnAddMonoidHom M) (AddSubmonoid.pi Set.univ fun i ↦ AddMonoidHom.mker (f i))
theorem DirectSum.mrange_map E1 #
∀ {ι : Type v} {M : ι → Type w} [inst : (i : ι) → AddCommMonoid (M i)] {N : ι → Type u_1}
[inst_1 : (i : ι) → AddCommMonoid (N i)] (f : (i : ι) → M i →+ N i),
AddMonoidHom.mrange (DirectSum.map f) =
AddSubmonoid.comap (DirectSum.coeFnAddMonoidHom N) (AddSubmonoid.pi Set.univ fun i ↦ AddMonoidHom.mrange (f i))
def DirectSum.lmap E1 #
{R : Type u} →
[inst : Semiring R] →
{ι : Type v} →
{M : ι → Type w} →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] →
{N : ι → Type u_1} →
[inst_3 : (i : ι) → AddCommMonoid (N i)] →
[inst_4 : (i : ι) → Module R (N i)] →
((i : ι) → M i →ₗ[R] N i) → (DirectSum ι fun i ↦ M i) →ₗ[R] DirectSum ι fun i ↦ N i
The linear map between direct sums induced by a family of linear maps.
theorem DirectSum.lmap_apply E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {N : ι → Type u_1} [inst_3 : (i : ι) → AddCommMonoid (N i)]
[inst_4 : (i : ι) → Module R (N i)] (f : (i : ι) → M i →ₗ[R] N i) (x : DirectSum ι fun i ↦ M i) (i : ι),
((DirectSum.lmap f) x) i = (f i) (x i)
theorem DirectSum.lmap_of E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {N : ι → Type u_1} [inst_3 : (i : ι) → AddCommMonoid (N i)]
[inst_4 : (i : ι) → Module R (N i)] (f : (i : ι) → M i →ₗ[R] N i) [inst_5 : DecidableEq ι] (i : ι) (x : M i),
(DirectSum.lmap f) ((DirectSum.of M i) x) = (DirectSum.of N i) ((f i) x)
theorem DirectSum.lmap_lof E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {N : ι → Type u_1} [inst_3 : (i : ι) → AddCommMonoid (N i)]
[inst_4 : (i : ι) → Module R (N i)] (f : (i : ι) → M i →ₗ[R] N i) [inst_5 : DecidableEq ι] (i : ι) (x : M i),
(DirectSum.lmap f) ((DirectSum.lof R ι M i) x) = (DirectSum.lof R ι N i) ((f i) x)
theorem DirectSum.lmap_id E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)], (DirectSum.lmap fun i ↦ LinearMap.id) = LinearMap.id
theorem DirectSum.lmap_comp E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {N : ι → Type u_1} [inst_3 : (i : ι) → AddCommMonoid (N i)]
[inst_4 : (i : ι) → Module R (N i)] (f : (i : ι) → M i →ₗ[R] N i) {K : ι → Type u_2}
[inst_5 : (i : ι) → AddCommMonoid (K i)] [inst_6 : (i : ι) → Module R (K i)] (g : (i : ι) → N i →ₗ[R] K i),
(DirectSum.lmap fun i ↦ g i ∘ₗ f i) = DirectSum.lmap g ∘ₗ DirectSum.lmap f
theorem DirectSum.lmap_injective E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {N : ι → Type u_1} [inst_3 : (i : ι) → AddCommMonoid (N i)]
[inst_4 : (i : ι) → Module R (N i)] (f : (i : ι) → M i →ₗ[R] N i),
Function.Injective ⇑(DirectSum.lmap f) ↔ ∀ (i : ι), Function.Injective ⇑(f i)
theorem DirectSum.lmap_surjective E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {N : ι → Type u_1} [inst_3 : (i : ι) → AddCommMonoid (N i)]
[inst_4 : (i : ι) → Module R (N i)] (f : (i : ι) → M i →ₗ[R] N i),
Function.Surjective ⇑(DirectSum.lmap f) ↔ ∀ (i : ι), Function.Surjective ⇑(f i)
theorem DirectSum.lmap_eq_iff E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {N : ι → Type u_1} [inst_3 : (i : ι) → AddCommMonoid (N i)]
[inst_4 : (i : ι) → Module R (N i)] (f : (i : ι) → M i →ₗ[R] N i) (x y : DirectSum ι fun i ↦ M i),
(DirectSum.lmap f) x = (DirectSum.lmap f) y ↔ ∀ (i : ι), (f i) (x i) = (f i) (y i)
theorem DirectSum.toAddMonoidHom_lmap E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {N : ι → Type u_1} [inst_3 : (i : ι) → AddCommMonoid (N i)]
[inst_4 : (i : ι) → Module R (N i)] (f : (i : ι) → M i →ₗ[R] N i),
(DirectSum.lmap f).toAddMonoidHom = DirectSum.map fun i ↦ (f i).toAddMonoidHom
theorem DirectSum.lmap_eq_map E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {N : ι → Type u_1} [inst_3 : (i : ι) → AddCommMonoid (N i)]
[inst_4 : (i : ι) → Module R (N i)] (f : (i : ι) → M i →ₗ[R] N i) (x : DirectSum ι fun i ↦ M i),
(DirectSum.lmap f) x = (DirectSum.map fun i ↦ (f i).toAddMonoidHom) x
theorem DirectSum.ker_lmap E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {N : ι → Type u_1} [inst_3 : (i : ι) → AddCommMonoid (N i)]
[inst_4 : (i : ι) → Module R (N i)] (f : (i : ι) → M i →ₗ[R] N i),
(DirectSum.lmap f).ker = Submodule.comap (DirectSum.coeFnLinearMap R) (Submodule.pi Set.univ fun i ↦ (f i).ker)
theorem DirectSum.range_lmap E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {N : ι → Type u_1} [inst_3 : (i : ι) → AddCommMonoid (N i)]
[inst_4 : (i : ι) → Module R (N i)] (f : (i : ι) → M i →ₗ[R] N i),
(DirectSum.lmap f).range = Submodule.comap (DirectSum.coeFnLinearMap R) (Submodule.pi Set.univ fun i ↦ (f i).range)
theorem DirectSum.ker_map E1 #
∀ {ι : Type v} {M : ι → Type w} {N : ι → Type u_2} [inst : (i : ι) → AddCommGroup (M i)]
[inst_1 : (i : ι) → AddCommMonoid (N i)] (f : (i : ι) → M i →+ N i),
(DirectSum.map f).ker = AddSubgroup.comap (DirectSum.coeFnAddMonoidHom M) (AddSubgroup.pi Set.univ fun x ↦ (f x).ker)
theorem DirectSum.range_map E1 #
∀ {ι : Type v} {M : ι → Type w} {N : ι → Type u_2} [inst : (i : ι) → AddCommGroup (M i)]
[inst_1 : (i : ι) → AddCommGroup (N i)] (f : (i : ι) → M i →+ N i),
(DirectSum.map f).range =
AddSubgroup.comap (DirectSum.coeFnAddMonoidHom N) (AddSubgroup.pi Set.univ fun x ↦ (f x).range)
def DirectSum.lequivCongrLeft E1 #
(R : Type u) →
[inst : Semiring R] →
{ι : Type v} →
{M : ι → Type w} →
[inst_1 : (i : ι) → AddCommMonoid (M i)] →
[inst_2 : (i : ι) → Module R (M i)] →
{κ : Type u_1} → (h : ι ≃ κ) → (DirectSum ι fun i ↦ M i) ≃ₗ[R] DirectSum κ fun k ↦ M (h.symm k)
Reindexing terms of a direct sum is linear.
theorem DirectSum.lequivCongrLeft_apply E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {κ : Type u_1} (h : ι ≃ κ) (f : DirectSum ι fun i ↦ M i) (k : κ),
((DirectSum.lequivCongrLeft R h) f) k = f (h.symm k)
theorem DirectSum.lequivCongrLeft_lof E1 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {κ : Type u_1} [inst_3 : DecidableEq ι] [inst_4 : DecidableEq κ] {e : ι ≃ κ}
{i : ι} {k : κ} (hik : i = e.symm k) (x : M i) (y : M (e.symm k)),
cast ⋯ x = y →
(DirectSum.lequivCongrLeft R e) ((DirectSum.lof R ι M i) x) = (DirectSum.lof R κ (fun i ↦ M (e.symm i)) k) y
theorem DirectSum.lequivCongrLeft_symm_lof E1 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
[inst_2 : (i : ι) → Module R (M i)] {κ : Type u_1} [inst_3 : DecidableEq ι] [inst_4 : DecidableEq κ] {h : ι ≃ κ}
{k : κ} {x : M (h.symm k)},
(DirectSum.lequivCongrLeft R h).symm ((DirectSum.lof R κ (fun k ↦ M (h.symm k)) k) x) =
(DirectSum.lof R ι M (h.symm k)) x
def DirectSum.sigmaLcurry E1 #
(R : Type u) →
[inst : Semiring R] →
{ι : Type v} →
{α : ι → Type u_1} →
{δ : (i : ι) → α i → Type w} →
[DecidableEq ι] →
[inst_2 : (i : ι) → (j : α i) → AddCommMonoid (δ i j)] →
[inst_3 : (i : ι) → (j : α i) → Module R (δ i j)] →
(DirectSum ((x : ι) × α x) fun i ↦ δ i.fst i.snd) →ₗ[R]
DirectSum ι fun i ↦ DirectSum (α i) fun j ↦ δ i j
curry as a linear map.
theorem DirectSum.sigmaLcurry_apply E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {α : ι → Type u_1} {δ : (i : ι) → α i → Type w} [inst_1 : DecidableEq ι]
[inst_2 : (i : ι) → (j : α i) → AddCommMonoid (δ i j)] [inst_3 : (i : ι) → (j : α i) → Module R (δ i j)]
(f : DirectSum ((x : ι) × α x) fun i ↦ δ i.fst i.snd) (i : ι) (j : α i),
(((DirectSum.sigmaLcurry R) f) i) j = f ⟨i, j⟩
def DirectSum.sigmaLuncurry E1 #
(R : Type u) →
[inst : Semiring R] →
{ι : Type v} →
{α : ι → Type u_1} →
{δ : (i : ι) → α i → Type w} →
[DecidableEq ι] →
[inst_2 : (i : ι) → (j : α i) → AddCommMonoid (δ i j)] →
[inst_3 : (i : ι) → (j : α i) → Module R (δ i j)] →
(DirectSum ι fun i ↦ DirectSum (α i) fun j ↦ δ i j) →ₗ[R]
DirectSum ((x : ι) × α x) fun i ↦ δ i.fst i.snd
uncurry as a linear map.
theorem DirectSum.sigmaLuncurry_apply E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {α : ι → Type u_1} {δ : (i : ι) → α i → Type w} [inst_1 : DecidableEq ι]
[inst_2 : (i : ι) → (j : α i) → AddCommMonoid (δ i j)] [inst_3 : (i : ι) → (j : α i) → Module R (δ i j)]
(f : DirectSum ι fun i ↦ DirectSum (α i) fun j ↦ δ i j) (i : ι) (j : α i),
((DirectSum.sigmaLuncurry R) f) ⟨i, j⟩ = (f i) j
def DirectSum.sigmaLcurryEquiv E1 #
(R : Type u) →
[inst : Semiring R] →
{ι : Type v} →
{α : ι → Type u_1} →
{δ : (i : ι) → α i → Type w} →
[DecidableEq ι] →
[inst_2 : (i : ι) → (j : α i) → AddCommMonoid (δ i j)] →
[inst_3 : (i : ι) → (j : α i) → Module R (δ i j)] →
(DirectSum ((x : ι) × α x) fun i ↦ δ i.fst i.snd) ≃ₗ[R]
DirectSum ι fun i ↦ DirectSum (α i) fun j ↦ δ i j
curryEquiv as a linear equiv.
def DirectSum.lequivProdDirectSum E1 #
(R : Type u) →
[inst : Semiring R] →
{ι : Type v} →
{α : Option ι → Type w} →
[inst_1 : (i : Option ι) → AddCommMonoid (α i)] →
[inst_2 : (i : Option ι) → Module R (α i)] →
(DirectSum (Option ι) fun i ↦ α i) ≃ₗ[R] α none × DirectSum ι fun i ↦ α (some i)
Linear isomorphism obtained by separating the term of index none of a direct sum over
Option ι.
theorem DirectSum.lequivProdDirectSum_symm_apply E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {α : Option ι → Type w} [inst_1 : (i : Option ι) → AddCommMonoid (α i)]
[inst_2 : (i : Option ι) → Module R (α i)] (a : α none × DirectSum ι fun i ↦ α (some i)),
(DirectSum.lequivProdDirectSum R).symm a = DirectSum.addEquivProdDirectSum.invFun a
theorem DirectSum.lequivProdDirectSum_apply E0 #
∀ (R : Type u) [inst : Semiring R] {ι : Type v} {α : Option ι → Type w} [inst_1 : (i : Option ι) → AddCommMonoid (α i)]
[inst_2 : (i : Option ι) → Module R (α i)] (a : DirectSum (Option ι) fun i ↦ α i),
(DirectSum.lequivProdDirectSum R) a = DirectSum.addEquivProdDirectSum.toFun a
def DirectSum.coeLinearMap E1 #
{R : Type u} →
[inst : Semiring R] →
{ι : Type v} →
[dec_ι : DecidableEq ι] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] → (A : ι → Submodule R M) → (DirectSum ι fun i ↦ ↥(A i)) →ₗ[R] M
The canonical linear map from ⨁ i, A i to M where A is a collection of Submodule R M
indexed by ι. This is DirectSum.coeAddMonoidHom as a LinearMap.
theorem DirectSum.coeLinearMap_eq_dfinsuppSum E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (A : ι → Submodule R M) [inst_3 : DecidableEq M] (x : DirectSum ι fun i ↦ ↥(A i)),
(DirectSum.coeLinearMap A) x = DFinsupp.sum x fun i x ↦ ↑x
theorem DirectSum.coeLinearMap_of E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (A : ι → Submodule R M) (i : ι) (x : ↥(A i)),
(DirectSum.coeLinearMap A) ((DirectSum.of (fun i ↦ ↥(A i)) i) x) = ↑x
theorem DirectSum.coeLinearMap_lof E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] (A : ι → Submodule R M) (i : ι) (x : ↥(A i)),
(DirectSum.coeLinearMap A) ((DirectSum.lof R ι (fun i ↦ ↥(A i)) i) x) = ↑x
theorem DirectSum.range_coeLinearMap E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M}, (DirectSum.coeLinearMap A).range = ⨆ i, A i
theorem DirectSum.IsInternal.ofBijective_coeLinearMap_same E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M} (h : DirectSum.IsInternal A) {i : ι} (x : ↥(A i)),
((LinearEquiv.ofBijective (DirectSum.coeLinearMap A) h).symm ↑x) i = x
theorem DirectSum.IsInternal.ofBijective_coeLinearMap_of_ne E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M} (h : DirectSum.IsInternal A) {i j : ι},
i ≠ j → ∀ (x : ↥(A i)), ((LinearEquiv.ofBijective (DirectSum.coeLinearMap A) h).symm ↑x) j = 0
theorem DirectSum.IsInternal.ofBijective_coeLinearMap_of_mem E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M} (h : DirectSum.IsInternal A) {i : ι} {x : M} (hx : x ∈ A i),
((LinearEquiv.ofBijective (DirectSum.coeLinearMap A) h).symm x) i = ⟨x, hx⟩
theorem DirectSum.IsInternal.ofBijective_coeLinearMap_of_mem_ne E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M} (h : DirectSum.IsInternal A) {i j : ι},
i ≠ j → ∀ {x : M}, x ∈ A i → ((LinearEquiv.ofBijective (DirectSum.coeLinearMap A) h).symm x) j = 0
theorem DirectSum.IsInternal.submodule_iSup_eq_top E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M}, DirectSum.IsInternal A → iSup A = ⊤
If a direct sum of submodules is internal then the submodules span the module.
theorem DirectSum.IsInternal.submodule_iSupIndep E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M}, DirectSum.IsInternal A → iSupIndep A
If a direct sum of submodules is internal then the submodules are independent.
def DirectSum.IsInternal.collectedBasis E1 #
{R : Type u} →
[inst : Semiring R] →
{ι : Type v} →
[dec_ι : DecidableEq ι] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{A : ι → Submodule R M} →
DirectSum.IsInternal A →
{α : ι → Type u_2} → ((i : ι) → Module.Basis (α i) R ↥(A i)) → Module.Basis ((i : ι) × α i) R M
Given an internal direct sum decomposition of a module M, and a basis for each of the
components of the direct sum, the disjoint union of these bases is a basis for M.
theorem DirectSum.IsInternal.collectedBasis_coe E0 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M} (h : DirectSum.IsInternal A) {α : ι → Type u_2}
(v : (i : ι) → Module.Basis (α i) R ↥(A i)), ⇑(h.collectedBasis v) = fun a ↦ ↑((v a.fst) a.snd)
theorem DirectSum.IsInternal.collectedBasis_mem E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M} (h : DirectSum.IsInternal A) {α : ι → Type u_2}
(v : (i : ι) → Module.Basis (α i) R ↥(A i)) (a : (i : ι) × α i), (h.collectedBasis v) a ∈ A a.fst
theorem DirectSum.IsInternal.collectedBasis_repr_of_mem E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M} (h : DirectSum.IsInternal A) {α : ι → Type u_2}
(v : (i : ι) → Module.Basis (α i) R ↥(A i)) {x : M} {i : ι} {a : α i} (hx : x ∈ A i),
((h.collectedBasis v).repr x) ⟨i, a⟩ = ((v i).repr ⟨x, hx⟩) a
theorem DirectSum.IsInternal.collectedBasis_repr_of_mem_ne E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M} (h : DirectSum.IsInternal A) {α : ι → Type u_2}
(v : (i : ι) → Module.Basis (α i) R ↥(A i)) {x : M} {i j : ι},
i ≠ j → ∀ {a : α j}, x ∈ A i → ((h.collectedBasis v).repr x) ⟨j, a⟩ = 0
theorem DirectSum.IsInternal.isCompl E1 #
∀ {R : Type u} [inst : Semiring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommMonoid M]
[inst_2 : Module R M] {A : ι → Submodule R M} {i j : ι},
i ≠ j → Set.univ = {i, j} → DirectSum.IsInternal A → IsCompl (A i) (A j)
When indexed by only two distinct elements, DirectSum.IsInternal implies
the two submodules are complementary. Over a Ring R, this is true as an iff, as
DirectSum.isInternal_submodule_iff_isCompl.
theorem DirectSum.isInternal_submodule_of_iSupIndep_of_iSup_eq_top E1 #
∀ {R : Type u} [inst : Ring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommGroup M]
[inst_2 : Module R M] {A : ι → Submodule R M}, iSupIndep A → iSup A = ⊤ → DirectSum.IsInternal A
Note that this is not generally true for [Semiring R]; see
iSupIndep.dfinsupp_lsum_injective for details.
theorem DirectSum.isInternal_submodule_iff_iSupIndep_and_iSup_eq_top E1 #
∀ {R : Type u} [inst : Ring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommGroup M]
[inst_2 : Module R M] (A : ι → Submodule R M), DirectSum.IsInternal A ↔ iSupIndep A ∧ iSup A = ⊤
iff version of DirectSum.isInternal_submodule_of_iSupIndep_of_iSup_eq_top,
DirectSum.IsInternal.iSupIndep, and DirectSum.IsInternal.submodule_iSup_eq_top.
theorem DirectSum.isInternal_submodule_iff_isCompl E1 #
∀ {R : Type u} [inst : Ring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommGroup M]
[inst_2 : Module R M] (A : ι → Submodule R M) {i j : ι},
i ≠ j → Set.univ = {i, j} → (DirectSum.IsInternal A ↔ IsCompl (A i) (A j))
If a collection of submodules has just two indices, i and j, then
DirectSum.IsInternal is equivalent to isCompl.
theorem DirectSum.isInternal_ne_bot_iff E0 #
∀ {R : Type u} [inst : Ring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommGroup M]
[inst_2 : Module R M] {A : ι → Submodule R M}, (DirectSum.IsInternal fun i ↦ A ↑i) ↔ DirectSum.IsInternal A
theorem DirectSum.isInternal_biSup_submodule_of_iSupIndep E1 #
∀ {R : Type u} [inst : Ring R] {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_1} [inst_1 : AddCommGroup M]
[inst_2 : Module R M] {A : ι → Submodule R M} (s : Set ι),
(iSupIndep fun i ↦ A ↑i) → DirectSum.IsInternal fun i ↦ Submodule.comap (⨆ i ∈ s, A i).subtype (A ↑i)
theorem DirectSum.IsInternal.addSubmonoid_iSupIndep E1 #
∀ {ι : Type v} [dec_ι : DecidableEq ι] {M : Type u_2} [inst : AddCommMonoid M] {A : ι → AddSubmonoid M},
DirectSum.IsInternal A → iSupIndep A
theorem DirectSum.IsInternal.addSubgroup_iSupIndep E1 #
∀ {ι : Type v} [dec_ι : DecidableEq ι] {G : Type u_2} [inst : AddCommGroup G] {A : ι → AddSubgroup G},
DirectSum.IsInternal A → iSupIndep A
def DirectSum.congrAddEquiv E1 #
{ι : Type u_2} →
{N : ι → Type u_3} →
[inst : (i : ι) → AddCommMonoid (N i)] →
{P : ι → Type u_4} →
[inst_1 : (i : ι) → AddCommMonoid (P i)] →
((i : ι) → N i ≃+ P i) → (DirectSum ι fun i ↦ N i) ≃+ DirectSum ι fun i ↦ P i
Direct sums of isomorphic additive groups are isomorphic.
theorem DirectSum.coe_congrAddEquiv E0 #
∀ {ι : Type u_2} {N : ι → Type u_3} [inst : (i : ι) → AddCommMonoid (N i)] {P : ι → Type u_4}
[inst_1 : (i : ι) → AddCommMonoid (P i)] (u : (i : ι) → N i ≃+ P i),
⇑(DirectSum.congrAddEquiv u).toAddMonoidHom = ⇑(DirectSum.map fun i ↦ (u i).toAddMonoidHom)
def DirectSum.congrLinearEquiv E1 #
{R : Type u_1} →
[inst : Semiring R] →
{ι : Type u_2} →
{N : ι → Type u_3} →
[inst_1 : (i : ι) → AddCommMonoid (N i)] →
[inst_2 : (i : ι) → Module R (N i)] →
{P : ι → Type u_4} →
[inst_3 : (i : ι) → AddCommMonoid (P i)] →
[inst_4 : (i : ι) → Module R (P i)] →
((i : ι) → N i ≃ₗ[R] P i) → (DirectSum ι fun i ↦ N i) ≃ₗ[R] DirectSum ι fun i ↦ P i
Direct sums of isomorphic modules are isomorphic.
theorem DirectSum.coe_congrLinearEquiv E0 #
∀ {R : Type u_1} [inst : Semiring R] {ι : Type u_2} {N : ι → Type u_3} [inst_1 : (i : ι) → AddCommMonoid (N i)]
[inst_2 : (i : ι) → Module R (N i)] {P : ι → Type u_4} [inst_3 : (i : ι) → AddCommMonoid (P i)]
[inst_4 : (i : ι) → Module R (P i)] (u : (i : ι) → N i ≃ₗ[R] P i),
⇑(DirectSum.congrLinearEquiv u) = ⇑(DirectSum.lmap fun i ↦ ↑(u i))
theorem DirectSum.congrLinearEquiv_toAddEquiv E1 #
∀ {R : Type u_1} [inst : Semiring R] {ι : Type u_2} {N : ι → Type u_3} [inst_1 : (i : ι) → AddCommMonoid (N i)]
[inst_2 : (i : ι) → Module R (N i)] {P : ι → Type u_4} [inst_3 : (i : ι) → AddCommMonoid (P i)]
[inst_4 : (i : ι) → Module R (P i)] (u : (i : ι) → N i ≃ₗ[R] P i),
(DirectSum.congrLinearEquiv u).toAddEquiv = DirectSum.congrAddEquiv fun i ↦ (u i).toAddEquiv
theorem DirectSum.congrLinearEquiv_toLinearMap E1 #
∀ {R : Type u_1} [inst : Semiring R] {ι : Type u_2} {N : ι → Type u_3} [inst_1 : (i : ι) → AddCommMonoid (N i)]
[inst_2 : (i : ι) → Module R (N i)] {P : ι → Type u_4} [inst_3 : (i : ι) → AddCommMonoid (P i)]
[inst_4 : (i : ι) → Module R (P i)] (u : (i : ι) → N i ≃ₗ[R] P i),
↑(DirectSum.congrLinearEquiv u) = DirectSum.lmap fun i ↦ ↑(u i)