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

168 declarations. Mathlib docs · Source

Products of modules

This file defines constructors for linear maps whose domains or codomains are products.

It contains theorems relating these to each other, as well as to Submodule.prod, Submodule.map, Submodule.comap, LinearMap.range, and LinearMap.ker.

Main definitions

  • products in the domain:
    • LinearMap.fst
    • LinearMap.snd
    • LinearMap.coprod
    • LinearMap.prod_ext
  • products in the codomain:
    • LinearMap.inl
    • LinearMap.inr
    • LinearMap.prod
  • products in both domain and codomain:
    • LinearMap.prodMap
    • LinearEquiv.prodMap
    • LinearEquiv.skewProd
  • product with the trivial module:
    • LinearEquiv.prodUnique
    • LinearEquiv.uniqueProd

theorem AddMonoidHom.mrange.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.mrange f = AddMonoidHom.mrange f_1

theorem LinearEquiv.ofTop.congr_simp E1 #

∀ {R : Type u_1} {M : Type u_4} [inst : Semiring R] [inst_1 : AddCommMonoid M] {module_M : Module R M}
  (p : Submodule R M) (h : p = ⊤), LinearEquiv.ofTop p h = LinearEquiv.ofTop p h

def LinearMap.fst E3 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] → [inst_3 : Module R M] → [inst_4 : Module R M₂] → M × M₂ →ₗ[R] M

The first projection of a product is a linear map.

def LinearMap.snd E3 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] → [inst_3 : Module R M] → [inst_4 : Module R M₂] → M × M₂ →ₗ[R] M₂

The second projection of a product is a linear map.

theorem LinearMap.fst_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (x : M × M₂), (LinearMap.fst R M M₂) x = x.1

theorem LinearMap.snd_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (x : M × M₂), (LinearMap.snd R M M₂) x = x.2

theorem LinearMap.coe_fst E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], ⇑(LinearMap.fst R M M₂) = Prod.fst

theorem LinearMap.coe_snd E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], ⇑(LinearMap.snd R M M₂) = Prod.snd

theorem LinearMap.fst_surjective E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], Function.Surjective ⇑(LinearMap.fst R M M₂)

theorem LinearMap.snd_surjective E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], Function.Surjective ⇑(LinearMap.snd R M M₂)

def LinearMap.prod E3 #

{R : Type u} →
  {M : Type v} →
    {M₂ : Type w} →
      {M₃ : Type y} →
        [inst : Semiring R] →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : AddCommMonoid M₂] →
              [inst_3 : AddCommMonoid M₃] →
                [inst_4 : Module R M] →
                  [inst_5 : Module R M₂] → [inst_6 : Module R M₃] → (M →ₗ[R] M₂) → (M →ₗ[R] M₃) → M →ₗ[R] M₂ × M₃

The prod of two linear maps is a linear map.

theorem LinearMap.prod_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₂) (g : M →ₗ[R] M₃) (i : M), (f.prod g) i = Function.prod (⇑f) (⇑g) i

theorem LinearMap.coe_prod E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₂) (g : M →ₗ[R] M₃), ⇑(f.prod g) = Function.prod ⇑f ⇑g

theorem LinearMap.fst_prod E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₂) (g : M →ₗ[R] M₃), LinearMap.fst R M₂ M₃ ∘ₗ f.prod g = f

theorem LinearMap.snd_prod E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₂) (g : M →ₗ[R] M₃), LinearMap.snd R M₂ M₃ ∘ₗ f.prod g = g

theorem LinearMap.pair_fst_snd E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearMap.fst R M M₂).prod (LinearMap.snd R M M₂) = LinearMap.id

theorem LinearMap.prod_comp E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄] (f : M₂ →ₗ[R] M₃) (g : M₂ →ₗ[R] M₄)
  (h : M →ₗ[R] M₂), f.prod g ∘ₗ h = (f ∘ₗ h).prod (g ∘ₗ h)

def LinearMap.prodEquiv E1 #

{R : Type u} →
  {M : Type v} →
    {M₂ : Type w} →
      {M₃ : Type y} →
        (S : Type u_3) →
          [inst : Semiring R] →
            [inst_1 : Semiring S] →
              [inst_2 : AddCommMonoid M] →
                [inst_3 : AddCommMonoid M₂] →
                  [inst_4 : AddCommMonoid M₃] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module R M₂] →
                        [inst_7 : Module R M₃] →
                          [inst_8 : Module S M₂] →
                            [inst_9 : Module S M₃] →
                              [inst_10 : SMulCommClass R S M₂] →
                                [inst_11 : SMulCommClass R S M₃] → ((M →ₗ[R] M₂) × (M →ₗ[R] M₃)) ≃ₗ[S] M →ₗ[R] M₂ × M₃

Taking the product of two maps with the same domain is equivalent to taking the product of their codomains.

See note [bundled maps over different rings] for why separate R and S semirings are used.

theorem LinearMap.prodEquiv_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} (S : Type u_3) [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid M₃] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module S M₂] [inst_9 : Module S M₃]
  [inst_10 : SMulCommClass R S M₂] [inst_11 : SMulCommClass R S M₃] (f : (M →ₗ[R] M₂) × (M →ₗ[R] M₃)),
  (LinearMap.prodEquiv S) f = f.1.prod f.2

theorem LinearMap.prodEquiv_symm_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} (S : Type u_3) [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid M₃] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module S M₂] [inst_9 : Module S M₃]
  [inst_10 : SMulCommClass R S M₂] [inst_11 : SMulCommClass R S M₃] (f : M →ₗ[R] M₂ × M₃),
  (LinearMap.prodEquiv S).symm f = (LinearMap.fst R M₂ M₃ ∘ₗ f, LinearMap.snd R M₂ M₃ ∘ₗ f)

def LinearMap.inl E3 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] → [inst_3 : Module R M] → [inst_4 : Module R M₂] → M →ₗ[R] M × M₂

The left injection into a product is a linear map.

def LinearMap.inr E3 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] → [inst_3 : Module R M] → [inst_4 : Module R M₂] → M₂ →ₗ[R] M × M₂

The right injection into a product is a linear map.

theorem LinearMap.range_inl E1 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearMap.inl R M M₂).range = (LinearMap.snd R M M₂).ker

