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 / V08. Multilinear algebra and forms

Mathlib.LinearAlgebra.BilinearMap

91 declarations and 1 deprecated aliases. Mathlib docs · Source

Basics on bilinear maps

This file provides basics on bilinear maps. The most general form considered are maps that are semilinear in both arguments. They are of type M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P, where M and N are modules over R and S respectively, P is a module over both R₂ and S₂ with commuting actions, and ρ₁₂ : R →+* R₂ and σ₁₂ : S →+* S₂.

Main declarations

  • LinearMap.mk₂: a constructor for bilinear maps, taking an unbundled function together with proof witnesses of bilinearity
  • LinearMap.flip: turns a bilinear map M × N → P into N × M → P
  • LinearMap.lflip: given a linear map from M to N →ₗ[R] P, i.e., a bilinear map M → N → P, change the order of variables and get a linear map from N to M →ₗ[R] P.
  • LinearMap.lcomp: composition of a given linear map M → N with a linear map N → P as a linear map from Nₗ →ₗ[R] Pₗ to M →ₗ[R] Pₗ
  • LinearMap.llcomp: composition of linear maps as a bilinear map from (M →ₗ[R] N) × (N →ₗ[R] P) to M →ₗ[R] P
  • LinearMap.compl₂: composition of a linear map Q → N and a bilinear map M → N → P to form a bilinear map M → Q → P.
  • LinearMap.compr₂: composition of a linear map P → Q and a bilinear map M → N → P to form a bilinear map M → N → Q.
  • LinearMap.lsmul: scalar multiplication as a bilinear map R × M → M

Tags

bilinear

theorem LinearMap.restrictScalarsₗ.congr_simp E1 #

∀ (R : Type u_14) (S : Type u_15) (M : Type u_16) (N : Type u_17) [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : Module R M] [inst_5 : Module R N]
  [inst_6 : Module S M] [inst_7 : Module S N] [inst_8 : LinearMap.CompatibleSMul M N R S] (R₁ : Type u_19)
  [inst_9 : Semiring R₁] [inst_10 : Module R₁ N] [inst_11 : SMulCommClass S R₁ N] [inst_12 : SMulCommClass R R₁ N],
  LinearMap.restrictScalarsₗ R S M N R₁ = LinearMap.restrictScalarsₗ R S M N R₁

theorem LinearMap.lcompₛₗ.congr_simp E1 #

∀ {R : Type u_14} {R₂ : Type u_15} {R₃ : Type u_16} (R₅ : Type u_18) {M : Type u_19} {N : Type u_20} (P : Type u_21)
  [inst : Semiring R] [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : Semiring R₅] {σ₁₂ : R →+* R₂}
  (σ₂₃ : R₂ →+* R₃) {σ₁₃ : R →+* R₃} [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P]
  [inst_7 : Module R M] [inst_8 : Module R₂ N] [inst_9 : Module R₃ P] [inst_10 : Module R₅ P]
  [inst_11 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_12 : SMulCommClass R₃ R₅ P] (f f_1 : M →ₛₗ[σ₁₂] N),
  f = f_1 → LinearMap.lcompₛₗ R₅ P σ₂₃ f = LinearMap.lcompₛₗ R₅ P σ₂₃ f_1

theorem LinearMap.codRestrict₂.congr_simp E1 #

∀ {R : Type u_1} {M : Type u_4} {M₁ : Type u_5} {M₂ : Type u_6} {M₃ : Type u_7} [inst : CommSemiring 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_1 : M₁ →ₗ[R] M₂ →ₗ[R] M) (e_f : f = f_1) (i i_1 : M₃ →ₗ[R] M) (e_i : i = i_1) (hi : Function.Injective ⇑i)
  (hf : ∀ (x : M₁) (y : M₂), (f x) y ∈ i.range), f.codRestrict₂ i hi hf = f_1.codRestrict₂ i_1 ⋯ ⋯

def LinearMap.mk₂'ₛₗ E1 #

{R : Type u_1} →
  {R₂ : Type u_2} →
    {S : Type u_3} →
      {S₂ : Type u_4} →
        [inst : Semiring R] →
          [inst_1 : Semiring R₂] →
            [inst_2 : Semiring S] →
              [inst_3 : Semiring S₂] →
                {M : Type u_5} →
                  {N : Type u_7} →
                    {P : Type u_9} →
                      [inst_4 : AddCommMonoid M] →
                        [inst_5 : AddCommMonoid N] →
                          [inst_6 : AddCommMonoid P] →
                            [inst_7 : Module R M] →
                              [inst_8 : Module S N] →
                                [inst_9 : Module R₂ P] →
                                  [inst_10 : Module S₂ P] →
                                    [inst_11 : SMulCommClass S₂ R₂ P] →
                                      (ρ₁₂ : R →+* R₂) →
                                        (σ₁₂ : S →+* S₂) →
                                          (f : M → N → P) →
                                            (∀ (m₁ m₂ : M) (n : N), f (m₁ + m₂) n = f m₁ n + f m₂ n) →
                                              (∀ (c : R) (m : M) (n : N), f (c • m) n = ρ₁₂ c • f m n) →
                                                (∀ (m : M) (n₁ n₂ : N), f m (n₁ + n₂) = f m n₁ + f m n₂) →
                                                  (∀ (c : S) (m : M) (n : N), f m (c • n) = σ₁₂ c • f m n) →
                                                    M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P

Create a bilinear map from a function that is semilinear in each component. See mk₂' and mk₂ for the linear case.

