The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V08. Multilinear algebra and forms

Mathlib.LinearAlgebra.TensorProduct.Graded.External

23 declarations. Mathlib docs · Source

Graded tensor products over graded algebras

The graded tensor product $A \hat\otimes_R B$ is imbued with a multiplication defined on homogeneous tensors by:

$$(a \otimes b) \cdot (a' \otimes b') = (-1)^{\deg a' \deg b} (a \cdot a') \otimes (b \cdot b')$$

where $A$ and $B$ are algebras graded by ℕ, ℤ, or ZMod 2 (or more generally, any index that satisfies Module ι (Additive ℤˣ)).

The results for internally-graded algebras (via GradedAlgebra) are elsewhere, as is the type GradedTensorProduct.

Main results

  • TensorProduct.gradedComm: the symmetric braiding operator on the tensor product of externally-graded rings.
  • TensorProduct.gradedMul: the previously-described multiplication on externally-graded rings, as a bilinear map.

Implementation notes

Rather than implementing the multiplication directly as above, we first implement the canonical non-trivial braiding sending $a \otimes b$ to $(-1)^{\deg a' \deg b} (b \otimes a)$, as the multiplication follows trivially from this after some point-free nonsense.

References

  • https://math.stackexchange.com/q/202718/1896
  • [Algebra I, Bourbaki : Chapter III, §4.7, example (2)][bourbaki1989]

instance TensorProduct.instModuleFstSnd E0 #

{R : Type u_1} →
  {ι : Type u_2} →
    (𝒜 : ι → Type u_3) →
      (ℬ : ι → Type u_4) →
        [inst : CommRing R] →
          [inst_1 : (i : ι) → AddCommGroup (𝒜 i)] →
            [inst_2 : (i : ι) → AddCommGroup (ℬ i)] →
              [inst_3 : (i : ι) → Module R (𝒜 i)] →
                [inst_4 : (i : ι) → Module R (ℬ i)] → (i : ι × ι) → Module R (TensorProduct R (𝒜 i.1) (ℬ i.2))

def TensorProduct.gradedCommAux E0 #

(R : Type u_1) →
  {ι : Type u_2} →
    [inst : CommSemiring ι] →
      [Module ι (Additive ℤˣ)] →
        [DecidableEq ι] →
          (𝒜 : ι → Type u_3) →
            (ℬ : ι → Type u_4) →
              [inst : CommRing R] →
                [inst_1 : (i : ι) → AddCommGroup (𝒜 i)] →
                  [inst_2 : (i : ι) → AddCommGroup (ℬ i)] →
                    [inst_3 : (i : ι) → Module R (𝒜 i)] →
                      [inst_4 : (i : ι) → Module R (ℬ i)] →
                        (DirectSum (ι × ι) fun i ↦ TensorProduct R (𝒜 i.1) (ℬ i.2)) →ₗ[R]
                          DirectSum (ι × ι) fun i ↦ TensorProduct R (ℬ i.1) (𝒜 i.2)

Auxiliary construction used to build TensorProduct.gradedComm.

This operates on direct sums of tensors instead of tensors of direct sums.

theorem TensorProduct.gradedCommAux_lof_tmul E0 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  (i j : ι) (a : 𝒜 i) (b : ℬ j),
  (TensorProduct.gradedCommAux R 𝒜 ℬ)
      ((DirectSum.lof R (ι × ι) (fun i ↦ TensorProduct R (𝒜 i.1) (ℬ i.2)) (i, j)) (a ⊗ₜ[R] b)) =
    (-1) ^ (j * i) • (DirectSum.lof R (ι × ι) (fun i ↦ TensorProduct R (ℬ i.1) (𝒜 i.2)) (j, i)) (b ⊗ₜ[R] a)

theorem TensorProduct.gradedCommAux_comp_gradedCommAux E0 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)],
  TensorProduct.gradedCommAux R 𝒜 ℬ ∘ₗ TensorProduct.gradedCommAux R ℬ 𝒜 = LinearMap.id

def TensorProduct.gradedComm E3 #