theorem LinearMap.ker_snd E1 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearMap.snd R M M₂).ker = (LinearMap.inl R M M₂).range

theorem LinearMap.range_inr E1 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearMap.inr R M M₂).range = (LinearMap.fst R M M₂).ker

theorem LinearMap.ker_fst E1 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearMap.fst R M M₂).ker = (LinearMap.inr R M M₂).range

theorem LinearMap.fst_comp_inl E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], LinearMap.fst R M M₂ ∘ₗ LinearMap.inl R M M₂ = LinearMap.id

theorem LinearMap.snd_comp_inl E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], LinearMap.snd R M M₂ ∘ₗ LinearMap.inl R M M₂ = 0

theorem LinearMap.fst_comp_inr E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], LinearMap.fst R M M₂ ∘ₗ LinearMap.inr R M M₂ = 0

theorem LinearMap.snd_comp_inr E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], LinearMap.snd R M M₂ ∘ₗ LinearMap.inr R M M₂ = LinearMap.id

theorem LinearMap.coe_inl E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], ⇑(LinearMap.inl R M M₂) = fun x ↦ (x, 0)

theorem LinearMap.inl_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (x : M), (LinearMap.inl R M M₂) x = (x, 0)

theorem LinearMap.coe_inr E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], ⇑(LinearMap.inr R M M₂) = Prod.mk 0

theorem LinearMap.inr_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (x : M₂), (LinearMap.inr R M M₂) x = (0, x)

theorem LinearMap.inl_eq_prod E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], LinearMap.inl R M M₂ = LinearMap.id.prod 0

theorem LinearMap.inr_eq_prod E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], LinearMap.inr R M M₂ = LinearMap.prod 0 LinearMap.id

theorem LinearMap.inl_injective E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], Function.Injective ⇑(LinearMap.inl R M M₂)

theorem LinearMap.inr_injective E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], Function.Injective ⇑(LinearMap.inr R M M₂)

def LinearMap.coprod E3 #

{R : Type u} →
  {M : Type v} →
    {M₂ : Type w} →
      {M₃ : Type y} →
        [inst : Semiring R] →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : AddCommMonoid M₂] →
              [inst_3 : AddCommMonoid M₃] →
                [inst_4 : Module R M] →
                  [inst_5 : Module R M₂] → [inst_6 : Module R M₃] → (M →ₗ[R] M₃) → (M₂ →ₗ[R] M₃) → M × M₂ →ₗ[R] M₃

The coprod function x : M × M₂ ↦ f x.1 + g x.2 is a linear map.

theorem LinearMap.coprod_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₃) (x : M × M₂), (f.coprod g) x = f x.1 + g x.2

theorem LinearMap.coprod_inl E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₃), f.coprod g ∘ₗ LinearMap.inl R M M₂ = f

theorem LinearMap.coprod_inr E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₃), f.coprod g ∘ₗ LinearMap.inr R M M₂ = g

theorem LinearMap.coprod_inl_inr E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearMap.inl R M M₂).coprod (LinearMap.inr R M M₂) = LinearMap.id

theorem LinearMap.coprod_zero_left E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (g : M₂ →ₗ[R] M₃), LinearMap.coprod 0 g = g ∘ₗ LinearMap.snd R M M₂

theorem LinearMap.coprod_zero_right E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₃), f.coprod 0 = f ∘ₗ LinearMap.fst R M M₂

theorem LinearMap.comp_coprod E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄] (f : M₃ →ₗ[R] M₄) (g₁ : M →ₗ[R] M₃)
  (g₂ : M₂ →ₗ[R] M₃), f ∘ₗ g₁.coprod g₂ = (f ∘ₗ g₁).coprod (f ∘ₗ g₂)

theorem LinearMap.fst_eq_coprod E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], LinearMap.fst R M M₂ = LinearMap.id.coprod 0

theorem LinearMap.snd_eq_coprod E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], LinearMap.snd R M M₂ = LinearMap.coprod 0 LinearMap.id

theorem LinearMap.coprod_comp_prod E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄] (f : M₂ →ₗ[R] M₄) (g : M₃ →ₗ[R] M₄)
  (f' : M →ₗ[R] M₂) (g' : M →ₗ[R] M₃), f.coprod g ∘ₗ f'.prod g' = f ∘ₗ f' + g ∘ₗ g'

theorem LinearMap.coprod_map_prod E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₃) (S : Submodule R M) (S' : Submodule R M₂),
  Submodule.map (f.coprod g) (S.prod S') = Submodule.map f S ⊔ Submodule.map g S'

theorem LinearMap.coprod_comp_inl_inr E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M × M₂ →ₗ[R] M₃), (f ∘ₗ LinearMap.inl R M M₂).coprod (f ∘ₗ LinearMap.inr R M M₂) = f

def LinearMap.coprodEquiv E1 #

{R : Type u} →
  {M : Type v} →
    {M₂ : Type w} →
      {M₃ : Type y} →
        (S : Type u_3) →
          [inst : Semiring R] →
            [inst_1 : Semiring S] →
              [inst_2 : AddCommMonoid M] →
                [inst_3 : AddCommMonoid M₂] →
                  [inst_4 : AddCommMonoid M₃] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module R M₂] →
                        [inst_7 : Module R M₃] →
                          [inst_8 : Module S M₃] →
                            [inst_9 : SMulCommClass R S M₃] → ((M →ₗ[R] M₃) × (M₂ →ₗ[R] M₃)) ≃ₗ[S] M × M₂ →ₗ[R] M₃

Taking the product of two maps with the same codomain is equivalent to taking the product of their domains.

See note [bundled maps over different rings] for why separate R and S semirings are used.

theorem LinearMap.coprodEquiv_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} (S : Type u_3) [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid M₃] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module S M₃] [inst_9 : SMulCommClass R S M₃]
  (f : (M →ₗ[R] M₃) × (M₂ →ₗ[R] M₃)), (LinearMap.coprodEquiv S) f = f.1.coprod f.2

theorem LinearMap.coprodEquiv_symm_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} (S : Type u_3) [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid M₃] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module S M₃] [inst_9 : SMulCommClass R S M₃]
  (f : M × M₂ →ₗ[R] M₃), (LinearMap.coprodEquiv S).symm f = (f ∘ₗ LinearMap.inl R M M₂, f ∘ₗ LinearMap.inr R M M₂)