theorem LinearMap.mk₂'ₛₗ_apply E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  (f : M → N → P) {H1 : ∀ (m₁ m₂ : M) (n : N), f (m₁ + m₂) n = f m₁ n + f m₂ n}
  {H2 : ∀ (c : R) (m : M) (n : N), f (c • m) n = ρ₁₂ c • f m n}
  {H3 : ∀ (m : M) (n₁ n₂ : N), f m (n₁ + n₂) = f m n₁ + f m n₂}
  {H4 : ∀ (c : S) (m : M) (n : N), f m (c • n) = σ₁₂ c • f m n} (m : M) (n : N),
  ((LinearMap.mk₂'ₛₗ ρ₁₂ σ₁₂ f H1 H2 H3 H4) m) n = f m n

def LinearMap.mk₂' E1 #

(R : Type u_1) →
  (S : Type u_3) →
    [inst : Semiring R] →
      [inst_1 : Semiring S] →
        {M : Type u_5} →
          {N : Type u_7} →
            {Pₗ : Type u_11} →
              [inst_2 : AddCommMonoid M] →
                [inst_3 : AddCommMonoid N] →
                  [inst_4 : AddCommMonoid Pₗ] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module S N] →
                        [inst_7 : Module R Pₗ] →
                          [inst_8 : Module S Pₗ] →
                            [inst_9 : SMulCommClass S R Pₗ] →
                              (f : M → N → Pₗ) →
                                (∀ (m₁ m₂ : M) (n : N), f (m₁ + m₂) n = f m₁ n + f m₂ n) →
                                  (∀ (c : R) (m : M) (n : N), f (c • m) n = c • f m n) →
                                    (∀ (m : M) (n₁ n₂ : N), f m (n₁ + n₂) = f m n₁ + f m n₂) →
                                      (∀ (c : S) (m : M) (n : N), f m (c • n) = c • f m n) → M →ₗ[R] N →ₗ[S] Pₗ

Create a bilinear map from a function that is linear in each component. See mk₂ for the special case where both arguments come from modules over the same ring.

theorem LinearMap.mk₂'_apply E0 #

∀ {R : Type u_1} {S : Type u_3} [inst : Semiring R] [inst_1 : Semiring S] {M : Type u_5} {N : Type u_7} {Pₗ : Type u_11}
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : AddCommMonoid Pₗ] [inst_5 : Module R M]
  [inst_6 : Module S N] [inst_7 : Module R Pₗ] [inst_8 : Module S Pₗ] [inst_9 : SMulCommClass S R Pₗ] (f : M → N → Pₗ)
  {H1 : ∀ (m₁ m₂ : M) (n : N), f (m₁ + m₂) n = f m₁ n + f m₂ n}
  {H2 : ∀ (c : R) (m : M) (n : N), f (c • m) n = c • f m n}
  {H3 : ∀ (m : M) (n₁ n₂ : N), f m (n₁ + n₂) = f m n₁ + f m n₂}
  {H4 : ∀ (c : S) (m : M) (n : N), f m (c • n) = c • f m n} (m : M) (n : N),
  ((LinearMap.mk₂' R S f H1 H2 H3 H4) m) n = f m n

theorem LinearMap.ext₂ E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  {f g : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P}, (∀ (m : M) (n : N), (f m) n = (g m) n) → f = g

theorem LinearMap.congr_fun₂ E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  {f g : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P}, f = g → ∀ (x : M) (y : N), (f x) y = (g x) y

theorem LinearMap.ext_iff₂ E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  {f g : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P}, f = g ↔ ∀ (m : M) (n : N), (f m) n = (g m) n

def LinearMap.flip E3 #

{R : Type u_1} →
  {R₂ : Type u_2} →
    {S : Type u_3} →
      {S₂ : Type u_4} →
        [inst : Semiring R] →
          [inst_1 : Semiring R₂] →
            [inst_2 : Semiring S] →
              [inst_3 : Semiring S₂] →
                {M : Type u_5} →
                  {N : Type u_7} →
                    {P : Type u_9} →
                      [inst_4 : AddCommMonoid M] →
                        [inst_5 : AddCommMonoid N] →
                          [inst_6 : AddCommMonoid P] →
                            [inst_7 : Module R M] →
                              [inst_8 : Module S N] →
                                [inst_9 : Module R₂ P] →
                                  [inst_10 : Module S₂ P] →
                                    [inst_11 : SMulCommClass S₂ R₂ P] →
                                      {ρ₁₂ : R →+* R₂} →
                                        {σ₁₂ : S →+* S₂} → (M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P) → N →ₛₗ[σ₁₂] M →ₛₗ[ρ₁₂] P

Given a linear map from M to linear maps from N to P, i.e., a bilinear map from M × N to P, change the order of variables and get a linear map from N to linear maps from M to P.

theorem LinearMap.flip_apply E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  (f : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P) (m : M) (n : N), (f.flip n) m = (f m) n

def LinearMap.lcompₛₗ E1 #

{R : Type u_14} →
  {R₂ : Type u_15} →
    {R₃ : Type u_16} →
      (R₅ : Type u_18) →
        {M : Type u_19} →
          {N : Type u_20} →
            (P : Type u_21) →
              [inst : Semiring R] →
                [inst_1 : Semiring R₂] →
                  [inst_2 : Semiring R₃] →
                    [inst_3 : Semiring R₅] →
                      {σ₁₂ : R →+* R₂} →
                        (σ₂₃ : R₂ →+* R₃) →
                          {σ₁₃ : R →+* R₃} →
                            [inst_4 : AddCommMonoid M] →
                              [inst_5 : AddCommMonoid N] →
                                [inst_6 : AddCommMonoid P] →
                                  [inst_7 : Module R M] →
                                    [inst_8 : Module R₂ N] →
                                      [inst_9 : Module R₃ P] →
                                        [inst_10 : Module R₅ P] →
                                          [RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] →
                                            [inst_12 : SMulCommClass R₃ R₅ P] →
                                              (M →ₛₗ[σ₁₂] N) → (N →ₛₗ[σ₂₃] P) →ₗ[R₅] M →ₛₗ[σ₁₃] P

Composing a semilinear map M → N and a semilinear map N → P to form a semilinear map M → P is itself a linear map.

theorem LinearMap.lcompₛₗ_apply E0 #

∀ {R : Type u_14} {R₂ : Type u_15} {R₃ : Type u_16} {R₅ : Type u_18} {M : Type u_19} {N : Type u_20} {P : Type u_21}
  [inst : Semiring R] [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : Semiring R₅] {σ₁₂ : R →+* R₂}
  {σ₂₃ : R₂ →+* R₃} {σ₁₃ : R →+* R₃} [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P]
  [inst_7 : Module R M] [inst_8 : Module R₂ N] [inst_9 : Module R₃ P] [inst_10 : Module R₅ P]
  [inst_11 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_12 : SMulCommClass R₃ R₅ P] (f : M →ₛₗ[σ₁₂] N) (g : N →ₛₗ[σ₂₃] P)
  (x : M), ((LinearMap.lcompₛₗ R₅ P σ₂₃ f) g) x = g (f x)

def LinearMap.compl₂ E3 #

{R : Type u_14} →
  {R₂ : Type u_15} →
    {R₃ : Type u_16} →
      {R₄ : Type u_17} →
        {R₅ : Type u_18} →
          {M : Type u_19} →
            {N : Type u_20} →
              {P : Type u_21} →
                {Q : Type u_22} →
                  [inst : Semiring R] →
                    [inst_1 : Semiring R₂] →
                      [inst_2 : Semiring R₃] →
                        [inst_3 : Semiring R₄] →
                          [inst_4 : Semiring R₅] →
                            {σ₂₃ : R₂ →+* R₃} →
                              {σ₄₂ : R₄ →+* R₂} →
                                {σ₄₃ : R₄ →+* R₃} →
                                  [inst_5 : AddCommMonoid M] →
                                    [inst_6 : AddCommMonoid N] →
                                      [inst_7 : AddCommMonoid P] →
                                        [inst_8 : AddCommMonoid Q] →
                                          [inst_9 : Module R M] →
                                            [inst_10 : Module R₂ N] →
                                              [inst_11 : Module R₃ P] →
                                                [inst_12 : Module R₄ Q] →
                                                  [inst_13 : Module R₅ P] →
                                                    [RingHomCompTriple σ₄₂ σ₂₃ σ₄₃] →
                                                      [inst_15 : SMulCommClass R₃ R₅ P] →
                                                        {σ₁₅ : R →+* R₅} →
                                                          (M →ₛₗ[σ₁₅] N →ₛₗ[σ₂₃] P) →
                                                            (Q →ₛₗ[σ₄₂] N) → M →ₛₗ[σ₁₅] Q →ₛₗ[σ₄₃] P

Composing a linear map Q → N and a bilinear map M → N → P to form a bilinear map M → Q → P.

theorem LinearMap.compl₂_apply E0 #

∀ {R : Type u_14} {R₂ : Type u_15} {R₃ : Type u_16} {R₄ : Type u_17} {R₅ : Type u_18} {M : Type u_19} {N : Type u_20}
  {P : Type u_21} {Q : Type u_22} [inst : Semiring R] [inst_1 : Semiring R₂] [inst_2 : Semiring R₃]
  [inst_3 : Semiring R₄] [inst_4 : Semiring R₅] {σ₂₃ : R₂ →+* R₃} {σ₄₂ : R₄ →+* R₂} {σ₄₃ : R₄ →+* R₃}
  [inst_5 : AddCommMonoid M] [inst_6 : AddCommMonoid N] [inst_7 : AddCommMonoid P] [inst_8 : AddCommMonoid Q]
  [inst_9 : Module R M] [inst_10 : Module R₂ N] [inst_11 : Module R₃ P] [inst_12 : Module R₄ Q] [inst_13 : Module R₅ P]
  [inst_14 : RingHomCompTriple σ₄₂ σ₂₃ σ₄₃] [inst_15 : SMulCommClass R₃ R₅ P] {σ₁₅ : R →+* R₅}
  (h : M →ₛₗ[σ₁₅] N →ₛₗ[σ₂₃] P) (g : Q →ₛₗ[σ₄₂] N) (m : M) (q : Q), ((h.compl₂ g) m) q = (h m) (g q)

theorem LinearMap.compl₂_id E0 #

∀ {R : Type u_14} {R₂ : Type u_15} {R₃ : Type u_16} {R₅ : Type u_18} {M : Type u_19} {N : Type u_20} {P : Type u_21}
  [inst : Semiring R] [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : Semiring R₅] {σ₂₃ : R₂ →+* R₃}
  [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M]
  [inst_8 : Module R₂ N] [inst_9 : Module R₃ P] [inst_10 : Module R₅ P] [inst_11 : SMulCommClass R₃ R₅ P]
  {σ₁₅ : R →+* R₅} (h : M →ₛₗ[σ₁₅] N →ₛₗ[σ₂₃] P), h.compl₂ LinearMap.id = h

theorem LinearMap.compl₂_comp E1 #

∀ {R : Type u_14} {R₂ : Type u_15} {R₃ : Type u_16} {R₄ : Type u_17} {R₅ : Type u_18} {M : Type u_19} {N : Type u_20}
  {P : Type u_21} {Q : Type u_22} [inst : Semiring R] [inst_1 : Semiring R₂] [inst_2 : Semiring R₃]
  [inst_3 : Semiring R₄] [inst_4 : Semiring R₅] {σ₂₃ : R₂ →+* R₃} {σ₄₂ : R₄ →+* R₂} {σ₄₃ : R₄ →+* R₃}
  [inst_5 : AddCommMonoid M] [inst_6 : AddCommMonoid N] [inst_7 : AddCommMonoid P] [inst_8 : AddCommMonoid Q]
  [inst_9 : Module R M] [inst_10 : Module R₂ N] [inst_11 : Module R₃ P] [inst_12 : Module R₄ Q] [inst_13 : Module R₅ P]
  [inst_14 : RingHomCompTriple σ₄₂ σ₂₃ σ₄₃] [inst_15 : SMulCommClass R₃ R₅ P] {σ₁₅ : R →+* R₅} {R₆ : Type u_23}
  {Q' : Type u_24} [inst_16 : Semiring R₆] [inst_17 : AddCommMonoid Q'] [inst_18 : Module R₆ Q'] {σ₆₂ : R₆ →+* R₂}
  {σ₆₃ : R₆ →+* R₃} {σ₆₄ : R₆ →+* R₄} [inst_19 : RingHomCompTriple σ₆₂ σ₂₃ σ₆₃]
  [inst_20 : RingHomCompTriple σ₆₄ σ₄₂ σ₆₂] [inst_21 : RingHomCompTriple σ₆₄ σ₄₃ σ₆₃] (h : M →ₛₗ[σ₁₅] N →ₛₗ[σ₂₃] P)
  (g : Q →ₛₗ[σ₄₂] N) (f : Q' →ₛₗ[σ₆₄] Q), h.compl₂ (g ∘ₛₗ f) = (h.compl₂ g).compl₂ f

def LinearMap.lcomp E3 #

{R : Type u_1} →
  (S : Type u_3) →
    [inst : Semiring R] →
      [inst_1 : Semiring S] →
        {M : Type u_5} →
          {M₂ : Type u_6} →
            (N : Type u_7) →
              [inst_2 : AddCommMonoid M] →
                [inst_3 : AddCommMonoid M₂] →
                  [inst_4 : AddCommMonoid N] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module R M₂] →
                        [inst_7 : Module S N] →
                          [inst_8 : Module R N] →
                            [inst_9 : SMulCommClass R S N] → (M →ₗ[R] M₂) → (M₂ →ₗ[R] N) →ₗ[S] M →ₗ[R] N

Composing a given linear map M → N with a linear map N → P as a linear map from Nₗ →ₗ[R] Pₗ to M →ₗ[R] Pₗ.

theorem LinearMap.lcomp_apply E0 #

∀ {R : Type u_1} {S : Type u_3} [inst : Semiring R] [inst_1 : Semiring S] {M : Type u_5} {M₂ : Type u_6} {N : Type u_7}
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid N] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module S N] [inst_8 : Module R N] [inst_9 : SMulCommClass R S N] (f : M →ₗ[R] M₂)
  (g : M₂ →ₗ[R] N) (x : M), ((LinearMap.lcomp S N f) g) x = g (f x)

theorem LinearMap.lcomp_apply' E1 #

∀ {R : Type u_1} {S : Type u_3} [inst : Semiring R] [inst_1 : Semiring S] {M : Type u_5} {M₂ : Type u_6} {N : Type u_7}
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid N] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module S N] [inst_8 : Module R N] [inst_9 : SMulCommClass R S N] (f : M →ₗ[R] M₂)
  (g : M₂ →ₗ[R] N), (LinearMap.lcomp S N f) g = g ∘ₗ f

theorem LinearMap.lcomp_injective_of_surjective E1 #

∀ {R : Type u_1} {S : Type u_3} [inst : Semiring R] [inst_1 : Semiring S] {M : Type u_5} {M₂ : Type u_6} {N : Type u_7}
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid N] [inst_5 : Module R M]
  [inst_6 : Module R M₂] [inst_7 : Module S N] [inst_8 : Module R N] [inst_9 : SMulCommClass R S N] (g : M →ₗ[R] M₂),
  Function.Surjective ⇑g → Function.Injective ⇑(LinearMap.lcomp S N g)

theorem LinearMap.flip_flip E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  (f : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P), f.flip.flip = f

theorem LinearMap.flip_inj E1 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  {f g : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P}, f.flip = g.flip → f = g

theorem LinearMap.map_zero₂ E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  (f : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P) (y : N), (f 0) y = 0