(R : Type u_1) →
  {ι : Type u_2} →
    [inst : CommSemiring ι] →
      [Module ι (Additive ℤˣ)] →
        [DecidableEq ι] →
          (𝒜 : ι → Type u_3) →
            (ℬ : ι → Type u_4) →
              [inst : CommRing R] →
                [inst_1 : (i : ι) → AddCommGroup (𝒜 i)] →
                  [inst_2 : (i : ι) → AddCommGroup (ℬ i)] →
                    [inst_3 : (i : ι) → Module R (𝒜 i)] →
                      [inst_4 : (i : ι) → Module R (ℬ i)] →
                        TensorProduct R (DirectSum ι fun i ↦ 𝒜 i) (DirectSum ι fun i ↦ ℬ i) ≃ₗ[R]
                          TensorProduct R (DirectSum ι fun i ↦ ℬ i) (DirectSum ι fun i ↦ 𝒜 i)

The braiding operation for tensor products of externally ι-graded algebras.

This sends $a ⊗ b$ to $(-1)^{\deg a' \deg b} (b ⊗ a)$.

theorem TensorProduct.gradedComm_symm E0 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)],
  (TensorProduct.gradedComm R 𝒜 ℬ).symm = TensorProduct.gradedComm R ℬ 𝒜

The braiding is symmetric.

theorem TensorProduct.gradedComm_of_tmul_of E1 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  (i j : ι) (a : 𝒜 i) (b : ℬ j),
  (TensorProduct.gradedComm R 𝒜 ℬ) ((DirectSum.lof R ι 𝒜 i) a ⊗ₜ[R] (DirectSum.lof R ι ℬ j) b) =
    (-1) ^ (j * i) • (DirectSum.lof R ι ℬ j) b ⊗ₜ[R] (DirectSum.lof R ι 𝒜 i) a

theorem TensorProduct.gradedComm_tmul_of_zero E1 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  (a : DirectSum ι fun i ↦ 𝒜 i) (b : ℬ 0),
  (TensorProduct.gradedComm R 𝒜 ℬ) (a ⊗ₜ[R] (DirectSum.lof R ι ℬ 0) b) = (DirectSum.lof R ι ℬ 0) b ⊗ₜ[R] a

theorem TensorProduct.gradedComm_of_zero_tmul E1 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  (a : 𝒜 0) (b : DirectSum ι fun i ↦ ℬ i),
  (TensorProduct.gradedComm R 𝒜 ℬ) ((DirectSum.lof R ι 𝒜 0) a ⊗ₜ[R] b) = b ⊗ₜ[R] (DirectSum.lof R ι 𝒜 0) a

theorem TensorProduct.gradedComm_tmul_one E1 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : GradedMonoid.GOne ℬ] (a : DirectSum ι fun i ↦ 𝒜 i), (TensorProduct.gradedComm R 𝒜 ℬ) (a ⊗ₜ[R] 1) = 1 ⊗ₜ[R] a

theorem TensorProduct.gradedComm_one_tmul E1 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : GradedMonoid.GOne 𝒜] (b : DirectSum ι fun i ↦ ℬ i), (TensorProduct.gradedComm R 𝒜 ℬ) (1 ⊗ₜ[R] b) = b ⊗ₜ[R] 1

theorem TensorProduct.gradedComm_one E0 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : DirectSum.GSemiring 𝒜] [inst_9 : DirectSum.GSemiring ℬ], (TensorProduct.gradedComm R 𝒜 ℬ) 1 = 1

theorem TensorProduct.gradedComm_tmul_algebraMap E1 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : DirectSum.GSemiring ℬ] [inst_9 : DirectSum.GAlgebra R ℬ] (a : DirectSum ι fun i ↦ 𝒜 i) (r : R),
  (TensorProduct.gradedComm R 𝒜 ℬ) (a ⊗ₜ[R] (algebraMap R (DirectSum ι fun i ↦ ℬ i)) r) =
    (algebraMap R (DirectSum ι fun i ↦ ℬ i)) r ⊗ₜ[R] a