theorem LinearMap.prod_ext_iff E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] {f g : M × M₂ →ₗ[R] M₃},
  f = g ↔ f ∘ₗ LinearMap.inl R M M₂ = g ∘ₗ LinearMap.inl R M M₂ ∧ f ∘ₗ LinearMap.inr R M M₂ = g ∘ₗ LinearMap.inr R M M₂

theorem LinearMap.prod_ext E3 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] {f g : M × M₂ →ₗ[R] M₃},
  f ∘ₗ LinearMap.inl R M M₂ = g ∘ₗ LinearMap.inl R M M₂ → f ∘ₗ LinearMap.inr R M M₂ = g ∘ₗ LinearMap.inr R M M₂ → f = g

Split equality of linear maps from a product into linear maps over each component, to allow ext to apply lemmas specific to M →ₗ M₃ and M₂ →ₗ M₃.

See note [partially-applied ext lemmas].

def LinearMap.prodMap E3 #

{R : Type u} →
  {M : Type v} →
    {M₂ : Type w} →
      {M₃ : Type y} →
        {M₄ : Type z} →
          [inst : Semiring R] →
            [inst_1 : AddCommMonoid M] →
              [inst_2 : AddCommMonoid M₂] →
                [inst_3 : AddCommMonoid M₃] →
                  [inst_4 : AddCommMonoid M₄] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module R M₂] →
                        [inst_7 : Module R M₃] →
                          [inst_8 : Module R M₄] → (M →ₗ[R] M₃) → (M₂ →ₗ[R] M₄) → M × M₂ →ₗ[R] M₃ × M₄

Prod.map of two linear maps.

theorem LinearMap.coe_prodMap E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄] (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₄),
  ⇑(f.prodMap g) = Prod.map ⇑f ⇑g

theorem LinearMap.prodMap_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄] (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₄) (x : M × M₂),
  (f.prodMap g) x = (f x.1, g x.2)

theorem LinearMap.prodMap_comap_prod E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄] (f : M →ₗ[R] M₂) (g : M₃ →ₗ[R] M₄)
  (S : Submodule R M₂) (S' : Submodule R M₄),
  Submodule.comap (f.prodMap g) (S.prod S') = (Submodule.comap f S).prod (Submodule.comap g S')

theorem LinearMap.prodMap_map_prod E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄] (f : M →ₗ[R] M₂) (g : M₃ →ₗ[R] M₄)
  (S : Submodule R M) (S' : Submodule R M₃),
  Submodule.map (f.prodMap g) (S.prod S') = (Submodule.map f S).prod (Submodule.map g S')

theorem LinearMap.ker_prodMap E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄] (f : M →ₗ[R] M₂) (g : M₃ →ₗ[R] M₄),
  (f.prodMap g).ker = f.ker.prod g.ker

theorem LinearMap.range_prodMap E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄] (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₄),
  (f.prodMap g).range = f.range.prod g.range

theorem LinearMap.prodMap_id E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], LinearMap.id.prodMap LinearMap.id = LinearMap.id

theorem LinearMap.prodMap_one E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], LinearMap.prodMap 1 1 = 1

theorem LinearMap.prodMap_comp E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} {M₅ : Type u_1} {M₆ : Type u_2}
  [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃]
  [inst_4 : AddCommMonoid M₄] [inst_5 : AddCommMonoid M₅] [inst_6 : AddCommMonoid M₆] [inst_7 : Module R M]
  [inst_8 : Module R M₂] [inst_9 : Module R M₃] [inst_10 : Module R M₄] [inst_11 : Module R M₅] [inst_12 : Module R M₆]
  (f₁₂ : M →ₗ[R] M₂) (f₂₃ : M₂ →ₗ[R] M₃) (g₁₂ : M₄ →ₗ[R] M₅) (g₂₃ : M₅ →ₗ[R] M₆),
  f₂₃.prodMap g₂₃ ∘ₗ f₁₂.prodMap g₁₂ = (f₂₃ ∘ₗ f₁₂).prodMap (g₂₃ ∘ₗ g₁₂)

theorem LinearMap.prodMap_mul E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (f₁₂ f₂₃ : M →ₗ[R] M) (g₁₂ g₂₃ : M₂ →ₗ[R] M₂),
  f₂₃.prodMap g₂₃ * f₁₂.prodMap g₁₂ = (f₂₃ * f₁₂).prodMap (g₂₃ * g₁₂)

theorem LinearMap.prodMap_add E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄] (f₁ f₂ : M →ₗ[R] M₃) (g₁ g₂ : M₂ →ₗ[R] M₄),
  (f₁ + f₂).prodMap (g₁ + g₂) = f₁.prodMap g₁ + f₂.prodMap g₂

theorem LinearMap.prodMap_zero E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄], LinearMap.prodMap 0 0 = 0

theorem LinearMap.prodMap_smul E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} (S : Type u_3) [inst : Semiring R]
  [inst_1 : Semiring S] [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid M₃]
  [inst_5 : AddCommMonoid M₄] [inst_6 : Module R M] [inst_7 : Module R M₂] [inst_8 : Module R M₃] [inst_9 : Module R M₄]
  [inst_10 : DistribMulAction S M₃] [inst_11 : DistribMulAction S M₄] [inst_12 : SMulCommClass R S M₃]
  [inst_13 : SMulCommClass R S M₄] (s : S) (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₄), (s • f).prodMap (s • g) = s • f.prodMap g

def LinearMap.prodMapLinear E1 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      (M₃ : Type y) →
        (M₄ : Type z) →
          (S : Type u_3) →
            [inst : Semiring R] →
              [inst_1 : Semiring S] →
                [inst_2 : AddCommMonoid M] →
                  [inst_3 : AddCommMonoid M₂] →
                    [inst_4 : AddCommMonoid M₃] →
                      [inst_5 : AddCommMonoid M₄] →
                        [inst_6 : Module R M] →
                          [inst_7 : Module R M₂] →
                            [inst_8 : Module R M₃] →
                              [inst_9 : Module R M₄] →
                                [inst_10 : Module S M₃] →
                                  [inst_11 : Module S M₄] →
                                    [inst_12 : SMulCommClass R S M₃] →
                                      [inst_13 : SMulCommClass R S M₄] →
                                        (M →ₗ[R] M₃) × (M₂ →ₗ[R] M₄) →ₗ[S] M × M₂ →ₗ[R] M₃ × M₄

