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

34 declarations. Mathlib docs · Source

def AddMonoidAlgebra.rTensorEquivAlgEquiv.invFun E1 #

{R : Type u_1} →
  {M : Type u_2} →
    {S : Type u_4} →
      {A : Type u_5} →
        {B : Type u_6} →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : CommSemiring A] →
                [inst_3 : CommSemiring B] →
                  [inst_4 : Algebra R S] →
                    [inst_5 : Algebra R A] →
                      [inst_6 : Algebra R B] →
                        [inst_7 : Algebra S A] →
                          [inst_8 : IsScalarTower R S A] →
                            [inst_9 : AddCommMonoid M] →
                              AddMonoidAlgebra (TensorProduct R A B) M →ₐ[S] TensorProduct R A (AddMonoidAlgebra B M)

Implementation detail.

def MonoidAlgebra.rTensorEquivAlgEquiv.invFun E1 #

{R : Type u_1} →
  {M : Type u_2} →
    {S : Type u_4} →
      {A : Type u_5} →
        {B : Type u_6} →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : CommSemiring A] →
                [inst_3 : CommSemiring B] →
                  [inst_4 : Algebra R S] →
                    [inst_5 : Algebra R A] →
                      [inst_6 : Algebra R B] →
                        [inst_7 : Algebra S A] →
                          [inst_8 : IsScalarTower R S A] →
                            [inst_9 : CommMonoid M] →
                              MonoidAlgebra (TensorProduct R A B) M →ₐ[S] TensorProduct R A (MonoidAlgebra B M)

Implementation detail.

theorem AddMonoidAlgebra.rTensorEquivAlgEquiv.invFun_tmul E0 #

∀ (R : Type u_1) {M : Type u_2} {S : Type u_4} (A : Type u_5) (B : Type u_6) [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring A] [inst_3 : CommSemiring B] [inst_4 : Algebra R S]
  [inst_5 : Algebra R A] [inst_6 : Algebra R B] [inst_7 : Algebra S A] [inst_8 : IsScalarTower R S A]
  [inst_9 : AddCommMonoid M] (a : A) (m : M) (b : B),
  AddMonoidAlgebra.rTensorEquivAlgEquiv.invFun (AddMonoidAlgebra.single m (a ⊗ₜ[R] b)) =
    a ⊗ₜ[R] AddMonoidAlgebra.single m b

theorem MonoidAlgebra.rTensorEquivAlgEquiv.invFun_tmul E0 #

∀ {R : Type u_1} {M : Type u_2} {S : Type u_4} {A : Type u_5} {B : Type u_6} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring A] [inst_3 : CommSemiring B] [inst_4 : Algebra R S]
  [inst_5 : Algebra R A] [inst_6 : Algebra R B] [inst_7 : Algebra S A] [inst_8 : IsScalarTower R S A]
  [inst_9 : CommMonoid M] (a : A) (m : M) (b : B),
  MonoidAlgebra.rTensorEquivAlgEquiv.invFun (MonoidAlgebra.single m (a ⊗ₜ[R] b)) = a ⊗ₜ[R] MonoidAlgebra.single m b

def MonoidAlgebra.rTensorEquivAlgEquiv E1 #

(R : Type u_1) →
  {M : Type u_2} →
    (S : Type u_4) →
      (A : Type u_5) →
        (B : Type u_6) →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : CommSemiring A] →
                [inst_3 : CommSemiring B] →
                  [inst_4 : Algebra R S] →
                    [inst_5 : Algebra R A] →
                      [inst_6 : Algebra R B] →
                        [inst_7 : Algebra S A] →
                          [inst_8 : IsScalarTower R S A] →
                            [inst_9 : CommMonoid M] →
                              TensorProduct R A (MonoidAlgebra B M) ≃ₐ[S] MonoidAlgebra (TensorProduct R A B) M

The base change of B[M] to an R-algebra A is isomorphic to (A ⊗[R] B)[M] as an A-algebra.

def AddMonoidAlgebra.rTensorEquivAlgEquiv E1 #

