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.RingTheory.TensorProduct.Maps

140 declarations and 1 deprecated aliases. Mathlib docs · Source

Maps between tensor products of R-algebras

This file provides results about maps between tensor products of R-algebras.

Main declarations

  • the structure isomorphisms
    • Algebra.TensorProduct.lid : R ⊗[R] A ≃ₐ[R] A
    • Algebra.TensorProduct.rid : A ⊗[R] R ≃ₐ[S] A (usually used with S = R or S = A)
    • Algebra.TensorProduct.comm : A ⊗[R] B ≃ₐ[R] B ⊗[R] A
    • Algebra.TensorProduct.assoc : ((A ⊗[S] C) ⊗[R] D) ≃ₐ[T] (A ⊗[S] (C ⊗[R] D))
  • Algebra.TensorProduct.liftEquiv: a universal property for the tensor product of algebras.

References

  • [C. Kassel, Quantum Groups (§II.4)][Kassel1995]

We build the structure maps for the symmetric monoidal category of R-algebras.

theorem Algebra.TensorProduct.lift.congr_simp E1 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra S C] [inst_11 : Algebra R C] [inst_12 : IsScalarTower R S C] (f f_1 : A →ₐ[S] C) (e_f : f = f_1)
  (g g_1 : B →ₐ[R] C) (e_g : g = g_1) (hfg : ∀ (x : A) (y : B), Commute (f x) (g y)),
  Algebra.TensorProduct.lift f g hfg = Algebra.TensorProduct.lift f_1 g_1 ⋯

theorem TensorProduct.AlgebraTensorModule.tensorTensorTensorComm.congr_simp E1 #

∀ (R : Type uR) (S : Type uS) (A : Type uA) (B : Type uB) (M : Type uM) (N : Type uN) (P : Type uP) (Q : Type uQ)
  [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Semiring B] [inst_3 : Algebra R A] [inst_4 : Algebra R B]
  [inst_5 : AddCommMonoid M] [inst_6 : Module R M] [inst_7 : Module A M] [inst_8 : Module B M]
  [inst_9 : IsScalarTower R A M] [inst_10 : IsScalarTower R B M] [inst_11 : AddCommMonoid N] [inst_12 : Module R N]
  [inst_13 : AddCommMonoid P] [inst_14 : Module A P] [inst_15 : AddCommMonoid Q] [inst_16 : Module R Q]
  [inst_17 : Module R P] [inst_18 : IsScalarTower R A P] [inst_19 : Algebra A B] [inst_20 : IsScalarTower A B M]
  [inst_21 : CommSemiring S] [inst_22 : Algebra R S] [inst_23 : Algebra S B] [inst_24 : Module S M]
  [inst_25 : Module S N] [inst_26 : IsScalarTower R S M] [inst_27 : SMulCommClass A S M] [inst_28 : SMulCommClass S A M]
  [inst_29 : IsScalarTower S B M] [inst_30 : IsScalarTower R S N],
  TensorProduct.AlgebraTensorModule.tensorTensorTensorComm R S A B M N P Q =
    TensorProduct.AlgebraTensorModule.tensorTensorTensorComm R S A B M N P Q

theorem LinearMap.compl₂.congr_simp 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₅}
  (h h_1 : M →ₛₗ[σ₁₅] N →ₛₗ[σ₂₃] P), h = h_1 → ∀ (g g_1 : Q →ₛₗ[σ₄₂] N), g = g_1 → h.compl₂ g = h_1.compl₂ g_1

theorem Algebra.TensorProduct.mapRingHom.congr_simp E1 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {R' : Type u_6} {S' : Type u_7} {T' : Type u_8} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring T] [inst_3 : Algebra R S] [inst_4 : Algebra R T]
  [inst_5 : CommSemiring R'] [inst_6 : CommSemiring S'] [inst_7 : CommSemiring T'] [inst_8 : Algebra R' S']
  [inst_9 : Algebra R' T'] (fR fR_1 : R →+* R') (e_fR : fR = fR_1) (fS fS_1 : S →+* S') (e_fS : fS = fS_1)
  (fT fT_1 : T →+* T') (e_fT : fT = fT_1) (HS : fS.comp (algebraMap R S) = (algebraMap R' S').comp fR)
  (HT : fT.comp (algebraMap R T) = (algebraMap R' T').comp fR),
  Algebra.TensorProduct.mapRingHom fR fS fT HS HT = Algebra.TensorProduct.mapRingHom fR_1 fS_1 fT_1 ⋯ ⋯

def Module.End.lTensorAlgHom E1 #

(R : Type u_1) →
  (M : Type u_2) →
    (N : Type u_3) →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → Module.End R M →ₐ[R] Module.End R (TensorProduct R N M)

The map LinearMap.lTensorHom which sends f ↦ 1 ⊗ f as a morphism of algebras.

theorem Module.End.lTensorAlgHom_apply_apply E0 #

∀ (R : Type u_1) (M : Type u_2) (N : Type u_3) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (a : Module.End R M) (a_1 : TensorProduct R N M),
  ((Module.End.lTensorAlgHom R M N) a) a_1 = (TensorProduct.liftAux ((TensorProduct.mk R N M).compl₂ a)) a_1

def Module.End.rTensorAlgHom E1 #

(R : Type u_1) →
  (M : Type u_2) →
    (N : Type u_3) →
      [inst : CommSemiring R] →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → Module.End R M →ₐ[R] Module.End R (TensorProduct R M N)

The map LinearMap.rTensorHom which sends f ↦ f ⊗ 1 as a morphism of algebras.

theorem Module.End.rTensorAlgHom_apply_apply E0 #

∀ (R : Type u_1) (M : Type u_2) (N : Type u_3) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (a : Module.End R M) (a_1 : TensorProduct R M N),
  ((Module.End.rTensorAlgHom R M N) a) a_1 = (TensorProduct.liftAux (TensorProduct.mk R M N ∘ₗ a)) a_1

theorem LinearMap.map_mul_of_map_mul_tmul E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra S C] {f : TensorProduct R A B →ₗ[S] C},
  (∀ (a₁ a₂ : A) (b₁ b₂ : B), f ((a₁ * a₂) ⊗ₜ[R] (b₁ * b₂)) = f (a₁ ⊗ₜ[R] b₁) * f (a₂ ⊗ₜ[R] b₂)) →
    ∀ (x y : TensorProduct R A B), f (x * y) = f x * f y

To check a linear map preserves multiplication, it suffices to check it on pure tensors. See algHomOfLinearMapTensorProduct for a bundled version.

def Algebra.TensorProduct.algHomOfLinearMapTensorProduct E1 #

{R : Type uR} →
  {S : Type uS} →
    {A : Type uA} →
      {B : Type uB} →
        {C : Type uC} →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : Algebra R S] →
                [inst_3 : Semiring A] →
                  [inst_4 : Algebra R A] →
                    [inst_5 : Algebra S A] →
                      [inst_6 : IsScalarTower R S A] →
                        [inst_7 : Semiring B] →
                          [inst_8 : Algebra R B] →
                            [inst_9 : Semiring C] →
                              [inst_10 : Algebra S C] →
                                (f : TensorProduct R A B →ₗ[S] C) →
                                  (∀ (a₁ a₂ : A) (b₁ b₂ : B),
                                      f ((a₁ * a₂) ⊗ₜ[R] (b₁ * b₂)) = f (a₁ ⊗ₜ[R] b₁) * f (a₂ ⊗ₜ[R] b₂)) →
                                    f (1 ⊗ₜ[R] 1) = 1 → TensorProduct R A B →ₐ[S] C

Build an algebra morphism from a linear map out of a tensor product, and evidence that on pure tensors, it preserves multiplication and the identity.

Note that we state h_one using 1 ⊗ₜ[R] 1 instead of 1 so that lemmas about f applied to pure tensors can be directly applied by the caller (without needing TensorProduct.one_def).

theorem Algebra.TensorProduct.algHomOfLinearMapTensorProduct_apply E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra S C] (f : TensorProduct R A B →ₗ[S] C)
  (h_mul : ∀ (a₁ a₂ : A) (b₁ b₂ : B), f ((a₁ * a₂) ⊗ₜ[R] (b₁ * b₂)) = f (a₁ ⊗ₜ[R] b₁) * f (a₂ ⊗ₜ[R] b₂))
  (h_one : f (1 ⊗ₜ[R] 1) = 1) (x : TensorProduct R A B),
  (Algebra.TensorProduct.algHomOfLinearMapTensorProduct f h_mul h_one) x = f x

def Algebra.TensorProduct.algEquivOfLinearEquivTensorProduct E1 #

{R : Type uR} →
  {S : Type uS} →
    {A : Type uA} →
      {B : Type uB} →
        {C : Type uC} →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : Algebra R S] →
                [inst_3 : Semiring A] →
                  [inst_4 : Algebra R A] →
                    [inst_5 : Algebra S A] →
                      [inst_6 : IsScalarTower R S A] →
                        [inst_7 : Semiring B] →
                          [inst_8 : Algebra R B] →
                            [inst_9 : Semiring C] →
                              [inst_10 : Algebra S C] →
                                (f : TensorProduct R A B ≃ₗ[S] C) →
                                  (∀ (a₁ a₂ : A) (b₁ b₂ : B),
                                      f ((a₁ * a₂) ⊗ₜ[R] (b₁ * b₂)) = f (a₁ ⊗ₜ[R] b₁) * f (a₂ ⊗ₜ[R] b₂)) →
                                    f (1 ⊗ₜ[R] 1) = 1 → TensorProduct R A B ≃ₐ[S] C

Build an algebra equivalence from a linear equivalence out of a tensor product, and evidence that on pure tensors, it preserves multiplication and the identity.

Note that we state h_one using 1 ⊗ₜ[R] 1 instead of 1 so that lemmas about f applied to pure tensors can be directly applied by the caller (without needing TensorProduct.one_def).

theorem Algebra.TensorProduct.algEquivOfLinearEquivTensorProduct_apply E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra S C] (f : TensorProduct R A B ≃ₗ[S] C)
  (h_mul : ∀ (a₁ a₂ : A) (b₁ b₂ : B), f ((a₁ * a₂) ⊗ₜ[R] (b₁ * b₂)) = f (a₁ ⊗ₜ[R] b₁) * f (a₂ ⊗ₜ[R] b₂))
  (h_one : f (1 ⊗ₜ[R] 1) = 1) (x : TensorProduct R A B),
  (Algebra.TensorProduct.algEquivOfLinearEquivTensorProduct f h_mul h_one) x = f x