LinearMap.prodMap as a LinearMap

theorem LinearMap.prodMapLinear_apply E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) (M₃ : Type y) (M₄ : Type z) (S : Type u_3) [inst : Semiring R]
  [inst_1 : Semiring S] [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid M₃]
  [inst_5 : AddCommMonoid M₄] [inst_6 : Module R M] [inst_7 : Module R M₂] [inst_8 : Module R M₃] [inst_9 : Module R M₄]
  [inst_10 : Module S M₃] [inst_11 : Module S M₄] [inst_12 : SMulCommClass R S M₃] [inst_13 : SMulCommClass R S M₄]
  (f : (M →ₗ[R] M₃) × (M₂ →ₗ[R] M₄)), (LinearMap.prodMapLinear R M M₂ M₃ M₄ S) f = f.1.prodMap f.2

def LinearMap.prodMapRingHom E1 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] →
            [inst_3 : Module R M] → [inst_4 : Module R M₂] → (M →ₗ[R] M) × (M₂ →ₗ[R] M₂) →+* M × M₂ →ₗ[R] M × M₂

LinearMap.prodMap as a RingHom

theorem LinearMap.prodMapRingHom_apply E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (f : (M →ₗ[R] M) × (M₂ →ₗ[R] M₂)),
  (LinearMap.prodMapRingHom R M M₂) f = f.1.prodMap f.2

theorem LinearMap.inl_map_mul E1 #

∀ {R : Type u} [inst : Semiring R] {A : Type u_4} [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
  {B : Type u_5} [inst_3 : NonUnitalNonAssocSemiring B] [inst_4 : Module R B] (a₁ a₂ : A),
  (LinearMap.inl R A B) (a₁ * a₂) = (LinearMap.inl R A B) a₁ * (LinearMap.inl R A B) a₂

theorem LinearMap.inr_map_mul E1 #

∀ {R : Type u} [inst : Semiring R] {A : Type u_4} [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
  {B : Type u_5} [inst_3 : NonUnitalNonAssocSemiring B] [inst_4 : Module R B] (b₁ b₂ : B),
  (LinearMap.inr R A B) (b₁ * b₂) = (LinearMap.inr R A B) b₁ * (LinearMap.inr R A B) b₂

def LinearMap.prodMapAlgHom E1 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] →
            [inst_3 : Module R M] →
              [inst_4 : Module R M₂] → Module.End R M × Module.End R M₂ →ₐ[R] Module.End R (M × M₂)

LinearMap.prodMap as an AlgHom

theorem LinearMap.prodMapAlgHom_apply_apply E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (f : (M →ₗ[R] M) × (M₂ →ₗ[R] M₂)) (i : M × M₂),
  ((LinearMap.prodMapAlgHom R M M₂) f) i = (f.1 i.1, f.2 i.2)

theorem LinearMap.range_coprod E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₃), (f.coprod g).range = f.range ⊔ g.range

theorem LinearMap.isCompl_range_inl_inr E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], IsCompl (LinearMap.inl R M M₂).range (LinearMap.inr R M M₂).range

theorem LinearMap.sup_range_inl_inr E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearMap.inl R M M₂).range ⊔ (LinearMap.inr R M M₂).range = ⊤

theorem LinearMap.disjoint_inl_inr E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], Disjoint (LinearMap.inl R M M₂).range (LinearMap.inr R M M₂).range

theorem LinearMap.map_coprod_prod E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₃) (p : Submodule R M) (q : Submodule R M₂),
  Submodule.map (f.coprod g) (p.prod q) = Submodule.map f p ⊔ Submodule.map g q

theorem LinearMap.comap_prod_prod E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₂) (g : M →ₗ[R] M₃) (p : Submodule R M₂) (q : Submodule R M₃),
  Submodule.comap (f.prod g) (p.prod q) = Submodule.comap f p ⊓ Submodule.comap g q

theorem LinearMap.prod_eq_inf_comap E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (p : Submodule R M) (q : Submodule R M₂),
  p.prod q = Submodule.comap (LinearMap.fst R M M₂) p ⊓ Submodule.comap (LinearMap.snd R M M₂) q

theorem LinearMap.prod_eq_sup_map E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (p : Submodule R M) (q : Submodule R M₂),
  p.prod q = Submodule.map (LinearMap.inl R M M₂) p ⊔ Submodule.map (LinearMap.inr R M M₂) q

theorem LinearMap.span_inl_union_inr E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] {s : Set M} {t : Set M₂},
  Submodule.span R (⇑(LinearMap.inl R M M₂) '' s ∪ ⇑(LinearMap.inr R M M₂) '' t) =
    (Submodule.span R s).prod (Submodule.span R t)

theorem LinearMap.ker_prod E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₂) (g : M →ₗ[R] M₃), (f.prod g).ker = f.ker ⊓ g.ker

theorem LinearMap.range_prod_le E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (f : M →ₗ[R] M₂) (g : M →ₗ[R] M₃), (f.prod g).range ≤ f.range.prod g.range

theorem LinearMap.ker_prod_ker_le_ker_coprod E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M₂ : Type u_3}
  [inst_3 : AddCommMonoid M₂] [inst_4 : Module R M₂] {M₃ : Type u_4} [inst_5 : AddCommMonoid M₃] [inst_6 : Module R M₃]
  (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₃), f.ker.prod g.ker ≤ (f.coprod g).ker

theorem LinearMap.ker_coprod_of_disjoint_range E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M₂ : Type u_3}
  [inst_3 : AddCommGroup M₂] [inst_4 : Module R M₂] {M₃ : Type u_4} [inst_5 : AddCommGroup M₃] [inst_6 : Module R M₃]
  (f : M →ₗ[R] M₃) (g : M₂ →ₗ[R] M₃), Disjoint f.range g.range → (f.coprod g).ker = f.ker.prod g.ker

def LinearMap.kerComplementEquivRange E1 #