(R : Type u_1) →
  {M : Type u_2} →
    (S : Type u_4) →
      (A : Type u_5) →
        (B : Type u_6) →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : CommSemiring A] →
                [inst_3 : CommSemiring B] →
                  [inst_4 : Algebra R S] →
                    [inst_5 : Algebra R A] →
                      [inst_6 : Algebra R B] →
                        [inst_7 : Algebra S A] →
                          [inst_8 : IsScalarTower R S A] →
                            [inst_9 : AddCommMonoid M] →
                              TensorProduct R A (AddMonoidAlgebra B M) ≃ₐ[S] AddMonoidAlgebra (TensorProduct R A B) M

The base change of B[M] to an R-algebra A is isomorphic to (A ⊗[R] B)[M] as an A-algebra.

theorem AddMonoidAlgebra.rTensorEquiv_tmulAlgEquiv E0 #

∀ {R : Type u_1} {M : Type u_2} {S : Type u_4} {A : Type u_5} {B : Type u_6} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring A] [inst_3 : CommSemiring B] [inst_4 : Algebra R S]
  [inst_5 : Algebra R A] [inst_6 : Algebra R B] [inst_7 : Algebra S A] [inst_8 : IsScalarTower R S A]
  [inst_9 : AddCommMonoid M] (a : A) (p : AddMonoidAlgebra B M),
  (AddMonoidAlgebra.rTensorEquivAlgEquiv R S A B) (a ⊗ₜ[R] p) =
    a • (AddMonoidAlgebra.mapAlgHom M Algebra.TensorProduct.includeRight) p

theorem MonoidAlgebra.rTensorEquiv_tmulAlgEquiv E0 #

∀ {R : Type u_1} {M : Type u_2} {S : Type u_4} {A : Type u_5} {B : Type u_6} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring A] [inst_3 : CommSemiring B] [inst_4 : Algebra R S]
  [inst_5 : Algebra R A] [inst_6 : Algebra R B] [inst_7 : Algebra S A] [inst_8 : IsScalarTower R S A]
  [inst_9 : CommMonoid M] (a : A) (p : MonoidAlgebra B M),
  (MonoidAlgebra.rTensorEquivAlgEquiv R S A B) (a ⊗ₜ[R] p) =
    a • (MonoidAlgebra.mapAlgHom M Algebra.TensorProduct.includeRight) p

theorem AddMonoidAlgebra.rTensorEquiv_symm_singleAlgEquiv E0 #

∀ {R : Type u_1} {M : Type u_2} {S : Type u_4} {A : Type u_5} {B : Type u_6} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring A] [inst_3 : CommSemiring B] [inst_4 : Algebra R S]
  [inst_5 : Algebra R A] [inst_6 : Algebra R B] [inst_7 : Algebra S A] [inst_8 : IsScalarTower R S A]
  [inst_9 : AddCommMonoid M] (m : M) (a : A) (b : B),
  (AddMonoidAlgebra.rTensorEquivAlgEquiv R S A B).symm (AddMonoidAlgebra.single m (a ⊗ₜ[R] b)) =
    a ⊗ₜ[R] AddMonoidAlgebra.single m b

theorem MonoidAlgebra.rTensorEquiv_symm_singleAlgEquiv E0 #

∀ {R : Type u_1} {M : Type u_2} {S : Type u_4} {A : Type u_5} {B : Type u_6} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring A] [inst_3 : CommSemiring B] [inst_4 : Algebra R S]
  [inst_5 : Algebra R A] [inst_6 : Algebra R B] [inst_7 : Algebra S A] [inst_8 : IsScalarTower R S A]
  [inst_9 : CommMonoid M] (m : M) (a : A) (b : B),
  (MonoidAlgebra.rTensorEquivAlgEquiv R S A B).symm (MonoidAlgebra.single m (a ⊗ₜ[R] b)) =
    a ⊗ₜ[R] MonoidAlgebra.single m b

def MonoidAlgebra.lTensorAlgEquiv E1 #