def Algebra.TensorProduct.algEquivOfLinearEquivTripleTensorProduct E1 #

{R : Type uR} →
  {A : Type uA} →
    {B : Type uB} →
      {C : Type uC} →
        {D : Type uD} →
          [inst : CommSemiring R] →
            [inst_1 : Semiring A] →
              [inst_2 : Algebra R A] →
                [inst_3 : Semiring B] →
                  [inst_4 : Algebra R B] →
                    [inst_5 : Semiring C] →
                      [inst_6 : Semiring D] →
                        [inst_7 : Algebra R D] →
                          [inst_8 : Algebra R C] →
                            (f : TensorProduct R (TensorProduct R A B) C ≃ₗ[R] D) →
                              (∀ (a₁ a₂ : A) (b₁ b₂ : B) (c₁ c₂ : C),
                                  f ((a₁ * a₂) ⊗ₜ[R] (b₁ * b₂) ⊗ₜ[R] (c₁ * c₂)) =
                                    f (a₁ ⊗ₜ[R] b₁ ⊗ₜ[R] c₁) * f (a₂ ⊗ₜ[R] b₂ ⊗ₜ[R] c₂)) →
                                TensorProduct R (TensorProduct R A B) C ≃ₐ[R] D

Build an algebra equivalence from a linear equivalence out of a triple tensor product, and evidence of multiplicativity on pure tensors.

theorem Algebra.TensorProduct.algEquivOfLinearEquivTripleTensorProduct_apply E0 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Semiring D]
  [inst_7 : Algebra R D] [inst_8 : Algebra R C] (f : TensorProduct R (TensorProduct R A B) C ≃ₗ[R] D)
  (h_mul :
    ∀ (a₁ a₂ : A) (b₁ b₂ : B) (c₁ c₂ : C),
      f ((a₁ * a₂) ⊗ₜ[R] (b₁ * b₂) ⊗ₜ[R] (c₁ * c₂)) = f (a₁ ⊗ₜ[R] b₁ ⊗ₜ[R] c₁) * f (a₂ ⊗ₜ[R] b₂ ⊗ₜ[R] c₂))
  (x : TensorProduct R (TensorProduct R A B) C),
  (Algebra.TensorProduct.algEquivOfLinearEquivTripleTensorProduct f h_mul) x = f x

def Algebra.TensorProduct.lift E1 #

{R : Type uR} →
  {S : Type uS} →
    {A : Type uA} →
      {B : Type uB} →
        {C : Type uC} →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : Algebra R S] →
                [inst_3 : Semiring A] →
                  [inst_4 : Algebra R A] →
                    [inst_5 : Algebra S A] →
                      [inst_6 : IsScalarTower R S A] →
                        [inst_7 : Semiring B] →
                          [inst_8 : Algebra R B] →
                            [inst_9 : Semiring C] →
                              [inst_10 : Algebra S C] →
                                [inst_11 : Algebra R C] →
                                  [IsScalarTower R S C] →
                                    (f : A →ₐ[S] C) →
                                      (g : B →ₐ[R] C) →
                                        (∀ (x : A) (y : B), Commute (f x) (g y)) → TensorProduct R A B →ₐ[S] C

The forward direction of the universal property of tensor products of algebras; any algebra morphism from the tensor product can be factored as the product of two algebra morphisms that commute.

See Algebra.TensorProduct.liftEquiv for the fact that every morphism factors this way.

theorem Algebra.TensorProduct.lift_tmul E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra S C] [inst_11 : Algebra R C] [inst_12 : IsScalarTower R S C] (f : A →ₐ[S] C) (g : B →ₐ[R] C)
  (hfg : ∀ (x : A) (y : B), Commute (f x) (g y)) (a : A) (b : B),
  (Algebra.TensorProduct.lift f g hfg) (a ⊗ₜ[R] b) = f a * g b

theorem Algebra.TensorProduct.lift_includeLeft_includeRight E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B],
  Algebra.TensorProduct.lift Algebra.TensorProduct.includeLeft Algebra.TensorProduct.includeRight ⋯ =
    AlgHom.id S (TensorProduct R A B)

theorem Algebra.TensorProduct.lift_comp_includeLeft E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra S C] [inst_11 : Algebra R C] [inst_12 : IsScalarTower R S C] (f : A →ₐ[S] C) (g : B →ₐ[R] C)
  (hfg : ∀ (x : A) (y : B), Commute (f x) (g y)),
  (Algebra.TensorProduct.lift f g hfg).comp Algebra.TensorProduct.includeLeft = f

theorem Algebra.TensorProduct.lift_comp_includeRight E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra S C] [inst_11 : Algebra R C] [inst_12 : IsScalarTower R S C] (f : A →ₐ[S] C) (g : B →ₐ[R] C)
  (hfg : ∀ (x : A) (y : B), Commute (f x) (g y)),
  (AlgHom.restrictScalars R (Algebra.TensorProduct.lift f g hfg)).comp Algebra.TensorProduct.includeRight = g

theorem Algebra.TensorProduct.lift_comp_includeRight' E0 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
  (f : A →ₐ[R] C) (g : B →ₐ[R] C) (hfg : ∀ (x : A) (y : B), Commute (f x) (g y)),
  (Algebra.TensorProduct.lift f g hfg).comp Algebra.TensorProduct.includeRight = g

Variant with the same base that doesn't need restrictScalars.

def Algebra.TensorProduct.liftEquiv E3 #

{R : Type uR} →
  {S : Type uS} →
    {A : Type uA} →
      {B : Type uB} →
        {C : Type uC} →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : Algebra R S] →
                [inst_3 : Semiring A] →
                  [inst_4 : Algebra R A] →
                    [inst_5 : Algebra S A] →
                      [inst_6 : IsScalarTower R S A] →
                        [inst_7 : Semiring B] →
                          [inst_8 : Algebra R B] →
                            [inst_9 : Semiring C] →
                              [inst_10 : Algebra S C] →
                                [inst_11 : Algebra R C] →
                                  [IsScalarTower R S C] →
                                    { fg // ∀ (x : A) (y : B), Commute (fg.1 x) (fg.2 y) } ≃
                                      (TensorProduct R A B →ₐ[S] C)

The universal property of the tensor product of algebras.

Pairs of algebra morphisms that commute are equivalent to algebra morphisms from the tensor product.

This is Algebra.TensorProduct.lift as an equivalence.

See also GradedTensorProduct.liftEquiv for an alternative commutativity requirement for graded algebra.

theorem Algebra.TensorProduct.liftEquiv_apply E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra S C] [inst_11 : Algebra R C] [inst_12 : IsScalarTower R S C]
  (fg : { fg // ∀ (x : A) (y : B), Commute (fg.1 x) (fg.2 y) }),
  Algebra.TensorProduct.liftEquiv fg = Algebra.TensorProduct.lift (↑fg).1 (↑fg).2 ⋯

theorem Algebra.TensorProduct.liftEquiv_symm_apply_coe E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra S C] [inst_11 : Algebra R C] [inst_12 : IsScalarTower R S C] (f' : TensorProduct R A B →ₐ[S] C),
  ↑(Algebra.TensorProduct.liftEquiv.symm f') =
    (f'.comp Algebra.TensorProduct.includeLeft, (AlgHom.restrictScalars R f').comp Algebra.TensorProduct.includeRight)

def Algebra.TensorProduct.liftEquivRight E1 #

(R : Type uR) →
  (S : Type uS) →
    (B : Type uB) →
      [inst : CommSemiring R] →
        [inst_1 : CommSemiring S] →
          [inst_2 : Algebra R S] →
            [inst_3 : Semiring B] →
              [inst_4 : Algebra R B] →
                (C : Type u_3) →
                  [inst_5 : CommRing C] →
                    [inst_6 : Algebra R C] →
                      [inst_7 : Algebra S C] → [IsScalarTower R S C] → (B →ₐ[R] C) ≃ (TensorProduct R S B →ₐ[S] C)

Algebra maps S ⊗[R] B →ₐ[S] C are the same as algebra maps B →ₐ[R] C. Variant of Algebra.TensorProduct.liftEquiv where the left map is fixed.

theorem Algebra.TensorProduct.liftEquivRight_symm_apply E0 #

∀ (R : Type uR) (S : Type uS) (B : Type uB) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : Semiring B] [inst_4 : Algebra R B] (C : Type u_3) [inst_5 : CommRing C] [inst_6 : Algebra R C]
  [inst_7 : Algebra S C] [inst_8 : IsScalarTower R S C] (f : TensorProduct R S B →ₐ[S] C),
  (Algebra.TensorProduct.liftEquivRight R S B C).symm f =
    (AlgHom.restrictScalars R f).comp Algebra.TensorProduct.includeRight

theorem Algebra.TensorProduct.liftEquivRight_apply E0 #

∀ (R : Type uR) (S : Type uS) (B : Type uB) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : Semiring B] [inst_4 : Algebra R B] (C : Type u_3) [inst_5 : CommRing C] [inst_6 : Algebra R C]
  [inst_7 : Algebra S C] [inst_8 : IsScalarTower R S C] (f : B →ₐ[R] C),
  (Algebra.TensorProduct.liftEquivRight R S B C) f = Algebra.TensorProduct.lift (Algebra.ofId S C) f ⋯

theorem Algebra.TensorProduct.restrictScalars_lift E1 #