{R : Type u_3} →
  {M : Type u_4} →
    {M₂ : Type u_5} →
      [inst : Ring R] →
        [inst_1 : AddCommGroup M] →
          [inst_2 : AddCommGroup M₂] →
            [inst_3 : Module R M] →
              [inst_4 : Module R M₂] → (f : M →ₗ[R] M₂) → {C : Submodule R M} → IsCompl C f.ker → ↥C ≃ₗ[R] ↥f.range

Given a linear map f : E →ₗ[R] F and a complement C of its kernel, we get a linear equivalence between C and range f.

theorem LinearMap.kerComplementEquivRange_apply_coe E0 #

∀ {R : Type u_3} {M : Type u_4} {M₂ : Type u_5} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (f : M →ₗ[R] M₂) {C : Submodule R M} (h : IsCompl C f.ker) (x : ↥C),
  ↑((f.kerComplementEquivRange h) x) = f ↑x

theorem LinearMap.kerComplementEquivRange_symm_apply E0 #

∀ {R : Type u_3} {M : Type u_4} {M₂ : Type u_5} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (f : M →ₗ[R] M₂) {C : Submodule R M} (h : IsCompl C f.ker)
  (a : ↥f.range),
  (f.kerComplementEquivRange h).symm a =
    (LinearEquiv.ofInjective (LinearMap.codRestrict f.range (f ∘ₗ C.subtype) ⋯) ⋯).toEquiv.symm
      ((LinearEquiv.ofTop (LinearMap.codRestrict f.range (f ∘ₗ C.subtype) ⋯).range ⋯).toEquiv.symm a)

theorem Submodule.sup_eq_range E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (p q : Submodule R M),
  p ⊔ q = (p.subtype.coprod q.subtype).range

theorem Submodule.map_inl E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (p : Submodule R M), Submodule.map (LinearMap.inl R M M₂) p = p.prod ⊥

theorem Submodule.map_inr E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (q : Submodule R M₂), Submodule.map (LinearMap.inr R M M₂) q = ⊥.prod q

theorem Submodule.comap_fst E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (p : Submodule R M), Submodule.comap (LinearMap.fst R M M₂) p = p.prod ⊤

theorem Submodule.comap_snd E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (q : Submodule R M₂), Submodule.comap (LinearMap.snd R M M₂) q = ⊤.prod q

theorem Submodule.prod_comap_inl E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (p : Submodule R M) (q : Submodule R M₂),
  Submodule.comap (LinearMap.inl R M M₂) (p.prod q) = p

theorem Submodule.prod_comap_inr E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (p : Submodule R M) (q : Submodule R M₂),
  Submodule.comap (LinearMap.inr R M M₂) (p.prod q) = q

theorem Submodule.prod_map_fst E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (p : Submodule R M) (q : Submodule R M₂),
  Submodule.map (LinearMap.fst R M M₂) (p.prod q) = p

theorem Submodule.prod_map_snd E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (p : Submodule R M) (q : Submodule R M₂),
  Submodule.map (LinearMap.snd R M M₂) (p.prod q) = q

theorem Submodule.ker_inl E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearMap.inl R M M₂).ker = ⊥

theorem Submodule.ker_inr E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearMap.inr R M M₂).ker = ⊥

theorem Submodule.range_fst E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearMap.fst R M M₂).range = ⊤

theorem Submodule.range_snd E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearMap.snd R M M₂).range = ⊤

def Submodule.fst E1 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] → [inst_3 : Module R M] → [inst_4 : Module R M₂] → Submodule R (M × M₂)

M as a submodule of M × N.

def Submodule.fstEquiv E1 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] → [inst_3 : Module R M] → [inst_4 : Module R M₂] → ↥(Submodule.fst R M M₂) ≃ₗ[R] M

M as a submodule of M × N is isomorphic to M.

theorem Submodule.fstEquiv_symm_apply_coe E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (m : M), ↑((Submodule.fstEquiv R M M₂).symm m) = (m, 0)

theorem Submodule.fstEquiv_apply E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (x : ↥(Submodule.fst R M M₂)), (Submodule.fstEquiv R M M₂) x = (↑x).1

theorem Submodule.fst_map_fst E1 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], Submodule.map (LinearMap.fst R M M₂) (Submodule.fst R M M₂) = ⊤

theorem Submodule.fst_map_snd E1 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], Submodule.map (LinearMap.snd R M M₂) (Submodule.fst R M M₂) = ⊥

def Submodule.snd E1 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] → [inst_3 : Module R M] → [inst_4 : Module R M₂] → Submodule R (M × M₂)

N as a submodule of M × N.

def Submodule.sndEquiv E1 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] →
            [inst_3 : Module R M] → [inst_4 : Module R M₂] → ↥(Submodule.snd R M M₂) ≃ₗ[R] M₂

N as a submodule of M × N is isomorphic to N.

theorem Submodule.sndEquiv_apply E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (x : ↥(Submodule.snd R M M₂)), (Submodule.sndEquiv R M M₂) x = (↑x).2

theorem Submodule.sndEquiv_symm_apply_coe E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (n : M₂), ↑((Submodule.sndEquiv R M M₂).symm n) = (0, n)

theorem Submodule.snd_map_fst E1 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], Submodule.map (LinearMap.fst R M M₂) (Submodule.snd R M M₂) = ⊥

theorem Submodule.snd_map_snd E1 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], Submodule.map (LinearMap.snd R M M₂) (Submodule.snd R M M₂) = ⊤

theorem Submodule.isCompl_fst_snd E1 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], IsCompl (Submodule.fst R M M₂) (Submodule.snd R M M₂)

theorem Submodule.fst_sup_snd E1 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], Submodule.fst R M M₂ ⊔ Submodule.snd R M M₂ = ⊤

theorem Submodule.fst_inf_snd E1 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], Submodule.fst R M M₂ ⊓ Submodule.snd R M M₂ = ⊥

theorem Submodule.le_prod_iff E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] {p₁ : Submodule R M} {p₂ : Submodule R M₂} {q : Submodule R (M × M₂)},
  q ≤ p₁.prod p₂ ↔ Submodule.map (LinearMap.fst R M M₂) q ≤ p₁ ∧ Submodule.map (LinearMap.snd R M M₂) q ≤ p₂