(R : Type u_1) →
  {M : Type u_2} →
    (A : Type u_5) →
      (B : Type u_6) →
        [inst : CommSemiring R] →
          [inst_1 : CommSemiring A] →
            [inst_2 : CommSemiring B] →
              [inst_3 : Algebra R A] →
                [inst_4 : Algebra R B] →
                  [inst_5 : CommMonoid M] →
                    TensorProduct R (MonoidAlgebra A M) B ≃ₐ[R] MonoidAlgebra (TensorProduct R A B) M

The base change of B[M] to an R-algebra A is isomorphic to (A ⊗[R] B)[M] as an A-algebra.

def AddMonoidAlgebra.lTensorAlgEquiv E1 #

(R : Type u_1) →
  {M : Type u_2} →
    (A : Type u_5) →
      (B : Type u_6) →
        [inst : CommSemiring R] →
          [inst_1 : CommSemiring A] →
            [inst_2 : CommSemiring B] →
              [inst_3 : Algebra R A] →
                [inst_4 : Algebra R B] →
                  [inst_5 : AddCommMonoid M] →
                    TensorProduct R (AddMonoidAlgebra A M) B ≃ₐ[R] AddMonoidAlgebra (TensorProduct R A B) M

The base change of B[M] to an R-algebra A is isomorphic to (A ⊗[R] B)[M] as an A-algebra.

theorem MonoidAlgebra.lTensorAlgEquiv_symm_single E0 #

∀ {R : Type u_1} {M : Type u_2} {A : Type u_5} {B : Type u_6} [inst : CommSemiring R] [inst_1 : CommSemiring A]
  [inst_2 : CommSemiring B] [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : CommMonoid M] (m : M) (a : A)
  (b : B),
  (MonoidAlgebra.lTensorAlgEquiv R A B).symm (MonoidAlgebra.single m (a ⊗ₜ[R] b)) = MonoidAlgebra.single m a ⊗ₜ[R] b

theorem AddMonoidAlgebra.lTensorAlgEquiv_symm_single E0 #

∀ {R : Type u_1} {M : Type u_2} {A : Type u_5} {B : Type u_6} [inst : CommSemiring R] [inst_1 : CommSemiring A]
  [inst_2 : CommSemiring B] [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : AddCommMonoid M] (m : M) (a : A)
  (b : B),
  (AddMonoidAlgebra.lTensorAlgEquiv R A B).symm (AddMonoidAlgebra.single m (a ⊗ₜ[R] b)) =
    AddMonoidAlgebra.single m a ⊗ₜ[R] b

def MonoidAlgebra.scalarTensorEquiv E1 #

(R : Type u_1) →
  {M : Type u_2} →
    (A : Type u_5) →
      [inst : CommSemiring R] →
        [inst_1 : CommSemiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : CommMonoid M] → TensorProduct R A (MonoidAlgebra R M) ≃ₐ[A] MonoidAlgebra A M

The base change of R[M] to an R-algebra A is isomorphic to A[M] as an A-algebra.

def AddMonoidAlgebra.scalarTensorEquiv E1 #

(R : Type u_1) →
  {M : Type u_2} →
    (A : Type u_5) →
      [inst : CommSemiring R] →
        [inst_1 : CommSemiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : AddCommMonoid M] → TensorProduct R A (AddMonoidAlgebra R M) ≃ₐ[A] AddMonoidAlgebra A M

The base change of R[M] to an R-algebra A is isomorphic to A[M] as an A-algebra.

theorem MonoidAlgebra.scalarTensorEquiv_tmul E0 #

∀ {R : Type u_1} {M : Type u_2} {A : Type u_5} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : CommMonoid M] (a : A) (p : MonoidAlgebra R M),
  (MonoidAlgebra.scalarTensorEquiv R A) (a ⊗ₜ[R] p) = a • (MonoidAlgebra.mapAlgHom M (Algebra.ofId R A)) p

theorem AddMonoidAlgebra.scalarTensorEquiv_tmul E0 #

