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

38 declarations. Mathlib docs · Source

Tensor product of R-algebras and rings

If (Aᵢ) is a family of R-algebras then the R-tensor product ⨂ᵢ Aᵢ is an R-algebra as well with structure map defined by r ↦ r • 1.

In particular if we take R to be ℤ, then this collapses into the tensor product of rings.

theorem PiTensorProduct.mul.congr_simp E1 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R]
  [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] [inst_2 : (i : ι) → Module R (A i)]
  [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)] [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)],
  PiTensorProduct.mul = PiTensorProduct.mul

instance PiTensorProduct.instOne E0 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → AddCommMonoidWithOne (A i)] →
          [inst_2 : (i : ι) → Module R (A i)] → One (PiTensorProduct R fun i ↦ A i)

theorem PiTensorProduct.one_def E0 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R]
  [inst_1 : (i : ι) → AddCommMonoidWithOne (A i)] [inst_2 : (i : ι) → Module R (A i)], 1 = (PiTensorProduct.tprod R) 1

instance PiTensorProduct.instAddCommMonoidWithOne E0 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → AddCommMonoidWithOne (A i)] →
          [inst_2 : (i : ι) → Module R (A i)] → AddCommMonoidWithOne (PiTensorProduct R fun i ↦ A i)

def PiTensorProduct.mul E1 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] →
          [inst_2 : (i : ι) → Module R (A i)] →
            [∀ (i : ι), SMulCommClass R (A i) (A i)] →
              [∀ (i : ι), IsScalarTower R (A i) (A i)] →
                (PiTensorProduct R fun i ↦ A i) →ₗ[R]
                  (PiTensorProduct R fun i ↦ A i) →ₗ[R] PiTensorProduct R fun i ↦ A i

The multiplication in tensor product of rings is induced by (xᵢ) * (yᵢ) = (xᵢ * yᵢ)

theorem PiTensorProduct.mul_tprod_tprod E0 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R]
  [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] [inst_2 : (i : ι) → Module R (A i)]
  [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)] [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)]
  (x y : (i : ι) → A i),
  (PiTensorProduct.mul ((PiTensorProduct.tprod R) x)) ((PiTensorProduct.tprod R) y) = (PiTensorProduct.tprod R) (x * y)

instance PiTensorProduct.instMul E0 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] →
          [inst_2 : (i : ι) → Module R (A i)] →
            [∀ (i : ι), SMulCommClass R (A i) (A i)] →
              [∀ (i : ι), IsScalarTower R (A i) (A i)] → Mul (PiTensorProduct R fun i ↦ A i)

theorem PiTensorProduct.mul_def E0 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R]
  [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] [inst_2 : (i : ι) → Module R (A i)]
  [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)] [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)]
  (x y : PiTensorProduct R fun i ↦ A i), x * y = (PiTensorProduct.mul x) y

theorem PiTensorProduct.tprod_mul_tprod E0 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R]
  [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] [inst_2 : (i : ι) → Module R (A i)]
  [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)] [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)]
  (x y : (i : ι) → A i), (PiTensorProduct.tprod R) x * (PiTensorProduct.tprod R) y = (PiTensorProduct.tprod R) (x * y)

theorem SemiconjBy.tprod E1 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R]
  [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] [inst_2 : (i : ι) → Module R (A i)]
  [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)] [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)]
  {a₁ a₂ a₃ : (i : ι) → A i},
  SemiconjBy a₁ a₂ a₃ →
    SemiconjBy ((PiTensorProduct.tprod R) a₁) ((PiTensorProduct.tprod R) a₂) ((PiTensorProduct.tprod R) a₃)

theorem Commute.tprod E1 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R]
  [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] [inst_2 : (i : ι) → Module R (A i)]
  [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)] [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)]
  {a₁ a₂ : (i : ι) → A i}, Commute a₁ a₂ → Commute ((PiTensorProduct.tprod R) a₁) ((PiTensorProduct.tprod R) a₂)