theorem Submodule.prod_le_iff E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] {p₁ : Submodule R M} {p₂ : Submodule R M₂} {q : Submodule R (M × M₂)},
  p₁.prod p₂ ≤ q ↔ Submodule.map (LinearMap.inl R M M₂) p₁ ≤ q ∧ Submodule.map (LinearMap.inr R M M₂) p₂ ≤ q

theorem Submodule.prod_eq_bot_iff E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] {p₁ : Submodule R M} {p₂ : Submodule R M₂},
  p₁.prod p₂ = ⊥ ↔ p₁ = ⊥ ∧ p₂ = ⊥

theorem Submodule.prod_eq_top_iff E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] {p₁ : Submodule R M} {p₂ : Submodule R M₂},
  p₁.prod p₂ = ⊤ ↔ p₁ = ⊤ ∧ p₂ = ⊤

theorem Submodule.span_prod_eq E0 #

∀ (R : Type u) {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] {s : Set M} {t : Set M₂},
  0 ∈ s → 0 ∈ t → Submodule.span R (s ×ˢ t) = (Submodule.span R s).prod (Submodule.span R t)

def LinearEquiv.prodComm E1 #

(R : Type u_3) →
  (M : Type u_4) →
    (N : Type u_5) →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid N] → [inst_3 : Module R M] → [inst_4 : Module R N] → (M × N) ≃ₗ[R] N × M

Product of modules is commutative up to linear isomorphism.

theorem LinearEquiv.prodComm_apply E0 #

∀ (R : Type u_3) (M : Type u_4) (N : Type u_5) [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] (a : M × N), (LinearEquiv.prodComm R M N) a = a.swap

theorem LinearEquiv.fst_comp_prodComm E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂],
  LinearMap.fst R M₂ M ∘ₗ ↑(LinearEquiv.prodComm R M M₂) = LinearMap.snd R M M₂

theorem LinearEquiv.snd_comp_prodComm E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂],
  LinearMap.snd R M₂ M ∘ₗ ↑(LinearEquiv.prodComm R M M₂) = LinearMap.fst R M M₂

theorem LinearEquiv.symm_prodComm E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂], (LinearEquiv.prodComm R M M₂).symm = LinearEquiv.prodComm R M₂ M

theorem LinearEquiv.prodComm_trans_prodComm E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂],
  LinearEquiv.prodComm R M M₂ ≪≫ₗ LinearEquiv.prodComm R M₂ M = LinearEquiv.refl R (M × M₂)

def LinearEquiv.prodAssoc E1 #

(R : Type u_3) →
  (M₁ : Type u_4) →
    (M₂ : Type u_5) →
      (M₃ : Type u_6) →
        [inst : Semiring R] →
          [inst_1 : AddCommMonoid M₁] →
            [inst_2 : AddCommMonoid M₂] →
              [inst_3 : AddCommMonoid M₃] →
                [inst_4 : Module R M₁] →
                  [inst_5 : Module R M₂] → [inst_6 : Module R M₃] → ((M₁ × M₂) × M₃) ≃ₗ[R] M₁ × M₂ × M₃

Product of modules is associative up to linear isomorphism.

theorem LinearEquiv.prodAssoc_apply E0 #

∀ (R : Type u_3) (M₁ : Type u_4) (M₂ : Type u_5) (M₃ : Type u_6) [inst : Semiring R] [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] (a : (M₁ × M₂) × M₃), (LinearEquiv.prodAssoc R M₁ M₂ M₃) a = AddEquiv.prodAssoc.toFun a

theorem LinearEquiv.fst_comp_prodAssoc E1 #

∀ {R : Type u} {M₂ : Type w} {M₃ : Type y} {M₁ : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃],
  LinearMap.fst R M₁ (M₂ × M₃) ∘ₗ ↑(LinearEquiv.prodAssoc R M₁ M₂ M₃) =
    LinearMap.fst R M₁ M₂ ∘ₗ LinearMap.fst R (M₁ × M₂) M₃

theorem LinearEquiv.snd_comp_prodAssoc E1 #

∀ {R : Type u} {M₂ : Type w} {M₃ : Type y} {M₁ : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃],
  LinearMap.snd R M₁ (M₂ × M₃) ∘ₗ ↑(LinearEquiv.prodAssoc R M₁ M₂ M₃) = (LinearMap.snd R M₁ M₂).prodMap LinearMap.id

def LinearEquiv.skewSwap E1 #

(R : Type u) →
  (M : Type v) →
    (N : Type u_3) →
      [inst : Semiring R] →
        [inst_1 : AddCommGroup M] →
          [inst_2 : AddCommGroup N] → [inst_3 : Module R M] → [inst_4 : Module R N] → (M × N) ≃ₗ[R] N × M

The map (x, y) ↦ (-y, x) as a linear equivalence.

theorem LinearEquiv.skewSwap_apply E0 #

∀ {R : Type u} {M : Type v} {N : Type u_3} [inst : Semiring R] [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup N]
  [inst_3 : Module R M] [inst_4 : Module R N] (x : M × N), (LinearEquiv.skewSwap R M N) x = (-x.2, x.1)

theorem LinearEquiv.skewSwap_symm_apply E0 #

∀ {R : Type u} {M : Type v} {N : Type u_3} [inst : Semiring R] [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup N]
  [inst_3 : Module R M] [inst_4 : Module R N] (x : N × M), (LinearEquiv.skewSwap R M N).symm x = (x.2, -x.1)

def LinearEquiv.prodProdProdComm E1 #

(R : Type u) →
  (M : Type v) →
    (M₂ : Type w) →
      (M₃ : Type y) →
        (M₄ : Type z) →
          [inst : Semiring R] →
            [inst_1 : AddCommMonoid M] →
              [inst_2 : AddCommMonoid M₂] →
                [inst_3 : AddCommMonoid M₃] →
                  [inst_4 : AddCommMonoid M₄] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module R M₂] →
                        [inst_7 : Module R M₃] → [inst_8 : Module R M₄] → ((M × M₂) × M₃ × M₄) ≃ₗ[R] (M × M₃) × M₂ × M₄

Four-way commutativity of prod. The name matches mul_mul_mul_comm.