∀ {R : Type u_1} {M : Type u_2} {A : Type u_5} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : AddCommMonoid M] (a : A) (p : AddMonoidAlgebra R M),
  (AddMonoidAlgebra.scalarTensorEquiv R A) (a ⊗ₜ[R] p) = a • (AddMonoidAlgebra.mapAlgHom M (Algebra.ofId R A)) p

theorem MonoidAlgebra.scalarTensorEquiv_symm_single E0 #

∀ {R : Type u_1} {M : Type u_2} {A : Type u_5} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : CommMonoid M] (m : M) (a : A),
  (MonoidAlgebra.scalarTensorEquiv R A).symm (MonoidAlgebra.single m a) = a ⊗ₜ[R] MonoidAlgebra.single m 1

theorem AddMonoidAlgebra.scalarTensorEquiv_symm_single E0 #

∀ {R : Type u_1} {M : Type u_2} {A : Type u_5} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  [inst_3 : AddCommMonoid M] (m : M) (a : A),
  (AddMonoidAlgebra.scalarTensorEquiv R A).symm (AddMonoidAlgebra.single m a) = a ⊗ₜ[R] AddMonoidAlgebra.single m 1

instance MonoidAlgebra.instIsPushout E0 #

∀ {R : Type u_1} {M : Type u_2} {S : Type u_4} {A : Type u_5} {B : Type u_6} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring A] [inst_3 : CommSemiring B] [inst_4 : Algebra R S]
  [inst_5 : Algebra R A] [inst_6 : Algebra R B] [inst_7 : CommMonoid M] [inst_8 : Algebra S B] [inst_9 : Algebra A B]
  [inst_10 : IsScalarTower R A B] [inst_11 : IsScalarTower R S B] [Algebra.IsPushout R S A B],
  Algebra.IsPushout R S (MonoidAlgebra A M) (MonoidAlgebra B M)

instance AddMonoidAlgebra.instIsPushout E0 #

∀ {R : Type u_1} {M : Type u_2} {S : Type u_4} {A : Type u_5} {B : Type u_6} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring A] [inst_3 : CommSemiring B] [inst_4 : Algebra R S]
  [inst_5 : Algebra R A] [inst_6 : Algebra R B] [inst_7 : AddCommMonoid M] [inst_8 : Algebra S B] [inst_9 : Algebra A B]
  [inst_10 : IsScalarTower R A B] [inst_11 : IsScalarTower R S B] [Algebra.IsPushout R S A B],
  Algebra.IsPushout R S (AddMonoidAlgebra A M) (AddMonoidAlgebra B M)

instance AddMonoidAlgebra.instIsPushout' E0 #

∀ {R : Type u_1} {M : Type u_2} {S : Type u_4} {A : Type u_5} {B : Type u_6} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring A] [inst_3 : CommSemiring B] [inst_4 : Algebra R S]
  [inst_5 : Algebra R A] [inst_6 : Algebra R B] [inst_7 : AddCommMonoid M] [inst_8 : Algebra S B] [inst_9 : Algebra A B]
  [inst_10 : IsScalarTower R A B] [inst_11 : IsScalarTower R S B] [Algebra.IsPushout R A S B],
  Algebra.IsPushout R (AddMonoidAlgebra A M) S (AddMonoidAlgebra B M)

instance MonoidAlgebra.instIsPushout' E0 #

∀ {R : Type u_1} {M : Type u_2} {S : Type u_4} {A : Type u_5} {B : Type u_6} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : CommSemiring A] [inst_3 : CommSemiring B] [inst_4 : Algebra R S]
  [inst_5 : Algebra R A] [inst_6 : Algebra R B] [inst_7 : CommMonoid M] [inst_8 : Algebra S B] [inst_9 : Algebra A B]
  [inst_10 : IsScalarTower R A B] [inst_11 : IsScalarTower R S B] [Algebra.IsPushout R A S B],
  Algebra.IsPushout R (MonoidAlgebra A M) S (MonoidAlgebra B M)

def MonoidAlgebra.tensorEquiv E1 #

(R : Type u_1) →
  {M : Type u_2} →
    {N : Type u_3} →
      [inst : CommSemiring R] → TensorProduct R (MonoidAlgebra R M) (MonoidAlgebra R N) ≃ₗ[R] MonoidAlgebra R (M × N)