theorem TensorProduct.gradedComm_algebraMap_tmul E1 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : DirectSum.GSemiring 𝒜] [inst_9 : DirectSum.GAlgebra R 𝒜] (r : R) (b : DirectSum ι fun i ↦ ℬ i),
  (TensorProduct.gradedComm R 𝒜 ℬ) ((algebraMap R (DirectSum ι fun i ↦ 𝒜 i)) r ⊗ₜ[R] b) =
    b ⊗ₜ[R] (algebraMap R (DirectSum ι fun i ↦ 𝒜 i)) r

theorem TensorProduct.gradedComm_algebraMap E1 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : DirectSum.GSemiring 𝒜] [inst_9 : DirectSum.GSemiring ℬ] [inst_10 : DirectSum.GAlgebra R 𝒜]
  [inst_11 : DirectSum.GAlgebra R ℬ] (r : R),
  (TensorProduct.gradedComm R 𝒜 ℬ)
      ((algebraMap R (TensorProduct R (DirectSum ι fun i ↦ 𝒜 i) (DirectSum ι fun i ↦ ℬ i))) r) =
    (algebraMap R (TensorProduct R (DirectSum ι fun i ↦ ℬ i) (DirectSum ι fun i ↦ 𝒜 i))) r

def TensorProduct.gradedMul E3 #

(R : Type u_1) →
  {ι : Type u_2} →
    [inst : CommSemiring ι] →
      [Module ι (Additive ℤˣ)] →
        [DecidableEq ι] →
          (𝒜 : ι → Type u_3) →
            (ℬ : ι → Type u_4) →
              [inst_3 : CommRing R] →
                [inst_4 : (i : ι) → AddCommGroup (𝒜 i)] →
                  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] →
                    [inst_6 : (i : ι) → Module R (𝒜 i)] →
                      [inst_7 : (i : ι) → Module R (ℬ i)] →
                        [inst_8 : DirectSum.GRing 𝒜] →
                          [inst_9 : DirectSum.GRing ℬ] →
                            [DirectSum.GAlgebra R 𝒜] →
                              [DirectSum.GAlgebra R ℬ] →
                                TensorProduct R (DirectSum ι 𝒜) (DirectSum ι ℬ) →ₗ[R]
                                  TensorProduct R (DirectSum ι 𝒜) (DirectSum ι ℬ) →ₗ[R]
                                    TensorProduct R (DirectSum ι 𝒜) (DirectSum ι ℬ)

The multiplication operation for tensor products of externally ι-graded algebras.

theorem TensorProduct.tmul_of_gradedMul_of_tmul E1 #

∀ (R : Type u_1) {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : DirectSum.GRing 𝒜] [inst_9 : DirectSum.GRing ℬ] [inst_10 : DirectSum.GAlgebra R 𝒜]
  [inst_11 : DirectSum.GAlgebra R ℬ] (j₁ i₂ : ι) (a₁ : DirectSum ι fun i ↦ 𝒜 i) (b₁ : ℬ j₁) (a₂ : 𝒜 i₂)
  (b₂ : DirectSum ι fun i ↦ ℬ i),
  ((TensorProduct.gradedMul R 𝒜 ℬ) (a₁ ⊗ₜ[R] (DirectSum.lof R ι ℬ j₁) b₁)) ((DirectSum.lof R ι 𝒜 i₂) a₂ ⊗ₜ[R] b₂) =
    (-1) ^ (j₁ * i₂) • (a₁ * (DirectSum.lof R ι 𝒜 i₂) a₂) ⊗ₜ[R] ((DirectSum.lof R ι ℬ j₁) b₁ * b₂)

theorem TensorProduct.algebraMap_gradedMul E1 #

∀ {R : Type u_1} {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : DirectSum.GRing 𝒜] [inst_9 : DirectSum.GRing ℬ] [inst_10 : DirectSum.GAlgebra R 𝒜]
  [inst_11 : DirectSum.GAlgebra R ℬ] (r : R) (x : TensorProduct R (DirectSum ι fun i ↦ 𝒜 i) (DirectSum ι fun i ↦ ℬ i)),
  ((TensorProduct.gradedMul R 𝒜 ℬ) ((algebraMap R (DirectSum ι 𝒜)) r ⊗ₜ[R] 1)) x = r • x