theorem LinearEquiv.prodProdProdComm_apply E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) (M₃ : Type y) (M₄ : Type z) [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄] (mnmn : (M × M₂) × M₃ × M₄),
  (LinearEquiv.prodProdProdComm R M M₂ M₃ M₄) mnmn = ((mnmn.1.1, mnmn.2.1), mnmn.1.2, mnmn.2.2)

theorem LinearEquiv.prodProdProdComm_symm E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) (M₃ : Type y) (M₄ : Type z) [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄],
  (LinearEquiv.prodProdProdComm R M M₂ M₃ M₄).symm = LinearEquiv.prodProdProdComm R M M₃ M₂ M₄

theorem LinearEquiv.prodProdProdComm_toAddEquiv E0 #

∀ (R : Type u) (M : Type v) (M₂ : Type w) (M₃ : Type y) (M₄ : Type z) [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module R M₃] [inst_8 : Module R M₄],
  ↑(LinearEquiv.prodProdProdComm R M M₂ M₃ M₄) = AddEquiv.prodProdProdComm M M₂ M₃ M₄

def LinearEquiv.prodCongr E1 #

{R : Type u} →
  {M : Type v} →
    {M₂ : Type w} →
      {M₃ : Type y} →
        {M₄ : Type z} →
          [inst : Semiring R] →
            [inst_1 : AddCommMonoid M] →
              [inst_2 : AddCommMonoid M₂] →
                [inst_3 : AddCommMonoid M₃] →
                  [inst_4 : AddCommMonoid M₄] →
                    {module_M : Module R M} →
                      {module_M₂ : Module R M₂} →
                        {module_M₃ : Module R M₃} →
                          {module_M₄ : Module R M₄} → (M ≃ₗ[R] M₂) → (M₃ ≃ₗ[R] M₄) → (M × M₃) ≃ₗ[R] M₂ × M₄

Product of linear equivalences; the maps come from Equiv.prodCongr.

theorem LinearEquiv.prodCongr_symm E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] {module_M : Module R M}
  {module_M₂ : Module R M₂} {module_M₃ : Module R M₃} {module_M₄ : Module R M₄} (e₁ : M ≃ₗ[R] M₂) (e₂ : M₃ ≃ₗ[R] M₄),
  (e₁.prodCongr e₂).symm = e₁.symm.prodCongr e₂.symm

theorem LinearEquiv.prodCongr_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] {module_M : Module R M}
  {module_M₂ : Module R M₂} {module_M₃ : Module R M₃} {module_M₄ : Module R M₄} (e₁ : M ≃ₗ[R] M₂) (e₂ : M₃ ≃ₗ[R] M₄)
  (p : M × M₃), (e₁.prodCongr e₂) p = (e₁ p.1, e₂ p.2)

theorem LinearEquiv.coe_prodCongr E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommMonoid M₄] {module_M : Module R M}
  {module_M₂ : Module R M₂} {module_M₃ : Module R M₃} {module_M₄ : Module R M₄} (e₁ : M ≃ₗ[R] M₂) (e₂ : M₃ ≃ₗ[R] M₄),
  ↑(e₁.prodCongr e₂) = (↑e₁).prodMap ↑e₂

def LinearEquiv.skewProd E3 #

{R : Type u} →
  {M : Type v} →
    {M₂ : Type w} →
      {M₃ : Type y} →
        {M₄ : Type z} →
          [inst : Semiring R] →
            [inst_1 : AddCommMonoid M] →
              [inst_2 : AddCommMonoid M₂] →
                [inst_3 : AddCommMonoid M₃] →
                  [inst_4 : AddCommGroup M₄] →
                    {module_M : Module R M} →
                      {module_M₂ : Module R M₂} →
                        {module_M₃ : Module R M₃} →
                          {module_M₄ : Module R M₄} →
                            (M ≃ₗ[R] M₂) → (M₃ ≃ₗ[R] M₄) → (M →ₗ[R] M₄) → (M × M₃) ≃ₗ[R] M₂ × M₄

Equivalence given by a block lower diagonal matrix. e₁ and e₂ are diagonal square blocks, and f is a rectangular block below the diagonal.

theorem LinearEquiv.skewProd_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommGroup M₄] {module_M : Module R M}
  {module_M₂ : Module R M₂} {module_M₃ : Module R M₃} {module_M₄ : Module R M₄} (e₁ : M ≃ₗ[R] M₂) (e₂ : M₃ ≃ₗ[R] M₄)
  (f : M →ₗ[R] M₄) (x : M × M₃), (e₁.skewProd e₂ f) x = (e₁ x.1, e₂ x.2 + f x.1)

theorem LinearEquiv.skewProd_symm_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M₃] [inst_4 : AddCommGroup M₄] {module_M : Module R M}
  {module_M₂ : Module R M₂} {module_M₃ : Module R M₃} {module_M₄ : Module R M₄} (e₁ : M ≃ₗ[R] M₂) (e₂ : M₃ ≃ₗ[R] M₄)
  (f : M →ₗ[R] M₄) (x : M₂ × M₄), (e₁.skewProd e₂ f).symm x = (e₁.symm x.1, e₂.symm (x.2 - f (e₁.symm x.1)))

def LinearEquiv.uniqueProd E3 #

{R : Type u} →
  {M : Type v} →
    {M₂ : Type w} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] → [inst_3 : Module R M] → [inst_4 : Module R M₂] → [Unique M₂] → (M₂ × M) ≃ₗ[R] M

Multiplying by the trivial module from the left does not change the structure. This is the LinearEquiv version of AddEquiv.uniqueProd.

theorem LinearEquiv.uniqueProd_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] [inst_5 : Unique M₂] (a : M₂ × M), LinearEquiv.uniqueProd a = a.2

theorem LinearEquiv.uniqueProd_symm_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] [inst_5 : Unique M₂] (a : M),
  LinearEquiv.uniqueProd.symm a = (default, a)

theorem LinearEquiv.coe_uniqueProd E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] [inst_5 : Unique M₂], ↑LinearEquiv.uniqueProd = Equiv.uniqueProd M M₂

def LinearEquiv.prodUnique E3 #

{R : Type u} →
  {M : Type v} →
    {M₂ : Type w} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] → [inst_3 : Module R M] → [inst_4 : Module R M₂] → [Unique M₂] → (M × M₂) ≃ₗ[R] M