The tensor product of two monoid algebras is the monoid algebra of their product.

def AddMonoidAlgebra.tensorEquiv E1 #

(R : Type u_1) →
  {M : Type u_2} →
    {N : Type u_3} →
      [inst : CommSemiring R] →
        TensorProduct R (AddMonoidAlgebra R M) (AddMonoidAlgebra R N) ≃ₗ[R] AddMonoidAlgebra R (M × N)

The tensor product of two monoid algebras is the monoid algebra of their product.

theorem MonoidAlgebra.coeff_tensorEquiv_apply E0 #

∀ (R : Type u_1) {M : Type u_2} {N : Type u_3} [inst : CommSemiring R]
  (x : TensorProduct R (MonoidAlgebra R M) (MonoidAlgebra R N)),
  ((MonoidAlgebra.tensorEquiv R) x).coeff =
    (finsuppTensorFinsupp' R M N)
      ((TensorProduct.congr (MonoidAlgebra.coeffLinearEquiv R) (MonoidAlgebra.coeffLinearEquiv R)) x)

theorem AddMonoidAlgebra.coeff_tensorEquiv_apply E0 #

∀ (R : Type u_1) {M : Type u_2} {N : Type u_3} [inst : CommSemiring R]
  (x : TensorProduct R (AddMonoidAlgebra R M) (AddMonoidAlgebra R N)),
  ((AddMonoidAlgebra.tensorEquiv R) x).coeff =
    (finsuppTensorFinsupp' R M N)
      ((TensorProduct.congr (AddMonoidAlgebra.coeffLinearEquiv R) (AddMonoidAlgebra.coeffLinearEquiv R)) x)

theorem AddMonoidAlgebra.tensorEquiv_single_tmul_single E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] (m : M) (r₁ : R) (n : N) (r₂ : R),
  (AddMonoidAlgebra.tensorEquiv R) (AddMonoidAlgebra.single m r₁ ⊗ₜ[R] AddMonoidAlgebra.single n r₂) =
    AddMonoidAlgebra.single (m, n) (r₁ * r₂)

theorem MonoidAlgebra.tensorEquiv_single_tmul_single E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] (m : M) (r₁ : R) (n : N) (r₂ : R),
  (MonoidAlgebra.tensorEquiv R) (MonoidAlgebra.single m r₁ ⊗ₜ[R] MonoidAlgebra.single n r₂) =
    MonoidAlgebra.single (m, n) (r₁ * r₂)

theorem AddMonoidAlgebra.tensorEquiv_symm_single_eq_single_zero_tmul E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] (mn : M × N) (r : R),
  (AddMonoidAlgebra.tensorEquiv R).symm (AddMonoidAlgebra.single mn r) =
    AddMonoidAlgebra.single mn.1 1 ⊗ₜ[R] AddMonoidAlgebra.single mn.2 r

theorem MonoidAlgebra.tensorEquiv_symm_single_eq_single_one_tmul E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] (mn : M × N) (r : R),
  (MonoidAlgebra.tensorEquiv R).symm (MonoidAlgebra.single mn r) =
    MonoidAlgebra.single mn.1 1 ⊗ₜ[R] MonoidAlgebra.single mn.2 r

theorem MonoidAlgebra.tensorEquiv_symm_single_eq_tmul_single_one E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] (mn : M × N) (r : R),
  (MonoidAlgebra.tensorEquiv R).symm (MonoidAlgebra.single mn r) =
    MonoidAlgebra.single mn.1 r ⊗ₜ[R] MonoidAlgebra.single mn.2 1

theorem AddMonoidAlgebra.tensorEquiv_symm_single_eq_tmul_single_zero E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] (mn : M × N) (r : R),
  (AddMonoidAlgebra.tensorEquiv R).symm (AddMonoidAlgebra.single mn r) =
    AddMonoidAlgebra.single mn.1 r ⊗ₜ[R] AddMonoidAlgebra.single mn.2 1