theorem TensorProduct.one_gradedMul E1 #

∀ {R : Type u_1} {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : DirectSum.GRing 𝒜] [inst_9 : DirectSum.GRing ℬ] [inst_10 : DirectSum.GAlgebra R 𝒜]
  [inst_11 : DirectSum.GAlgebra R ℬ] (x : TensorProduct R (DirectSum ι fun i ↦ 𝒜 i) (DirectSum ι fun i ↦ ℬ i)),
  ((TensorProduct.gradedMul R 𝒜 ℬ) 1) x = x

theorem TensorProduct.gradedMul_algebraMap E1 #

∀ {R : Type u_1} {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : DirectSum.GRing 𝒜] [inst_9 : DirectSum.GRing ℬ] [inst_10 : DirectSum.GAlgebra R 𝒜]
  [inst_11 : DirectSum.GAlgebra R ℬ] (x : TensorProduct R (DirectSum ι fun i ↦ 𝒜 i) (DirectSum ι fun i ↦ ℬ i)) (r : R),
  ((TensorProduct.gradedMul R 𝒜 ℬ) x) ((algebraMap R (DirectSum ι 𝒜)) r ⊗ₜ[R] 1) = r • x

theorem TensorProduct.gradedMul_one E1 #

∀ {R : Type u_1} {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : DirectSum.GRing 𝒜] [inst_9 : DirectSum.GRing ℬ] [inst_10 : DirectSum.GAlgebra R 𝒜]
  [inst_11 : DirectSum.GAlgebra R ℬ] (x : TensorProduct R (DirectSum ι fun i ↦ 𝒜 i) (DirectSum ι fun i ↦ ℬ i)),
  ((TensorProduct.gradedMul R 𝒜 ℬ) x) 1 = x

theorem TensorProduct.gradedMul_assoc E1 #

∀ {R : Type u_1} {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : DirectSum.GRing 𝒜] [inst_9 : DirectSum.GRing ℬ] [inst_10 : DirectSum.GAlgebra R 𝒜]
  [inst_11 : DirectSum.GAlgebra R ℬ] (x y z : TensorProduct R (DirectSum ι 𝒜) (DirectSum ι ℬ)),
  ((TensorProduct.gradedMul R 𝒜 ℬ) (((TensorProduct.gradedMul R 𝒜 ℬ) x) y)) z =
    ((TensorProduct.gradedMul R 𝒜 ℬ) x) (((TensorProduct.gradedMul R 𝒜 ℬ) y) z)

theorem TensorProduct.gradedComm_gradedMul E1 #

∀ {R : Type u_1} {ι : Type u_2} [inst : CommSemiring ι] [inst_1 : Module ι (Additive ℤˣ)] [inst_2 : DecidableEq ι]
  (𝒜 : ι → Type u_3) (ℬ : ι → Type u_4) [inst_3 : CommRing R] [inst_4 : (i : ι) → AddCommGroup (𝒜 i)]
  [inst_5 : (i : ι) → AddCommGroup (ℬ i)] [inst_6 : (i : ι) → Module R (𝒜 i)] [inst_7 : (i : ι) → Module R (ℬ i)]
  [inst_8 : DirectSum.GRing 𝒜] [inst_9 : DirectSum.GRing ℬ] [inst_10 : DirectSum.GAlgebra R 𝒜]
  [inst_11 : DirectSum.GAlgebra R ℬ] (x y : TensorProduct R (DirectSum ι 𝒜) (DirectSum ι ℬ)),
  (TensorProduct.gradedComm R 𝒜 ℬ) (((TensorProduct.gradedMul R 𝒜 ℬ) x) y) =
    ((TensorProduct.gradedMul R ℬ 𝒜) ((TensorProduct.gradedComm R 𝒜 ℬ) x)) ((TensorProduct.gradedComm R 𝒜 ℬ) y)