theorem PiTensorProduct.smul_tprod_mul_smul_tprod E1 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R]
  [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] [inst_2 : (i : ι) → Module R (A i)]
  [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)] [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)] (r s : R)
  (x y : (i : ι) → A i),
  r • (PiTensorProduct.tprod R) x * s • (PiTensorProduct.tprod R) y = (r * s) • (PiTensorProduct.tprod R) (x * y)

instance PiTensorProduct.instNonUnitalNonAssocSemiring E0 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] →
          [inst_2 : (i : ι) → Module R (A i)] →
            [∀ (i : ι), SMulCommClass R (A i) (A i)] →
              [∀ (i : ι), IsScalarTower R (A i) (A i)] → NonUnitalNonAssocSemiring (PiTensorProduct R fun i ↦ A i)

theorem PiTensorProduct.one_mul E1 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R] [inst_1 : (i : ι) → NonAssocSemiring (A i)]
  [inst_2 : (i : ι) → Module R (A i)] [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)]
  [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)] (x : PiTensorProduct R fun i ↦ A i),
  (PiTensorProduct.mul ((PiTensorProduct.tprod R) 1)) x = x

theorem PiTensorProduct.mul_one E1 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R] [inst_1 : (i : ι) → NonAssocSemiring (A i)]
  [inst_2 : (i : ι) → Module R (A i)] [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)]
  [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)] (x : PiTensorProduct R fun i ↦ A i),
  (PiTensorProduct.mul x) ((PiTensorProduct.tprod R) 1) = x

instance PiTensorProduct.instNonAssocSemiring E0 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → NonAssocSemiring (A i)] →
          [inst_2 : (i : ι) → Module R (A i)] →
            [∀ (i : ι), SMulCommClass R (A i) (A i)] →
              [∀ (i : ι), IsScalarTower R (A i) (A i)] → NonAssocSemiring (PiTensorProduct R fun i ↦ A i)

def PiTensorProduct.tprodMonoidHom E1 #

{ι : Type u_1} →
  (R : Type u_3) →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → NonAssocSemiring (A i)] →
          [inst_2 : (i : ι) → Module R (A i)] →
            [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)] →
              [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)] → ((i : ι) → A i) →* PiTensorProduct R fun i ↦ A i

PiTensorProduct.tprod as a MonoidHom.

theorem PiTensorProduct.tprodMonoidHom_apply E0 #

∀ {ι : Type u_1} (R : Type u_3) {A : ι → Type u_4} [inst : CommSemiring R] [inst_1 : (i : ι) → NonAssocSemiring (A i)]
  [inst_2 : (i : ι) → Module R (A i)] [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)]
  [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)] (a : (i : ι) → A i),
  (PiTensorProduct.tprodMonoidHom R) a = (PiTensorProduct.tprod R) a

theorem PiTensorProduct.mul_assoc E1 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R] [inst_1 : (i : ι) → NonUnitalSemiring (A i)]
  [inst_2 : (i : ι) → Module R (A i)] [inst_3 : ∀ (i : ι), SMulCommClass R (A i) (A i)]
  [inst_4 : ∀ (i : ι), IsScalarTower R (A i) (A i)] (x y z : PiTensorProduct R fun i ↦ A i),
  (PiTensorProduct.mul ((PiTensorProduct.mul x) y)) z = (PiTensorProduct.mul x) ((PiTensorProduct.mul y) z)

instance PiTensorProduct.instNonUnitalSemiring E0 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → NonUnitalSemiring (A i)] →
          [inst_2 : (i : ι) → Module R (A i)] →
            [∀ (i : ι), SMulCommClass R (A i) (A i)] →
              [∀ (i : ι), IsScalarTower R (A i) (A i)] → NonUnitalSemiring (PiTensorProduct R fun i ↦ A i)

instance PiTensorProduct.instSemiring E0 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → Semiring (A i)] →
          [inst_2 : (i : ι) → Algebra R (A i)] → Semiring (PiTensorProduct R fun i ↦ A i)

instance PiTensorProduct.instAlgebra E0 #