∀ {R : Type uR} {R' : Type u_1} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra S C] [inst_11 : Algebra R C] [inst_12 : IsScalarTower R S C] [inst_13 : CommSemiring R']
  [inst_14 : Algebra R R'] [inst_15 : Algebra R' S] [inst_16 : Algebra R' A] [inst_17 : IsScalarTower R R' A]
  [inst_18 : IsScalarTower R' S A] [inst_19 : Algebra R' C] [inst_20 : IsScalarTower R R' C]
  [inst_21 : IsScalarTower R' S C] (f : A →ₐ[S] C) (g : B →ₐ[R] C) (hfg : ∀ (x : A) (y : B), Commute (f x) (g y)),
  AlgHom.restrictScalars R' (Algebra.TensorProduct.lift f g hfg) =
    Algebra.TensorProduct.lift (AlgHom.restrictScalars R' f) g hfg

def Algebra.TensorProduct.lid E1 #

(R : Type uR) →
  (A : Type uA) → [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → TensorProduct R R A ≃ₐ[R] A

The base ring is a left identity for the tensor product of algebra, up to algebra isomorphism.

theorem Algebra.TensorProduct.lid_toLinearEquiv E0 #

∀ (R : Type uR) (A : Type uA) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
  ↑(Algebra.TensorProduct.lid R A) = TensorProduct.lid R A

theorem Algebra.TensorProduct.lid_tmul E0 #

∀ {R : Type uR} {A : Type uA} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (r : R) (a : A),
  (Algebra.TensorProduct.lid R A) (r ⊗ₜ[R] a) = r • a

theorem Algebra.TensorProduct.lid_symm_apply E0 #

∀ (R : Type uR) {A : Type uA} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (a : A),
  (Algebra.TensorProduct.lid R A).symm a = 1 ⊗ₜ[R] a

def Algebra.TensorProduct.rid E1 #

(R : Type uR) →
  (S : Type uS) →
    (A : Type uA) →
      [inst : CommSemiring R] →
        [inst_1 : CommSemiring S] →
          [inst_2 : Algebra R S] →
            [inst_3 : Semiring A] →
              [inst_4 : Algebra R A] →
                [inst_5 : Algebra S A] → [inst_6 : IsScalarTower R S A] → TensorProduct R A R ≃ₐ[S] A

The base ring is a right identity for the tensor product of algebra, up to algebra isomorphism.

Note that if A is commutative this can be instantiated with S = A.

theorem Algebra.TensorProduct.rid_toLinearEquiv E0 #

∀ (R : Type uR) (S : Type uS) (A : Type uA) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A] [inst_6 : IsScalarTower R S A],
  ↑(Algebra.TensorProduct.rid R S A) = TensorProduct.AlgebraTensorModule.rid R S A

theorem Algebra.TensorProduct.rid_tmul E0 #

∀ {R : Type uR} (S : Type uS) {A : Type uA} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A] [inst_6 : IsScalarTower R S A] (r : R) (a : A),
  (Algebra.TensorProduct.rid R S A) (a ⊗ₜ[R] r) = r • a

theorem Algebra.TensorProduct.rid_symm_apply E0 #

∀ (R : Type uR) (S : Type uS) {A : Type uA} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A] [inst_6 : IsScalarTower R S A] (a : A),
  (Algebra.TensorProduct.rid R S A).symm a = a ⊗ₜ[R] 1

theorem Algebra.TensorProduct.linearMap_comp_rid E1 #

∀ (R : Type uR) (S : Type uS) {B : Type uB} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : Semiring B] [inst_4 : Algebra R B],
  ↑R (Algebra.linearMap S (TensorProduct R S B)) ∘ₗ (Algebra.TensorProduct.rid R R S).toLinearMap =
    LinearMap.lTensor S (Algebra.linearMap R B)

theorem Algebra.TensorProduct.rid_comp_includeLeftRingHom E0 #

∀ (R : Type uR) (S : Type uS) (A : Type uA) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A] [inst_6 : IsScalarTower R S A],
  (↑(Algebra.TensorProduct.rid R S A)).comp Algebra.TensorProduct.includeLeftRingHom = RingHom.id A

theorem Algebra.TensorProduct.tmul_one_tmul_one_tmul E1 #

∀ (R : Type u_3) (A : Type u_4) (B : Type u_5) (C : Type u_6) [inst : CommSemiring R] [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
  (x : A) (y : C), x ⊗ₜ[R] 1 ⊗ₜ[A] (1 ⊗ₜ[R] y) = 1 ⊗ₜ[A] (x ⊗ₜ[R] y)

def Algebra.TensorProduct.mapOfCompatibleSMul E1 #

(R : Type u_3) →
  (S : Type u_4) →
    (T : Type u_5) →
      (A : Type u_6) →
        (B : Type u_7) →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : CommSemiring T] →
                [inst_3 : Semiring A] →
                  [inst_4 : Semiring B] →
                    [inst_5 : Algebra R A] →
                      [inst_6 : Algebra R B] →
                        [inst_7 : Algebra S A] →
                          [inst_8 : Algebra S B] →
                            [inst_9 : Algebra T A] →
                              [inst_10 : SMulCommClass R T A] →
                                [inst_11 : SMulCommClass S T A] →
                                  [SMulCommClass R S A] →
                                    [TensorProduct.CompatibleSMul R S A B] →
                                      TensorProduct S A B →ₐ[T] TensorProduct R A B

If A and B are both R- and S-algebras and their actions on them commute, and if the S-action on A ⊗[R] B can switch between the two factors, then there is a canonical T-algebra homomorphism from A ⊗[S] B to A ⊗[R] B, where T is any other ring acting on A and whose action commutes with the R and S-actions.

theorem Algebra.TensorProduct.mapOfCompatibleSMul_tmul E0 #

∀ (R : Type u_3) (S : Type u_4) (T : Type u_5) (A : Type u_6) (B : Type u_7) [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring T] [inst_3 : Semiring A] [inst_4 : Semiring B] [inst_5 : Algebra R A]
  [inst_6 : Algebra R B] [inst_7 : Algebra S A] [inst_8 : Algebra S B] [inst_9 : Algebra T A]
  [inst_10 : SMulCommClass R T A] [inst_11 : SMulCommClass S T A] [inst_12 : SMulCommClass R S A]
  [inst_13 : TensorProduct.CompatibleSMul R S A B] (m : A) (n : B),
  (Algebra.TensorProduct.mapOfCompatibleSMul R S T A B) (m ⊗ₜ[S] n) = m ⊗ₜ[R] n

theorem Algebra.TensorProduct.mapOfCompatibleSMul_surjective E1 #

∀ (R : Type u_3) (S : Type u_4) (T : Type u_5) (A : Type u_6) (B : Type u_7) [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring T] [inst_3 : Semiring A] [inst_4 : Semiring B] [inst_5 : Algebra R A]
  [inst_6 : Algebra R B] [inst_7 : Algebra S A] [inst_8 : Algebra S B] [inst_9 : Algebra T A]
  [inst_10 : SMulCommClass R T A] [inst_11 : SMulCommClass S T A] [inst_12 : SMulCommClass R S A]
  [inst_13 : TensorProduct.CompatibleSMul R S A B],
  Function.Surjective ⇑(Algebra.TensorProduct.mapOfCompatibleSMul R S T A B)

def Algebra.TensorProduct.equivOfCompatibleSMul E1 #

(R : Type u_3) →
  (S : Type u_4) →
    (T : Type u_5) →
      (A : Type u_6) →
        (B : Type u_7) →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : CommSemiring T] →
                [inst_3 : Semiring A] →
                  [inst_4 : Semiring B] →
                    [inst_5 : Algebra R A] →
                      [inst_6 : Algebra R B] →
                        [inst_7 : Algebra S A] →
                          [inst_8 : Algebra S B] →
                            [inst_9 : Algebra T A] →
                              [inst_10 : SMulCommClass R T A] →
                                [inst_11 : SMulCommClass S T A] →
                                  [SMulCommClass R S A] →
                                    [TensorProduct.CompatibleSMul R S A B] →
                                      [TensorProduct.CompatibleSMul S R A B] →
                                        TensorProduct S A B ≃ₐ[T] TensorProduct R A B

If the R- and S-actions on A and B satisfy CompatibleSMul both ways, then A ⊗[S] B is canonically isomorphic to A ⊗[R] B.

def Algebra.TensorProduct.lidOfCompatibleSMul E1 #

(R : Type u_3) →
  (S : Type u_4) →
    (A : Type u_6) →
      [inst : CommSemiring R] →
        [inst_1 : CommSemiring S] →
          [inst_2 : Semiring A] →
            [inst_3 : Algebra R A] →
              [inst_4 : Algebra S A] →
                [inst_5 : Algebra R S] →
                  [TensorProduct.CompatibleSMul R S S A] →
                    [TensorProduct.CompatibleSMul S R S A] → TensorProduct R S A ≃ₐ[S] A

If the R- and S- action on S and A satisfy CompatibleSMul both ways, then S ⊗[R] A is canonically isomorphic to A.

theorem Algebra.TensorProduct.lidOfCompatibleSMul_tmul E1 #

∀ (R : Type u_3) (S : Type u_4) (A : Type u_6) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Semiring A]
  [inst_3 : Algebra R A] [inst_4 : Algebra S A] [inst_5 : Algebra R S] [inst_6 : TensorProduct.CompatibleSMul R S S A]
  [inst_7 : TensorProduct.CompatibleSMul S R S A] (s : S) (a : A),
  (Algebra.TensorProduct.lidOfCompatibleSMul R S A) (s ⊗ₜ[R] a) = s • a

instance Algebra.TensorProduct.instCompatibleSMulRat E0 #

∀ {R : Type u_8} {M : Type u_9} {N : Type u_10} [inst : CommSemiring R] [inst_1 : AddCommGroup M]
  [inst_2 : AddCommGroup N] [inst_3 : Module R M] [inst_4 : Module R N] [inst_5 : Module ℚ M] [inst_6 : Module ℚ N],
  TensorProduct.CompatibleSMul R ℚ M N

def Algebra.TensorProduct.comm E1 #

(R : Type uR) →
  (A : Type uA) →
    (B : Type uB) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Semiring B] → [inst_4 : Algebra R B] → TensorProduct R A B ≃ₐ[R] TensorProduct R B A

The tensor product of R-algebras is commutative, up to algebra isomorphism.

theorem Algebra.TensorProduct.comm_toLinearEquiv E0 #

∀ (R : Type uR) (A : Type uA) (B : Type uB) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B], ↑(Algebra.TensorProduct.comm R A B) = TensorProduct.comm R A B

theorem Algebra.TensorProduct.comm_tmul E0 #

∀ (R : Type uR) {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B] (a : A) (b : B),
  (Algebra.TensorProduct.comm R A B) (a ⊗ₜ[R] b) = b ⊗ₜ[R] a

theorem Algebra.TensorProduct.comm_symm_tmul E0 #

∀ (R : Type uR) {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B] (a : A) (b : B),
  (Algebra.TensorProduct.comm R A B).symm (b ⊗ₜ[R] a) = a ⊗ₜ[R] b

theorem Algebra.TensorProduct.comm_symm E1 #

∀ (R : Type uR) (A : Type uA) (B : Type uB) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B],
  (Algebra.TensorProduct.comm R A B).symm = Algebra.TensorProduct.comm R B A

theorem Algebra.TensorProduct.comm_comp_includeLeft E0 #