Multiplying by the trivial module from the right does not change the structure. This is the LinearEquiv version of AddEquiv.prodUnique.

theorem LinearEquiv.prodUnique_symm_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] [inst_5 : Unique M₂] (a : M),
  LinearEquiv.prodUnique.symm a = (a, default)

theorem LinearEquiv.prodUnique_apply E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] [inst_5 : Unique M₂] (a : M × M₂), LinearEquiv.prodUnique a = a.1

theorem LinearEquiv.coe_prodUnique E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] [inst_5 : Unique M₂], ↑LinearEquiv.prodUnique = Equiv.prodUnique M M₂

theorem LinearMap.range_prod_eq E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} {M₃ : Type y} [inst : Ring R] [inst_1 : AddCommGroup M]
  [inst_2 : AddCommGroup M₂] [inst_3 : AddCommGroup M₃] [inst_4 : Module R M] [inst_5 : Module R M₂]
  [inst_6 : Module R M₃] {f : M →ₗ[R] M₂} {g : M →ₗ[R] M₃}, f.ker ⊔ g.ker = ⊤ → (f.prod g).range = f.range.prod g.range

If the union of the kernels ker f and ker g spans the domain, then the range of Prod f g is equal to the product of range f and range g.

def LinearMap.graph E1 #

{R : Type u} →
  {M : Type v} →
    {M₂ : Type w} →
      [inst : Semiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : AddCommMonoid M₂] →
            [inst_3 : Module R M] → [inst_4 : Module R M₂] → (M →ₗ[R] M₂) → Submodule R (M × M₂)

Graph of a linear map.

theorem LinearMap.mem_graph_iff E0 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (f : M →ₗ[R] M₂) (x : M × M₂), x ∈ f.graph ↔ x.2 = f x.1

theorem LinearMap.graph_eq_ker_coprod E1 #

∀ {R : Type u} {M₃ : Type y} {M₄ : Type z} [inst : Semiring R] [inst_1 : AddCommGroup M₃] [inst_2 : AddCommGroup M₄]
  [inst_3 : Module R M₃] [inst_4 : Module R M₄] (g : M₃ →ₗ[R] M₄), g.graph = ((-g).coprod LinearMap.id).ker

theorem LinearMap.graph_eq_range_prod E1 #

∀ {R : Type u} {M : Type v} {M₂ : Type w} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M₂]
  [inst_3 : Module R M] [inst_4 : Module R M₂] (f : M →ₗ[R] M₂), f.graph = (LinearMap.id.prod f).range

theorem LinearMap.exists_range_eq_graph E1 #

∀ {R : Type u_3} {S : Type u_4} {G : Type u_5} {H : Type u_6} {I : Type u_7} [inst : Semiring R] [inst_1 : Semiring S]
  {σ : R →+* S} [inst_2 : RingHomSurjective σ] [inst_3 : AddCommMonoid G] [inst_4 : Module R G]
  [inst_5 : AddCommMonoid H] [inst_6 : Module S H] [inst_7 : AddCommMonoid I] [inst_8 : Module S I]
  {f : G →ₛₗ[σ] H × I},
  Function.Surjective (Prod.fst ∘ ⇑f) →
    (∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 → (f g₁).2 = (f g₂).2) → ∃ f', f.range = f'.graph

Vertical line test for linear maps.

Let f : G → H × I be a linear (or semilinear) map to a product. Assume that f is surjective on the first factor and that the image of f intersects every "vertical line" {(h, i) | i : I} at most once. Then the image of f is the graph of some linear map f' : H → I.

theorem Submodule.exists_eq_graph E1 #

∀ {S : Type u_4} {H : Type u_6} {I : Type u_7} [inst : Semiring S] [inst_1 : AddCommMonoid H] [inst_2 : Module S H]
  [inst_3 : AddCommMonoid I] [inst_4 : Module S I] {G : Submodule S (H × I)},
  Function.Bijective (Prod.fst ∘ ⇑G.subtype) → ∃ f, G = f.graph

Vertical line test for linear maps.

Let G ≤ H × I be a submodule of a product of modules. Assume that G maps bijectively to the first factor. Then G is the graph of some linear map f : H →ₗ[R] I.

theorem LinearMap.exists_linearEquiv_eq_graph E1 #

∀ {R : Type u_3} {S : Type u_4} {G : Type u_5} {H : Type u_6} {I : Type u_7} [inst : Semiring R] [inst_1 : Semiring S]
  {σ : R →+* S} [inst_2 : RingHomSurjective σ] [inst_3 : AddCommMonoid G] [inst_4 : Module R G]
  [inst_5 : AddCommMonoid H] [inst_6 : Module S H] [inst_7 : AddCommMonoid I] [inst_8 : Module S I]
  {f : G →ₛₗ[σ] H × I},
  Function.Surjective (Prod.fst ∘ ⇑f) →
    Function.Surjective (Prod.snd ∘ ⇑f) →
      (∀ (g₁ g₂ : G), (f g₁).1 = (f g₂).1 ↔ (f g₁).2 = (f g₂).2) → ∃ e, f.range = (↑e).graph

Line test for module isomorphisms.

Let f : G → H × I be a linear (or semilinear) map to a product of modules. Assume that f is surjective onto both factors and that the image of f intersects every "vertical line" {(h, i) | i : I} and every "horizontal line" {(h, i) | h : H} at most once. Then the image of f is the graph of some module isomorphism f' : H ≃ I.

theorem Submodule.exists_equiv_eq_graph E2 #

∀ {S : Type u_4} {H : Type u_6} {I : Type u_7} [inst : Semiring S] [inst_1 : AddCommMonoid H] [inst_2 : Module S H]
  [inst_3 : AddCommMonoid I] [inst_4 : Module S I] {G : Submodule S (H × I)},
  Function.Bijective (Prod.fst ∘ ⇑G.subtype) → Function.Bijective (Prod.snd ∘ ⇑G.subtype) → ∃ e, G = (↑e).graph

Goursat's lemma for module isomorphisms.

Let G ≤ H × I be a submodule of a product of modules. Assume that the natural maps from G to both factors are bijective. Then G is the graph of some module isomorphism f : H ≃ I.