{ι : Type u_1} →
  {R' : Type u_2} →
    {R : Type u_3} →
      {A : ι → Type u_4} →
        [inst : CommSemiring R'] →
          [inst_1 : CommSemiring R] →
            [inst_2 : (i : ι) → Semiring (A i)] →
              [Algebra R' R] → [inst_4 : (i : ι) → Algebra R (A i)] → Algebra R' (PiTensorProduct R fun i ↦ A i)

theorem PiTensorProduct.algebraMap_apply E0 #

∀ {ι : Type u_1} {R' : Type u_2} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R'] [inst_1 : CommSemiring R]
  [inst_2 : (i : ι) → Semiring (A i)] [inst_3 : Algebra R' R] [inst_4 : (i : ι) → Algebra R (A i)]
  [inst_5 : (i : ι) → Algebra R' (A i)] [∀ (i : ι), IsScalarTower R' R (A i)] (r : R') (i : ι) [inst_7 : DecidableEq ι],
  (algebraMap R' (PiTensorProduct R fun i ↦ A i)) r =
    (PiTensorProduct.tprod R) (Pi.mulSingle i ((algebraMap R' (A i)) r))

def PiTensorProduct.singleAlgHom E1 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → Semiring (A i)] →
          [inst_2 : (i : ι) → Algebra R (A i)] → [DecidableEq ι] → (i : ι) → A i →ₐ[R] PiTensorProduct R fun i ↦ A i

The map Aᵢ ⟶ ⨂ᵢ Aᵢ given by a ↦ 1 ⊗ ... ⊗ a ⊗ 1 ⊗ ...

theorem PiTensorProduct.singleAlgHom_apply E0 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R] [inst_1 : (i : ι) → Semiring (A i)]
  [inst_2 : (i : ι) → Algebra R (A i)] [inst_3 : DecidableEq ι] (i : ι) (a : A i),
  (PiTensorProduct.singleAlgHom i) a = (PiTensorProduct.tprod R) ((MonoidHom.mulSingle A i) a)

def PiTensorProduct.liftAlgHom E1 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → Semiring (A i)] →
          [inst_2 : (i : ι) → Algebra R (A i)] →
            {S : Type u_5} →
              [inst_3 : Semiring S] →
                [inst_4 : Algebra R S] →
                  (f : (Π (i : ι), A i) →ₘₗ[R] S) →
                    f 1 = 1 → (∀ (x y : (i : ι) → A i), f (x * y) = f x * f y) → (PiTensorProduct R fun i ↦ A i) →ₐ[R] S

Lifting a multilinear map to an algebra homomorphism from tensor product

theorem PiTensorProduct.liftAlgHom_apply E0 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R] [inst_1 : (i : ι) → Semiring (A i)]
  [inst_2 : (i : ι) → Algebra R (A i)] {S : Type u_5} [inst_3 : Semiring S] [inst_4 : Algebra R S]
  (f : (Π (i : ι), A i) →ₘₗ[R] S) (one : f 1 = 1) (mul : ∀ (x y : (i : ι) → A i), f (x * y) = f x * f y)
  (a : PiTensorProduct R fun i ↦ A i), (PiTensorProduct.liftAlgHom f one mul) a = (PiTensorProduct.lift f) a

theorem PiTensorProduct.tprod_noncommProd E0 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R] [inst_1 : (i : ι) → Semiring (A i)]
  [inst_2 : (i : ι) → Algebra R (A i)] {κ : Type u_5} (s : Finset κ) (x : κ → (i : ι) → A i)
  (hx : (↑s).Pairwise (Function.onFun Commute x)),
  (PiTensorProduct.tprod R) (s.noncommProd x hx) = s.noncommProd (fun k ↦ (PiTensorProduct.tprod R) (x k)) ⋯

theorem PiTensorProduct.algHom_ext E1 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R] [inst_1 : (i : ι) → Semiring (A i)]
  [inst_2 : (i : ι) → Algebra R (A i)] {S : Type u_5} [Finite ι] [inst_4 : DecidableEq ι] [inst_5 : Semiring S]
  [inst_6 : Algebra R S] ⦃f g : (PiTensorProduct R fun i ↦ A i) →ₐ[R] S⦄,
  (∀ (i : ι), f.comp (PiTensorProduct.singleAlgHom i) = g.comp (PiTensorProduct.singleAlgHom i)) → f = g

To show two algebra morphisms from finite tensor products are equal, it suffices to show that they agree on elements of the form $1 ⊗ ⋯ ⊗ a ⊗ 1 ⊗ ⋯$.

theorem PiTensorProduct.algHom_ext_iff E0 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R] [inst_1 : (i : ι) → Semiring (A i)]
  [inst_2 : (i : ι) → Algebra R (A i)] {S : Type u_5} [Finite ι] [inst_4 : DecidableEq ι] [inst_5 : Semiring S]
  [inst_6 : Algebra R S] {f g : (PiTensorProduct R fun i ↦ A i) →ₐ[R] S},
  f = g ↔ ∀ (i : ι), f.comp (PiTensorProduct.singleAlgHom i) = g.comp (PiTensorProduct.singleAlgHom i)

instance PiTensorProduct.instRing E0 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommRing R] →
        [inst_1 : (i : ι) → Ring (A i)] → [inst_2 : (i : ι) → Algebra R (A i)] → Ring (PiTensorProduct R fun i ↦ A i)

theorem PiTensorProduct.mul_comm E1 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R] [inst_1 : (i : ι) → CommSemiring (A i)]
  [inst_2 : (i : ι) → Algebra R (A i)] (x y : PiTensorProduct R fun i ↦ A i),
  (PiTensorProduct.mul x) y = (PiTensorProduct.mul y) x