∀ (R : Type uR) (A : Type uA) (B : Type uB) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B],
  (↑(Algebra.TensorProduct.comm R A B)).comp Algebra.TensorProduct.includeLeft = Algebra.TensorProduct.includeRight

theorem Algebra.TensorProduct.comm_comp_includeRight E0 #

∀ (R : Type uR) (A : Type uA) (B : Type uB) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B],
  (↑(Algebra.TensorProduct.comm R A B)).comp Algebra.TensorProduct.includeRight = Algebra.TensorProduct.includeLeft

theorem Algebra.TensorProduct.adjoin_tmul_eq_top E1 #

∀ (R : Type uR) (A : Type uA) (B : Type uB) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B], Algebra.adjoin R {t | ∃ a b, a ⊗ₜ[R] b = t} = ⊤

def Algebra.TensorProduct.commRight E1 #

(R : Type uR) →
  (S : Type uS) →
    (A : Type uA) →
      [inst : CommSemiring R] →
        [inst_1 : CommSemiring S] →
          [inst_2 : Algebra R S] →
            [inst_3 : Semiring A] → [inst_4 : Algebra R A] → TensorProduct R S A ≃ₐ[S] TensorProduct R A S

S-linear version of Algebra.TensorProduct.comm when A ⊗[R] S is viewed as an S-algebra via the right component.

theorem Algebra.TensorProduct.commRight_tmul E0 #

∀ (R : Type uR) {S : Type uS} {A : Type uA} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] (s : S) (a : A),
  (Algebra.TensorProduct.commRight R S A) (s ⊗ₜ[R] a) = a ⊗ₜ[R] s

theorem Algebra.TensorProduct.commRight_symm_tmul E0 #

∀ (R : Type uR) (S : Type uS) (A : Type uA) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : Semiring A] [inst_4 : Algebra R A] (s : S) (a : A),
  (Algebra.TensorProduct.commRight R S A).symm (a ⊗ₜ[R] s) = s ⊗ₜ[R] a

def Algebra.TensorProduct.assoc E1 #

(R : Type uR) →
  (S : Type uS) →
    (T : Type u_2) →
      (A : Type uA) →
        (C : Type uC) →
          (D : Type uD) →
            [inst : CommSemiring R] →
              [inst_1 : CommSemiring S] →
                [inst_2 : Algebra R S] →
                  [inst_3 : Semiring A] →
                    [inst_4 : Algebra R A] →
                      [inst_5 : Algebra S A] →
                        [inst_6 : IsScalarTower R S A] →
                          [inst_7 : Semiring C] →
                            [inst_8 : Algebra R C] →
                              [inst_9 : Algebra S C] →
                                [inst_10 : IsScalarTower R S C] →
                                  [inst_11 : Semiring D] →
                                    [inst_12 : Algebra R D] →
                                      [inst_13 : CommSemiring T] →
                                        [inst_14 : Algebra R T] →
                                          [inst_15 : Algebra S T] →
                                            [inst_16 : Algebra T A] →
                                              [inst_17 : IsScalarTower R T A] →
                                                [inst_18 : IsScalarTower S T A] →
                                                  TensorProduct R (TensorProduct S A C) D ≃ₐ[T]
                                                    TensorProduct S A (TensorProduct R C D)

The associator for tensor product of R-algebras, as an algebra isomorphism.

theorem Algebra.TensorProduct.assoc_toLinearEquiv E0 #

∀ (R : Type uR) (S : Type uS) (T : Type u_2) (A : Type uA) (C : Type uC) (D : Type uD) [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Algebra S C]
  [inst_10 : IsScalarTower R S C] [inst_11 : Semiring D] [inst_12 : Algebra R D] [inst_13 : CommSemiring T]
  [inst_14 : Algebra R T] [inst_15 : Algebra S T] [inst_16 : Algebra T A] [inst_17 : IsScalarTower R T A]
  [inst_18 : IsScalarTower S T A],
  ↑(Algebra.TensorProduct.assoc R S T A C D) = TensorProduct.AlgebraTensorModule.assoc R S T A C D

theorem Algebra.TensorProduct.assoc_tmul E0 #

∀ (R : Type uR) (S : Type uS) {T : Type u_2} (A : Type uA) {C : Type uC} {D : Type uD} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Algebra S C]
  [inst_10 : IsScalarTower R S C] [inst_11 : Semiring D] [inst_12 : Algebra R D] [inst_13 : CommSemiring T]
  [inst_14 : Algebra R T] [inst_15 : Algebra S T] [inst_16 : Algebra T A] [inst_17 : IsScalarTower R T A]
  [inst_18 : IsScalarTower S T A] (a : A) (b : C) (c : D),
  (Algebra.TensorProduct.assoc R S T A C D) (a ⊗ₜ[S] b ⊗ₜ[R] c) = a ⊗ₜ[S] (b ⊗ₜ[R] c)

theorem Algebra.TensorProduct.assoc_symm_tmul E0 #

∀ (R : Type uR) (S : Type uS) {T : Type u_2} (A : Type uA) {C : Type uC} {D : Type uD} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Algebra S C]
  [inst_10 : IsScalarTower R S C] [inst_11 : Semiring D] [inst_12 : Algebra R D] [inst_13 : CommSemiring T]
  [inst_14 : Algebra R T] [inst_15 : Algebra S T] [inst_16 : Algebra T A] [inst_17 : IsScalarTower R T A]
  [inst_18 : IsScalarTower S T A] (a : A) (b : C) (c : D),
  (Algebra.TensorProduct.assoc R S T A C D).symm (a ⊗ₜ[S] (b ⊗ₜ[R] c)) = a ⊗ₜ[S] b ⊗ₜ[R] c

def Algebra.TensorProduct.cancelBaseChange E1 #

(R : Type uR) →
  (S : Type uS) →
    [inst : CommSemiring R] →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          (T : Type u_3) →
            (A : Type u_4) →
              (B : Type u_5) →
                [inst_3 : CommSemiring T] →
                  [inst_4 : CommSemiring A] →
                    [inst_5 : CommSemiring B] →
                      [inst_6 : Algebra R T] →
                        [inst_7 : Algebra R A] →
                          [inst_8 : Algebra R B] →
                            [inst_9 : Algebra T A] →
                              [inst_10 : IsScalarTower R T A] →
                                [inst_11 : Algebra S A] →
                                  [IsScalarTower R S A] →
                                    [inst_13 : Algebra S T] →
                                      [inst_14 : IsScalarTower S T A] →
                                        TensorProduct S A (TensorProduct R S B) ≃ₐ[T] TensorProduct R A B

The natural isomorphism A ⊗[S] (S ⊗[R] B) ≃ₐ[T] A ⊗[R] B.

theorem Algebra.TensorProduct.cancelBaseChange_tmul E0 #

∀ (R : Type uR) (S : Type uS) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (T : Type u_3)
  (A : Type u_4) (B : Type u_5) [inst_3 : CommSemiring T] [inst_4 : CommSemiring A] [inst_5 : CommSemiring B]
  [inst_6 : Algebra R T] [inst_7 : Algebra R A] [inst_8 : Algebra R B] [inst_9 : Algebra T A]
  [inst_10 : IsScalarTower R T A] [inst_11 : Algebra S A] [inst_12 : IsScalarTower R S A] [inst_13 : Algebra S T]
  [inst_14 : IsScalarTower S T A] (a : A) (s : S) (b : B),
  (Algebra.TensorProduct.cancelBaseChange R S T A B) (a ⊗ₜ[S] (s ⊗ₜ[R] b)) = (s • a) ⊗ₜ[R] b

theorem Algebra.TensorProduct.cancelBaseChange_symm_tmul E0 #

∀ (R : Type uR) (S : Type uS) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (T : Type u_3)
  (A : Type u_4) (B : Type u_5) [inst_3 : CommSemiring T] [inst_4 : CommSemiring A] [inst_5 : CommSemiring B]
  [inst_6 : Algebra R T] [inst_7 : Algebra R A] [inst_8 : Algebra R B] [inst_9 : Algebra T A]
  [inst_10 : IsScalarTower R T A] [inst_11 : Algebra S A] [inst_12 : IsScalarTower R S A] [inst_13 : Algebra S T]
  [inst_14 : IsScalarTower S T A] (a : A) (b : B),
  (Algebra.TensorProduct.cancelBaseChange R S T A B).symm (a ⊗ₜ[R] b) = a ⊗ₜ[S] (1 ⊗ₜ[R] b)

def Algebra.TensorProduct.mapRingHom E1 #