theorem LinearMap.map_neg₂ E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {N : Type u_7} [inst_4 : AddCommMonoid N] [inst_5 : Module S N]
  {M' : Type u_12} {P' : Type u_13} [inst_6 : AddCommGroup M'] [inst_7 : AddCommGroup P'] [inst_8 : Module R M']
  [inst_9 : Module R₂ P'] [inst_10 : Module S₂ P'] [inst_11 : SMulCommClass S₂ R₂ P'] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  (f : M' →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P') (x : M') (y : N), (f (-x)) y = -(f x) y

theorem LinearMap.map_sub₂ E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {N : Type u_7} [inst_4 : AddCommMonoid N] [inst_5 : Module S N]
  {M' : Type u_12} {P' : Type u_13} [inst_6 : AddCommGroup M'] [inst_7 : AddCommGroup P'] [inst_8 : Module R M']
  [inst_9 : Module R₂ P'] [inst_10 : Module S₂ P'] [inst_11 : SMulCommClass S₂ R₂ P'] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  (f : M' →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P') (x y : M') (z : N), (f (x - y)) z = (f x) z - (f y) z

theorem LinearMap.map_add₂ E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  (f : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P) (x₁ x₂ : M) (y : N), (f (x₁ + x₂)) y = (f x₁) y + (f x₂) y

theorem LinearMap.map_smul₂ E0 #

∀ {R : Type u_1} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Semiring S₂]
  {M₂ : Type u_6} {N₂ : Type u_8} {P₂ : Type u_10} [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid N₂]
  [inst_5 : AddCommMonoid P₂] [inst_6 : Module R M₂] [inst_7 : Module S N₂] [inst_8 : Module R P₂]
  [inst_9 : Module S₂ P₂] [inst_10 : SMulCommClass S₂ R P₂] {σ₁₂ : S →+* S₂} (f : M₂ →ₗ[R] N₂ →ₛₗ[σ₁₂] P₂) (r : R)
  (x : M₂) (y : N₂), (f (r • x)) y = r • (f x) y

theorem LinearMap.map_smulₛₗ₂ E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  (f : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P) (r : R) (x : M) (y : N), (f (r • x)) y = ρ₁₂ r • (f x) y

theorem LinearMap.map_sum₂ E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  {ι : Type u_14} (f : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P) (t : Finset ι) (x : ι → M) (y : N),
  (f (∑ i ∈ t, x i)) y = ∑ i ∈ t, (f (x i)) y

def LinearMap.domRestrict₂ E1 #

{R : Type u_1} →
  {R₂ : Type u_2} →
    {S : Type u_3} →
      {S₂ : Type u_4} →
        [inst : Semiring R] →
          [inst_1 : Semiring R₂] →
            [inst_2 : Semiring S] →
              [inst_3 : Semiring S₂] →
                {M : Type u_5} →
                  {N : Type u_7} →
                    {P : Type u_9} →
                      [inst_4 : AddCommMonoid M] →
                        [inst_5 : AddCommMonoid N] →
                          [inst_6 : AddCommMonoid P] →
                            [inst_7 : Module R M] →
                              [inst_8 : Module S N] →
                                [inst_9 : Module R₂ P] →
                                  [inst_10 : Module S₂ P] →
                                    [inst_11 : SMulCommClass S₂ R₂ P] →
                                      {ρ₁₂ : R →+* R₂} →
                                        {σ₁₂ : S →+* S₂} →
                                          (M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P) → (q : Submodule S N) → M →ₛₗ[ρ₁₂] ↥q →ₛₗ[σ₁₂] P

Restricting a bilinear map in the second entry

theorem LinearMap.domRestrict₂_apply E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  (f : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P) (q : Submodule S N) (x : M) (y : ↥q), ((f.domRestrict₂ q) x) y = (f x) ↑y

def LinearMap.domRestrict₁₂ E1 #

{R : Type u_1} →
  {R₂ : Type u_2} →
    {S : Type u_3} →
      {S₂ : Type u_4} →
        [inst : Semiring R] →
          [inst_1 : Semiring R₂] →
            [inst_2 : Semiring S] →
              [inst_3 : Semiring S₂] →
                {M : Type u_5} →
                  {N : Type u_7} →
                    {P : Type u_9} →
                      [inst_4 : AddCommMonoid M] →
                        [inst_5 : AddCommMonoid N] →
                          [inst_6 : AddCommMonoid P] →
                            [inst_7 : Module R M] →
                              [inst_8 : Module S N] →
                                [inst_9 : Module R₂ P] →
                                  [inst_10 : Module S₂ P] →
                                    [inst_11 : SMulCommClass S₂ R₂ P] →
                                      {ρ₁₂ : R →+* R₂} →
                                        {σ₁₂ : S →+* S₂} →
                                          (M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P) →
                                            (p : Submodule R M) → (q : Submodule S N) → ↥p →ₛₗ[ρ₁₂] ↥q →ₛₗ[σ₁₂] P

Restricting a bilinear map in both components

theorem LinearMap.domRestrict₁₂_apply E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  (f : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P) (p : Submodule R M) (q : Submodule S N) (x : ↥p) (y : ↥q),
  ((f.domRestrict₁₂ p q) x) y = (f ↑x) ↑y

def LinearMap.restrictScalars₁₂ E1 #

{R : Type u_1} →
  {S : Type u_3} →
    [inst : Semiring R] →
      [inst_1 : Semiring S] →
        {M : Type u_5} →
          {N : Type u_7} →
            {Pₗ : Type u_11} →
              [inst_2 : AddCommMonoid M] →
                [inst_3 : AddCommMonoid N] →
                  [inst_4 : AddCommMonoid Pₗ] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module S N] →
                        [inst_7 : Module R Pₗ] →
                          [inst_8 : Module S Pₗ] →
                            [inst_9 : SMulCommClass S R Pₗ] →
                              (R' : Type u_14) →
                                (S' : Type u_15) →
                                  [inst_10 : Semiring R'] →
                                    [inst_11 : Semiring S'] →
                                      [inst_12 : Module R' M] →
                                        [inst_13 : Module S' N] →
                                          [inst_14 : Module R' Pₗ] →
                                            [inst_15 : Module S' Pₗ] →
                                              [inst_16 : SMulCommClass S' R' Pₗ] →
                                                [inst_17 : SMul S' S] →
                                                  [IsScalarTower S' S N] →
                                                    [IsScalarTower S' S Pₗ] →
                                                      [inst_20 : SMul R' R] →
                                                        [IsScalarTower R' R M] →
                                                          [IsScalarTower R' R Pₗ] →
                                                            (M →ₗ[R] N →ₗ[S] Pₗ) → M →ₗ[R'] N →ₗ[S'] Pₗ

If B : M → N → Pₗ is R-S bilinear and R' and S' are compatible scalar multiplications, then the restriction of scalars is a R'-S' bilinear map.

theorem LinearMap.restrictScalars₁₂_apply_apply E0 #

∀ {R : Type u_1} {S : Type u_3} [inst : Semiring R] [inst_1 : Semiring S] {M : Type u_5} {N : Type u_7} {Pₗ : Type u_11}
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : AddCommMonoid Pₗ] [inst_5 : Module R M]
  [inst_6 : Module S N] [inst_7 : Module R Pₗ] [inst_8 : Module S Pₗ] [inst_9 : SMulCommClass S R Pₗ] (R' : Type u_14)
  (S' : Type u_15) [inst_10 : Semiring R'] [inst_11 : Semiring S'] [inst_12 : Module R' M] [inst_13 : Module S' N]
  [inst_14 : Module R' Pₗ] [inst_15 : Module S' Pₗ] [inst_16 : SMulCommClass S' R' Pₗ] [inst_17 : SMul S' S]
  [inst_18 : IsScalarTower S' S N] [inst_19 : IsScalarTower S' S Pₗ] [inst_20 : SMul R' R]
  [inst_21 : IsScalarTower R' R M] [inst_22 : IsScalarTower R' R Pₗ] (B : M →ₗ[R] N →ₗ[S] Pₗ) (m : M) (x2 : N),
  ((LinearMap.restrictScalars₁₂ R' S' B) m) x2 = (B m) x2

theorem LinearMap.restrictScalars₁₂_injective E1 #

∀ {R : Type u_1} {S : Type u_3} [inst : Semiring R] [inst_1 : Semiring S] {M : Type u_5} {N : Type u_7} {Pₗ : Type u_11}
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : AddCommMonoid Pₗ] [inst_5 : Module R M]
  [inst_6 : Module S N] [inst_7 : Module R Pₗ] [inst_8 : Module S Pₗ] [inst_9 : SMulCommClass S R Pₗ] (R' : Type u_14)
  (S' : Type u_15) [inst_10 : Semiring R'] [inst_11 : Semiring S'] [inst_12 : Module R' M] [inst_13 : Module S' N]
  [inst_14 : Module R' Pₗ] [inst_15 : Module S' Pₗ] [inst_16 : SMulCommClass S' R' Pₗ] [inst_17 : SMul S' S]
  [inst_18 : IsScalarTower S' S N] [inst_19 : IsScalarTower S' S Pₗ] [inst_20 : SMul R' R]
  [inst_21 : IsScalarTower R' R M] [inst_22 : IsScalarTower R' R Pₗ],
  Function.Injective (LinearMap.restrictScalars₁₂ R' S')

theorem LinearMap.restrictScalars₁₂_inj E0 #

∀ {R : Type u_1} {S : Type u_3} [inst : Semiring R] [inst_1 : Semiring S] {M : Type u_5} {N : Type u_7} {Pₗ : Type u_11}
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : AddCommMonoid Pₗ] [inst_5 : Module R M]
  [inst_6 : Module S N] [inst_7 : Module R Pₗ] [inst_8 : Module S Pₗ] [inst_9 : SMulCommClass S R Pₗ] (R' : Type u_14)
  (S' : Type u_15) [inst_10 : Semiring R'] [inst_11 : Semiring S'] [inst_12 : Module R' M] [inst_13 : Module S' N]
  [inst_14 : Module R' Pₗ] [inst_15 : Module S' Pₗ] [inst_16 : SMulCommClass S' R' Pₗ] [inst_17 : SMul S' S]
  [inst_18 : IsScalarTower S' S N] [inst_19 : IsScalarTower S' S Pₗ] [inst_20 : SMul R' R]
  [inst_21 : IsScalarTower R' R M] [inst_22 : IsScalarTower R' R Pₗ] {B B' : M →ₗ[R] N →ₗ[S] Pₗ},
  LinearMap.restrictScalars₁₂ R' S' B = LinearMap.restrictScalars₁₂ R' S' B' ↔ B = B'

def LinearMap.lflip E3 #

{R : Type u_1} →
  {R₂ : Type u_2} →
    {S : Type u_3} →
      {S₂ : Type u_4} →
        [inst : Semiring R] →
          [inst_1 : Semiring R₂] →
            [inst_2 : Semiring S] →
              [inst_3 : Semiring S₂] →
                {M : Type u_5} →
                  {N : Type u_7} →
                    {P : Type u_9} →
                      [inst_4 : AddCommMonoid M] →
                        [inst_5 : AddCommMonoid N] →
                          [inst_6 : AddCommMonoid P] →
                            [inst_7 : Module R M] →
                              [inst_8 : Module S N] →
                                [inst_9 : Module R₂ P] →
                                  [inst_10 : Module S₂ P] →
                                    [inst_11 : SMulCommClass S₂ R₂ P] →
                                      {ρ₁₂ : R →+* R₂} →
                                        {σ₁₂ : S →+* S₂} →
                                          {R₀ : Type u_14} →
                                            [inst_12 : Semiring R₀] →
                                              [inst_13 : Module R₀ P] →
                                                [inst_14 : SMulCommClass S₂ R₀ P] →
                                                  [inst_15 : SMulCommClass R₂ R₀ P] →
                                                    (M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P) ≃ₗ[R₀] N →ₛₗ[σ₁₂] M →ₛₗ[ρ₁₂] P

LinearMap.flip as an isomorphism of modules.

theorem LinearMap.lflip_symm E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  {R₀ : Type u_14} [inst_12 : Semiring R₀] [inst_13 : Module R₀ P] [inst_14 : SMulCommClass S₂ R₀ P]
  [inst_15 : SMulCommClass R₂ R₀ P], LinearMap.lflip.symm = LinearMap.lflip

theorem LinearMap.lflip_apply E0 #

∀ {R : Type u_1} {R₂ : Type u_2} {S : Type u_3} {S₂ : Type u_4} [inst : Semiring R] [inst_1 : Semiring R₂]
  [inst_2 : Semiring S] [inst_3 : Semiring S₂] {M : Type u_5} {N : Type u_7} {P : Type u_9} [inst_4 : AddCommMonoid M]
  [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P] [inst_7 : Module R M] [inst_8 : Module S N]
  [inst_9 : Module R₂ P] [inst_10 : Module S₂ P] [inst_11 : SMulCommClass S₂ R₂ P] {ρ₁₂ : R →+* R₂} {σ₁₂ : S →+* S₂}
  {R₀ : Type u_14} [inst_12 : Semiring R₀] [inst_13 : Module R₀ P] [inst_14 : SMulCommClass S₂ R₀ P]
  [inst_15 : SMulCommClass R₂ R₀ P] (f : M →ₛₗ[ρ₁₂] N →ₛₗ[σ₁₂] P), LinearMap.lflip f = f.flip

def LinearMap.mk₂ E3 #

(R : Type u_2) →
  [inst : CommSemiring R] →
    {M : Type u_5} →
      {Nₗ : Type u_8} →
        {Pₗ : Type u_9} →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : AddCommMonoid Nₗ] →
              [inst_3 : AddCommMonoid Pₗ] →
                [inst_4 : Module R M] →
                  [inst_5 : Module R Nₗ] →
                    [inst_6 : Module R Pₗ] →
                      (f : M → Nₗ → Pₗ) →
                        (∀ (m₁ m₂ : M) (n : Nₗ), f (m₁ + m₂) n = f m₁ n + f m₂ n) →
                          (∀ (c : R) (m : M) (n : Nₗ), f (c • m) n = c • f m n) →
                            (∀ (m : M) (n₁ n₂ : Nₗ), f m (n₁ + n₂) = f m n₁ + f m n₂) →
                              (∀ (c : R) (m : M) (n : Nₗ), f m (c • n) = c • f m n) → M →ₗ[R] Nₗ →ₗ[R] Pₗ

Create a bilinear map from a function that is linear in each component.

This is a shorthand for mk₂' for the common case when R = S.

theorem LinearMap.mk₂_apply E0 #

∀ (R : Type u_2) [inst : CommSemiring R] {M : Type u_5} {Nₗ : Type u_8} {Pₗ : Type u_9} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid Nₗ] [inst_3 : AddCommMonoid Pₗ] [inst_4 : Module R M] [inst_5 : Module R Nₗ]
  [inst_6 : Module R Pₗ] (f : M → Nₗ → Pₗ) {H1 : ∀ (m₁ m₂ : M) (n : Nₗ), f (m₁ + m₂) n = f m₁ n + f m₂ n}
  {H2 : ∀ (c : R) (m : M) (n : Nₗ), f (c • m) n = c • f m n}
  {H3 : ∀ (m : M) (n₁ n₂ : Nₗ), f m (n₁ + n₂) = f m n₁ + f m n₂}
  {H4 : ∀ (c : R) (m : M) (n : Nₗ), f m (c • n) = c • f m n} (m : M) (n : Nₗ),
  ((LinearMap.mk₂ R f H1 H2 H3 H4) m) n = f m n

def LinearMap.compl₁₂ E1 #

{R₁ : Type u_3} →
  {R₂ : Type u_4} →
    [inst : Semiring R₁] →
      [inst_1 : Semiring R₂] →
        {Mₗ : Type u_6} →
          {N : Type u_7} →
            {Pₗ : Type u_9} →
              {Qₗ : Type u_10} →
                {Qₗ' : Type u_11} →
                  [inst_2 : AddCommMonoid Mₗ] →
                    [inst_3 : AddCommMonoid N] →
                      [inst_4 : AddCommMonoid Pₗ] →
                        [inst_5 : AddCommMonoid Qₗ] →
                          [inst_6 : AddCommMonoid Qₗ'] →
                            [inst_7 : Module R₁ Mₗ] →
                              [inst_8 : Module R₂ N] →
                                [inst_9 : Module R₂ Pₗ] →
                                  [inst_10 : Module R₁ Pₗ] →
                                    [inst_11 : Module R₁ Qₗ] →
                                      [inst_12 : Module R₂ Qₗ'] →
                                        [inst_13 : SMulCommClass R₂ R₁ Pₗ] →
                                          (Mₗ →ₗ[R₁] N →ₗ[R₂] Pₗ) →
                                            (Qₗ →ₗ[R₁] Mₗ) → (Qₗ' →ₗ[R₂] N) → Qₗ →ₗ[R₁] Qₗ' →ₗ[R₂] Pₗ

Composing linear maps Q → M and Q' → N with a bilinear map M → N → P to form a bilinear map Q → Q' → P.

theorem LinearMap.compl₁₂_apply E0 #

∀ {R₁ : Type u_3} {R₂ : Type u_4} [inst : Semiring R₁] [inst_1 : Semiring R₂] {Mₗ : Type u_6} {N : Type u_7}
  {Pₗ : Type u_9} {Qₗ : Type u_10} {Qₗ' : Type u_11} [inst_2 : AddCommMonoid Mₗ] [inst_3 : AddCommMonoid N]
  [inst_4 : AddCommMonoid Pₗ] [inst_5 : AddCommMonoid Qₗ] [inst_6 : AddCommMonoid Qₗ'] [inst_7 : Module R₁ Mₗ]
  [inst_8 : Module R₂ N] [inst_9 : Module R₂ Pₗ] [inst_10 : Module R₁ Pₗ] [inst_11 : Module R₁ Qₗ]
  [inst_12 : Module R₂ Qₗ'] [inst_13 : SMulCommClass R₂ R₁ Pₗ] (f : Mₗ →ₗ[R₁] N →ₗ[R₂] Pₗ) (g : Qₗ →ₗ[R₁] Mₗ)
  (g' : Qₗ' →ₗ[R₂] N) (x : Qₗ) (y : Qₗ'), ((f.compl₁₂ g g') x) y = (f (g x)) (g' y)

theorem LinearMap.compl₁₂_id_id E0 #

∀ {R₁ : Type u_3} {R₂ : Type u_4} [inst : Semiring R₁] [inst_1 : Semiring R₂] {Mₗ : Type u_6} {N : Type u_7}
  {Pₗ : Type u_9} [inst_2 : AddCommMonoid Mₗ] [inst_3 : AddCommMonoid N] [inst_4 : AddCommMonoid Pₗ]
  [inst_5 : Module R₁ Mₗ] [inst_6 : Module R₂ N] [inst_7 : Module R₂ Pₗ] [inst_8 : Module R₁ Pₗ]
  [inst_9 : SMulCommClass R₂ R₁ Pₗ] (f : Mₗ →ₗ[R₁] N →ₗ[R₂] Pₗ), f.compl₁₂ LinearMap.id LinearMap.id = f

theorem LinearMap.compl₁₂_comp_left E1 #

∀ {R₁ : Type u_3} {R₂ : Type u_4} [inst : Semiring R₁] [inst_1 : Semiring R₂] {Mₗ : Type u_6} {N : Type u_7}
  {Pₗ : Type u_9} {Qₗ : Type u_10} {Qₗ' : Type u_11} [inst_2 : AddCommMonoid Mₗ] [inst_3 : AddCommMonoid N]
  [inst_4 : AddCommMonoid Pₗ] [inst_5 : AddCommMonoid Qₗ] [inst_6 : AddCommMonoid Qₗ'] [inst_7 : Module R₁ Mₗ]
  [inst_8 : Module R₂ N] [inst_9 : Module R₂ Pₗ] [inst_10 : Module R₁ Pₗ] [inst_11 : Module R₁ Qₗ]
  [inst_12 : Module R₂ Qₗ'] {Tₗ : Type u_12} [inst_13 : AddCommMonoid Tₗ] [inst_14 : Module R₁ Tₗ]
  [inst_15 : SMulCommClass R₂ R₁ Pₗ] (f : Mₗ →ₗ[R₁] N →ₗ[R₂] Pₗ) (g : Qₗ →ₗ[R₁] Mₗ) (g' : Qₗ' →ₗ[R₂] N)
  (h : Tₗ →ₗ[R₁] Qₗ), f.compl₁₂ (g ∘ₗ h) g' = f.compl₁₂ g g' ∘ₗ h

theorem LinearMap.compl₁₂_comp_right E1 #

∀ {R₁ : Type u_3} {R₂ : Type u_4} [inst : Semiring R₁] [inst_1 : Semiring R₂] {Mₗ : Type u_6} {N : Type u_7}
  {Pₗ : Type u_9} {Qₗ : Type u_10} {Qₗ' : Type u_11} [inst_2 : AddCommMonoid Mₗ] [inst_3 : AddCommMonoid N]
  [inst_4 : AddCommMonoid Pₗ] [inst_5 : AddCommMonoid Qₗ] [inst_6 : AddCommMonoid Qₗ'] [inst_7 : Module R₁ Mₗ]
  [inst_8 : Module R₂ N] [inst_9 : Module R₂ Pₗ] [inst_10 : Module R₁ Pₗ] [inst_11 : Module R₁ Qₗ]
  [inst_12 : Module R₂ Qₗ'] {Tₗ' : Type u_13} [inst_13 : AddCommMonoid Tₗ'] [inst_14 : Module R₂ Tₗ']
  [inst_15 : SMulCommClass R₂ R₁ Pₗ] (f : Mₗ →ₗ[R₁] N →ₗ[R₂] Pₗ) (g : Qₗ →ₗ[R₁] Mₗ) (g' : Qₗ' →ₗ[R₂] N)
  (h' : Tₗ' →ₗ[R₂] Qₗ'), f.compl₁₂ g (g' ∘ₗ h') = (f.compl₁₂ g g').compl₂ h'

theorem LinearMap.compl₁₂_comp_comp E1 #

∀ {R₁ : Type u_3} {R₂ : Type u_4} [inst : Semiring R₁] [inst_1 : Semiring R₂] {Mₗ : Type u_6} {N : Type u_7}
  {Pₗ : Type u_9} {Qₗ : Type u_10} {Qₗ' : Type u_11} [inst_2 : AddCommMonoid Mₗ] [inst_3 : AddCommMonoid N]
  [inst_4 : AddCommMonoid Pₗ] [inst_5 : AddCommMonoid Qₗ] [inst_6 : AddCommMonoid Qₗ'] [inst_7 : Module R₁ Mₗ]
  [inst_8 : Module R₂ N] [inst_9 : Module R₂ Pₗ] [inst_10 : Module R₁ Pₗ] [inst_11 : Module R₁ Qₗ]
  [inst_12 : Module R₂ Qₗ'] {Tₗ : Type u_12} {Tₗ' : Type u_13} [inst_13 : AddCommMonoid Tₗ]
  [inst_14 : AddCommMonoid Tₗ'] [inst_15 : Module R₁ Tₗ] [inst_16 : Module R₂ Tₗ'] [inst_17 : SMulCommClass R₂ R₁ Pₗ]
  (f : Mₗ →ₗ[R₁] N →ₗ[R₂] Pₗ) (g : Qₗ →ₗ[R₁] Mₗ) (g' : Qₗ' →ₗ[R₂] N) (h : Tₗ →ₗ[R₁] Qₗ) (h' : Tₗ' →ₗ[R₂] Qₗ'),
  f.compl₁₂ (g ∘ₗ h) (g' ∘ₗ h') = (f.compl₁₂ g g').compl₁₂ h h'

theorem LinearMap.compl₁₂_inj E1 #

∀ {R₁ : Type u_3} {R₂ : Type u_4} [inst : Semiring R₁] [inst_1 : Semiring R₂] {Mₗ : Type u_6} {N : Type u_7}
  {Pₗ : Type u_9} {Qₗ : Type u_10} {Qₗ' : Type u_11} [inst_2 : AddCommMonoid Mₗ] [inst_3 : AddCommMonoid N]
  [inst_4 : AddCommMonoid Pₗ] [inst_5 : AddCommMonoid Qₗ] [inst_6 : AddCommMonoid Qₗ'] [inst_7 : Module R₁ Mₗ]
  [inst_8 : Module R₂ N] [inst_9 : Module R₂ Pₗ] [inst_10 : Module R₁ Pₗ] [inst_11 : Module R₁ Qₗ]
  [inst_12 : Module R₂ Qₗ'] [inst_13 : SMulCommClass R₂ R₁ Pₗ] {f₁ f₂ : Mₗ →ₗ[R₁] N →ₗ[R₂] Pₗ} {g : Qₗ →ₗ[R₁] Mₗ}
  {g' : Qₗ' →ₗ[R₂] N}, Function.Surjective ⇑g → Function.Surjective ⇑g' → (f₁.compl₁₂ g g' = f₂.compl₁₂ g g' ↔ f₁ = f₂)

def LinearMap.compr₂ E3 #

{A : Type u_1} →
  {R : Type u_2} →
    [inst : Semiring A] →
      [inst_1 : CommSemiring R] →
        {M : Type u_5} →
          {Nₗ : Type u_8} →
            {Pₗ : Type u_9} →
              {Qₗ : Type u_10} →
                [inst_2 : AddCommMonoid M] →
                  [inst_3 : AddCommMonoid Nₗ] →
                    [inst_4 : AddCommMonoid Pₗ] →
                      [inst_5 : AddCommMonoid Qₗ] →
                        [inst_6 : Module R Nₗ] →
                          [inst_7 : Module R Pₗ] →
                            [inst_8 : Module R Qₗ] →
                              [inst_9 : Module A Pₗ] →
                                [inst_10 : SMulCommClass R A Pₗ] →
                                  [inst_11 : Module R A] →
                                    [inst_12 : Module A M] →
                                      [inst_13 : Module A Qₗ] →
                                        [inst_14 : SMulCommClass R A Qₗ] →
                                          [IsScalarTower R A Qₗ] →
                                            [IsScalarTower R A Pₗ] →
                                              (M →ₗ[A] Nₗ →ₗ[R] Pₗ) → (Pₗ →ₗ[A] Qₗ) → M →ₗ[A] Nₗ →ₗ[R] Qₗ

Composing a linear map P → Q and a bilinear map M → N → P to form a bilinear map M → N → Q.

See LinearMap.compr₂ₛₗ for a version of this which does not support towers of scalars but which does support semi-linear maps.

theorem LinearMap.compr₂_apply E0 #

∀ {A : Type u_1} {R : Type u_2} [inst : Semiring A] [inst_1 : CommSemiring R] {M : Type u_5} {Nₗ : Type u_8}
  {Pₗ : Type u_9} {Qₗ : Type u_10} [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid Nₗ] [inst_4 : AddCommMonoid Pₗ]
  [inst_5 : AddCommMonoid Qₗ] [inst_6 : Module R Nₗ] [inst_7 : Module R Pₗ] [inst_8 : Module R Qₗ]
  [inst_9 : Module A Pₗ] [inst_10 : SMulCommClass R A Pₗ] [inst_11 : Module R A] [inst_12 : Module A M]
  [inst_13 : Module A Qₗ] [inst_14 : SMulCommClass R A Qₗ] [inst_15 : IsScalarTower R A Qₗ]
  [inst_16 : IsScalarTower R A Pₗ] (f : M →ₗ[A] Nₗ →ₗ[R] Pₗ) (g : Pₗ →ₗ[A] Qₗ) (m : M) (n : Nₗ),
  ((f.compr₂ g) m) n = g ((f m) n)

theorem LinearMap.compr₂_id E0 #

∀ {A : Type u_1} {R : Type u_2} [inst : Semiring A] [inst_1 : CommSemiring R] {M : Type u_5} {Nₗ : Type u_8}
  {Pₗ : Type u_9} [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid Nₗ] [inst_4 : AddCommMonoid Pₗ]
  [inst_5 : Module R Nₗ] [inst_6 : Module R Pₗ] [inst_7 : Module A Pₗ] [inst_8 : SMulCommClass R A Pₗ]
  [inst_9 : Module R A] [inst_10 : Module A M] [inst_11 : IsScalarTower R A Pₗ] (f : M →ₗ[A] Nₗ →ₗ[R] Pₗ),
  f.compr₂ LinearMap.id = f

theorem LinearMap.compr₂_comp E1 #

∀ {A : Type u_1} {R : Type u_2} [inst : Semiring A] [inst_1 : CommSemiring R] {M : Type u_5} {Nₗ : Type u_8}
  {Pₗ : Type u_9} {Qₗ : Type u_10} [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid Nₗ] [inst_4 : AddCommMonoid Pₗ]
  [inst_5 : AddCommMonoid Qₗ] [inst_6 : Module R Nₗ] [inst_7 : Module R Pₗ] [inst_8 : Module R Qₗ]
  [inst_9 : Module A Pₗ] [inst_10 : SMulCommClass R A Pₗ] {Tₗ : Type u_14} [inst_11 : AddCommMonoid Tₗ]
  [inst_12 : Module R Tₗ] [inst_13 : Module A Tₗ] [inst_14 : Module R A] [inst_15 : Module A M] [inst_16 : Module A Qₗ]
  [inst_17 : SMulCommClass R A Qₗ] [inst_18 : SMulCommClass R A Tₗ] [inst_19 : IsScalarTower R A Qₗ]
  [inst_20 : IsScalarTower R A Pₗ] [inst_21 : IsScalarTower R A Tₗ] (f : M →ₗ[A] Nₗ →ₗ[R] Pₗ) (g : Pₗ →ₗ[A] Qₗ)
  (h : Qₗ →ₗ[A] Tₗ), f.compr₂ (h ∘ₗ g) = (f.compr₂ g).compr₂ h

theorem LinearMap.injective_compr₂_of_injective E1 #

∀ {R : Type u_2} [inst : CommSemiring R] {M : Type u_5} {Nₗ : Type u_8} {Pₗ : Type u_9} {Qₗ : Type u_10}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid Nₗ] [inst_3 : AddCommMonoid Pₗ] [inst_4 : AddCommMonoid Qₗ]
  [inst_5 : Module R M] [inst_6 : Module R Nₗ] [inst_7 : Module R Pₗ] [inst_8 : Module R Qₗ] (f : M →ₗ[R] Nₗ →ₗ[R] Pₗ)
  (g : Pₗ →ₗ[R] Qₗ), Function.Injective ⇑f → Function.Injective ⇑g → Function.Injective ⇑(f.compr₂ g)

A version of Function.Injective.comp for composition of a bilinear map with a linear map.

theorem LinearMap.surjective_compr₂_of_exists_rightInverse E1 #

∀ {R : Type u_2} [inst : CommSemiring R] {M : Type u_5} {Nₗ : Type u_8} {Pₗ : Type u_9} {Qₗ : Type u_10}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid Nₗ] [inst_3 : AddCommMonoid Pₗ] [inst_4 : AddCommMonoid Qₗ]
  [inst_5 : Module R M] [inst_6 : Module R Nₗ] [inst_7 : Module R Pₗ] [inst_8 : Module R Qₗ] (f : M →ₗ[R] Nₗ →ₗ[R] Pₗ)
  (g : Pₗ →ₗ[R] Qₗ), Function.Surjective ⇑f → (∃ g', g ∘ₗ g' = LinearMap.id) → Function.Surjective ⇑(f.compr₂ g)

A version of Function.Surjective.comp for composition of a bilinear map with a linear map.

theorem LinearMap.surjective_compr₂_of_equiv E1 #

∀ {R : Type u_2} [inst : CommSemiring R] {M : Type u_5} {Nₗ : Type u_8} {Pₗ : Type u_9} {Qₗ : Type u_10}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid Nₗ] [inst_3 : AddCommMonoid Pₗ] [inst_4 : AddCommMonoid Qₗ]
  [inst_5 : Module R M] [inst_6 : Module R Nₗ] [inst_7 : Module R Pₗ] [inst_8 : Module R Qₗ] (f : M →ₗ[R] Nₗ →ₗ[R] Pₗ)
  (g : Pₗ ≃ₗ[R] Qₗ), Function.Surjective ⇑f → Function.Surjective ⇑(f.compr₂ ↑g)

A version of Function.Surjective.comp for composition of a bilinear map with a linear map.

theorem LinearMap.bijective_compr₂_of_equiv E1 #

∀ {R : Type u_2} [inst : CommSemiring R] {M : Type u_5} {Nₗ : Type u_8} {Pₗ : Type u_9} {Qₗ : Type u_10}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid Nₗ] [inst_3 : AddCommMonoid Pₗ] [inst_4 : AddCommMonoid Qₗ]
  [inst_5 : Module R M] [inst_6 : Module R Nₗ] [inst_7 : Module R Pₗ] [inst_8 : Module R Qₗ] (f : M →ₗ[R] Nₗ →ₗ[R] Pₗ)
  (g : Pₗ ≃ₗ[R] Qₗ), Function.Bijective ⇑f → Function.Bijective ⇑(f.compr₂ ↑g)

A version of Function.Bijective.comp for composition of a bilinear map with a linear map.

def LinearMap.llcomp E3 #

{R : Type u_2} →
  [inst : CommSemiring R] →
    {R₂ : Type u_14} →
      (R₃ : Type u_15) →
        (M : Type u_17) →
          (N : Type u_18) →
            (P : Type u_19) →
              [inst_1 : CommSemiring R₂] →
                [inst_2 : CommSemiring R₃] →
                  [inst_3 : AddCommMonoid M] →
                    [inst_4 : AddCommMonoid N] →
                      [inst_5 : AddCommMonoid P] →
                        [inst_6 : Module R M] →
                          [inst_7 : Module R₂ N] →
                            [inst_8 : Module R₃ P] →
                              {σ₁₂ : R →+* R₂} →
                                {σ₁₃ : R →+* R₃} →
                                  {σ₂₃ : R₂ →+* R₃} →
                                    [RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] →
                                      (N →ₛₗ[σ₂₃] P) →ₗ[R₃] (M →ₛₗ[σ₁₂] N) →ₛₗ[σ₂₃] M →ₛₗ[σ₁₃] P

Composing linear maps as a bilinear map from (M →ₛₗ[σ₁₂] N) × (N →ₛₗ[σ₂₃] P) to M →ₛₗ[σ₁₃] P.

theorem LinearMap.llcomp_apply E0 #

∀ {R : Type u_2} [inst : CommSemiring R] {R₂ : Type u_14} {R₃ : Type u_15} {M : Type u_17} {N : Type u_18}
  {P : Type u_19} [inst_1 : CommSemiring R₂] [inst_2 : CommSemiring R₃] [inst_3 : AddCommMonoid M]
  [inst_4 : AddCommMonoid N] [inst_5 : AddCommMonoid P] [inst_6 : Module R M] [inst_7 : Module R₂ N]
  [inst_8 : Module R₃ P] {σ₁₂ : R →+* R₂} {σ₁₃ : R →+* R₃} {σ₂₃ : R₂ →+* R₃} [inst_9 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃]
  (f : N →ₛₗ[σ₂₃] P) (g : M →ₛₗ[σ₁₂] N) (x : M), (((LinearMap.llcomp R₃ M N P) f) g) x = f (g x)

theorem LinearMap.llcomp_apply' E1 #

∀ {R : Type u_2} [inst : CommSemiring R] {R₂ : Type u_14} {R₃ : Type u_15} {M : Type u_17} {N : Type u_18}
  {P : Type u_19} [inst_1 : CommSemiring R₂] [inst_2 : CommSemiring R₃] [inst_3 : AddCommMonoid M]
  [inst_4 : AddCommMonoid N] [inst_5 : AddCommMonoid P] [inst_6 : Module R M] [inst_7 : Module R₂ N]
  [inst_8 : Module R₃ P] {σ₁₂ : R →+* R₂} {σ₁₃ : R →+* R₃} {σ₂₃ : R₂ →+* R₃} [inst_9 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃]
  (f : N →ₛₗ[σ₂₃] P) (g : M →ₛₗ[σ₁₂] N), ((LinearMap.llcomp R₃ M N P) f) g = f ∘ₛₗ g

def LinearMap.compr₂ₛₗ E1 #

{R : Type u_2} →
  [inst : CommSemiring R] →
    {R₂ : Type u_14} →
      {R₃ : Type u_15} →
        {R₄ : Type u_16} →
          {M : Type u_17} →
            {N : Type u_18} →
              {P : Type u_19} →
                {Q : Type u_20} →
                  [inst_1 : CommSemiring R₂] →
                    [inst_2 : CommSemiring R₃] →
                      [inst_3 : CommSemiring R₄] →
                        [inst_4 : AddCommMonoid M] →
                          [inst_5 : AddCommMonoid N] →
                            [inst_6 : AddCommMonoid P] →
                              [inst_7 : AddCommMonoid Q] →
                                [inst_8 : Module R M] →
                                  [inst_9 : Module R₂ N] →
                                    [inst_10 : Module R₃ P] →
                                      [inst_11 : Module R₄ Q] →
                                        {σ₁₃ : R →+* R₃} →
                                          {σ₁₄ : R →+* R₄} →
                                            {σ₂₃ : R₂ →+* R₃} →
                                              {σ₂₄ : R₂ →+* R₄} →
                                                {σ₃₄ : R₃ →+* R₄} →
                                                  [RingHomCompTriple σ₂₃ σ₃₄ σ₂₄] →
                                                    [RingHomCompTriple σ₁₃ σ₃₄ σ₁₄] →
                                                      (M →ₛₗ[σ₁₃] N →ₛₗ[σ₂₃] P) →
                                                        (P →ₛₗ[σ₃₄] Q) → M →ₛₗ[σ₁₄] N →ₛₗ[σ₂₄] Q

Composing a linear map P →ₛₗ[σ₃₄] Q and a bilinear map M →ₛₗ[σ₁₃] N →ₛₗ[σ₂₃] P to form a bilinear map M →ₛₗ[σ₁₄] N →ₛₗ[σ₂₄] Q.

See LinearMap.compr₂ for a version of this definition, which does not support semi-linear maps but which does support towers of scalars.

theorem LinearMap.compr₂ₛₗ_apply E0 #

∀ {R : Type u_2} [inst : CommSemiring R] {R₂ : Type u_14} {R₃ : Type u_15} {R₄ : Type u_16} {M : Type u_17}
  {N : Type u_18} {P : Type u_19} {Q : Type u_20} [inst_1 : CommSemiring R₂] [inst_2 : CommSemiring R₃]
  [inst_3 : CommSemiring R₄] [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P]
  [inst_7 : AddCommMonoid Q] [inst_8 : Module R M] [inst_9 : Module R₂ N] [inst_10 : Module R₃ P]
  [inst_11 : Module R₄ Q] {σ₁₃ : R →+* R₃} {σ₁₄ : R →+* R₄} {σ₂₃ : R₂ →+* R₃} {σ₂₄ : R₂ →+* R₄} {σ₃₄ : R₃ →+* R₄}
  [inst_12 : RingHomCompTriple σ₂₃ σ₃₄ σ₂₄] [inst_13 : RingHomCompTriple σ₁₃ σ₃₄ σ₁₄] (f : M →ₛₗ[σ₁₃] N →ₛₗ[σ₂₃] P)
  (g : P →ₛₗ[σ₃₄] Q) (m : M) (n : N), ((f.compr₂ₛₗ g) m) n = g ((f m) n)

theorem LinearMap.compr₂ₛₗ_id E0 #

∀ {R : Type u_2} [inst : CommSemiring R] {R₂ : Type u_14} {R₃ : Type u_15} {M : Type u_17} {N : Type u_18}
  {P : Type u_19} [inst_1 : CommSemiring R₂] [inst_2 : CommSemiring R₃] [inst_3 : AddCommMonoid M]
  [inst_4 : AddCommMonoid N] [inst_5 : AddCommMonoid P] [inst_6 : Module R M] [inst_7 : Module R₂ N]
  [inst_8 : Module R₃ P] {σ₁₃ : R →+* R₃} {σ₂₃ : R₂ →+* R₃} (f : M →ₛₗ[σ₁₃] N →ₛₗ[σ₂₃] P), f.compr₂ₛₗ LinearMap.id = f

theorem LinearMap.compr₂ₛₗ_comp E1 #

∀ {R : Type u_2} [inst : CommSemiring R] {R₂ : Type u_14} {R₃ : Type u_15} {R₄ : Type u_16} {M : Type u_17}
  {N : Type u_18} {P : Type u_19} {Q : Type u_20} [inst_1 : CommSemiring R₂] [inst_2 : CommSemiring R₃]
  [inst_3 : CommSemiring R₄] [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P]
  [inst_7 : AddCommMonoid Q] [inst_8 : Module R M] [inst_9 : Module R₂ N] [inst_10 : Module R₃ P]
  [inst_11 : Module R₄ Q] {σ₁₃ : R →+* R₃} {σ₁₄ : R →+* R₄} {σ₂₃ : R₂ →+* R₃} {σ₂₄ : R₂ →+* R₄} {σ₃₄ : R₃ →+* R₄}
  [inst_12 : RingHomCompTriple σ₂₃ σ₃₄ σ₂₄] [inst_13 : RingHomCompTriple σ₁₃ σ₃₄ σ₁₄] {Q' : Type u_21} {R₅ : Type u_22}
  [inst_14 : CommSemiring R₅] [inst_15 : AddCommMonoid Q'] [inst_16 : Module R₅ Q'] {σ₁₅ : R →+* R₅} {σ₂₅ : R₂ →+* R₅}
  {σ₃₅ : R₃ →+* R₅} {σ₄₅ : R₄ →+* R₅} [inst_17 : RingHomCompTriple σ₁₃ σ₃₅ σ₁₅]
  [inst_18 : RingHomCompTriple σ₁₄ σ₄₅ σ₁₅] [inst_19 : RingHomCompTriple σ₂₃ σ₃₅ σ₂₅]
  [inst_20 : RingHomCompTriple σ₂₄ σ₄₅ σ₂₅] [inst_21 : RingHomCompTriple σ₃₄ σ₄₅ σ₃₅] (f : M →ₛₗ[σ₁₃] N →ₛₗ[σ₂₃] P)
  (g : P →ₛₗ[σ₃₄] Q) (h : Q →ₛₗ[σ₄₅] Q'), f.compr₂ₛₗ (h ∘ₛₗ g) = (f.compr₂ₛₗ g).compr₂ₛₗ h

theorem LinearMap.injective_compr₂ₛₗ_of_injective E1 #

∀ {R : Type u_2} [inst : CommSemiring R] {R₂ : Type u_14} {R₃ : Type u_15} {R₄ : Type u_16} {M : Type u_17}
  {N : Type u_18} {P : Type u_19} {Q : Type u_20} [inst_1 : CommSemiring R₂] [inst_2 : CommSemiring R₃]
  [inst_3 : CommSemiring R₄] [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P]
  [inst_7 : AddCommMonoid Q] [inst_8 : Module R M] [inst_9 : Module R₂ N] [inst_10 : Module R₃ P]
  [inst_11 : Module R₄ Q] {σ₁₃ : R →+* R₃} {σ₁₄ : R →+* R₄} {σ₂₃ : R₂ →+* R₃} {σ₂₄ : R₂ →+* R₄} {σ₃₄ : R₃ →+* R₄}
  [inst_12 : RingHomCompTriple σ₂₃ σ₃₄ σ₂₄] [inst_13 : RingHomCompTriple σ₁₃ σ₃₄ σ₁₄] (f : M →ₛₗ[σ₁₃] N →ₛₗ[σ₂₃] P)
  (g : P →ₛₗ[σ₃₄] Q), Function.Injective ⇑f → Function.Injective ⇑g → Function.Injective ⇑(f.compr₂ₛₗ g)

A version of Function.Injective.comp for composition of a bilinear map with a linear map.

theorem LinearMap.surjective_compr₂ₛₗ_of_exists_rightInverse E1 #

∀ {R : Type u_2} [inst : CommSemiring R] {R₂ : Type u_14} {R₃ : Type u_15} {R₄ : Type u_16} {M : Type u_17}
  {N : Type u_18} {P : Type u_19} {Q : Type u_20} [inst_1 : CommSemiring R₂] [inst_2 : CommSemiring R₃]
  [inst_3 : CommSemiring R₄] [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P]
  [inst_7 : AddCommMonoid Q] [inst_8 : Module R M] [inst_9 : Module R₂ N] [inst_10 : Module R₃ P]
  [inst_11 : Module R₄ Q] {σ₁₃ : R →+* R₃} {σ₁₄ : R →+* R₄} {σ₂₃ : R₂ →+* R₃} {σ₂₄ : R₂ →+* R₄} {σ₃₄ : R₃ →+* R₄}
  {σ₄₃ : R₄ →+* R₃} [inst_12 : RingHomCompTriple σ₂₃ σ₃₄ σ₂₄] [inst_13 : RingHomCompTriple σ₁₃ σ₃₄ σ₁₄]
  [RingHomCompTriple σ₂₄ σ₄₃ σ₂₃] [inst_15 : RingHomInvPair σ₃₄ σ₄₃] (f : M →ₛₗ[σ₁₃] N →ₛₗ[σ₂₃] P) (g : P →ₛₗ[σ₃₄] Q),
  Function.Surjective ⇑f → (∃ g', g ∘ₛₗ g' = LinearMap.id) → Function.Surjective ⇑(f.compr₂ₛₗ g)

A version of Function.Surjective.comp for composition of a bilinear map with a linear map.

theorem LinearMap.surjective_compr₂ₛₗ_of_equiv E1 #

∀ {R : Type u_2} [inst : CommSemiring R] {R₂ : Type u_14} {R₃ : Type u_15} {R₄ : Type u_16} {M : Type u_17}
  {N : Type u_18} {P : Type u_19} {Q : Type u_20} [inst_1 : CommSemiring R₂] [inst_2 : CommSemiring R₃]
  [inst_3 : CommSemiring R₄] [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P]
  [inst_7 : AddCommMonoid Q] [inst_8 : Module R M] [inst_9 : Module R₂ N] [inst_10 : Module R₃ P]
  [inst_11 : Module R₄ Q] {σ₁₃ : R →+* R₃} {σ₁₄ : R →+* R₄} {σ₂₃ : R₂ →+* R₃} {σ₂₄ : R₂ →+* R₄} {σ₃₄ : R₃ →+* R₄}
  {σ₄₃ : R₄ →+* R₃} [inst_12 : RingHomCompTriple σ₂₃ σ₃₄ σ₂₄] [inst_13 : RingHomCompTriple σ₁₃ σ₃₄ σ₁₄]
  [RingHomCompTriple σ₂₄ σ₄₃ σ₂₃] [inst_15 : RingHomInvPair σ₃₄ σ₄₃] [inst_16 : RingHomInvPair σ₄₃ σ₃₄]
  (f : M →ₛₗ[σ₁₃] N →ₛₗ[σ₂₃] P) (g : P ≃ₛₗ[σ₃₄] Q), Function.Surjective ⇑f → Function.Surjective ⇑(f.compr₂ₛₗ ↑g)

A version of Function.Surjective.comp for composition of a bilinear map with a linear map.

theorem LinearMap.bijective_compr₂ₛₗ_of_equiv E1 #

∀ {R : Type u_2} [inst : CommSemiring R] {R₂ : Type u_14} {R₃ : Type u_15} {R₄ : Type u_16} {M : Type u_17}
  {N : Type u_18} {P : Type u_19} {Q : Type u_20} [inst_1 : CommSemiring R₂] [inst_2 : CommSemiring R₃]
  [inst_3 : CommSemiring R₄] [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid N] [inst_6 : AddCommMonoid P]
  [inst_7 : AddCommMonoid Q] [inst_8 : Module R M] [inst_9 : Module R₂ N] [inst_10 : Module R₃ P]
  [inst_11 : Module R₄ Q] {σ₁₃ : R →+* R₃} {σ₁₄ : R →+* R₄} {σ₂₃ : R₂ →+* R₃} {σ₂₄ : R₂ →+* R₄} {σ₃₄ : R₃ →+* R₄}
  {σ₄₃ : R₄ →+* R₃} [inst_12 : RingHomCompTriple σ₂₃ σ₃₄ σ₂₄] [inst_13 : RingHomCompTriple σ₁₃ σ₃₄ σ₁₄]
  [RingHomCompTriple σ₂₄ σ₄₃ σ₂₃] [inst_15 : RingHomInvPair σ₃₄ σ₄₃] [inst_16 : RingHomInvPair σ₄₃ σ₃₄]
  (f : M →ₛₗ[σ₁₃] N →ₛₗ[σ₂₃] P) (g : P ≃ₛₗ[σ₃₄] Q), Function.Bijective ⇑f → Function.Bijective ⇑(f.compr₂ₛₗ ↑g)

A version of Function.Bijective.comp for composition of a bilinear map with a linear map.

theorem LinearMap.assoc_iff E0 #

∀ {R : Type u_2} [inst : CommSemiring R] {M : Type u_17} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (f : M →ₗ[R] M →ₗ[R] M),
  (∀ (x y z : M), (f ((f x) y)) z = (f x) ((f y) z)) ↔
    (LinearMap.llcomp R M M (M →ₗ[R] M)) f ∘ₗ f =
      (((LinearMap.llcomp R M (M →ₗ[R] M →ₗ[R] M) (M →ₗ[R] M →ₗ[R] M)) ↑LinearMap.lflip)
          ((LinearMap.llcomp R M M (M →ₗ[R] M)) f.flip ∘ₗ f)).flip

An auxiliary lemma for proving associativity, turning an equality in terms of bilinear maps into an equality of linear maps so that we can use ext.

def LinearMap.lsmul E3 #

(R : Type u_2) →
  [inst : CommSemiring R] → (M : Type u_5) → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → R →ₗ[R] M →ₗ[R] M

Scalar multiplication as a bilinear map R → M → M.

theorem LinearMap.lsmul_eq_distribSMulToLinearMap E1 #

∀ {R : Type u_2} [inst : CommSemiring R] (M : Type u_5) [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (r : R),
  (LinearMap.lsmul R M) r = DistribSMul.toLinearMap R M r

theorem LinearMap.lsmul_apply E0 #

∀ {R : Type u_2} [inst : CommSemiring R] {M : Type u_5} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (r : R)
  (m : M), ((LinearMap.lsmul R M) r) m = r • m

abbrev LinearMap.BilinMap E1 #

(R : Type u_2) →
  [inst : CommSemiring R] →
    (M : Type u_5) →
      (Nₗ : Type u_8) →
        [inst_1 : AddCommMonoid M] → [inst_2 : AddCommMonoid Nₗ] → [Module R M] → [Module R Nₗ] → Type (max u_8 u_5)

A shorthand for the type of R-bilinear Nₗ-valued maps on M.

abbrev LinearMap.BilinForm E3 #

(R : Type u_2) →
  [inst : CommSemiring R] → (M : Type u_5) → [inst_1 : AddCommMonoid M] → [Module R M] → Type (max u_2 u_5)

For convenience, a shorthand for the type of bilinear forms from M to R.

theorem LinearMap.lsmul_injective E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M]
  [Module.IsTorsionFree R M] {x : R}, x ≠ 0 → Function.Injective ⇑((LinearMap.lsmul R M) x)

theorem LinearMap.ker_lsmul E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [IsDomain R] [inst_2 : AddCommGroup M] [inst_3 : Module R M]
  [Module.IsTorsionFree R M] {a : R}, a ≠ 0 → ((LinearMap.lsmul R M) a).ker = ⊥

def LinearMap.restrictScalarsRange E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {M : Type u_3} →
      {P : Type u_4} →
        {M' : Type u_5} →
          {P' : Type u_6} →
            [inst : Semiring R] →
              [inst_1 : Semiring S] →
                [inst_2 : SMul S R] →
                  [inst_3 : AddCommMonoid M] →
                    [inst_4 : Module R M] →
                      [inst_5 : AddCommMonoid P] →
                        [inst_6 : Module R P] →
                          [inst_7 : Module S M] →
                            [inst_8 : Module S P] →
                              [IsScalarTower S R M] →
                                [IsScalarTower S R P] →
                                  [inst_11 : AddCommMonoid M'] →
                                    [inst_12 : Module S M'] →
                                      [inst_13 : AddCommMonoid P'] →
                                        [inst_14 : Module S P'] →
                                          (i : M' →ₗ[S] M) →
                                            (k : P' →ₗ[S] P) →
                                              Function.Injective ⇑k →
                                                (f : M →ₗ[R] P) → (∀ (m : M'), f (i m) ∈ k.range) → M' →ₗ[S] P'

Restrict the scalars and range of a linear map.

theorem LinearMap.restrictScalarsRange_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {M : Type u_3} {P : Type u_4} {M' : Type u_5} {P' : Type u_6} [inst : Semiring R]
  [inst_1 : Semiring S] [inst_2 : SMul S R] [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [inst_5 : AddCommMonoid P]
  [inst_6 : Module R P] [inst_7 : Module S M] [inst_8 : Module S P] [inst_9 : IsScalarTower S R M]
  [inst_10 : IsScalarTower S R P] [inst_11 : AddCommMonoid M'] [inst_12 : Module S M'] [inst_13 : AddCommMonoid P']
  [inst_14 : Module S P'] (i : M' →ₗ[S] M) (k : P' →ₗ[S] P) (hk : Function.Injective ⇑k) (f : M →ₗ[R] P)
  (hf : ∀ (m : M'), f (i m) ∈ k.range) (m : M'), k ((i.restrictScalarsRange k hk f hf) m) = f (i m)

theorem LinearMap.restrictScalarsRange_apply_eq_zero_iff E0 #

∀ {R : Type u_1} {S : Type u_2} {M : Type u_3} {P : Type u_4} {M' : Type u_5} {P' : Type u_6} [inst : Semiring R]
  [inst_1 : Semiring S] [inst_2 : SMul S R] [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [inst_5 : AddCommMonoid P]
  [inst_6 : Module R P] [inst_7 : Module S M] [inst_8 : Module S P] [inst_9 : IsScalarTower S R M]
  [inst_10 : IsScalarTower S R P] [inst_11 : AddCommMonoid M'] [inst_12 : Module S M'] [inst_13 : AddCommMonoid P']
  [inst_14 : Module S P'] (i : M' →ₗ[S] M) (k : P' →ₗ[S] P) (hk : Function.Injective ⇑k) (f : M →ₗ[R] P)
  (hf : ∀ (m : M'), f (i m) ∈ k.range) (m : M'), (i.restrictScalarsRange k hk f hf) m = 0 ↔ f (i m) = 0

def LinearMap.restrictScalarsRange₂ E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {M : Type u_3} →
      {N : Type u_4} →
        {P : Type u_5} →
          {M' : Type u_6} →
            {N' : Type u_7} →
              {P' : Type u_8} →
                [inst : CommSemiring R] →
                  [inst_1 : CommSemiring S] →
                    [inst_2 : SMul S R] →
                      [inst_3 : AddCommMonoid M] →
                        [inst_4 : Module R M] →
                          [inst_5 : AddCommMonoid N] →
                            [inst_6 : Module R N] →
                              [inst_7 : AddCommMonoid P] →
                                [inst_8 : Module R P] →
                                  [inst_9 : Module S M] →
                                    [inst_10 : Module S N] →
                                      [inst_11 : Module S P] →
                                        [IsScalarTower S R M] →
                                          [IsScalarTower S R N] →
                                            [IsScalarTower S R P] →
                                              [inst_15 : AddCommMonoid M'] →
                                                [inst_16 : Module S M'] →
                                                  [inst_17 : AddCommMonoid N'] →
                                                    [inst_18 : Module S N'] →
                                                      [inst_19 : AddCommMonoid P'] →
                                                        [inst_20 : Module S P'] →
                                                          [SMulCommClass R S P] →
                                                            (i : M' →ₗ[S] M) →
                                                              (j : N' →ₗ[S] N) →
                                                                (k : P' →ₗ[S] P) →
                                                                  Function.Injective ⇑k →
                                                                    (B : M →ₗ[R] N →ₗ[R] P) →
                                                                      (∀ (m : M') (n : N'), (B (i m)) (j n) ∈ k.range) →
                                                                        M' →ₗ[S] N' →ₗ[S] P'

Restrict the scalars, domains, and range of a bilinear map.

theorem LinearMap.restrictScalarsRange₂_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {M : Type u_3} {N : Type u_4} {P : Type u_5} {M' : Type u_6} {N' : Type u_7}
  {P' : Type u_8} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : SMul S R] [inst_3 : AddCommMonoid M]
  [inst_4 : Module R M] [inst_5 : AddCommMonoid N] [inst_6 : Module R N] [inst_7 : AddCommMonoid P]
  [inst_8 : Module R P] [inst_9 : Module S M] [inst_10 : Module S N] [inst_11 : Module S P]
  [inst_12 : IsScalarTower S R M] [inst_13 : IsScalarTower S R N] [inst_14 : IsScalarTower S R P]
  [inst_15 : AddCommMonoid M'] [inst_16 : Module S M'] [inst_17 : AddCommMonoid N'] [inst_18 : Module S N']
  [inst_19 : AddCommMonoid P'] [inst_20 : Module S P'] [inst_21 : SMulCommClass R S P] (i : M' →ₗ[S] M) (j : N' →ₗ[S] N)
  (k : P' →ₗ[S] P) (hk : Function.Injective ⇑k) (B : M →ₗ[R] N →ₗ[R] P)
  (hB : ∀ (m : M') (n : N'), (B (i m)) (j n) ∈ k.range) (m : M') (n : N'),
  k (((i.restrictScalarsRange₂ j k hk B hB) m) n) = (B (i m)) (j n)

theorem LinearMap.restrictScalarsRange₂_apply_eq_zero_iff E0 #

∀ {R : Type u_1} {S : Type u_2} {M : Type u_3} {N : Type u_4} {P : Type u_5} {M' : Type u_6} {N' : Type u_7}
  {P' : Type u_8} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : SMul S R] [inst_3 : AddCommMonoid M]
  [inst_4 : Module R M] [inst_5 : AddCommMonoid N] [inst_6 : Module R N] [inst_7 : AddCommMonoid P]
  [inst_8 : Module R P] [inst_9 : Module S M] [inst_10 : Module S N] [inst_11 : Module S P]
  [inst_12 : IsScalarTower S R M] [inst_13 : IsScalarTower S R N] [inst_14 : IsScalarTower S R P]
  [inst_15 : AddCommMonoid M'] [inst_16 : Module S M'] [inst_17 : AddCommMonoid N'] [inst_18 : Module S N']
  [inst_19 : AddCommMonoid P'] [inst_20 : Module S P'] [inst_21 : SMulCommClass R S P] (i : M' →ₗ[S] M) (j : N' →ₗ[S] N)
  (k : P' →ₗ[S] P) (hk : Function.Injective ⇑k) (B : M →ₗ[R] N →ₗ[R] P)
  (hB : ∀ (m : M') (n : N'), (B (i m)) (j n) ∈ k.range) (m : M') (n : N'),
  ((i.restrictScalarsRange₂ j k hk B hB) m) n = 0 ↔ (B (i m)) (j n) = 0

structure IsBilinearMap E1 #

(R : Type u_1) →
  [inst : CommSemiring R] →
    {E : Type u_2} →
      [inst_1 : AddCommMonoid E] →
        [Module R E] →
          {F : Type u_3} →
            [inst_3 : AddCommMonoid F] →
              [Module R F] → {G : Type u_4} → [inst_5 : AddCommMonoid G] → [Module R G] → (E → F → G) → Prop

Bundled statement of bilinearity for a function.

The bundled type E →ₗ[R] F →ₗ[R] G should be preferred in cases where that can be used. IsBilinearMap can be useful to have IsBilinearMap (myFunction ..) as a hypothesis to a declaration.

ctor IsBilinearMap.mk E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {E : Type u_2} [inst_1 : AddCommMonoid E] [inst_2 : Module R E] {F : Type u_3}
  [inst_3 : AddCommMonoid F] [inst_4 : Module R F] {G : Type u_4} [inst_5 : AddCommMonoid G] [inst_6 : Module R G]
  {f : E → F → G},
  (∀ (x₁ x₂ : E) (y : F), f (x₁ + x₂) y = f x₁ y + f x₂ y) →
    (∀ (c : R) (x : E) (y : F), f (c • x) y = c • f x y) →
      (∀ (x : E) (y₁ y₂ : F), f x (y₁ + y₂) = f x y₁ + f x y₂) →
        (∀ (c : R) (x : E) (y : F), f x (c • y) = c • f x y) → IsBilinearMap R f

theorem IsBilinearMap.add_left E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {E : Type u_2} [inst_1 : AddCommMonoid E] [inst_2 : Module R E] {F : Type u_3}
  [inst_3 : AddCommMonoid F] [inst_4 : Module R F] {G : Type u_4} [inst_5 : AddCommMonoid G] [inst_6 : Module R G]
  {f : E → F → G}, IsBilinearMap R f → ∀ (x₁ x₂ : E) (y : F), f (x₁ + x₂) y = f x₁ y + f x₂ y

theorem IsBilinearMap.smul_left E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {E : Type u_2} [inst_1 : AddCommMonoid E] [inst_2 : Module R E] {F : Type u_3}
  [inst_3 : AddCommMonoid F] [inst_4 : Module R F] {G : Type u_4} [inst_5 : AddCommMonoid G] [inst_6 : Module R G]
  {f : E → F → G}, IsBilinearMap R f → ∀ (c : R) (x : E) (y : F), f (c • x) y = c • f x y

theorem IsBilinearMap.add_right E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {E : Type u_2} [inst_1 : AddCommMonoid E] [inst_2 : Module R E] {F : Type u_3}
  [inst_3 : AddCommMonoid F] [inst_4 : Module R F] {G : Type u_4} [inst_5 : AddCommMonoid G] [inst_6 : Module R G]
  {f : E → F → G}, IsBilinearMap R f → ∀ (x : E) (y₁ y₂ : F), f x (y₁ + y₂) = f x y₁ + f x y₂

theorem IsBilinearMap.smul_right E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {E : Type u_2} [inst_1 : AddCommMonoid E] [inst_2 : Module R E] {F : Type u_3}
  [inst_3 : AddCommMonoid F] [inst_4 : Module R F] {G : Type u_4} [inst_5 : AddCommMonoid G] [inst_6 : Module R G]
  {f : E → F → G}, IsBilinearMap R f → ∀ (c : R) (x : E) (y : F), f x (c • y) = c • f x y

def IsBilinearMap.toLinearMap E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {E : Type u_2} →
      [inst_1 : AddCommMonoid E] →
        [inst_2 : Module R E] →
          {F : Type u_3} →
            [inst_3 : AddCommMonoid F] →
              [inst_4 : Module R F] →
                {G : Type u_4} →
                  [inst_5 : AddCommMonoid G] →
                    [inst_6 : Module R G] → {f : E → F → G} → IsBilinearMap R f → E →ₗ[R] F →ₗ[R] G

Make a bilinear map from a function and a bundled statement of bilinearity.

Deprecated aliases

NameNew nameSince
LinearMap.lsmul_eq_distribSMultoLinearMapLinearMap.lsmul_eq_distribSMulToLinearMap2026-09-17