instance PiTensorProduct.instCommSemiring E0 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : (i : ι) → CommSemiring (A i)] →
          [inst_2 : (i : ι) → Algebra R (A i)] → CommSemiring (PiTensorProduct R fun i ↦ A i)

theorem PiTensorProduct.tprod_prod E0 #

∀ {ι : Type u_1} {R : Type u_3} {A : ι → Type u_4} [inst : CommSemiring R] [inst_1 : (i : ι) → CommSemiring (A i)]
  [inst_2 : (i : ι) → Algebra R (A i)] {κ : Type u_5} (s : Finset κ) (x : κ → (i : ι) → A i),
  (PiTensorProduct.tprod R) (∏ k ∈ s, x k) = ∏ k ∈ s, (PiTensorProduct.tprod R) (x k)

def PiTensorProduct.constantBaseRingEquiv E1 #

(ι : Type u_1) → (R : Type u_3) → [inst : CommSemiring R] → [Fintype ι] → (PiTensorProduct R fun x ↦ R) ≃ₐ[R] R

The algebra equivalence from the tensor product of the constant family with value R to R, given by multiplication of the entries.

theorem PiTensorProduct.constantBaseRingEquiv_tprod E0 #

∀ {ι : Type u_1} {R : Type u_3} [inst : CommSemiring R] [inst_1 : Fintype ι] (x : ι → R),
  (PiTensorProduct.constantBaseRingEquiv ι R) ((PiTensorProduct.tprod R) x) = ∏ i, x i

theorem PiTensorProduct.constantBaseRingEquiv_symm E0 #

∀ {ι : Type u_1} {R : Type u_3} [inst : CommSemiring R] [inst_1 : Fintype ι] (r : R),
  (PiTensorProduct.constantBaseRingEquiv ι R).symm r = (algebraMap R (PiTensorProduct R fun x ↦ R)) r

instance PiTensorProduct.instCommRing E0 #

{ι : Type u_1} →
  {R : Type u_3} →
    {A : ι → Type u_4} →
      [inst : CommRing R] →
        [inst_1 : (i : ι) → CommRing (A i)] →
          [inst_2 : (i : ι) → Algebra R (A i)] → CommRing (PiTensorProduct R fun i ↦ A i)