{R : Type u_3} →
  {S : Type u_4} →
    {T : Type u_5} →
      {R' : Type u_6} →
        {S' : Type u_7} →
          {T' : Type u_8} →
            [inst : CommSemiring R] →
              [inst_1 : CommSemiring S] →
                [inst_2 : CommSemiring T] →
                  [inst_3 : Algebra R S] →
                    [inst_4 : Algebra R T] →
                      [inst_5 : CommSemiring R'] →
                        [inst_6 : CommSemiring S'] →
                          [inst_7 : CommSemiring T'] →
                            [inst_8 : Algebra R' S'] →
                              [inst_9 : Algebra R' T'] →
                                (fR : R →+* R') →
                                  (fS : S →+* S') →
                                    (fT : T →+* T') →
                                      fS.comp (algebraMap R S) = (algebraMap R' S').comp fR →
                                        fT.comp (algebraMap R T) = (algebraMap R' T').comp fR →
                                          TensorProduct R S T →+* TensorProduct R' S' T'

Heterobasic version of Algebra.TensorProduct.map as a ring homomorphism.

Note that this would generalise map if we were to have SemiAlgHom.

theorem Algebra.TensorProduct.mapRingHom_tmul E0 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {R' : Type u_6} {S' : Type u_7} {T' : Type u_8} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring T] [inst_3 : Algebra R S] [inst_4 : Algebra R T]
  [inst_5 : CommSemiring R'] [inst_6 : CommSemiring S'] [inst_7 : CommSemiring T'] [inst_8 : Algebra R' S']
  [inst_9 : Algebra R' T'] (fR : R →+* R') (fS : S →+* S') (fT : T →+* T')
  (HS : fS.comp (algebraMap R S) = (algebraMap R' S').comp fR)
  (HT : fT.comp (algebraMap R T) = (algebraMap R' T').comp fR) (s : S) (t : T),
  (Algebra.TensorProduct.mapRingHom fR fS fT HS HT) (s ⊗ₜ[R] t) = fS s ⊗ₜ[R'] fT t

theorem Algebra.TensorProduct.mapRingHom_comp_includeLeftRingHom E0 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {R' : Type u_6} {S' : Type u_7} {T' : Type u_8} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring T] [inst_3 : Algebra R S] [inst_4 : Algebra R T]
  [inst_5 : CommSemiring R'] [inst_6 : CommSemiring S'] [inst_7 : CommSemiring T'] [inst_8 : Algebra R' S']
  [inst_9 : Algebra R' T'] (fR : R →+* R') (fS : S →+* S') (fT : T →+* T')
  (HS : fS.comp (algebraMap R S) = (algebraMap R' S').comp fR)
  (HT : fT.comp (algebraMap R T) = (algebraMap R' T').comp fR),
  (Algebra.TensorProduct.mapRingHom fR fS fT HS HT).comp Algebra.TensorProduct.includeLeftRingHom =
    Algebra.TensorProduct.includeLeftRingHom.comp fS

theorem Algebra.TensorProduct.mapRingHom_comp_includeRight E0 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {R' : Type u_6} {S' : Type u_7} {T' : Type u_8} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring T] [inst_3 : Algebra R S] [inst_4 : Algebra R T]
  [inst_5 : CommSemiring R'] [inst_6 : CommSemiring S'] [inst_7 : CommSemiring T'] [inst_8 : Algebra R' S']
  [inst_9 : Algebra R' T'] (fR : R →+* R') (fS : S →+* S') (fT : T →+* T')
  (HS : fS.comp (algebraMap R S) = (algebraMap R' S').comp fR)
  (HT : fT.comp (algebraMap R T) = (algebraMap R' T').comp fR),
  (Algebra.TensorProduct.mapRingHom fR fS fT HS HT).comp ↑Algebra.TensorProduct.includeRight =
    (↑Algebra.TensorProduct.includeRight).comp fT

def Algebra.TensorProduct.map E1 #

{R : Type uR} →
  {S : Type uS} →
    {A : Type uA} →
      {B : Type uB} →
        {C : Type uC} →
          {D : Type uD} →
            [inst : CommSemiring R] →
              [inst_1 : CommSemiring S] →
                [inst_2 : Algebra R S] →
                  [inst_3 : Semiring A] →
                    [inst_4 : Algebra R A] →
                      [inst_5 : Algebra S A] →
                        [inst_6 : IsScalarTower R S A] →
                          [inst_7 : Semiring B] →
                            [inst_8 : Algebra R B] →
                              [inst_9 : Semiring C] →
                                [inst_10 : Algebra R C] →
                                  [inst_11 : Algebra S C] →
                                    [inst_12 : IsScalarTower R S C] →
                                      [inst_13 : Semiring D] →
                                        [inst_14 : Algebra R D] →
                                          (A →ₐ[S] C) → (B →ₐ[R] D) → TensorProduct R A B →ₐ[S] TensorProduct R C D

The tensor product of a pair of algebra morphisms.

theorem Algebra.TensorProduct.toLinearMap_map E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C] [inst_13 : Semiring D]
  [inst_14 : Algebra R D] (f : A →ₐ[S] C) (g : B →ₐ[R] D),
  (Algebra.TensorProduct.map f g).toLinearMap = TensorProduct.AlgebraTensorModule.map f.toLinearMap g.toLinearMap

theorem Algebra.TensorProduct.map_tmul E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C] [inst_13 : Semiring D]
  [inst_14 : Algebra R D] (f : A →ₐ[S] C) (g : B →ₐ[R] D) (a : A) (b : B),
  (Algebra.TensorProduct.map f g) (a ⊗ₜ[R] b) = f a ⊗ₜ[R] g b

theorem Algebra.TensorProduct.map_id E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B],
  Algebra.TensorProduct.map (AlgHom.id S A) (AlgHom.id R B) = AlgHom.id S (TensorProduct R A B)

theorem Algebra.TensorProduct.map_comp E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} {E : Type uE} {F : Type uF}
  [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A]
  [inst_5 : Algebra S A] [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B]
  [inst_9 : Semiring C] [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C]
  [inst_13 : Semiring D] [inst_14 : Algebra R D] [inst_15 : Semiring E] [inst_16 : Algebra R E] [inst_17 : Algebra S E]
  [inst_18 : IsScalarTower R S E] [inst_19 : Semiring F] [inst_20 : Algebra R F] (f₂ : C →ₐ[S] E) (f₁ : A →ₐ[S] C)
  (g₂ : D →ₐ[R] F) (g₁ : B →ₐ[R] D),
  Algebra.TensorProduct.map (f₂.comp f₁) (g₂.comp g₁) =
    (Algebra.TensorProduct.map f₂ g₂).comp (Algebra.TensorProduct.map f₁ g₁)

theorem Algebra.TensorProduct.map_id_comp E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {D : Type uD} {F : Type uF} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring D]
  [inst_10 : Algebra R D] [inst_11 : Semiring F] [inst_12 : Algebra R F] (g₂ : D →ₐ[R] F) (g₁ : B →ₐ[R] D),
  Algebra.TensorProduct.map (AlgHom.id S A) (g₂.comp g₁) =
    (Algebra.TensorProduct.map (AlgHom.id S A) g₂).comp (Algebra.TensorProduct.map (AlgHom.id S A) g₁)

theorem Algebra.TensorProduct.map_comp_id E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {C : Type uC} {E : Type uE} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Algebra S C]
  [inst_10 : IsScalarTower R S C] [inst_11 : Semiring E] [inst_12 : Algebra R E] [inst_13 : Algebra S E]
  [inst_14 : IsScalarTower R S E] (f₂ : C →ₐ[S] E) (f₁ : A →ₐ[S] C),
  Algebra.TensorProduct.map (f₂.comp f₁) (AlgHom.id R E) =
    (Algebra.TensorProduct.map f₂ (AlgHom.id R E)).comp (Algebra.TensorProduct.map f₁ (AlgHom.id R E))

theorem Algebra.TensorProduct.map_comp_includeLeft E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C] [inst_13 : Semiring D]
  [inst_14 : Algebra R D] (f : A →ₐ[S] C) (g : B →ₐ[R] D),
  (Algebra.TensorProduct.map f g).comp Algebra.TensorProduct.includeLeft = Algebra.TensorProduct.includeLeft.comp f

theorem Algebra.TensorProduct.map_comp_includeLeftRingHom E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C] [inst_13 : Semiring D]
  [inst_14 : Algebra R D] (f : A →ₐ[S] C) (g : B →ₐ[R] D),
  (↑(Algebra.TensorProduct.map f g)).comp Algebra.TensorProduct.includeLeftRingHom =
    Algebra.TensorProduct.includeLeftRingHom.comp ↑f

theorem Algebra.TensorProduct.map_restrictScalars_comp_includeRight E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C] [inst_13 : Semiring D]
  [inst_14 : Algebra R D] (f : A →ₐ[S] C) (g : B →ₐ[R] D),
  (AlgHom.restrictScalars R (Algebra.TensorProduct.map f g)).comp Algebra.TensorProduct.includeRight =
    Algebra.TensorProduct.includeRight.comp g

theorem Algebra.TensorProduct.map_comp_includeRight E0 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
  [inst_7 : Semiring D] [inst_8 : Algebra R D] (f : A →ₐ[R] C) (g : B →ₐ[R] D),
  (Algebra.TensorProduct.map f g).comp Algebra.TensorProduct.includeRight = Algebra.TensorProduct.includeRight.comp g

theorem Algebra.TensorProduct.map_range E0 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
  [inst_7 : Semiring D] [inst_8 : Algebra R D] (f : A →ₐ[R] C) (g : B →ₐ[R] D),
  (Algebra.TensorProduct.map f g).range =
    (Algebra.TensorProduct.includeLeft.comp f).range ⊔ (Algebra.TensorProduct.includeRight.comp g).range

theorem Algebra.TensorProduct.comm_comp_map E1 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
  [inst_7 : Semiring D] [inst_8 : Algebra R D] (f : A →ₐ[R] C) (g : B →ₐ[R] D),
  (↑(Algebra.TensorProduct.comm R C D)).comp (Algebra.TensorProduct.map f g) =
    (Algebra.TensorProduct.map g f).comp ↑(Algebra.TensorProduct.comm R A B)

theorem Algebra.TensorProduct.comm_comp_map_apply E0 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
  [inst_7 : Semiring D] [inst_8 : Algebra R D] (f : A →ₐ[R] C) (g : B →ₐ[R] D) (x : TensorProduct R A B),
  (Algebra.TensorProduct.comm R C D) ((Algebra.TensorProduct.map f g) x) =
    (Algebra.TensorProduct.map g f) ((Algebra.TensorProduct.comm R A B) x)

abbrev Algebra.TensorProduct.lTensor E1 #

{R : Type uR} →
  {S : Type uS} →
    (A : Type uA) →
      {B : Type uB} →
        {D : Type uD} →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : Algebra R S] →
                [inst_3 : Semiring A] →
                  [inst_4 : Algebra R A] →
                    [inst_5 : Algebra S A] →
                      [inst_6 : IsScalarTower R S A] →
                        [inst_7 : Semiring B] →
                          [inst_8 : Algebra R B] →
                            [inst_9 : Semiring D] →
                              [inst_10 : Algebra R D] → (B →ₐ[R] D) → TensorProduct R A B →ₐ[S] TensorProduct R A D

lTensor A g : A ⊗ B →ₐ A ⊗ D is the natural algebra morphism induced by g : B →ₐ D.

abbrev Algebra.TensorProduct.rTensor E1 #

{R : Type uR} →
  {S : Type uS} →
    {A : Type uA} →
      (B : Type uB) →
        {C : Type uC} →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : Algebra R S] →
                [inst_3 : Semiring A] →
                  [inst_4 : Algebra R A] →
                    [inst_5 : Algebra S A] →
                      [inst_6 : IsScalarTower R S A] →
                        [inst_7 : Semiring B] →
                          [inst_8 : Algebra R B] →
                            [inst_9 : Semiring C] →
                              [inst_10 : Algebra R C] →
                                [inst_11 : Algebra S C] →
                                  [inst_12 : IsScalarTower R S C] →
                                    (A →ₐ[S] C) → TensorProduct R A B →ₐ[S] TensorProduct R C B

rTensor B f : A ⊗ B →ₐ C ⊗ B is the natural algebra morphism induced by f : A →ₐ C.

def Algebra.TensorProduct.congr E1 #

{R : Type uR} →
  {S : Type uS} →
    {A : Type uA} →
      {B : Type uB} →
        {C : Type uC} →
          {D : Type uD} →
            [inst : CommSemiring R] →
              [inst_1 : CommSemiring S] →
                [inst_2 : Algebra R S] →
                  [inst_3 : Semiring A] →
                    [inst_4 : Algebra R A] →
                      [inst_5 : Algebra S A] →
                        [inst_6 : IsScalarTower R S A] →
                          [inst_7 : Semiring B] →
                            [inst_8 : Algebra R B] →
                              [inst_9 : Semiring C] →
                                [inst_10 : Algebra R C] →
                                  [inst_11 : Algebra S C] →
                                    [inst_12 : IsScalarTower R S C] →
                                      [inst_13 : Semiring D] →
                                        [inst_14 : Algebra R D] →
                                          (A ≃ₐ[S] C) → (B ≃ₐ[R] D) → TensorProduct R A B ≃ₐ[S] TensorProduct R C D

Construct an isomorphism between tensor products of an S-algebra with an R-algebra from S- and R- isomorphisms between the tensor factors.

theorem Algebra.TensorProduct.congr_toLinearEquiv E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C] [inst_13 : Semiring D]
  [inst_14 : Algebra R D] (f : A ≃ₐ[S] C) (g : B ≃ₐ[R] D),
  ↑(Algebra.TensorProduct.congr f g) = TensorProduct.AlgebraTensorModule.congr ↑f ↑g

theorem Algebra.TensorProduct.congr_apply E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C] [inst_13 : Semiring D]
  [inst_14 : Algebra R D] (f : A ≃ₐ[S] C) (g : B ≃ₐ[R] D) (x : TensorProduct R A B),
  (Algebra.TensorProduct.congr f g) x = (Algebra.TensorProduct.map ↑f ↑g) x

theorem Algebra.TensorProduct.congr_symm_apply E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C] [inst_13 : Semiring D]
  [inst_14 : Algebra R D] (f : A ≃ₐ[S] C) (g : B ≃ₐ[R] D) (x : TensorProduct R C D),
  (Algebra.TensorProduct.congr f g).symm x = (Algebra.TensorProduct.map ↑f.symm ↑g.symm) x

theorem Algebra.TensorProduct.congr_refl E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B],
  Algebra.TensorProduct.congr AlgEquiv.refl AlgEquiv.refl = AlgEquiv.refl

theorem Algebra.TensorProduct.congr_trans E1 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} {E : Type uE} {F : Type uF}
  [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A]
  [inst_5 : Algebra S A] [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B]
  [inst_9 : Semiring C] [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C]
  [inst_13 : Semiring D] [inst_14 : Algebra R D] [inst_15 : Semiring E] [inst_16 : Algebra R E] [inst_17 : Algebra S E]
  [inst_18 : IsScalarTower R S E] [inst_19 : Semiring F] [inst_20 : Algebra R F] (f₁ : A ≃ₐ[S] C) (f₂ : C ≃ₐ[S] E)
  (g₁ : B ≃ₐ[R] D) (g₂ : D ≃ₐ[R] F),
  Algebra.TensorProduct.congr (f₁.trans f₂) (g₁.trans g₂) =
    (Algebra.TensorProduct.congr f₁ g₁).trans (Algebra.TensorProduct.congr f₂ g₂)

theorem Algebra.TensorProduct.congr_symm E1 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] [inst_9 : Semiring C]
  [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C] [inst_13 : Semiring D]
  [inst_14 : Algebra R D] (f : A ≃ₐ[S] C) (g : B ≃ₐ[R] D),
  Algebra.TensorProduct.congr f.symm g.symm = (Algebra.TensorProduct.congr f g).symm

def Algebra.TensorProduct.leftComm E1 #

(R : Type uR) →
  (A : Type uA) →
    (B : Type uB) →
      (C : Type uC) →
        [inst : CommSemiring R] →
          [inst_1 : Semiring A] →
            [inst_2 : Algebra R A] →
              [inst_3 : Semiring B] →
                [inst_4 : Algebra R B] →
                  [inst_5 : Semiring C] →
                    [inst_6 : Algebra R C] →
                      TensorProduct R A (TensorProduct R B C) ≃ₐ[R] TensorProduct R B (TensorProduct R A C)

Tensor product of algebras analogue of mul_left_comm.

This is the algebra version of TensorProduct.leftComm.

theorem Algebra.TensorProduct.leftComm_tmul E0 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
  (m : A) (n : B) (p : C), (Algebra.TensorProduct.leftComm R A B C) (m ⊗ₜ[R] (n ⊗ₜ[R] p)) = n ⊗ₜ[R] (m ⊗ₜ[R] p)

theorem Algebra.TensorProduct.leftComm_symm_tmul E0 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
  (m : A) (n : B) (p : C), (Algebra.TensorProduct.leftComm R A B C).symm (n ⊗ₜ[R] (m ⊗ₜ[R] p)) = m ⊗ₜ[R] (n ⊗ₜ[R] p)

theorem Algebra.TensorProduct.leftComm_toLinearEquiv E0 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} {C : Type uC} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C],
  ↑(Algebra.TensorProduct.leftComm R A B C) = TensorProduct.leftComm R A B C

def Algebra.TensorProduct.tensorTensorTensorComm E1 #

(R : Type uR) →
  (R' : Type u_1) →
    (S : Type uS) →
      (T : Type u_2) →
        (A : Type uA) →
          (B : Type uB) →
            (C : Type uC) →
              (D : Type uD) →
                [inst : CommSemiring R] →
                  [inst_1 : CommSemiring S] →
                    [inst_2 : Algebra R S] →
                      [inst_3 : Semiring A] →
                        [inst_4 : Algebra R A] →
                          [inst_5 : Algebra S A] →
                            [IsScalarTower R S A] →
                              [inst_7 : Semiring B] →
                                [inst_8 : Algebra R B] →
                                  [inst_9 : Semiring C] →
                                    [inst_10 : Algebra R C] →
                                      [inst_11 : Algebra S C] →
                                        [inst_12 : IsScalarTower R S C] →
                                          [inst_13 : Semiring D] →
                                            [inst_14 : Algebra R D] →
                                              [inst_15 : CommSemiring T] →
                                                [inst_16 : Algebra R T] →
                                                  [inst_17 : Algebra T A] →
                                                    [IsScalarTower R T A] →
                                                      [inst_19 : SMulCommClass S T A] →
                                                        [inst_20 : Algebra S T] →
                                                          [IsScalarTower S T A] →
                                                            [inst_22 : CommSemiring R'] →
                                                              [inst_23 : Algebra R R'] →
                                                                [inst_24 : Algebra R' T] →
                                                                  [inst_25 : Algebra R' A] →
                                                                    [inst_26 : Algebra R' B] →
                                                                      [IsScalarTower R R' A] →
                                                                        [inst_28 : SMulCommClass S R' A] →
                                                                          [inst_29 : SMulCommClass R' S A] →
                                                                            [inst_30 : IsScalarTower R' T A] →
                                                                              [inst_31 : IsScalarTower R R' B] →
                                                                                TensorProduct S (TensorProduct R' A B)
                                                                                    (TensorProduct R C D) ≃ₐ[T]
                                                                                  TensorProduct R' (TensorProduct S A C)
                                                                                    (TensorProduct R B D)

Tensor product of algebras analogue of mul_mul_mul_comm.

This is the algebra version of TensorProduct.AlgebraTensorModule.tensorTensorTensorComm.

theorem Algebra.TensorProduct.tensorTensorTensorComm_tmul E0 #

∀ {R : Type uR} {R' : Type u_1} {S : Type uS} {T : Type u_2} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD}
  [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A]
  [inst_5 : Algebra S A] [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B]
  [inst_9 : Semiring C] [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C]
  [inst_13 : Semiring D] [inst_14 : Algebra R D] [inst_15 : CommSemiring T] [inst_16 : Algebra R T]
  [inst_17 : Algebra T A] [inst_18 : IsScalarTower R T A] [inst_19 : SMulCommClass S T A] [inst_20 : Algebra S T]
  [inst_21 : IsScalarTower S T A] [inst_22 : CommSemiring R'] [inst_23 : Algebra R R'] [inst_24 : Algebra R' T]
  [inst_25 : Algebra R' A] [inst_26 : Algebra R' B] [inst_27 : IsScalarTower R R' A] [inst_28 : SMulCommClass S R' A]
  [inst_29 : SMulCommClass R' S A] [inst_30 : IsScalarTower R' T A] [inst_31 : IsScalarTower R R' B] (m : A) (n : B)
  (p : C) (q : D),
  (Algebra.TensorProduct.tensorTensorTensorComm R R' S T A B C D) (m ⊗ₜ[R'] n ⊗ₜ[S] (p ⊗ₜ[R] q)) =
    m ⊗ₜ[S] p ⊗ₜ[R'] (n ⊗ₜ[R] q)

theorem Algebra.TensorProduct.tensorTensorTensorComm_symm_tmul E0 #

∀ {R : Type uR} {R' : Type u_1} {S : Type uS} {T : Type u_2} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD}
  [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A]
  [inst_5 : Algebra S A] [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B]
  [inst_9 : Semiring C] [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C]
  [inst_13 : Semiring D] [inst_14 : Algebra R D] [inst_15 : CommSemiring T] [inst_16 : Algebra R T]
  [inst_17 : Algebra T A] [inst_18 : IsScalarTower R T A] [inst_19 : SMulCommClass S T A] [inst_20 : Algebra S T]
  [inst_21 : IsScalarTower S T A] [inst_22 : CommSemiring R'] [inst_23 : Algebra R R'] [inst_24 : Algebra R' T]
  [inst_25 : Algebra R' A] [inst_26 : Algebra R' B] [inst_27 : IsScalarTower R R' A] [inst_28 : SMulCommClass S R' A]
  [inst_29 : SMulCommClass R' S A] [inst_30 : IsScalarTower R' T A] [inst_31 : IsScalarTower R R' B] (m : A) (n : C)
  (p : B) (q : D),
  (Algebra.TensorProduct.tensorTensorTensorComm R R' S T A B C D).symm (m ⊗ₜ[S] n ⊗ₜ[R'] (p ⊗ₜ[R] q)) =
    m ⊗ₜ[R'] p ⊗ₜ[S] (n ⊗ₜ[R] q)

theorem Algebra.TensorProduct.tensorTensorTensorComm_symm E1 #

∀ {R : Type uR} {R' : Type u_1} {S : Type uS} {T : Type u_2} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD}
  [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A]
  [inst_5 : Algebra S A] [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B]
  [inst_9 : Semiring C] [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C]
  [inst_13 : Semiring D] [inst_14 : Algebra R D] [inst_15 : CommSemiring T] [inst_16 : Algebra R T]
  [inst_17 : Algebra T A] [inst_18 : IsScalarTower R T A] [inst_19 : SMulCommClass S T A] [inst_20 : Algebra S T]
  [inst_21 : IsScalarTower S T A] [inst_22 : CommSemiring R'] [inst_23 : Algebra R R'] [inst_24 : Algebra R' T]
  [inst_25 : Algebra R' A] [inst_26 : Algebra R' B] [inst_27 : IsScalarTower R R' A] [inst_28 : SMulCommClass S R' A]
  [inst_29 : SMulCommClass R' S A] [inst_30 : IsScalarTower R' T A] [inst_31 : IsScalarTower R R' B],
  (Algebra.TensorProduct.tensorTensorTensorComm R R' S T A B C D).symm =
    Algebra.TensorProduct.tensorTensorTensorComm R S R' T A C B D

theorem Algebra.TensorProduct.tensorTensorTensorComm_toLinearEquiv E1 #

∀ {R : Type uR} {R' : Type u_1} {S : Type uS} {T : Type u_2} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD}
  [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A]
  [inst_5 : Algebra S A] [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B]
  [inst_9 : Semiring C] [inst_10 : Algebra R C] [inst_11 : Algebra S C] [inst_12 : IsScalarTower R S C]
  [inst_13 : Semiring D] [inst_14 : Algebra R D] [inst_15 : CommSemiring T] [inst_16 : Algebra R T]
  [inst_17 : Algebra T A] [inst_18 : IsScalarTower R T A] [inst_19 : SMulCommClass S T A] [inst_20 : Algebra S T]
  [inst_21 : IsScalarTower S T A] [inst_22 : CommSemiring R'] [inst_23 : Algebra R R'] [inst_24 : Algebra R' T]
  [inst_25 : Algebra R' A] [inst_26 : Algebra R' B] [inst_27 : IsScalarTower R R' A] [inst_28 : SMulCommClass S R' A]
  [inst_29 : SMulCommClass R' S A] [inst_30 : IsScalarTower R' T A] [inst_31 : IsScalarTower R R' B],
  ↑(Algebra.TensorProduct.tensorTensorTensorComm R R' S T A B C D) =
    TensorProduct.AlgebraTensorModule.tensorTensorTensorComm R R' S T A B C D

theorem Algebra.TensorProduct.toLinearEquiv_tensorTensorTensorComm E0 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
  [inst_7 : Semiring D] [inst_8 : Algebra R D],
  ↑(Algebra.TensorProduct.tensorTensorTensorComm R R R R A B C D) = TensorProduct.tensorTensorTensorComm R A B C D

theorem Algebra.TensorProduct.map_bijective E0 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} {C : Type uC} {D : Type uD} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Semiring B] [inst_4 : Algebra R B] [inst_5 : Semiring C] [inst_6 : Algebra R C]
  [inst_7 : Semiring D] [inst_8 : Algebra R D] {f : A →ₐ[R] B} {g : C →ₐ[R] D},
  Function.Bijective ⇑f → Function.Bijective ⇑g → Function.Bijective ⇑(Algebra.TensorProduct.map f g)

theorem Algebra.TensorProduct.includeLeft_bijective E1 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B],
  Function.Bijective ⇑(algebraMap R B) → Function.Bijective ⇑Algebra.TensorProduct.includeLeft

theorem Algebra.TensorProduct.includeRight_bijective E1 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B],
  Function.Bijective ⇑(algebraMap R A) → Function.Bijective ⇑Algebra.TensorProduct.includeRight

abbrev Algebra.TensorProduct.productLeftAlgHom E1 #

{R : Type uR} →
  {S : Type uS} →
    {A : Type uA} →
      {B : Type uB} →
        {C : Type uC} →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : Algebra R S] →
                [inst_3 : Semiring A] →
                  [inst_4 : Algebra R A] →
                    [inst_5 : Algebra S A] →
                      [inst_6 : IsScalarTower R S A] →
                        [inst_7 : Semiring B] →
                          [inst_8 : Algebra R B] →
                            [inst_9 : CommSemiring C] →
                              [inst_10 : Algebra R C] →
                                [inst_11 : Algebra S C] →
                                  [IsScalarTower R S C] → (A →ₐ[S] C) → (B →ₐ[R] C) → TensorProduct R A B →ₐ[S] C

If A, B, C are R-algebras, A and C are also S-algebras (forming a tower as ·/S/R), then the product map of f : A →ₐ[S] C and g : B →ₐ[R] C is an S-algebra homomorphism.

This is just a special case of Algebra.TensorProduct.lift for when C is commutative.

theorem Algebra.TensorProduct.tmul_one_eq_one_tmul E1 #

∀ {R : Type uR} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Semiring B] [inst_4 : Algebra R B] (r : R), (algebraMap R A) r ⊗ₜ[R] 1 = 1 ⊗ₜ[R] (algebraMap R B) r

def Algebra.TensorProduct.lmul'' E1 #

(R : Type uR) →
  {S : Type uS} →
    [inst : CommSemiring R] → [inst_1 : CommSemiring S] → [inst_2 : Algebra R S] → TensorProduct R S S →ₐ[S] S

LinearMap.mul' as an AlgHom over the algebra.

theorem Algebra.TensorProduct.lmul''_eq_lid_comp_mapOfCompatibleSMul E1 #

∀ (R : Type uR) {S : Type uS} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S],
  Algebra.TensorProduct.lmul'' R =
    (↑(Algebra.TensorProduct.lid S S)).comp (Algebra.TensorProduct.mapOfCompatibleSMul S R S S S)

def Algebra.TensorProduct.lmul' E1 #

(R : Type uR) →
  {S : Type uS} →
    [inst : CommSemiring R] → [inst_1 : CommSemiring S] → [inst_2 : Algebra R S] → TensorProduct R S S →ₐ[R] S

LinearMap.mul' as an AlgHom over the base ring.

theorem Algebra.TensorProduct.lmul'_toLinearMap E1 #

∀ {R : Type uR} {S : Type uS} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S],
  (Algebra.TensorProduct.lmul' R).toLinearMap = LinearMap.mul' R S

theorem Algebra.TensorProduct.lmul'_apply_tmul E0 #

∀ {R : Type uR} {S : Type uS} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (a b : S),
  (Algebra.TensorProduct.lmul' R) (a ⊗ₜ[R] b) = a * b

theorem Algebra.TensorProduct.lmul'_comp_includeLeft E0 #

∀ {R : Type uR} {S : Type uS} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S],
  (Algebra.TensorProduct.lmul' R).comp Algebra.TensorProduct.includeLeft = AlgHom.id R S

theorem Algebra.TensorProduct.lmul'_comp_includeRight E0 #

∀ {R : Type uR} {S : Type uS} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S],
  (Algebra.TensorProduct.lmul' R).comp Algebra.TensorProduct.includeRight = AlgHom.id R S

theorem Algebra.TensorProduct.lmul'_comp_map E1 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : CommSemiring S] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra R S]
  (f : A →ₐ[R] S) (g : B →ₐ[R] S),
  (Algebra.TensorProduct.lmul' R).comp (Algebra.TensorProduct.map f g) = Algebra.TensorProduct.lift f g ⋯

def Algebra.TensorProduct.lmulEquiv E1 #

(R : Type uR) →
  (S : Type uS) →
    [inst : CommSemiring R] →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] → [TensorProduct.CompatibleSMul R S S S] → TensorProduct R S S ≃ₐ[S] S

If multiplication by elements of S can switch between the two factors of S ⊗[R] S, then lmul'' is an isomorphism.

theorem Algebra.TensorProduct.lmulEquiv_eq_lidOfCompatibleSMul E1 #

∀ {R : Type uR} {S : Type uS} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : TensorProduct.CompatibleSMul R S S S],
  Algebra.TensorProduct.lmulEquiv R S = Algebra.TensorProduct.lidOfCompatibleSMul R S S

def Algebra.TensorProduct.productMap E1 #

{R : Type uR} →
  {S : Type uS} →
    {A : Type uA} →
      {B : Type uB} →
        [inst : CommSemiring R] →
          [inst_1 : Semiring A] →
            [inst_2 : Semiring B] →
              [inst_3 : CommSemiring S] →
                [inst_4 : Algebra R A] →
                  [inst_5 : Algebra R B] →
                    [inst_6 : Algebra R S] → (A →ₐ[R] S) → (B →ₐ[R] S) → TensorProduct R A B →ₐ[R] S

If S is commutative, for a pair of morphisms f : A →ₐ[R] S, g : B →ₐ[R] S, We obtain a map A ⊗[R] B →ₐ[R] S that commutes with f, g via a ⊗ b ↦ f(a) * g(b).

This is a special case of Algebra.TensorProduct.productLeftAlgHom for when the two base rings are the same.

theorem Algebra.TensorProduct.productMap_eq_comp_map E1 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : CommSemiring S] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra R S]
  (f : A →ₐ[R] S) (g : B →ₐ[R] S),
  Algebra.TensorProduct.productMap f g = (Algebra.TensorProduct.lmul' R).comp (Algebra.TensorProduct.map f g)

theorem Algebra.TensorProduct.productMap_apply_tmul E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : CommSemiring S] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra R S]
  (f : A →ₐ[R] S) (g : B →ₐ[R] S) (a : A) (b : B), (Algebra.TensorProduct.productMap f g) (a ⊗ₜ[R] b) = f a * g b

theorem Algebra.TensorProduct.productMap_left_apply E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : CommSemiring S] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra R S]
  (f : A →ₐ[R] S) (g : B →ₐ[R] S) (a : A), (Algebra.TensorProduct.productMap f g) (a ⊗ₜ[R] 1) = f a

theorem Algebra.TensorProduct.productMap_left E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : CommSemiring S] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra R S]
  (f : A →ₐ[R] S) (g : B →ₐ[R] S), (Algebra.TensorProduct.productMap f g).comp Algebra.TensorProduct.includeLeft = f

theorem Algebra.TensorProduct.productMap_right_apply E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : CommSemiring S] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra R S]
  (f : A →ₐ[R] S) (g : B →ₐ[R] S) (b : B), (Algebra.TensorProduct.productMap f g) (1 ⊗ₜ[R] b) = g b

theorem Algebra.TensorProduct.productMap_right E0 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : CommSemiring S] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra R S]
  (f : A →ₐ[R] S) (g : B →ₐ[R] S), (Algebra.TensorProduct.productMap f g).comp Algebra.TensorProduct.includeRight = g

theorem Algebra.TensorProduct.productMap_range E1 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : CommSemiring S] [inst_4 : Algebra R A] [inst_5 : Algebra R B] [inst_6 : Algebra R S]
  (f : A →ₐ[R] S) (g : B →ₐ[R] S), (Algebra.TensorProduct.productMap f g).range = f.range ⊔ g.range

theorem Algebra.TensorProduct.comp_productMap E0 #

∀ {R : Type uR} {S : Type uS} {T : Type u_2} {A : Type uA} {B : Type uB} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Semiring B] [inst_3 : CommSemiring S] [inst_4 : CommSemiring T] [inst_5 : Algebra R A]
  [inst_6 : Algebra R B] [inst_7 : Algebra R S] [inst_8 : Algebra R T] (f : A →ₐ[R] S) (g : B →ₐ[R] S) (h : S →ₐ[R] T),
  h.comp (Algebra.TensorProduct.productMap f g) = Algebra.TensorProduct.productMap (h.comp f) (h.comp g)

theorem Algebra.TensorProduct.toLinearMap_productMap_id E1 #

∀ {R : Type uR} {S : Type uS} {A : Type uA} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : CommSemiring S]
  [inst_3 : Algebra R A] [inst_4 : Algebra R S] (f : A →ₐ[R] S),
  (Algebra.TensorProduct.productMap (AlgHom.id R S) f).toLinearMap = ↑R (LinearMap.liftBaseChange S f.toLinearMap)

def LinearMap.tensorProduct E1 #

(R : Type u_1) →
  (A : Type u_2) →
    (M : Type u_3) →
      (N : Type u_4) →
        [inst : CommSemiring R] →
          [inst_1 : CommSemiring A] →
            [inst_2 : Algebra R A] →
              [inst_3 : AddCommMonoid M] →
                [inst_4 : Module R M] →
                  [inst_5 : AddCommMonoid N] →
                    [inst_6 : Module R N] →
                      TensorProduct R A (M →ₗ[R] N) →ₗ[A] TensorProduct R A M →ₗ[A] TensorProduct R A N

The natural linear map $A ⊗ \text{Hom}_R(M, N) → \text{Hom}_A (M_A, N_A)$, where $M_A$ and $N_A$ are the respective modules over $A$ obtained by extension of scalars.

See LinearMap.tensorProductEnd for this map specialized to endomorphisms, and bundled as A-algebra homomorphism.

theorem LinearMap.tensorProduct_apply E0 #

∀ (R : Type u_1) (A : Type u_2) (M : Type u_3) (N : Type u_4) [inst : CommSemiring R] [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [inst_5 : AddCommMonoid N]
  [inst_6 : Module R N] (a : TensorProduct R A (M →ₗ[R] N)),
  (LinearMap.tensorProduct R A M N) a =
    (TensorProduct.liftAux (↑R { toFun := fun a ↦ a • LinearMap.baseChangeHom R A M N, map_add' := ⋯, map_smul' := ⋯ }))
      a

def LinearMap.tensorProductEnd E1 #

(R : Type u_1) →
  (A : Type u_2) →
    (M : Type u_3) →
      [inst : CommSemiring R] →
        [inst_1 : CommSemiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : AddCommMonoid M] →
              [inst_4 : Module R M] → TensorProduct R A (Module.End R M) →ₐ[A] Module.End A (TensorProduct R A M)

The natural A-algebra homomorphism $A ⊗ (\text{End}_R M) → \text{End}_A (A ⊗ M)$, where M is an R-module, and A an R-algebra.

theorem LinearMap.tensorProductEnd_apply E0 #

∀ (R : Type u_1) (A : Type u_2) (M : Type u_3) [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] (a : TensorProduct R A (Module.End R M)),
  (LinearMap.tensorProductEnd R A M) a =
    (TensorProduct.liftAux (↑R { toFun := fun a ↦ a • LinearMap.baseChangeHom R A M M, map_add' := ⋯, map_smul' := ⋯ }))
      a

theorem LinearMap.mul'_bijective_of_surjective E1 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A],
  Function.Surjective ⇑(algebraMap R A) → Function.Bijective ⇑(LinearMap.mul' R A)

If R →+* S is surjective, the multiplication map S ⊗[R] S →+* S is an isomorphism. This is the algebraic version of closed immersions are monomorphisms.

def Module.endTensorEndAlgHom E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {A : Type u_3} →
      {M : Type u_4} →
        {N : Type u_5} →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : Semiring A] →
                [inst_3 : AddCommMonoid M] →
                  [inst_4 : AddCommMonoid N] →
                    [inst_5 : Algebra R S] →
                      [inst_6 : Algebra S A] →
                        [inst_7 : Algebra R A] →
                          [inst_8 : Module R M] →
                            [inst_9 : Module S M] →
                              [inst_10 : Module A M] →
                                [inst_11 : Module R N] →
                                  [inst_12 : IsScalarTower R A M] →
                                    [inst_13 : IsScalarTower S A M] →
                                      [inst_14 : IsScalarTower R S M] →
                                        TensorProduct R (Module.End A M) (Module.End R N) →ₐ[S]
                                          Module.End A (TensorProduct R M N)

The algebra homomorphism from End M ⊗ End N to End (M ⊗ N) sending f ⊗ₜ g to the TensorProduct.map f g, the tensor product of the two maps.

This is an AlgHom version of TensorProduct.AlgebraTensorModule.homTensorHomMap. Like that definition, this is generalized across many different rings; namely a tower of algebras A/S/R.

theorem Module.endTensorEndAlgHom_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {A : Type u_3} {M : Type u_4} {N : Type u_5} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Semiring A] [inst_3 : AddCommMonoid M] [inst_4 : AddCommMonoid N]
  [inst_5 : Algebra R S] [inst_6 : Algebra S A] [inst_7 : Algebra R A] [inst_8 : Module R M] [inst_9 : Module S M]
  [inst_10 : Module A M] [inst_11 : Module R N] [inst_12 : IsScalarTower R A M] [inst_13 : IsScalarTower S A M]
  [inst_14 : IsScalarTower R S M] (f : Module.End A M) (g : Module.End R N),
  Module.endTensorEndAlgHom (f ⊗ₜ[R] g) = TensorProduct.AlgebraTensorModule.map f g

def Subalgebra.baseChange E1 #

{R : Type u_1} →
  {A : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring A] →
        [inst_2 : Algebra R A] →
          (B : Type u_3) →
            [inst_3 : CommSemiring B] → [inst_4 : Algebra R B] → Subalgebra R A → Subalgebra B (TensorProduct R B A)

Given a subalgebra C of an R-algebra A, and an R-algebra B, the base change of C to a subalgebra of B ⊗[R] A

theorem Subalgebra.tmul_mem_baseChange E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : CommSemiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] {C : Subalgebra R A} {x : A},
  x ∈ C → ∀ (b : B), b ⊗ₜ[R] x ∈ Subalgebra.baseChange B C

def Algebra.TensorProduct.uliftEquiv E1 #

(R : Type u_4) →
  (S : Type u_5) →
    (A : Type u_6) →
      (B : Type u_7) →
        [inst : CommSemiring R] →
          [inst_1 : CommSemiring S] →
            [inst_2 : Algebra R S] →
              [inst_3 : Semiring A] →
                [inst_4 : Algebra R A] →
                  [inst_5 : Algebra S A] →
                    [inst_6 : IsScalarTower R S A] →
                      [inst_7 : Semiring B] →
                        [inst_8 : Algebra R B] →
                          ULift.{u₁, max u_7 u_6} (TensorProduct R A B) ≃ₐ[S]
                            TensorProduct (ULift.{u₃, u_4} R) (ULift.{u₂, u_6} A) (ULift.{u₄, u_7} B)

ULift commutes with tensor products of algebras.

theorem Algebra.TensorProduct.uliftEquiv_tmul E0 #

∀ (R : Type u_4) (S : Type u_5) {A : Type u_6} {B : Type u_7} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] (a : A) (b : B),
  (Algebra.TensorProduct.uliftEquiv R S A B) { down := a ⊗ₜ[R] b } = { down := a } ⊗ₜ[ULift.{u_10, u_4} R] { down := b }

theorem Algebra.TensorProduct.down_uliftEquiv_symm_tmul E0 #

∀ (R : Type u_4) (S : Type u_5) {A : Type u_6} {B : Type u_7} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] (a : ULift.{u_8, u_6} A)
  (b : ULift.{u_9, u_7} B),
  ((Algebra.TensorProduct.uliftEquiv R S A B).symm (a ⊗ₜ[ULift.{u_11, u_4} R] b)).down = a.down ⊗ₜ[R] b.down

theorem Algebra.TensorProduct.uliftEquiv_symm_tmul E1 #

∀ (R : Type u_4) (S : Type u_5) {A : Type u_6} {B : Type u_7} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : Algebra R S] [inst_3 : Semiring A] [inst_4 : Algebra R A] [inst_5 : Algebra S A]
  [inst_6 : IsScalarTower R S A] [inst_7 : Semiring B] [inst_8 : Algebra R B] (a : ULift.{u_8, u_6} A)
  (b : ULift.{u_9, u_7} B),
  (Algebra.TensorProduct.uliftEquiv R S A B).symm (a ⊗ₜ[ULift.{u_11, u_4} R] b) = { down := a.down ⊗ₜ[R] b.down }

theorem Algebra.TensorProduct.lmul'_ulift E1 #

∀ (R : Type u_4) (S : Type u_5) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S],
  Algebra.TensorProduct.lmul' (ULift.{u₁, u_4} R) =
    (AlgHom.ulift.{u_8, u₁, u₂, u_4, u_5, u_5} (Algebra.TensorProduct.lmul' R)).comp
      ↑(Algebra.TensorProduct.uliftEquiv R (ULift.{u₁, u_4} R) S S).symm

Deprecated aliases

NameNew nameSince
Algebra.TensorProduct.Algebra.TensorProduct.commRight_symm_tmulAlgebra.TensorProduct.commRight_symm_tmul2026-05-24